NSX: Pass NSX uuid when plugging l2 gw attachment
The code passed the neutron network identifier. This is no longer valid as identifiers on the backend are not anymore the same as neutron identifiers. Also, this would have hardly worked with networks on extended logical switches. Closes-Bug: 1285399 Change-Id: I6fe4d22d5b8d8b7dc3eb1cb3f47ad52ac1a2b565
This commit is contained in:
parent
f07f9a3d71
commit
caa4ccd5d7
@ -717,7 +717,7 @@ class NvpPluginV2(addr_pair_db.AllowedAddressPairsMixin,
|
||||
selected_lswitch['uuid'], lport['uuid'])
|
||||
l2gwlib.plug_l2_gw_service(
|
||||
self.cluster,
|
||||
port_data['network_id'],
|
||||
selected_lswitch['uuid'],
|
||||
lport['uuid'],
|
||||
port_data['device_id'],
|
||||
int(port_data.get('gw:segmentation_id') or 0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user