This patch fixes connections to the default layer-2 gateway
ensuring that:
1) no "None" value is sent for tags to nsxlib. In particular this
patch ensures that the tenant_id is populated when the request
is sent with admin credentials.
2) the segmentation_id attribute is converted to integer before
validating whether it's a valid VLAN tag.
Cherry-picked from commit: e3733b1b894adebcb1e4999a1c50cb6874b77abe
Change-Id: I959edab036c32a3a2cfdbe4d7567daf29dc75797
Closes-Bug: #1462973
Closes-Bug: #1462974
Reviewed: https:/ /review. openstack. org/195579 /git.openstack. org/cgit/ openstack/ vmware- nsx/commit/ ?id=d664c41c187 18ee20d25be2a33 140b8c5f85c007
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit d664c41c18718ee 20d25be2a33140b 8c5f85c007
Author: Salvatore Orlando <email address hidden>
Date: Thu Jun 25 06:34:37 2015 -0700
NSX-mh: fix default l2 gw connections
This patch fixes connections to the default layer-2 gateway
ensuring that:
1) no "None" value is sent for tags to nsxlib. In particular this
patch ensures that the tenant_id is populated when the request
is sent with admin credentials.
2) the segmentation_id attribute is converted to integer before
validating whether it's a valid VLAN tag.
Cherry-picked from commit: e3733b1b894adeb cb1e4999a1c50cb 6874b77abe 3a2cfdbe4d7567d af29dc75797
Change-Id: I959edab036c32a
Closes-Bug: #1462973
Closes-Bug: #1462974