com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context package¶
Submodules¶
com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context.l2vpns_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context.l2vpns_client.
PeerConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(tier0_id, locale_service_id, l2vpn_id, enforcement_point_path=None)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)l2vpn_id (
str
) – (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.AggregateL2VpnPeerConfig
- 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_policy.infra.tier_0s.locale_services.l2vpn_context.l2vpns_client.
Statistics
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
get
(tier0_id, locale_service_id, l2vpn_id, enforcement_point_path=None)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)l2vpn_id (
str
) – (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.AggregateL2VpnStatistics
- 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_policy.infra.tier_0s.locale_services.l2vpn_context.l2vpns_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance