Linux Bridge and Open VSwitch are two of the most widely used virtual machine switch technologies in OpenStack today.
In the previous chapters we have learned how to implement the Neutron network using Linux Bridge as the ML2 mechanism driver.
Starting today we will discuss in detail how to implement Neutron with Open VSwitch.
The two-node network adapter allocation method in the experimental environment is consistent with the Linux Bridge, as follows:
Control node three network card (eth0, eth1, eth2), compute node Two network cards (eth0, eth1).
Merge Management and API networks using the Eth0,ip field 192.168.104.0/24.
VM networks use EHT1.
The eth2 of the control node is connected to the External network and the IP field is 10.10.10.0/24.
Network topology
The network topology of the experimental environment is shown in
This figure is also seen in the Linux Bridge implementation, with the only difference being that "Virtual Network Switch" in the node will replace the Linux bridge with the Open VSwitch.
configuring Openvswitch mechanism driver
To switch Liunx Bridge to open VSwitch, you first need to install the Open VSwitch Agent. To modify the Devstack local.conf:
Rerun./stack,devstack will automatically download and install the Open vSwitch.
You can then modify the ML2 configuration file/etc/neutron/plugins/ml2/ml2_conf.ini, which is set using Openvswitch mechanism driver.
Both the control node and the compute node need to install and configure the Open VSwitch as described above.
After the Neutron service restarts, you can see Neutron-openvswitch-agent is running on two nodes through the Neutron agent-list command.
The next section looks at the status of the current network and describes the various network devices involved in Open VSwitch.
Enable Open VSwitch-5 minutes a day to play with OpenStack (127)