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

Parameters

config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.

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, destination_id=None, source_id=None, 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)

  • destination_id (str or None) – Destination element ID (optional)

  • source_id (str or None) – Source element ID (optional)

  • 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

Initialize StubFactoryBase

Parameters

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