git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7b77b4f
)
fix wrong gre tunnel deleted when topology changes
author
smbaker
<smbaker@fc8clean.lan>
Tue, 15 Jan 2013 01:08:01 +0000
(17:08 -0800)
committer
smbaker
<smbaker@fc8clean.lan>
Tue, 15 Jan 2013 01:08:01 +0000
(17:08 -0800)
plugins/privatebridge.py
patch
|
blob
|
history
diff --git
a/plugins/privatebridge.py
b/plugins/privatebridge.py
index
f6d52f7
..
9efa9e3
100644
(file)
--- a/
plugins/privatebridge.py
+++ b/
plugins/privatebridge.py
@@
-120,8
+120,8
@@
def ensure_slicebridge_neighbors(name, sliver_id, neighbors):
if not portname in ports:
ovs_addport(name, portname, "gre", neighbor_ip, sliver_id)
- for port in ports:
- if port
.startswith("gre") and (port
not in want_ports):
+ for port
name
in ports:
+ if port
name.startswith("gre") and (portname
not in want_ports):
ovs_delport(name, portname)
def configure_slicebridge(sliver, attributes):