此内容没有您所选择的语言版本。

7.4. Configure the Plug-in Agent


Configure the agent associated with the plug-in used in your environment. If you are using the ML2 plug-in configure the Open vSwitch agent.

7.4.1. Configure the Open vSwitch Plug-in Agent

You must install and enable the ML2 plug-in before configuring it. See Section 7.2.1.1, “Enable the ML2 Plug-in”.
The Open vSwitch plug-in has a corresponding agent. When the Open vSwitch plug-in is in use, all nodes in the environment that handle data packets must have the agent installed and configured. This includes all Compute nodes and systems hosting the dedicated DHCP and L3 agents.

Note

Open vSwitch support for TCP segmentation offload (TSO) and Generic Segmentation Offload (GSO) to VXLAN and GRE is enabled by default.

Procedure 7.11. Configuring the Open vSwitch Plug-in Agent

  1. Start the openvswitch service:
    # systemctl start openvswitch.service
  2. Configure the openvswitch service to start at boot time:
    # systemctl enable openvswitch.service
  3. Each host running the Open vSwitch agent requires an Open vSwitch bridge called br-int, which is used for private network traffic. This bridge is created automatically.

    Warning

    The br-int bridge is required for the agent to function correctly. Once created, do not remove or otherwise modify the br-int bridge.
  4. Set the value of the bridge_mappings configuration key to a comma-separated list of physical networks and the network bridges associated with them:
    # openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini \
       ovs bridge_mappings PHYSNET:BRIDGE
    Replace PHYSNET with the name of a physical network, and replace BRIDGE with the name of the network bridge.
  5. Start the neutron-openvswitch-agent service:
    # systemctl start neutron-openvswitch-agent.service
  6. Configure the neutron-openvswitch-agent service to start at boot time:
    # systemctl enable neutron-openvswitch-agent.service
  7. Configure the neutron-ovs-cleanup service to start at boot time. This service ensures that the OpenStack Networking agents maintain full control over the creation and management of tap devices:
    # systemctl enable neutron-ovs-cleanup.service
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.