nuagenetworks / vsd-api-specifications

api specifications of vsd
Other
6 stars 8 forks source link

UplinkConnection.uplinkID constraints mismatch #56

Closed mfagadar closed 6 years ago

mfagadar commented 6 years ago

In uplinkconnection.spec, the uplinkID attribute value constraints are set as if the attribute is a string, with the length and value constraints swapped.

Since the uplinkID is an integer, the correct constraints should be:

"max_length": null,
"max_value": 65535,
"min_length": null,
"min_value": 1,

The issue is found in several branches: 5.2.2, 5.3.1 etc.

pdellaert commented 6 years ago

Fixed in upstream, will come in 5.3.2, thanks @mfagadar