On Tue, Apr 05, 2016 at 03:17:32PM -0400, Nicholas Bastin wrote:
> 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}},

"min": 0 means that the minimum number of elements of the set is 0.
 
> However, it actually returns an empty set:
> 
>             {
>                 "name": "2080698601994",
>                 "tag": 500,
>                 "vlan_mode": [
>                     "set",
>                     []
>                 ]
>             }
> 
> Is this intended?

Yes.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to