локальный контроллер Open Virtual Network (Open Virtual Network local controller)
OPEN VSWITCH DATABASE USAGE
ovn-controller uses a number of external_ids keys in the Open
vSwitch database to keep track of ports and interfaces. For
proper operation, users should not change or clear these keys:
external_ids:ovn-chassis-id in the Port table
The presence of this key identifies a tunnel port
within the integration bridge as one created by
ovn-controller to reach a remote chassis. Its value
is the chassis ID of the remote chassis.
external_ids:ct-zone-* in the Bridge table
Logical ports and gateway routers are assigned a
connection tracking zone by ovn-controller for
stateful services. To keep state across restarts of
ovn-controller, these keys are stored in the
integration bridge's Bridge table. The name
contains a prefix of ct-zone- followed by the name
of the logical port or gateway router's zone key.
The value for this key identifies the zone used for
this port.
external_ids:ovn-localnet-port in the Port table
The presence of this key identifies a patch port as
one created by ovn-controller to connect the
integration bridge and another bridge to implement
a localnet logical port. Its value is the name of
the logical port with type set to localnet that the
port implements. See
external_ids:ovn-bridge-mappings, above, for more
information.
Each localnet logical port is implemented as a pair
of patch ports, one in the integration bridge, one
in a different bridge, with the same
external_ids:ovn-localnet-port value.
external_ids:ovn-l2gateway-port in the Port table
The presence of this key identifies a patch port as
one created by ovn-controller to connect the
integration bridge and another bridge to implement
a l2gateway logical port. Its value is the name of
the logical port with type set to l2gateway that
the port implements. See
external_ids:ovn-bridge-mappings, above, for more
information.
Each l2gateway logical port is implemented as a
pair of patch ports, one in the integration bridge,
one in a different bridge, with the same
external_ids:ovn-l2gateway-port value.
external-ids:ovn-l3gateway-port in the Port table
This key identifies a patch port as one created by
ovn-controller to implement a l3gateway logical
port. Its value is the name of the logical port
with type set to l3gateway. This patch port is
similar to the OVN logical patch port, except that
l3gateway port can only be bound to a paticular
chassis.
external-ids:ovn-logical-patch-port in the Port table
This key identifies a patch port as one created by
ovn-controller to implement an OVN logical patch
port within the integration bridge. Its value is
the name of the OVN logical patch port that it
implements.