OpenStack-Ansible Deployment with OpenVswitch and Centos7

asked 2018-12-06 12:42:41 -0600

Vignesh gravatar image

Hi, I have deployed OpenStack Queens using OSA Queens/Stable release, I am using Centos 7 and OpenVswitch. I have issue in configuring br-vlan using openvswitch for OSA use.

All the documents available in https://docs.openstack.org/openstack-ansible-os_neutron/queens/app-openvswitch.html#configuring-bridges-open-vswitch (here) talks about configuring a physical interface with OpenVswitch , but I need to configure a bonded interface with br-vlan

My existing deployment works perfectly except for adding Vlan external network and L3 routing (North South Traffic).

My Host network config files below:

/etc/sysconfig/network-scripts/ifcfg-eno49
TYPE=Ethernet
BOOTPROTO=none
NAME=eno49
DEVICE=eno49
ONBOOT=no
NM_CONTROLLED=no
USRCTL=no
MASTER=bond0
SLAVE=yes
MTU=9000

/etc/sysconfig/network-scripts/ifcfg-eno50
TYPE=Ethernet
BOOTPROTO=none 
NAME=eno50
DEVICE=eno50
ONBOOT=no
NM_CONTROLLED=no
USRCTL=no
MASTER=bond0
SLAVE=yes
MTU=9000

/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
USRCTL=no
NM_CONTROLLED=no
BONDING_OPTS="mode=4 miimon=100 lacp_rate=1 xmit_hash_policy=layer2+3 updelay=200 downdelay=200"
MTU=9000

/etc/sysconfig/network-scripts/ifcfg-bond0.XXX
DEVICE=bond0.XXX
PREFIX=21
ONBOOT=yes
BOOTPROTO=none
USRCTL=no
NM_CONTROLLED=no
TYPE=Ethernet
VLAN=yes
OVS_BRIDGE=br-mgmt
TYPE=OVSPort
DEVICETYPE=ovs

/etc/sysconfig/network-scripts/ifcfg-bond0.YYY
DEVICE=bond0.YYY
ONBOOT=yes
BOOTPROTO=none
USRCTL=no
NM_CONTROLLED=no
TYPE=Ethernet
VLAN=yes
OVS_BRIDGE=br-vxlan
TYPE=OVSPort
DEVICETYPE=ovs

I need help in configuring an br-vlan OVS bridge using the bond0 in Centos7

Thanks.

edit retag flag offensive close merge delete