The vmware_nsx.dhcp_meta.migration
Module¶
-
class
vmware_nsx.dhcp_meta.migration.
DhcpMetadataBuilder
(plugin, agent_notifier)¶ Bases:
object
-
dhcp_agent_get_all
(context, network_id)¶ Return the agents managing the network.
-
dhcp_allocate
(context, network_id, subnet)¶ Allocate dhcp resources for the subnet.
-
dhcp_deallocate
(context, network_id, agents, ports)¶ Deallocate dhcp resources for the network.
-
dhcp_port_get_all
(context, network_id)¶ Return the dhcp ports allocated for the network.
-
metadata_allocate
(context, router_id, subnet_id)¶ Allocate metadata resources for the subnet via the router.
-
metadata_deallocate
(context, router_id, subnet_id)¶ Deallocate metadata services for the subnet.
-
router_id_get
(context, subnet=None)¶ Return the router and interface used for the subnet.
-
-
class
vmware_nsx.dhcp_meta.migration.
MigrationManager
(plugin, lsn_manager, agent_notifier)¶ Bases:
object
-
migrate
(context, network_id, subnet=None)¶ Migrate subnet resources to LSN.
-
report
(context, network_id, subnet_id=None)¶ Return a report of the dhcp and metadata resources in use.
-
validate
(context, network_id)¶ Validate and return subnet’s dhcp info for migration.
-