8.8.4. ovs


The following table outlines the options available under the [ovs] group in the /etc/neutron/plugins/ml2/openvswitch_agent.ini file.

Expand
表8.42 ovs
Configuration option = Default valueTypeDescription

bridge_mappings = []

list value

Comma-separated list of <physical_network>:<bridge> tuples mapping physical network names to the agent’s node-specific Open vSwitch bridge names to be used for flat and VLAN networks. The length of bridge names should be no more than 11. Each bridge must exist, and should have a physical network interface configured as a port. All physical networks configured on the server should have mappings to appropriate bridges on each agent. Note: If you remove a bridge from this mapping, make sure to disconnect it from the integration bridge as it won’t be managed by the agent anymore.

datapath_type = system

string value

OVS datapath to use. system is the default value and corresponds to the kernel datapath. To enable the userspace datapath set this value to netdev.

int_peer_patch_port = patch-tun

string value

Peer patch port in integration bridge for tunnel bridge.

integration_bridge = br-int

string value

Integration bridge to use. Do not change this parameter unless you have a good reason to. This is the name of the OVS integration bridge. There is one per hypervisor. The integration bridge acts as a virtual patch bay. All VM VIFs are attached to this bridge and then patched according to their network connectivity.

local_ip = None

IP address value

IP address of local overlay (tunnel) network endpoint. Use either an IPv4 or IPv6 address that resides on one of the host network interfaces. The IP version of this value must match the value of the overlay_ip_version option in the ML2 plug-in configuration file on the neutron server node(s).

of_connect_timeout = 300

integer value

Timeout in seconds to wait for the local switch connecting the controller.

of_inactivity_probe = 10

integer value

The inactivity_probe interval in seconds for the local switch connection to the controller. A value of 0 disables inactivity probes.

of_listen_address = 127.0.0.1

IP address value

Address to listen on for OpenFlow connections.

of_listen_port = 6633

port value

Port to listen on for OpenFlow connections.

of_request_timeout = 300

integer value

Timeout in seconds to wait for a single OpenFlow request.

ovsdb_connection = tcp:127.0.0.1:6640

string value

The connection string for the OVSDB backend. Will be used by ovsdb-client when monitoring and used for the all ovsdb commands when native ovsdb_interface is enabled

ovsdb_debug = False

boolean value

Enable OVSDB debug logs

resource_provider_bandwidths = []

list value

Comma-separated list of <bridge>:<egress_bw>:<ingress_bw> tuples, showing the available bandwidth for the given bridge in the given direction. The direction is meant from VM perspective. Bandwidth is measured in kilobits per second (kbps). The bridge must appear in bridge_mappings as the value. But not all bridges in bridge_mappings must be listed here. For a bridge not listed here we neither create a resource provider in placement nor report inventories against. An omitted direction means we do not report an inventory for the corresponding class.

resource_provider_hypervisors = {}

dict value

Mapping of bridges to hypervisors: <bridge>:<hypervisor>,…​ hypervisor name is used to locate the parent of the resource provider tree. Only needs to be set in the rare case when the hypervisor name is different from the DEFAULT.host config option value as known by the nova-compute managing that hypervisor.

resource_provider_inventory_defaults = {'allocation_ratio': 1.0, 'min_unit': 1, 'reserved': 0, 'step_size': 1}

dict value

Key:value pairs to specify defaults used while reporting resource provider inventories. Possible keys with their types: allocation_ratio:float, max_unit:int, min_unit:int, reserved:int, step_size:int, See also: https://docs.openstack.org/api-ref/placement/#update-resource-provider-inventories

ssl_ca_cert_file = None

string value

The Certificate Authority (CA) certificate to use when interacting with OVSDB. Required when using an "ssl:" prefixed ovsdb_connection

ssl_cert_file = None

string value

The SSL certificate file to use when interacting with OVSDB. Required when using an "ssl:" prefixed ovsdb_connection

ssl_key_file = None

string value

The SSL private key file to use when interacting with OVSDB. Required when using an "ssl:" prefixed ovsdb_connection

tun_peer_patch_port = patch-int

string value

Peer patch port in tunnel bridge for integration bridge.

tunnel_bridge = br-tun

string value

Tunnel bridge to use.

use_veth_interconnection = False

boolean value

Use veths instead of patch ports to interconnect the integration bridge to physical networks. Support kernel without Open vSwitch patch port support so long as it is set to True.

vhostuser_socket_dir = /var/run/openvswitch

string value

OVS vhost-user socket directory.

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat