From 80e6eccb65d5abb0b5dc4cc276589fdf26cf9929 Mon Sep 17 00:00:00 2001 From: “Manuel Buil” Date: Thu, 16 Feb 2017 12:29:16 +0100 Subject: Bug fix in sfc utils lib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The command to add route to the VM was wrong Change-Id: If45425a5bdc8ba9d2ecb37dd9914628b6963ed28 Signed-off-by: “Manuel Buil” --- sfc/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfc/lib/utils.py') diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py index 8bd67e4f..71f46b86 100644 --- a/sfc/lib/utils.py +++ b/sfc/lib/utils.py @@ -352,7 +352,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): -- cgit 1.2.3-korg