diff options
author | Zdeno Olsovsky <zolsovsk@cisco.com> | 2016-06-13 15:46:07 +0200 |
---|---|---|
committer | Matej Klotton <mklotton@cisco.com> | 2016-07-22 09:25:22 +0000 |
commit | 7c3e0cc41f55327d6eeb04fe757c6e80064ab28a (patch) | |
tree | ce700ba4f130b8f153e3e72a6041f68ddb239f85 /resources/libraries/python/L2Util.py | |
parent | dec1188c7f89f5f8f97085b5f68c6f1d918586b8 (diff) |
CSIT-158: Tap interface tests
Change-Id: I30a4562ea5fca9b839d854118243daa70378b0ae
Signed-off-by: Zdeno Olsovsky <zolsovsk@cisco.com>
Diffstat (limited to 'resources/libraries/python/L2Util.py')
-rw-r--r-- | resources/libraries/python/L2Util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/python/L2Util.py b/resources/libraries/python/L2Util.py index af4735fdf8..4832ffac1c 100644 --- a/resources/libraries/python/L2Util.py +++ b/resources/libraries/python/L2Util.py @@ -211,6 +211,8 @@ class L2Util(object): exec_cmd_no_error(node, cmd, sudo=True) cmd = 'brctl addif {0} {1}'.format(br_name, if_2) exec_cmd_no_error(node, cmd, sudo=True) + cmd = 'ip link set dev {0} up'.format(br_name) + exec_cmd_no_error(node, cmd, sudo=True) @staticmethod def setup_network_namespace(node, namespace_name, interface_name, |