projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda04b1
)
Remove update() call from vlan example
author
Brenden Blanco
<bblanco@plumgrid.com>
Thu, 18 Jun 2015 00:30:13 +0000
(17:30 -0700)
committer
Brenden Blanco
<bblanco@plumgrid.com>
Thu, 18 Jun 2015 00:30:13 +0000
(17:30 -0700)
* Breakage from previous commit
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
examples/vlan_learning.py
patch
|
blob
|
history
diff --git
a/examples/vlan_learning.py
b/examples/vlan_learning.py
index
634643e
..
8c5efe8
100644
(file)
--- a/
examples/vlan_learning.py
+++ b/
examples/vlan_learning.py
@@
-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))