diff --git a/ovn-nb.ovsschema b/ovn-nb.ovsschema
index c6a1417ffc..d85a3fe98e 100644
--- a/ovn-nb.ovsschema
+++ b/ovn-nb.ovsschema
@@ -1,7 +1,7 @@
{
"name": "OVN_Northbound",
- "version": "5.6.0",
- "cksum": "2552205612 15123",
+ "version": "5.7.0",
+ "cksum": "3754583060 16164",
"tables": {
"NB_Global": {
"columns": {
@@ -196,6 +196,12 @@
"Logical_Router_Port": {
"columns": {
"name": {"type": "string"},
+ "gateway_chassis": {
+ "type": {"key": {"type": "uuid",
+ "refTable": "Gateway_Chassis",
+ "refType": "strong"},
+ "min": 0,
+ "max": "unlimited"}},
"options": {
"type": {"key": "string",
"value": "string",
@@ -293,4 +299,20 @@
"value": "string",
"min": 0,
"max": "unlimited"}}},
- "maxRows": 1}}}
+ "maxRows": 1},
+ "Gateway_Chassis": {
+ "columns": {
+ "name": {"type": "string"},
+ "chassis_name": {"type": "string"},
+ "priority": {"type": {"key": {"type": "integer",
+ "minInteger": 0,
+ "maxInteger": 32767}}},
+ "external_ids": {
+ "type": {"key": "string", "value": "string",
+ "min": 0, "max": "unlimited"}},
+ "options": {
+ "type": {"key": "string", "value": "string",
+ "min": 0, "max": "unlimited"}}},
+ "indexes": [["name"]],
+ "isRoot": false}}
+ }
diff --git a/ovn-nb.xml b/ovn-nb.xml
index 32c10c1474..1e73465663 100644
--- a/ovn-nb.xml
+++ b/ovn-nb.xml
@@ -179,7 +179,7 @@
192.168.0.0/24
, to enable
ovn-northd
to automatically assign IP addresses within
- that subnet.
+ that subnet.
+ If set, this indicates that this logical router port represents + a distributed gateway port that connects this router to a logical + switch with a localnet port. There may be at most one such + logical router port on each logical router. +
+ ++ Several can be referenced for a given + logical router port. A single is + functionally equivalent to setting + . Refer to the + description of + for additional details on gateway handling. +
+ ++ Defining more than one will enable + gateway high availability. Only one gateway will be active at a + time. OVN chassis will use BFD to monitor connectivity to a + gateway. If connectivity to the active gateway is interrupted, + another gateway will become active. + The column + specifies the order that gateways will be chosen by OVN. +
+
The IP addresses and netmasks of the router. For example,
@@ -1319,6 +1347,14 @@
table="Logical_Switch_Port"/> should be set to
router
.
+ While is still + supported for backwards compatibility, it is now preferred to + specify one or more instead. + It is functionally equivalent, but allows you to specify multiple + chassis to enable high availability. +
+ This should only be populated for ports with
+ set to chassisredirect
.
+ This column defines the list of chassis used as gateways where
+ traffic will be redirected through.
+
A number that represents the logical port in the key (e.g. STT key or @@ -2883,4 +2895,43 @@ tcp.flags = RST; clients are allowed to modify.