com.vmware.nsx_policy.global_infra.tier_0s package¶
Subpackages¶
- com.vmware.nsx_policy.global_infra.tier_0s.groups package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services package
- Subpackages
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.bgp package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.interfaces package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.ipsec_vpn_services package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l2vpn_context package
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l2vpn_services package
- Submodules
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.bgp_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.interfaces_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.ipsec_vpn_services_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l2vpn_context_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l2vpn_services_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.l3vpns_client module
- com.vmware.nsx_policy.global_infra.tier_0s.locale_services.service_instances_client module
- Subpackages
Submodules¶
com.vmware.nsx_policy.global_infra.tier_0s.dns_forwarder_client module¶
-
class
com.vmware.nsx_policy.global_infra.tier_0s.dns_forwarder_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, enforcement_point_path=None)¶ Get statistics of tier-0 DNS forwarder. - no enforcement point path specified: Statistics will be evaluated on each enforcement point. - {enforcement_point_path}: Statistics are evaluated only on the given enforcement point.
Parameters: - tier0_id (
str
) – Tier-0 id (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
Return type: com.vmware.nsx_policy.model_client.AggregateDNSForwarderStatistics
Returns: com.vmware.nsx_policy.model.AggregateDNSForwarderStatistics
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.dns_forwarder_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, enforcement_point_path=None)¶ Get current status of tier-0 DNS forwarder. - no enforcement point path specified: Status will be evaluated on each enforcement point. - {enforcement_point_path}: Status will be evaluated only on the given enforcement point.
Parameters: - tier0_id (
str
) – Tier-0 id (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
Return type: com.vmware.nsx_policy.model_client.AggregateDNSForwarderStatus
Returns: com.vmware.nsx_policy.model.AggregateDNSForwarderStatus
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.dns_forwarder_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.global_infra.tier_0s.locale_services_client module¶
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client.
Bgp
(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, override=None)¶ Deletes the specified overridden BgpRoutingConfig. If the BgpRoutingConfig is not overridden, it won’t get deleted.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
get
(tier0_id, locale_service_id)¶ Read BGP routing config
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.BgpRoutingConfig
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
patch
(tier0_id, locale_service_id, bgp_routing_config, override=None)¶ If an BGP routing config not present, create BGP routing config. If it already exists, update the routing config.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - bgp_routing_config (
com.vmware.nsx_policy.model_client.BgpRoutingConfig
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
update
(tier0_id, locale_service_id, bgp_routing_config, override=None)¶ If BGP routing config is not already present, create BGP routing config. If it already exists, replace the BGP routing config with this object.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - bgp_routing_config (
com.vmware.nsx_policy.model_client.BgpRoutingConfig
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.BgpRoutingConfig
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client.
Interfaces
(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, interface_id, override=None)¶ Delete Tier-0 interface
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - interface_id (
str
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
get
(tier0_id, locale_service_id, interface_id)¶ Read Tier-0 interface
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - interface_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.Tier0Interface
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
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 Tier-0 Interfaces
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.Tier0InterfaceListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
patch
(tier0_id, locale_service_id, interface_id, tier0_interface, override=None)¶ If an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - interface_id (
str
) – (required) - tier0_interface (
com.vmware.nsx_policy.model_client.Tier0Interface
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
update
(tier0_id, locale_service_id, interface_id, tier0_interface, override=None)¶ If an interface with the interface-id is not already present, create a new interface. If it already exists, replace the interface with this object.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - interface_id (
str
) – (required) - tier0_interface (
com.vmware.nsx_policy.model_client.Tier0Interface
) – (required) - override (
bool
orNone
) – Locally override the global object (optional, default to false)
Return type: Returns: com.vmware.nsx_policy.model.Tier0Interface
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client.
IpsecVpnServices
(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)¶ Delete IPSec VPN service for given locale service under Tier-0.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - service_id (
str
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
get
(tier0_id, locale_service_id, service_id)¶ Get IPSec VPN service for given locale service under Tier-0.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - service_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPSecVpnService
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
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)¶ Get paginated list of all IPSec VPN services for given locale service under Tier-0.
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.IPSecVpnServiceListResult
Returns: com.vmware.nsx_policy.model.IPSecVpnServiceListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
patch
(tier0_id, locale_service_id, service_id, ip_sec_vpn_service)¶ Create or patch IPSec VPN service for given locale service under Tier-0.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - service_id (
str
) – (required) - ip_sec_vpn_service (
com.vmware.nsx_policy.model_client.IPSecVpnService
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
update
(tier0_id, locale_service_id, service_id, ip_sec_vpn_service)¶ Create or fully replace IPSec VPN service for 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) - ip_sec_vpn_service (
com.vmware.nsx_policy.model_client.IPSecVpnService
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IPSecVpnService
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client.
L2vpnContext
(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)¶ Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.L2VpnContext
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client.
L2vpnServices
(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)¶ Delete L2VPN service for given Tier-0 locale service.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - service_id (
str
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
get
(tier0_id, locale_service_id, service_id)¶ Get L2VPN service for given Tier-0 locale service.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - service_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.L2VPNService
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
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)¶ Get paginated list of all L2VPN services under Tier-0.
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.L2VPNServiceListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
patch
(tier0_id, locale_service_id, service_id, l2_vpn_service)¶ Create or patch L2VPN service for given Tier-0 locale service.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - service_id (
str
) – (required) - l2_vpn_service (
com.vmware.nsx_policy.model_client.L2VPNService
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
update
(tier0_id, locale_service_id, service_id, l2_vpn_service)¶ Create or fully replace L2VPN service for given Tier-0 locale service. Revision is optional for creation and required for update.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - service_id (
str
) – (required) - l2_vpn_service (
com.vmware.nsx_policy.model_client.L2VPNService
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.L2VPNService
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client.
L3vpnContext
(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)¶ Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.L3VpnContext
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client.
L3vpns
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
LIST_L3VPN_SESSION_POLICYBASEDL3VPNSESSION
= 'PolicyBasedL3VpnSession'¶ Possible value for
l3vpnSession
of methodL3vpns.list()
.
-
LIST_L3VPN_SESSION_ROUTEBASEDL3VPNSESSION
= 'RouteBasedL3VpnSession'¶ Possible value for
l3vpnSession
of methodL3vpns.list()
.
-
delete
(tier0_id, locale_service_id, l3vpn_id)¶ Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - l3vpn_id (
str
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
get
(tier0_id, locale_service_id, l3vpn_id)¶ Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - l3vpn_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.L3Vpn
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
list
(tier0_id, locale_service_id, cursor=None, include_mark_for_delete_objects=None, included_fields=None, l3vpn_session=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) - l3vpn_session (
str
orNone
) – Resource type of L3Vpn Session (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.L3VpnListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
patch
(tier0_id, locale_service_id, l3vpn_id, l3_vpn)¶ Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - l3vpn_id (
str
) – (required) - l3_vpn (
com.vmware.nsx_policy.model_client.L3Vpn
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
showsensitivedata
(tier0_id, locale_service_id, l3vpn_id)¶ Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - l3vpn_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.L3Vpn
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
update
(tier0_id, locale_service_id, l3vpn_id, l3_vpn)¶ Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - l3vpn_id (
str
) – (required) - l3_vpn (
com.vmware.nsx_policy.model_client.L3Vpn
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.L3Vpn
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_services_client.
ServiceInterfaces
(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, interface_id)¶ Delete service interface
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - interface_id (
str
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
get
(tier0_id, locale_service_id, interface_id)¶ Read service interface
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - interface_id (
str
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.ServiceInterface
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
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 Service Interfaces
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.ServiceInterfaceListResult
Returns: com.vmware.nsx_policy.model.ServiceInterfaceListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
patch
(tier0_id, locale_service_id, interface_id, service_interface)¶ If an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - interface_id (
str
) – (required) - service_interface (
com.vmware.nsx_policy.model_client.ServiceInterface
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
update
(tier0_id, locale_service_id, interface_id, service_interface)¶ If an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.
Parameters: - tier0_id (
str
) – (required) - locale_service_id (
str
) – (required) - interface_id (
str
) – (required) - service_interface (
com.vmware.nsx_policy.model_client.ServiceInterface
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.ServiceInterface
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.locale_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.global_infra.tier_0s.static_routes_client module¶
-
class
com.vmware.nsx_policy.global_infra.tier_0s.static_routes_client.
BfdPeers
(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, bfd_peer_id)¶ Delete this StaticRouteBfdPeer and all the entities contained by it.
Parameters: - tier0_id (
str
) – Tier-0 ID (required) - bfd_peer_id (
str
) – BFD peer ID (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
get
(tier0_id, bfd_peer_id)¶ Read a StaticRouteBfdPeer with the bfd-peer-id.
Parameters: - tier0_id (
str
) – Tier-0 ID (required) - bfd_peer_id (
str
) – BFD peer ID (required)
Return type: Returns: com.vmware.nsx_policy.model.StaticRouteBfdPeer
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
list
(tier0_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 StaticRouteBfdPeers.
Parameters: - tier0_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.StaticRouteBfdPeerListResult
Returns: com.vmware.nsx_policy.model.StaticRouteBfdPeerListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
patch
(tier0_id, bfd_peer_id, static_route_bfd_peer)¶ If a StaticRouteBfdPeer with the bfd-peer-id is not already present, create a new StaticRouteBfdPeer. If it already exists, update the StaticRouteBfdPeer. This is a full replace.
Parameters: - tier0_id (
str
) – Tier-0 ID (required) - bfd_peer_id (
str
) – BFD peer ID (required) - static_route_bfd_peer (
com.vmware.nsx_policy.model_client.StaticRouteBfdPeer
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
update
(tier0_id, bfd_peer_id, static_route_bfd_peer)¶ If a StaticRouteBfdPeer with the bfd-peer-id is not already present, create a new StaticRouteBfdPeer. If it already exists, update the StaticRouteBfdPeer. This operation will fully replace the object.
Parameters: - tier0_id (
str
) – Tier-0 ID (required) - bfd_peer_id (
str
) – BFD peer ID (required) - static_route_bfd_peer (
com.vmware.nsx_policy.model_client.StaticRouteBfdPeer
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.StaticRouteBfdPeer
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- tier0_id (
-
-
class
com.vmware.nsx_policy.global_infra.tier_0s.static_routes_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance