NSX|P: Fix subnet dhcp update
Subnet data was missing the subnet ID causing errors when trying to enable dhcp on a subnet attached to a router. Change-Id: Ie8ad846fb50adae571fc70a349fa980dbf9ac2e9
This commit is contained in:
parent
e3c7c19dc6
commit
4837575bb0
|
@ -1532,9 +1532,10 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
|
|||
{'net': net_id, 'ver': ip_version})
|
||||
LOG.error(msg)
|
||||
raise n_exc.InvalidInput(error_message=msg)
|
||||
|
||||
updated_data = orig_subnet
|
||||
updated_data.update(subnet_data)
|
||||
self._validate_segment_subnets_num(
|
||||
context, net_id, subnet_data)
|
||||
context, net_id, updated_data)
|
||||
|
||||
updated_subnet = super(NsxPolicyPlugin, self).update_subnet(
|
||||
context, subnet_id, subnet)
|
||||
|
|
Loading…
Reference in New Issue