How to enable Open vSwitch
This article shows you how to enable Open vSwitch, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.
Linux Bridge and Open vSwitch are the two most widely used virtual machine switch technologies in OpenStack.
Starting today, we will discuss in detail how to implement Neutron with Open vSwitch.
The network card allocation method of the two nodes in the experimental environment is the same as that of Linux Bridge, as shown below:
The control node has three network cards (eth0, eth2, eth3), and the computing node has two network cards (eth0, eth2).
Merge the Management and API networks and use the eth0,IP segment as 192.168.104.0 hand 24.
The VM network uses eht1.
The eth3 of the control node is connected to the External network, and the IP segment is 10.10.10.0.0swap 24.
Network topology
Also seen in the Linux Bridge implementation, the only difference is that for "Virtual Network Switch" in the node, we will replace Linux Bridge with Open vSwitch.
Configure openvswitch mechanism driver
To switch from Liunx Bridge to Open vSwitch, you first need to install agent for Open vSwitch.
Modify the local.conf of devstack:
Rerunning. / stack,devstack will automatically download and install Open vSwitch.
Next, you can modify the configuration file / etc/neutron/plugins/ml2/ml2_conf.ini of ML2 to set it to use openvswitch mechanism driver.
Both the control node and the compute node need to install and configure Open vSwitch as described above.
After the Neutron service is restarted, you can see that neutron-openvswitch-agent is already running on both nodes through the neutron agent-list command.
The above is how to enable Open vSwitch. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.