com.vmware.nsx_policy.infra.tier_1s.locale_services package¶
Subpackages¶
Submodules¶
com.vmware.nsx_policy.infra.tier_1s.locale_services.interfaces_client module¶
-
class
com.vmware.nsx_policy.infra.tier_1s.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
(tier1_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)¶ Returns ARP table (IPv4) or Neighbor Discovery table (IPv6) for the tier-1 interface, on a edge node specified in edge_path parameter. The edge_path parameter is mandatory.
Parameters: - tier1_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 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- tier1_id (
-
-
class
com.vmware.nsx_policy.infra.tier_1s.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
(tier1_id, locale_service_id, interface_id, enforcement_point_path=None)¶ Get tier-1 interface DAD state information.
Parameters: - tier1_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 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- tier1_id (
-
-
class
com.vmware.nsx_policy.infra.tier_1s.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
(tier1_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-1 interface statistics information.
Parameters: - tier1_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 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- tier1_id (
-
-
class
com.vmware.nsx_policy.infra.tier_1s.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_1s.locale_services.service_instances_client module¶
-
class
com.vmware.nsx_policy.infra.tier_1s.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
(tier1_id, locale_service_id, service_instance_id, enforcement_point_path=None)¶ Get statistics for all data NICs on all runtimes associated with this Tier1 PolicyServiceInstance.
Parameters: - tier1_id (
str
) – Tier-1 id (required) - locale_service_id (
str
) – Locale service id (required) - service_instance_id (
str
) – Tier1 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 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- tier1_id (
-
-
class
com.vmware.nsx_policy.infra.tier_1s.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