summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-02-16 11:39:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-16 11:39:08 +0000
commitf6b0dd2de34ae65404df32117f9825e38a7e46c7 (patch)
treeb94a39218615a2e6d010d33e7620b1926406a6e8
parent86fb3c2459f85e728d4a1d6a35e38f13b9032bd5 (diff)
parent80e6eccb65d5abb0b5dc4cc276589fdf26cf9929 (diff)
Merge "Bug fix in sfc utils lib"
-rw-r--r--sfc/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py
index c7247dbe..4289ee0a 100644
--- a/sfc/lib/utils.py
+++ b/sfc/lib/utils.py
@@ -366,7 +366,7 @@ def wait_for_classification_rules(ovs_logger, compute_clients, timeout=200):
def setup_compute_node(cidr, compute_nodes):
logger.info("bringing up br-int iface")
grep_cidr_routes = ("ip route | grep -o {0} || true".format(cidr)).strip()
- add_cidr = "ip route add {0} br-int".format(cidr)
+ add_cidr = "ip route add {0} dev br-int".format(cidr)
for compute in compute_nodes:
compute.run_cmd("ifconfig br-int up")
if not compute.run_cmd(grep_cidr_routes):