Commit e492dcb1 authored by Brenden Blanco's avatar Brenden Blanco

Remove update() call from vlan example

* Breakage from previous commit
Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
parent eda04b11
......@@ -122,7 +122,7 @@ for i in range(0, num_clients):
# assign this client to the given worker
idx = ipdb.interfaces["wrk%dp1" % worker_choice]["index"]
mac = int(macaddr.replace(":", ""), 16)
ingress.update(ingress.Key(mac), ingress.Leaf(idx, 0, 0))
ingress[ingress.Key(mac)] = ingress.Leaf(idx, 0, 0)
cmd = ["bash", "-c", "for i in {1..8}; do curl 172.16.1.5 -o /dev/null; sleep 1; done"]
client_processes.append(NSPopen(client.nl.netns, cmd))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment