5588f45a6d
Segmentation ID is meant to be an Integer as per model, and as such it is best to attempt a conversion in case it happens to be sent as string as done in [1]. The failure mode in this case is not immediately obvious as the ID range check fails and yet the ID is indeed in range. This patch also dedups some logic, clean up and add a test. [1] https://review.openstack.org/#/c/340624/7/neutronclient/osc/v2/trunk/subport.py@36 Partially-implements: blueprint vlan-aware-vms Change-Id: I7ca4c93fdf0ab83088194e9a343448ed511d4cdb |
||
---|---|---|
.. | ||
__init__.py | ||
vlan.py |