Permalink
Browse files

Added OVS bridge and port section

  • Loading branch information...
1 parent 33154a6 commit b2e01e86ca93cfad9ad01d533b386b4c9607c60d @ams0 ams0 committed Nov 14, 2015
Showing with 29 additions and 3 deletions.
  1. +29 −3 keepalived/neutron-config.md
@@ -103,12 +103,38 @@ OpenvSwitch configuration
systemctl enable openvswitch
systemctl start openvswitch
- ovs-vsctl add-br br-int
@javierpena
javierpena Nov 18, 2015 Collaborator

I don't think it is correct to remove the br-int creation, it is still needed.

@ams0
ams0 Nov 18, 2015 Contributor

I thought the same but then I tried and when I started the neutron-openvswitch-agent br-int got created (it's in the conf file after all). I think it doesn't hurt to create it first but its usefulness is only necessary later when you start the Openstack services.

- ovs-vsctl add-br br-eth0
**Note:** we have seeing issues when trying to configure an IP on br-eth0 (specially ARP problems), so it is not recommended.
- ovs-vsctl add-port br-eth0 eth0
+Assuming eth0 is your interface attached to the external network, create two files in _/etc/sysconfig/network-scripts/_ as follows (change MTU if you need):
+
+ cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-eth0
+ DEVICE=eth0
+ ONBOOT=yes
+ DEVICETYPE=ovs
+ TYPE=OVSPort
+ OVS_BRIDGE=br-eth0
+ ONBOOT=yes
+ BOOTPROTO=none
+ VLAN=yes
+ MTU="9000"
+ NM_CONTROLLED=no
+ EOF
+
+ cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-br-eth0
+ DEVICE=br-eth0
+ DEVICETYPE=ovs
+ OVSBOOTPROTO=none
+ TYPE=OVSBridge
+ ONBOOT=yes
+ BOOTPROTO=static
+ MTU="9000"
+ NM_CONTROLLED=no
+ EOF
+
+Restart the network for the changes to take effect.
+
+ systemctl restart network
OpenvSwitch agent
-----------------

0 comments on commit b2e01e8

Please sign in to comment.