diff options
author | tjuyinkanglin <14_ykl@tongji.edu.cn> | 2016-07-27 23:49:35 +0800 |
---|---|---|
committer | tjuyinkanglin <14_ykl@tongji.edu.cn> | 2016-07-29 13:22:34 +0800 |
commit | ecdcc2f378dfac0c35deb3b5b537fc0d14b81828 (patch) | |
tree | 2d134b97c7788f7a8a718cd3e8d57dd39a14e7dd /yardstick/benchmark/scenarios/availability/ha_tools/network/open_interface.bash | |
parent | a2ba9d0d6d2e44dcfeb7693bd0e4f728d5076f13 (diff) |
Create Bash Sheel Utilities
JIRA: YARDSTICK-277
Change-Id: I7379d4fe375d22e544ab93b48d56a017a60c4b9f
Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
Diffstat (limited to 'yardstick/benchmark/scenarios/availability/ha_tools/network/open_interface.bash')
-rw-r--r-- | yardstick/benchmark/scenarios/availability/ha_tools/network/open_interface.bash | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/availability/ha_tools/network/open_interface.bash b/yardstick/benchmark/scenarios/availability/ha_tools/network/open_interface.bash new file mode 100644 index 000000000..953d5d30d --- /dev/null +++ b/yardstick/benchmark/scenarios/availability/ha_tools/network/open_interface.bash @@ -0,0 +1,15 @@ +#!/bin/bash + +############################################################################## +# (c) OPNFV, Yin Kanglin and others. +# 14_ykl@tongji.edu.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +# open a network interface. +# parameter: $1 - interfaced-name + +ifconfig $1 up
\ No newline at end of file |