Enable Open VSwitch-5 minutes a day to play with OpenStack (127)

Source: Internet
Author: User
Tags openvswitch

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:

    1. Control node three network card (eth0, eth1, eth2), compute node Two network cards (eth0, eth1).

    2. Merge Management and API networks using the Eth0,ip field 192.168.104.0/24.

    3. VM networks use EHT1.

    4. 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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.