Browse Source

NSX|P: Fix dhcp migration admin utility

To use the correct plugin api

Change-Id: Icc6570ddf6b0dd6d096250a50c7cc49f1c0a677b
tags/16.0.0
asarfaty 3 months ago
parent
commit
75cfea2619
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      vmware_nsx/shell/admin/plugins/nsxp/resources/networks.py

+ 1
- 1
vmware_nsx/shell/admin/plugins/nsxp/resources/networks.py View File

@@ -86,7 +86,7 @@ def migrate_dhcp_to_policy(resource, event, trigger, **kwargs):
nets = plugin.get_networks(ctx)
for net in nets:
# skip non-dhcp networks
dhcp_port = plugin._get_sunbet_dhcp_port(ctx, net['id'])
dhcp_port = plugin._get_net_dhcp_port(ctx, net['id'])
if not dhcp_port:
LOG.info("Skipping network %s: No DHCP subnet found",
net['id'])


Loading…
Cancel
Save