File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ TYPE=$2
15
15
PVS_VM_INTERFACE=$3
16
16
PRIVATE_PATH=$4
17
17
18
- IP=/usr/sbin/ip
19
18
VSCTL=/usr/bin/ovs-vsctl
20
19
OFCTL=/usr/bin/ovs-ofctl
21
20
XSREAD=/usr/bin/xenstore-read
@@ -86,11 +85,6 @@ PVS_RULE_PRIO=1000
86
85
87
86
case $ACTION in
88
87
add)
89
- # Create a port/interface for the proxy daemon
90
- $VSCTL --may-exist add-port " $PVS_BRIDGE " " $PVS_PROXY_INTERFACE " -- set interface " $PVS_PROXY_INTERFACE " type=internal
91
- $IP link set " $PVS_PROXY_INTERFACE " up
92
- logger -t " $LOG_TAG " " Created proxy port $PVS_PROXY_INTERFACE "
93
-
94
88
PVS_PROXY_MAC=$( $VSCTL get interface " $PVS_PROXY_INTERFACE " mac_in_use | tr -d ' "' )
95
89
PVS_PROXY_OFPORT=$( $VSCTL get interface " $PVS_PROXY_INTERFACE " ofport)
96
90
PVS_VM_OFPORT=$( $VSCTL get interface " $PVS_VM_INTERFACE " ofport)
@@ -199,11 +193,6 @@ case $ACTION in
199
193
# Again, don't do the following when a tap goes away, because
200
194
# vif may still be there.
201
195
202
- # Remove the port/interface for the proxy daemon
203
- $IP link set " $PVS_PROXY_INTERFACE " down
204
- $VSCTL del-port " $PVS_BRIDGE " " $PVS_PROXY_INTERFACE "
205
- logger -t " $LOG_TAG " " Removed proxy port $PVS_PROXY_INTERFACE "
206
-
207
196
# Announce that on the OVS we have removed the rules for this VIF's pvs-proxy.
208
197
XSRM " ${PRIVATE_PATH} /pvs-rules-active"
209
198
fi
You can’t perform that action at this time.
0 commit comments