Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   ovn-nb    ( 5 )

схема базы данных OVN_Northbound (OVN_Northbound database schema)

NB_Global TABLE

Northbound configuration for an OVN system. This table must have
       exactly one row.

Summary: Status: nb_cfg integer sb_cfg integer hv_cfg integer Common Columns: external_ids map of string-string pairs Common options: options map of string-string pairs Options for configuring BFD: options : bfd-min-rx optional string options : bfd-decay-min-rx optional string options : bfd-min-tx optional string options : bfd-mult optional string options : mac_prefix optional string options : controller_event optional string, either true or false Connection Options: connections set of Connections ssl optional SSL Security Configurations: ipsec boolean

Details: Status:

These columns allow a client to track the overall configuration state of the system.

nb_cfg: integer Sequence number for client to increment. When a client modifies any part of the northbound database configuration and wishes to wait for ovn-northd and possibly all of the hypervisors to finish applying the changes, it may increment this sequence number.

sb_cfg: integer Sequence number that ovn-northd sets to the value of nb_cfg after it finishes applying the corresponding configuration changes to the OVN_Southbound database.

hv_cfg: integer Sequence number that ovn-northd sets to the smallest sequence number of all the chassis in the system, as reported in the Chassis table in the southbound database. Thus, hv_cfg equals nb_cfg if all chassis are caught up with the northbound configuration (which may never happen, if any chassis is down). This value can regress, if a chassis was removed from the system and rejoins before catching up.

Common Columns:

external_ids: map of string-string pairs See External IDs at the beginning of this document.

Common options:

options: map of string-string pairs This column provides general key/value settings. The supported options are described individually below.

Options for configuring BFD:

These options apply when ovn-controller configures BFD on tunnels interfaces.

options : bfd-min-rx: optional string BFD option min-rx value to use when configuring BFD on tunnel interfaces.

options : bfd-decay-min-rx: optional string BFD option decay-min-rx value to use when configuring BFD on tunnel interfaces.

options : bfd-min-tx: optional string BFD option min-tx value to use when configuring BFD on tunnel interfaces.

options : bfd-mult: optional string BFD option mult value to use when configuring BFD on tunnel interfaces.

options : mac_prefix: optional string Configure a given OUI to be used as prefix when L2 address is dynamically assigned, e.g. 00:11:22

options : controller_event: optional string, either true or false Value set by the CMS to enable/disable ovn-controller event reporting. Traffic into OVS can raise a 'controller' event that results in a Controller_Event being written to the Controller_Event table in SBDB. When the CMS has seen the event and taken appropriate action, it can remove the correponding row in Controller_Event table. The intention is for a CMS to see the events and take some sort of action. Please see the Controller_Event table in SBDB.

Connection Options:

connections: set of Connections Database clients to which the Open vSwitch database server should connect or on which it should listen, along with options for how these connections should be configured. See the Connection table for more information.

ssl: optional SSL Global SSL configuration.

Security Configurations:

ipsec: boolean Tunnel encryption configuration. If this column is set to be true, all OVN tunnels will be encrypted with IPsec.