The vmware_nsx.services.ipam.common.driver Module¶
-
class
vmware_nsx.services.ipam.common.driver.NsxAbstractIpamDriver(subnetpool, context)¶ Bases:
neutron.ipam.subnet_alloc.SubnetAllocator,vmware_nsx.services.ipam.common.driver.NsxIpamBaseAbstract IPAM Driver For NSX.
-
allocate_backend_pool(subnet_request)¶ Create a pool on the NSX backend and return its ID
-
allocate_subnet(subnet_request)¶ Create an IPAMSubnet object for the provided request.
-
delete_backend_pool(nsx_pool_id)¶
-
get_subnet(subnet_id)¶ Retrieve an IPAM subnet.
-
get_subnet_request_factory()¶
-
remove_subnet(subnet_id)¶ Delete an IPAM subnet pool from backend & DB.
-
update_backend_pool(nsx_pool_id, subnet_request)¶
-
update_subnet(subnet_request)¶ Update subnet info in the IPAM driver.
Do the update only if the specific change is supported by the backend
-
-
class
vmware_nsx.services.ipam.common.driver.NsxAbstractIpamSubnet(subnet_id, nsx_pool_id, ctx, tenant_id)¶ Bases:
neutron.ipam.driver.Subnet,vmware_nsx.services.ipam.common.driver.NsxIpamBaseManage IP addresses for the NSX IPAM driver.
-
allocate(address_request)¶ Allocate an IP from the pool
-
backend_allocate(address_request)¶
-
backend_deallocate(address)¶
-
deallocate(address)¶ Return an IP to the pool
-
classmethod
load(neutron_subnet_id, nsx_pool_id, ctx, tenant_id=None)¶ Load an IPAM subnet object given its neutron ID.
-
update_allocation_pools(pools, cidr)¶
-
-
class
vmware_nsx.services.ipam.common.driver.NsxIpamBase¶ Bases:
object-
classmethod
get_core_plugin()¶
-
classmethod
-
class
vmware_nsx.services.ipam.common.driver.NsxIpamSubnetManager(neutron_subnet_id)¶ Bases:
object-
neutron_id¶
-
-
class
vmware_nsx.services.ipam.common.driver.NsxSubnetRequestFactory¶ Bases:
neutron.ipam.requests.SubnetRequestFactory,vmware_nsx.services.ipam.common.driver.NsxIpamBaseBuilds request using subnet info, including the network id
-
classmethod
get_request(context, subnet, subnetpool)¶
-
classmethod