X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fvswitch.ovsschema;h=ac42edfcb16850fecdff0dadc6cc3d83805b0968;hb=af96ccd24690553a0f8e2dbe9ee72530f18629c6;hp=b75c100cd4d9ee3838d5137bc790f737412c816a;hpb=89521e3f79d53523fda9f284e74f0f7aa21332b4;p=openvswitch diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index b75c100c..ac42edfc 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -245,7 +245,8 @@ "type": {"key": "integer", "min": 0, "max": 1}}, "fail_mode": { "comment": "Either \"standalone\" or \"secure\", or empty to use the implementation's default.", - "type": {"key": {"type": "string"}, + "type": {"key": {"type": "string", + "enum": ["set", ["standalone", "secure"]]}, "min": 0, "max": 1}}, "discover_accept_regex": { "comment": "If \"target\" is \"discover\", a POSIX extended regular expression against which the discovered controller location is validated. If not specified, the default is implementation-specific.", @@ -255,7 +256,8 @@ "type": {"key": "boolean", "min": 0, "max": 1}}, "connection_mode": { "comment": "Either \"in-band\" or \"out-of-band\". If not specified, the default is implementation-specific.", - "type": {"key": {"type": "string"}, + "type": {"key": {"type": "string", + "enum": ["set", ["in-band", "out-of-band"]]}, "min": 0, "max": 1}}, "local_ip": { "comment": "If \"target\" is not \"discover\", the IP address to configure on the local port.",