[ovs-discuss] Port.vlan_mode has wrong type?

Nicholas Bastin nick.bastin at gmail.com
Tue Apr 5 19:17:32 UTC 2016


In 2.5.0, Port.vlan_mode is defined in the schema to be:

       "vlan_mode": {
         "type": {"key": {"type": "string",
           "enum": ["set", ["trunk", "access", "native-tagged",
"native-untagged"]]},
         "min": 0, "max": 1}},

However, it actually returns an empty set:

            {
                "name": "2080698601994",
                "tag": 500,
                "vlan_mode": [
                    "set",
                    []
                ]
            }

Is this intended?

--
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160405/0a04a4c8/attachment-0002.html>


More information about the discuss mailing list