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 @@

A connection to a locally accessible network from each 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
@@ -148,9 +161,10 @@ subnets).

- - Required. The UUID of the to - which this logical switch port is connected. + + Required. The of the to which this logical switch port is + connected. @@ -181,6 +195,23 @@ Required. A logical switch name connected by the VTEP gateway. + + +

+ These options apply to logical ports with having + (empty string) +

+ + + If set, indicates the maximum rate for data sent from this interface, + in kbps. Data exceeding this rate is dropped. + + + + If set, indicates the maximum burst size for data sent from this + interface, in kb. + +
@@ -253,12 +284,12 @@

-
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
+
+ This indicates that the logical port owns the above mac address. +
+ +
80:fa:5b:06:72:b7 10.0.0.4 20.0.0.4
+
+ This indicates that the logical port owns the mac address and two + IPv4 addresses. +
+ +
80:fa:5b:06:72:b7 fdaa:15f2:72cf:0:f816:3eff:fe20:3f41
+
+ This indicates that the logical port owns the mac address and + 1 IPv6 address. +
+ +
80:fa:5b:06:72:b7 10.0.0.4 fdaa:15f2:72cf:0:f816:3eff:fe20:3f41
+
+ This indicates that the logical port owns the mac address and + 1 IPv4 address and 1 IPv6 address. +
+
unknown
@@ -382,6 +444,18 @@ restrictive policy, it is important to remember to allow flows such as ARP and IPv6 neighbor discovery packets.

+ +

+ 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. +

@@ -468,10 +542,14 @@

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

@@ -502,8 +580,10 @@
  • To attach a logical switch to a logical router. A logical router port of this type is referenced by exactly one of type 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.
  • @@ -518,7 +598,7 @@

    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 .