From patchwork Tue Oct 6 20:32:16 2015
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Ben Pfaff chassis
column with new information.
- A type for this logical port. Logical ports can be used to model - other types of connectivity into an OVN logical switch. Leaving this - column blank maintains the default logical port behavior, which - is for a VM (or VIF) interface. The following other types are defined: -
- -localnet
ovn-controller
instance. A logical switch can only
- have a single localnet
port attached and at most one
- regular logical port. This is used to model direct connectivity
- to an existing network.- This column provides key/value settings specific to the logical port - . The following options are defined: -
+network_name
localnet
.
- ovn-controller
uses the configuration entry
- ovn-bridge-mappings
to determine how to connect to
- this network. ovn-bridge-mappings
is a list of
- network names mapped to a local OVS bridge that provides access
- to that network. An example of configuring
- ovn-bridge-mappings
would be:
+ ovn-controller
/ovn-controller-vtep
.
+
- $ ovs-vsctl set open
- . external-ids:ovn-bridge-mappings=physnet1:br-eth0,physnet2:br-eth1
-
+ A number that represents the logical port in the key (e.g. STT key or + Geneve TLV) field carried within tunnel protocol packets. +
-
- Also note that when a logical switch has a localnet
- port attached, every chassis that may have a local vif attached
- to that logical switch must have a bridge mapping configured to
- reach that localnet
. Traffic that arrives on a
- localnet
port is never forwarded over a tunnel to
- another chassis.
-
+ The tunnel ID must be unique within the scope of a logical datapath. +
+
+ The Ethernet address or addresses used as a source address on the
+ logical port, each in the form
+ xx:xx:xx:xx:xx:xx.
+ The string unknown
is also allowed to indicate that the
+ logical port has an unknown set of (additional) source addresses.
+
+ A VM interface would ordinarily have a single Ethernet address. A
+ gateway port might initially only have unknown
, and then
+ add MAC addresses to the set as it learns new source addresses.
+
vtep-logical-switch
vtep
.
- + A type for this logical port. Logical ports can be used to model other + types of connectivity into an OVN logical switch. The following types + are defined: +
+ +localnet
ovn-controller
instance. A logical switch can only
+ have a single localnet
port attached and at most one
+ regular logical port. This is used to model direct connectivity to
+ an existing network.
+ vtep
vtep-physical-switch
and :vtep-logical-switch
must also
+ be defined.
+
- A number that represents the logical port in the key (e.g. STT key or
- Geneve TLV) field carried within tunnel protocol packets.
+ These options apply to logical ports with of
+ localnet
.
ovn-controller
uses the configuration entry
+ ovn-bridge-mappings
to determine how to connect to this
+ network. ovn-bridge-mappings
is a list of network names
+ mapped to a local OVS bridge that provides access to that network. An
+ example of configuring ovn-bridge-mappings
would be:
+
+ $ ovs-vsctl set open . external-ids:ovn-bridge-mappings=physnet1:br-eth0,physnet2:br-eth1+ +
+ When a logical switch has a localnet
port attached,
+ every chassis that may have a local vif attached to that logical
+ switch must have a bridge mapping configured to reach that
+ localnet
. Traffic that arrives on a
+ localnet
port is never forwarded over a tunnel to
+ another chassis.
+
- The tunnel ID must be unique within the scope of a logical datapath.
+ These options apply to logical ports with of
+ vtep
.
- When is empty and - identifies the interface of a container spawned inside a VM, this column - identifies the VLAN tag in the network traffic associated with that - container's network interface. It is left empty if - belongs to a VM or a container created in the - hypervisor. -
- -
- When is set to localnet
, this can be
- set to indicate that the port represents a connection to a specific
- VLAN on a locally accessible network. The VLAN ID is used to match
- incoming traffic and is also added to outgoing traffic.
-
ovn-controller
/ovn-controller-vtep
.
- vtep
.
+
- The Ethernet address or addresses used as a source address on the
- logical port, each in the form
- xx:xx:xx:xx:xx:xx.
- The string unknown
is also allowed to indicate that the
- logical port has an unknown set of (additional) source addresses.
+ These columns support containers nested within a VM. They are empty
+ for containers or VMs that run directly on a hypervisor.
- A VM interface would ordinarily have a single Ethernet address. A
- gateway port might initially only have unknown
, and then
- add MAC addresses to the set as it learns new source addresses.
-
+ When is empty and + identifies the interface of a container spawned inside a VM, this + column identifies the VLAN tag in the network traffic associated with + that container's network interface. It is left empty if belongs to a VM or a container created in the + hypervisor. +
+ +
+ When is set to localnet
, this can
+ be set to indicate that the port represents a connection to a
+ specific VLAN on a locally accessible network. The VLAN ID is used to
+ match incoming traffic and is also added to outgoing traffic.
+