diff options
author | “Manuel Buil” <mbuil@suse.com> | 2017-02-16 12:29:16 +0100 |
---|---|---|
committer | “Manuel Buil” <mbuil@suse.com> | 2017-02-16 12:29:16 +0100 |
commit | 80e6eccb65d5abb0b5dc4cc276589fdf26cf9929 (patch) | |
tree | 27f6580fd881d596ab21e48082ff741f2f323776 | |
parent | 0a71385549cb564b78cde66ecedc8064d7bfd8a0 (diff) |
Bug fix in sfc utils lib
The command to add route to the VM was wrong
Change-Id: If45425a5bdc8ba9d2ecb37dd9914628b6963ed28
Signed-off-by: “Manuel Buil” <mbuil@suse.com>
-rw-r--r-- | sfc/lib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |