com.vmware.nsx_policy.infra.settings.firewall package

Submodules

com.vmware.nsx_policy.infra.settings.firewall.security_client module

class com.vmware.nsx_policy.infra.settings.firewall.security_client.ExcludeList(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters

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

filter(intent_path, deep_check=None, enforcement_point_path=None)

Filter the firewall exclude list by the given object, to check whether the object is a member of this exclude list.

Parameters
  • intent_path (str) – Path of the intent object to be searched in the exclude list (required)

  • deep_check (bool or None) – Check all parents (optional, default to false)

  • enforcement_point_path (str or None) – Path of the enforcement point (optional)

Return type

com.vmware.nsx_policy.model_client.PolicyResourceReference

Returns

com.vmware.nsx_policy.model.PolicyResourceReference

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

get()

Read exclude list for firewall

Return type

com.vmware.nsx_policy.model_client.PolicyExcludeList

Returns

com.vmware.nsx_policy.model.PolicyExcludeList

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

patch(policy_exclude_list)

Patch exclusion list for security policy.

Parameters

policy_exclude_list (com.vmware.nsx_policy.model_client.PolicyExcludeList) – (required)

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

update(policy_exclude_list)

Update the exclusion list for security policy

Parameters

policy_exclude_list (com.vmware.nsx_policy.model_client.PolicyExcludeList) – (required)

Return type

com.vmware.nsx_policy.model_client.PolicyExcludeList

Returns

com.vmware.nsx_policy.model.PolicyExcludeList

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.settings.firewall.security_client.IntrusionServices(config)

Bases: vmware.vapi.bindings.stub.VapiInterface

Parameters

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

get()

Intrusion detection system settings.

Return type

com.vmware.nsx_policy.model_client.IdsSettings

Returns

com.vmware.nsx_policy.model.IdsSettings

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

patch(ids_settings)

Intrusion detection system settings.

Parameters

ids_settings (com.vmware.nsx_policy.model_client.IdsSettings) – (required)

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

update(ids_settings)

Intrusion detection system settings.

Parameters

ids_settings (com.vmware.nsx_policy.model_client.IdsSettings) – (required)

Return type

com.vmware.nsx_policy.model_client.IdsSettings

Returns

com.vmware.nsx_policy.model.IdsSettings

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.settings.firewall.security_client.StubFactory(stub_config)

Bases: vmware.vapi.bindings.stub.StubFactoryBase

Initialize StubFactoryBase

Parameters

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