локальный контроллер Open Virtual Network (Open Virtual Network local controller)
OVN SOUTHBOUND DATABASE USAGE
ovn-controller
reads from much of the OVN_Southbound
database to
guide its operation. ovn-controller
also writes to the following
tables:
Chassis
Upon startup, ovn-controller
creates a row in this
table to represent its own chassis. Upon graceful
termination, e.g. with ovs-appctl -t ovn-controller
exit
(but not SIGTERM
), ovn-controller
removes its
row.
Encap
Upon startup, ovn-controller
creates a row or rows
in this table that represent the tunnel
encapsulations by which its chassis can be reached,
and points its Chassis
row to them. Upon graceful
termination, ovn-controller
removes these rows.
Port_Binding
At runtime, ovn-controller
sets the chassis
columns
of ports that are resident on its chassis to point
to its Chassis
row, and, conversely, clears the
chassis
column of ports that point to its Chassis
row but are no longer resident on its chassis. The
chassis
column has a weak reference type, so when
ovn-controller
gracefully exits and removes its
Chassis
row, the database server automatically
clears any remaining references to that row.
MAC_Binding
At runtime, ovn-controller
updates the MAC_Binding
table as instructed by put_arp
and put_nd
logical
actions. These changes persist beyond the lifetime
of ovn-controller
.