Browse Source

[neutron] 'up' interfaces added via ovs auto_bridge_add

Previously, when adding interfaces to an ovs bridge we would set the
link state to up.  Some environments assume this is the case so
restore that behavior.

This fixes the problem where external (public) IPs for routers and VMs
no longer respond.

Change-Id: I59e21bd5cde7e239320125e9a7e0a33adae578a8
Chris Wedgwood 1 month ago
parent
commit
dcd7ebf37b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      neutron/templates/bin/_neutron-openvswitch-agent-init.sh.tpl

+ 1
- 0
neutron/templates/bin/_neutron-openvswitch-agent-init.sh.tpl View File

@@ -45,6 +45,7 @@ do
45 45
   if [ -n "$iface" ] && [ "$iface" != "null" ]
46 46
   then
47 47
     ovs-vsctl --no-wait --may-exist add-port $bridge $iface
48
+    ip link set dev $iface up
48 49
   fi
49 50
 done
50 51
 

Loading…
Cancel
Save