схема базы данных OVN_Southbound (OVN_Southbound database schema)
Datapath_Binding TABLE
Each row in this table represents a logical datapath, which
implements a logical pipeline among the ports in the Port_Binding
table associated with it. In practice, the pipeline in a given
logical datapath implements either a logical switch or a logical
router.
The main purpose of a row in this table is provide a physical
binding for a logical datapath. A logical datapath does not have
a physical location, so its physical binding information is
limited: just tunnel_key. The rest of the data in this table does
not affect packet forwarding.
Summary:
tunnel_key integer, in range 1 to 16,777,215
(must be unique within table)
OVN_Northbound Relationship:
external_ids : logical-switch
optional string, containing an uuid
external_ids : logical-router
optional string, containing an uuid
Naming:
external_ids : name optional string
external_ids : name2 optional string
Common Columns:
external_ids map of string-string pairs
Details:
tunnel_key: integer, in range 1 to 16,777,215 (must be unique
within table)
The tunnel key value to which the logical datapath is
bound. The Tunnel Encapsulation section in
ovn-architecture(7) describes how tunnel keys are
constructed for each supported encapsulation.
OVN_Northbound Relationship:
Each row in Datapath_Binding is associated with some logical
datapath. ovn-northd uses these keys to track the association of
a logical datapath with concepts in the OVN_Northbound database.
external_ids : logical-switch: optional string, containing an
uuid
For a logical datapath that represents a logical switch,
ovn-northd stores in this key the UUID of the
corresponding Logical_Switch row in the OVN_Northbound
database.
external_ids : logical-router: optional string, containing an
uuid
For a logical datapath that represents a logical router,
ovn-northd stores in this key the UUID of the
corresponding Logical_Router row in the OVN_Northbound
database.
Naming:
ovn-northd copies these from the name fields in the
OVN_Northbound database, either from name and
external_ids:neutron:router_name in the Logical_Router table or
from name and external_ids:neutron:network_name in the
Logical_Switch table.
external_ids : name: optional string
A name for the logical datapath.
external_ids : name2: optional string
Another name for the logical datapath.
Common Columns:
The overall purpose of these columns is described under Common
Columns at the beginning of this document.
external_ids: map of string-string pairs