The default_gw attribute of a logical router was defined as an IP address in ovn-nb.xml, but as a boolean in ovn-nb.ovsschema. Fix the schema to reflect that this is an IP address.
Signed-off-by: Russell Bryant <rbry...@redhat.com> --- ovn/ovn-nb.ovsschema | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema index ad675ac..a02ad7e 100644 --- a/ovn/ovn-nb.ovsschema +++ b/ovn/ovn-nb.ovsschema @@ -45,7 +45,7 @@ "Logical_Router": { "columns": { "ip": {"type": "string"}, - "default_gw": {"type": {"key": "string", "min": 0, "max": 1}}, + "default_gw": {"type": "string"}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}}, -- 2.1.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev