com.vmware.nsx_policy.infra.tier_0s.locale_services package¶
Subpackages¶
- com.vmware.nsx_policy.infra.tier_0s.locale_services.bgp package
- com.vmware.nsx_policy.infra.tier_0s.locale_services.interfaces package
- com.vmware.nsx_policy.infra.tier_0s.locale_services.ipsec_vpn_services package
- com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context package
- com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_services package
Submodules¶
com.vmware.nsx_policy.infra.tier_0s.locale_services.bgp_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.bgp_client.
Neighbors
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(tier0_id, locale_service_id, neighbor_id, override=None)¶ Delete BGP neighbor config
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)neighbor_id (
str
) – (required)override (
bool
orNone
) – Locally override the global object (optional, default to false)
- 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
-
get
(tier0_id, locale_service_id, neighbor_id)¶ Read BGP neighbor config
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)neighbor_id (
str
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.BgpNeighborConfig
- 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
-
list
(tier0_id, locale_service_id, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Paginated list of all BGP neighbor configurations
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.BgpNeighborConfigListResult
- Returns
com.vmware.nsx_policy.model.BgpNeighborConfigListResult
- 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
-
patch
(tier0_id, locale_service_id, neighbor_id, bgp_neighbor_config, override=None)¶ If BGP neighbor config with the neighbor-id is not already present, create a new neighbor config. If it already exists, replace the BGP neighbor config with this object.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)neighbor_id (
str
) – (required)bgp_neighbor_config (
com.vmware.nsx_policy.model_client.BgpNeighborConfig
) – (required)override (
bool
orNone
) – Locally override the global object (optional, default to false)
- 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
-
update
(tier0_id, locale_service_id, neighbor_id, bgp_neighbor_config, override=None)¶ If BGP neighbor config with the neighbor-id is not already present, create a new neighbor config. If it already exists, replace the BGP neighbor config with this object.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)neighbor_id (
str
) – (required)bgp_neighbor_config (
com.vmware.nsx_policy.model_client.BgpNeighborConfig
) – (required)override (
bool
orNone
) – Locally override the global object (optional, default to false)
- Return type
- Returns
com.vmware.nsx_policy.model.BgpNeighborConfig
- 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.bgp_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.byod_service_instances_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.byod_service_instances_client.
ServiceInstanceEndpoints
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(tier0_id, locale_service_id, service_instance_id, service_instance_endpoint_id)¶ Delete policy service instance endpoint
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)service_instance_id (
str
) – Service instance id (required)service_instance_endpoint_id (
str
) – Service instance endpoint id (required)
- 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
-
get
(tier0_id, locale_service_id, service_instance_id, service_instance_endpoint_id)¶ Read service instance endpoint
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)service_instance_id (
str
) – Service instance id (required)service_instance_endpoint_id (
str
) – Service instance endpoint id (required)
- Return type
- Returns
com.vmware.nsx_policy.model.ServiceInstanceEndpoint
- 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
-
list
(tier0_id, locale_service_id, service_instance_id, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all service instance endpoint
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)service_instance_id (
str
) – Service instance id (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.ServiceInstanceEndpointListResult
- Returns
com.vmware.nsx_policy.model.ServiceInstanceEndpointListResult
- 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
-
patch
(tier0_id, locale_service_id, service_instance_id, service_instance_endpoint_id, service_instance_endpoint)¶ Create Service instance endpoint.
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)service_instance_id (
str
) – Service instance id (required)service_instance_endpoint_id (
str
) – Service instance endpoint id (required)service_instance_endpoint (
com.vmware.nsx_policy.model_client.ServiceInstanceEndpoint
) – (required)
- 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
-
update
(tier0_id, locale_service_id, service_instance_id, service_instance_endpoint_id, service_instance_endpoint)¶ Create service instance endpoint with given request if not exist. Modification of service instance endpoint is not allowed.
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)service_instance_id (
str
) – Service instance id (required)service_instance_endpoint_id (
str
) – Service instance endpoint id (required)service_instance_endpoint (
com.vmware.nsx_policy.model_client.ServiceInstanceEndpoint
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.ServiceInstanceEndpoint
- 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.byod_service_instances_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.endpoints_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.endpoints_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.endpoints_client.
VirtualEndpoints
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(tier0_id, locale_service_id, virtual_endpoint_id)¶ Delete virtual endpoint
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)virtual_endpoint_id (
str
) – Virtual endpoint id (required)
- 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
-
get
(tier0_id, locale_service_id, virtual_endpoint_id)¶ Read virtual endpoint with given id under given Tier0.
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)virtual_endpoint_id (
str
) – Virtual endpoint id (required)
- Return type
- Returns
com.vmware.nsx_policy.model.VirtualEndpoint
- 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
-
list
(tier0_id, locale_service_id, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List all virtual endpoints
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.VirtualEndpointListResult
- Returns
com.vmware.nsx_policy.model.VirtualEndpointListResult
- 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
-
patch
(tier0_id, locale_service_id, virtual_endpoint_id, virtual_endpoint)¶ Create or update virtual endpoint.
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)virtual_endpoint_id (
str
) – Virtual endpoint id (required)virtual_endpoint (
com.vmware.nsx_policy.model_client.VirtualEndpoint
) – (required)
- 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
-
update
(tier0_id, locale_service_id, virtual_endpoint_id, virtual_endpoint)¶ Create or update virtual endpoint.
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)virtual_endpoint_id (
str
) – Virtual endpoint id (required)virtual_endpoint (
com.vmware.nsx_policy.model_client.VirtualEndpoint
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.VirtualEndpoint
- 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
com.vmware.nsx_policy.infra.tier_0s.locale_services.inter_site_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.inter_site_client.
BgpSummary
(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_services_id, cursor=None, edge_path=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get RTEP span and mac address-table.
- Parameters
tier0_id (
str
) – (required)locale_services_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)edge_path (
str
orNone
) – Transport node (optional)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.PolicyEdgeClusterInterSiteBgpSummary
- Returns
com.vmware.nsx_policy.model.PolicyEdgeClusterInterSiteBgpSummary
- 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.inter_site_client.
Status
(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_services_id, cursor=None, edge_path=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get RTEP mesh connectivity status.
- Parameters
tier0_id (
str
) – (required)locale_services_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)edge_path (
str
orNone
) – Transport node (optional)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.PolicyEdgeClusterInterSiteStatus
- Returns
com.vmware.nsx_policy.model.PolicyEdgeClusterInterSiteStatus
- 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.inter_site_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.interfaces_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.interfaces_client.
ArpTable
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
list
(tier0_id, locale_service_id, interface_id, cursor=None, edge_path=None, enforcement_point_path=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)interface_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)edge_path (
str
orNone
) – Policy path of edge node (optional)enforcement_point_path (
str
orNone
) – Enforcement point path (optional)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.InterfaceArpTable
- 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.interfaces_client.
DadState
(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, interface_id, enforcement_point_path=None)¶ Get tier-0 interface DAD state information.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)interface_id (
str
) – (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.InterfaceDADState
- 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.interfaces_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, interface_id, cursor=None, edge_path=None, enforcement_point_path=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get tier-0 interface statistics information.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)interface_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)edge_path (
str
orNone
) – Policy path of edge node (optional)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.PolicyInterfaceStatistics
- Returns
com.vmware.nsx_policy.model.PolicyInterfaceStatistics
- 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.interfaces_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.ipsec_vpn_services_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.ipsec_vpn_services_client.
LocalEndpoints
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(tier0_id, locale_service_id, service_id, local_endpoint_id)¶ Delete IPSec VPN local endpoint for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)local_endpoint_id (
str
) – (required)
- 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
-
get
(tier0_id, locale_service_id, service_id, local_endpoint_id)¶ Get IPSec VPN local endpoint for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)local_endpoint_id (
str
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.IPSecVpnLocalEndpoint
- 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
-
list
(tier0_id, locale_service_id, service_id, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all IPSec VPN local endpoints for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.IPSecVpnLocalEndpointListResult
- Returns
com.vmware.nsx_policy.model.IPSecVpnLocalEndpointListResult
- 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
-
patch
(tier0_id, locale_service_id, service_id, local_endpoint_id, ip_sec_vpn_local_endpoint)¶ Create or patch a custom IPSec VPN local endpoint for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)local_endpoint_id (
str
) – (required)ip_sec_vpn_local_endpoint (
com.vmware.nsx_policy.model_client.IPSecVpnLocalEndpoint
) – (required)
- 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
-
update
(tier0_id, locale_service_id, service_id, local_endpoint_id, ip_sec_vpn_local_endpoint)¶ Create or fully replace IPSec VPN local endpoint for a given locale service under Tier-0. Revision is optional for creation and required for update.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)local_endpoint_id (
str
) – (required)ip_sec_vpn_local_endpoint (
com.vmware.nsx_policy.model_client.IPSecVpnLocalEndpoint
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.IPSecVpnLocalEndpoint
- 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.ipsec_vpn_services_client.
Sessions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(tier0_id, locale_service_id, service_id, session_id)¶ Delete IPSec VPN session for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)
- 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
-
get
(tier0_id, locale_service_id, service_id, session_id)¶ Get IPSec VPN session without sensitive data for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)
- Return type
vmware.vapi.struct.VapiStruct
- Returns
com.vmware.nsx_policy.model.IPSecVpnSession The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.IPSecVpnSession
.- 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
-
list
(tier0_id, locale_service_id, service_id, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all IPSec VPN sessions for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.IPSecVpnSessionListResult
- Returns
com.vmware.nsx_policy.model.IPSecVpnSessionListResult
- 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
-
patch
(tier0_id, locale_service_id, service_id, session_id, ip_sec_vpn_session)¶ Create or patch an IPSec VPN session for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)ip_sec_vpn_session (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.IPSecVpnSession
.
- 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
-
showsensitivedata
(tier0_id, locale_service_id, service_id, session_id)¶ Get IPSec VPN session with senstive data for a given locale service under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)
- Return type
vmware.vapi.struct.VapiStruct
- Returns
com.vmware.nsx_policy.model.IPSecVpnSession The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.IPSecVpnSession
.- 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
-
update
(tier0_id, locale_service_id, service_id, session_id, ip_sec_vpn_session)¶ Create or fully replace IPSec VPN session for a given locale service under Tier-0. Revision is optional for creation and required for update.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)ip_sec_vpn_session (
vmware.vapi.struct.VapiStruct
) – (required) The parameter must contain all the attributes defined incom.vmware.nsx_policy.model_client.IPSecVpnSession
.
- Return type
vmware.vapi.struct.VapiStruct
- Returns
com.vmware.nsx_policy.model.IPSecVpnSession The return value will contain all the attributes defined in
com.vmware.nsx_policy.model_client.IPSecVpnSession
.- 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.ipsec_vpn_services_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_context_client.
L2vpns
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
delete
(tier0_id, locale_service_id, l2vpn_id)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)l2vpn_id (
str
) – (required)
- 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
-
get
(tier0_id, locale_service_id, l2vpn_id)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)l2vpn_id (
str
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.L2Vpn
- 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
-
list
(tier0_id, locale_service_id, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.L2VpnListResult
- 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
-
patch
(tier0_id, locale_service_id, l2vpn_id, l2_vpn)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)l2vpn_id (
str
) – (required)l2_vpn (
com.vmware.nsx_policy.model_client.L2Vpn
) – (required)
- 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
-
update
(tier0_id, locale_service_id, l2vpn_id, l2_vpn)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)l2vpn_id (
str
) – (required)l2_vpn (
com.vmware.nsx_policy.model_client.L2Vpn
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.L2Vpn
- 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_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_services_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.l2vpn_services_client.
Sessions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
createwithpeercode
(tier0_id, locale_service_id, service_id, session_id, l2_vpn_session_data)¶ Create or patch an L2VPN session under Tier-0 from Peer Codes. In addition to the L2VPN Session, the IPSec VPN Session, along with the IKE, Tunnel, and DPD Profiles are created and owned by the system. IPSec VPN Service and Local Endpoint are created only when required, i.e., an IPSec VPN Service does not already exist, or an IPSec VPN Local Endpoint with same local address does not already exist. Updating the L2VPN Session can be performed only through this API by specifying new peer codes. Use of specific APIs to update the L2VPN Session and the different resources associated with it is not allowed, except for IPSec VPN Service and Local Endpoint, resources that are not system owned. API supported only when L2VPN Service is in Client Mode.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)l2_vpn_session_data (
com.vmware.nsx_policy.model_client.L2VPNSessionData
) – (required)
- 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
-
delete
(tier0_id, locale_service_id, service_id, session_id)¶ Delete L2VPN session under Tier-0. When L2VPN Service is in CLIENT Mode, the L2VPN Session is deleted along with its transpot tunnels and related resources.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)
- 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
-
get
(tier0_id, locale_service_id, service_id, session_id)¶ Get L2VPN session under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.L2VPNSession
- 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
-
list
(tier0_id, locale_service_id, service_id, cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get paginated list of all L2VPN sessions under Tier-0.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.L2VPNSessionListResult
- 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
-
patch
(tier0_id, locale_service_id, service_id, session_id, l2_vpn_session)¶ Create or patch an L2VPN session under Tier-0. API supported only when L2VPN Service is in Server Mode.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)l2_vpn_session (
com.vmware.nsx_policy.model_client.L2VPNSession
) – (required)
- 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
-
update
(tier0_id, locale_service_id, service_id, session_id, l2_vpn_session)¶ Create or fully replace L2VPN session under Tier-0. API supported only when L2VPN Service is in Server Mode. Revision is optional for creation and required for update.
- Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)service_id (
str
) – (required)session_id (
str
) – (required)l2_vpn_session (
com.vmware.nsx_policy.model_client.L2VPNSession
) – (required)
- Return type
- Returns
com.vmware.nsx_policy.model.L2VPNSession
- 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_services_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.l3vpns_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.l3vpns_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, l3vpn_id, enforcement_point_path=None)¶ - Parameters
tier0_id (
str
) – (required)locale_service_id (
str
) – (required)l3vpn_id (
str
) – (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.AggregateL3VpnStatistics
- 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.l3vpns_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.multicast_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.multicast_client.
Forwarding
(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_services_id, cursor=None, edge_path=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get Multicast Forwarding.
- Parameters
tier0_id (
str
) – (required)locale_services_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)edge_path (
str
orNone
) – Transport node (optional)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
com.vmware.nsx_policy.model_client.PolicyMulticastForwarding
- Returns
com.vmware.nsx_policy.model.PolicyMulticastForwarding
- 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.multicast_client.
IgmpMemberships
(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_services_id, cursor=None, edge_path=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get Igmp Memberships.
- Parameters
tier0_id (
str
) – (required)locale_services_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)edge_path (
str
orNone
) – Transport node (optional)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.IgmpMemberships
- 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.multicast_client.
PimRpMappings
(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_services_id, cursor=None, edge_path=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get PIM Rendezvous Point Mappings.
- Parameters
tier0_id (
str
) – (required)locale_services_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)edge_path (
str
orNone
) – Transport node (optional)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.PimRpMappings
- 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.multicast_client.
Routes
(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_services_id, cursor=None, edge_path=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Get Multicast Routes.
- Parameters
tier0_id (
str
) – (required)locale_services_id (
str
) – (required)cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)edge_path (
str
orNone
) – Transport node (optional)included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional)page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sort_ascending (
bool
orNone
) – (optional)sort_by (
str
orNone
) – Field by which records are sorted (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.PolicyMulticastRoutes
- 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.multicast_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.infra.tier_0s.locale_services.service_instances_client module¶
-
class
com.vmware.nsx_policy.infra.tier_0s.locale_services.service_instances_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, service_instance_id, enforcement_point_path=None)¶ Get statistics for all data NICs on all runtimes associated with this PolicyServiceInstance.
- Parameters
tier0_id (
str
) – Tier-0 id (required)locale_service_id (
str
) – Locale service id (required)service_instance_id (
str
) – Service instance id (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
- Return type
com.vmware.nsx_policy.model_client.PolicyServiceInstanceStatistics
- Returns
com.vmware.nsx_policy.model.PolicyServiceInstanceStatistics
- 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.service_instances_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance