[ovs-dev] [PATCH] ovn: change type for router default_gw
Russell Bryant
rbryant at redhat.com
Fri Mar 6 02:24:28 UTC 2015
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 <rbryant at 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
More information about the dev
mailing list