com.vmware.nsx.pools package

Submodules

com.vmware.nsx.pools.ip_pools_client module

class com.vmware.nsx.pools.ip_pools_client.Allocations(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

list(pool_id)

Returns information about which addresses have been allocated from a specified IP address pool.

Parameters

pool_id (str) – IP pool ID (required)

Return type

com.vmware.nsx.model_client.AllocationIpAddressListResult

Returns

com.vmware.nsx.model.AllocationIpAddressListResult

Raise

com.vmware.vapi.std.errors_client.ServiceUnavailable Service Unavailable

Raise

com.vmware.vapi.std.errors_client.InvalidRequest Bad Request, Precondition Failed

Raise

com.vmware.vapi.std.errors_client.InternalServerError Internal Server Error

Raise

com.vmware.vapi.std.errors_client.Unauthorized Forbidden

Raise

com.vmware.vapi.std.errors_client.NotFound Not Found

class com.vmware.nsx.pools.ip_pools_client.StubFactory(stub_config)

Bases: vmware.vapi.bindings.stub.StubFactoryBase

Initialize StubFactoryBase

Parameters

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance