summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):