projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f16d0
)
Debian packaging: Remove IP addresses from netdevs within a switch.
author
Ben Pfaff
<blp@nicira.com>
Wed, 21 Jan 2009 00:24:00 +0000
(16:24 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 21 Jan 2009 00:44:14 +0000
(16:44 -0800)
debian/openflow-switch.init
patch
|
blob
|
history
diff --git
a/debian/openflow-switch.init
b/debian/openflow-switch.init
index 5e6d595afa875820e2df3a5bc9e70c4278aab988..8ee19cd6d2db6edb86881d4fc2333476a383392e 100755
(executable)
--- a/
debian/openflow-switch.init
+++ b/
debian/openflow-switch.init
@@
-259,6
+259,10
@@
case "$1" in
exit 1
fi
+ for netdev in $NETDEVS; do
+ check_op "Removing IP address from $netdev" ifconfig $netdev 0.0.0.0
+ done
+
must_succeed "Adding datapath" dpctl adddp nl:0
for netdev in $NETDEVS; do
must_succeed "Adding $netdev to datapath" dpctl addif nl:0 $netdev