com.vmware.nsx_vmc_app.infra.direct_connect package

Submodules

com.vmware.nsx_vmc_app.infra.direct_connect.routes_client module

class com.vmware.nsx_vmc_app.infra.direct_connect.routes_client.Advertised(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

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

Retrieve BGP routes that are advertised by Direct Connect from VMC provider to on-premise datacenter. This API is a live query to VMC provider.

Return type:com.vmware.nsx_vmc_app.model_client.BGPAdvertisedRoutes
Returns:com.vmware.nsx_vmc_app.model.BGPAdvertisedRoutes
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_vmc_app.infra.direct_connect.routes_client.Learned(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

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

Retrieve BGP routes that are learned by Direct Connect from on-premise datacenter. This API is a live query to VMC provider.

Return type:com.vmware.nsx_vmc_app.model_client.BGPLearnedRoutes
Returns:com.vmware.nsx_vmc_app.model.BGPLearnedRoutes
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_vmc_app.infra.direct_connect.routes_client.StubFactory(stub_config)

Bases: vmware.vapi.bindings.stub.StubFactoryBase

Initialize StubFactoryBase

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