com.vmware.nsx_policy.global_infra.service_references package

Submodules

com.vmware.nsx_policy.global_infra.service_references.service_profiles_client module

class com.vmware.nsx_policy.global_infra.service_references.service_profiles_client.GroupAssociations(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters:config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
get(service_reference_id, service_profile_id, enforcement_point_path=None)

List of Groups used in Redirection rules for a given Service Profile.

Parameters:
  • service_reference_id (str) – Service reference id (required)
  • service_profile_id (str) – Service profile id (required)
  • enforcement_point_path (str or None) – String Path of the enforcement point (optional)
Return type:

com.vmware.nsx_policy.model_client.ServiceProfileGroups

Returns:

com.vmware.nsx_policy.model.ServiceProfileGroups

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.global_infra.service_references.service_profiles_client.ServiceChainMappings(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters:config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
list(service_reference_id, service_profile_id, enforcement_point_path=None)

List all service chain mappings in the system for the given service profile. If no explicit enforcement point is provided in the request, will return for default. Else, will return for specified points.

Parameters:
  • service_reference_id (str) – Service reference id (required)
  • service_profile_id (str) – Service profile id (required)
  • enforcement_point_path (str or None) – String Path of the enforcement point (optional)
Return type:

com.vmware.nsx_policy.model_client.ServiceChainMappingListResult

Returns:

com.vmware.nsx_policy.model.ServiceChainMappingListResult

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.global_infra.service_references.service_profiles_client.StubFactory(stub_config)

Bases: vmware.vapi.bindings.stub.StubFactoryBase

Initialize StubFactoryBase

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