X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ovn%2Fovn-nb.xml;h=5c8e94220ffca22415dd6c8027cc77928ea27799;hb=6e6c3f9188a19d4e8981eb7813dd87fa54b8e882;hp=b6eef036ac9773382f8f528567b0e4a74681582d;hpb=6bb4a18e6c34180f42d3f55b91ac884e1b1a2da9;p=cascardo%2Fovs.git diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml index b6eef036a..5c8e94220 100644 --- a/ovn/ovn-nb.xml +++ b/ovn/ovn-nb.xml @@ -35,6 +35,20 @@ Each row represents one L2 logical switch.
+
+ There are two kinds of logical switches, that is, ones that fully
+ virtualize the network (overlay logical switches) and ones that provide
+ simple connectivity to a physical network (bridged logical switches).
+ They work in the same way when providing connectivity between logical
+ ports on same chasis, but differently when connecting remote logical
+ ports. Overlay logical switches connect remote logical ports by tunnels,
+ while bridged logical switches provide connectivity to remote ports by
+ bridging the packets to directly connected physical L2 segment with the
+ help of localnet
ports. Each bridged logical switch has
+ one and only one localnet
port, which has only one special
+ address unknown
.
+
A name for the logical switch. This name has no special meaning or purpose @@ -116,9 +130,8 @@
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.
+ have a single localnet
port attached. This is used
+ to model direct connectivity to an existing network.
vtep
+ These options apply to logical ports with having + (empty string) +
+ +xx:xx:xx:xx:xx:xx
Ethernet address followed by zero or more IPv4 or IPv6 addresses (or both)
- An Ethernet address owned by the logical port. Like a physical - Ethernet NIC, a logical port ordinarily has a single fixed - Ethernet address. + An Ethernet address defined is owned by the logical port. + Like a physical Ethernet NIC, a logical port ordinarily has + a single fixed Ethernet address.
@@ -268,22 +299,53 @@ if a MAC learning process had learned that MAC address on the port.
-xx:xx:xx:xx:xx:xx a.b.c.d
- This form has all the effects of the previous form. It also - indicates that the logical port owns the given IPv4 address. + If IPv4 or IPv6 address(es) (or both) are defined, it indicates + that the logical port owns the given IP addresses. +
+ ++ If IPv4 address(es) are defined, the OVN logical switch uses this + information to synthesize responses to ARP requests without + traversing the physical network. The OVN logical router connected + to the logical switch, if any, uses this information to avoid + issuing ARP requests for logical switch ports.
- The OVN logical switch uses this information to synthesize - responses to ARP requests without traversing the physical - network. The OVN logical router connected to the logical switch, - if any, uses this information to avoid issuing ARP requests for - logical switch ports. + Note that the order here is important. The Ethernet address must + be listed before the IP address(es) if defined.
+ ++ Examples: +
+ +80:fa:5b:06:72:b7
80:fa:5b:06:72:b7 10.0.0.4 20.0.0.4
80:fa:5b:06:72:b7 fdaa:15f2:72cf:0:f816:3eff:fe20:3f41
80:fa:5b:06:72:b7 10.0.0.4 fdaa:15f2:72cf:0:f816:3eff:fe20:3f41
unknown
+ Note that you can not create an ACL matching on a port with + type=router. +
+ +
+ Note that when localnet
port exists in a lswitch, for
+ to-lport
direction, the inport
works only if
+ the to-lport
is located on the same chassis as the
+ inport
.
+
- A name for the logical router port. This name has no special meaning or purpose - other than to provide convenience for human interaction with the ovn-nb - database. There is no requirement for the name to be unique. The - logical router port's UUID should be used as the unique identifier. + A name for the logical router port. +
+ ++ In addition to provide convenience for human interaction with the + ovn-nb database, this column is used as reference by its patch port in + or another logical router port in .
router
. The column is empty.
+ table="Logical_Port"/> of type router
. The value of
+ is set as router-port
in column
+ of .
+ In this case column is empty.
For a router port used to connect two logical routers, this - identifies the other router port in the pair. + identifies the other router port in the pair by .