com.vmware.nsx_policy.infra.realized_state.enforcement_points.ops package

Submodules

com.vmware.nsx_policy.infra.realized_state.enforcement_points.ops.domains_client module

class com.vmware.nsx_policy.infra.realized_state.enforcement_points.ops.domains_client.DiscoverySessions(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

GET_VIEW_GROUP_CONNECTION = 'GROUP_CONNECTION'

Possible value for view of method DiscoverySessions.get().

GET_VIEW_NETWORK_CONNECTION = 'NETWORK_CONNECTION'

Possible value for view of method DiscoverySessions.get().

GET_VIEW_PROCESS_CONNECTION = 'PROCESS_CONNECTION'

Possible value for view of method DiscoverySessions.get().

GET_VIEW_VM_CONNECTION = 'VM_CONNECTION'

Possible value for view of method DiscoverySessions.get().

get(enforcement_point_id, domain_id, discovery_session_id, view=None)

Read discovered information for a selected domain/application on selected enforcement point. Response contains topology information based on the view option specified in the query parameter. An error is returned if an unknown view option is specified in the query parameter. The topology information will not be populated if the discovery session status is in STARTED, IN-PROGRESS or FAILED state.

Parameters:
  • enforcement_point_id (str) – Enforcement point ID (required)
  • domain_id (str) – Domain ID (required)
  • discovery_session_id (str) – Discovery session ID is Domain ID of the domain where discovery session was started (required)
  • view (str or None) – Option to specify specific view (optional)
Return type:

com.vmware.nsx_policy.model_client.RealizedDiscoverySession

Returns:

com.vmware.nsx_policy.model.RealizedDiscoverySession

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.realized_state.enforcement_points.ops.domains_client.StubFactory(stub_config)

Bases: vmware.vapi.bindings.stub.StubFactoryBase