security_portal methods

class ecl.security_portal.v1._proxy.Proxy(session)[source]

Bases: ecl.proxy2.BaseProxy

get_security_device(server_id)[source]

Show security device details associated with specific tenant.

Parameters:server_id (string) – Server ID registered in Openstack(UUID).
Returns:One security device.
Return type:SecurityDevice
get_security_device_interface(port_id)[source]

Show security device Interface associated with specific tenant.

Parameters:port_id (string) – Port ID registered in Openstack(UUID).
Returns:One security device interface.
Return type:SecurityDeviceInterface
security_device_interfaces(server_id)[source]

Listing security device Interfaces associated with specific tenant.

Parameters:server_id (string) – Server ID registered in Openstack(UUID).
Returns:List security device interfaces.
Return type:SecurityDeviceInterface
security_devices()[source]

Listing security devices associated with specific tenant.

Returns:List security devices.
Return type:SecurityDevice

security_device

class ecl.security_portal.v1.security_device.SecurityDevice(synchronized=False, **attrs)[source]

Bases: ecl.resource2.Resource

allow_get = True
allow_list = True
base_path = '/ecl-api/devices'
get(session, server_id)[source]
interfaces = None

Interfaces details associated with the Security Device.

msa_device_id = None

MSA Device External reference.

msa_device_type = None

MSA Device Type.

os_admin_username = None

Name of admin.

os_availability_zone = None

Availability zone information.

os_server_id = None

Server id of Network-based Security devices.

os_server_name = None

Server name on Openstack.

os_server_status = None

Server Status.

resource_key = 'device'
resources_key = 'devices'
service = {'region_name': None, 'service_name': None, 'interface': 'public', 'version': None, 'service_type': 'mss-msa', 'requires_project_id': False, 'api_version': None}

security_device_interface

class ecl.security_portal.v1.security_device_interface.SecurityDeviceInterface(synchronized=False, **attrs)[source]

Bases: ecl.resource2.Resource

allow_get = True
allow_list = True
base_path = '/ecl-api/devices/%(server_id)s/interfaces'
get(session, port_id)[source]
msa_port_id = None

Port id on the Network-based Security devices (registered in MSA).

os_ip_address = None

Port IP address (if available).

os_mac_address = None

Port MAC address on Openstack.

os_network_id = None

Network Id to which Port is associated on Openstack.

os_port_id = None

Port id on Openstack.

os_port_name = None

Port name on Openstack.

os_port_status = None

Port Status on Openstack.

os_server_id = None

Server id of Network-based Security devices.

os_subnet_id = None

Subnet Id to which Port is associated on Openstack.

resource_key = 'device_interface'
resources_key = 'device_interfaces'
service = {'region_name': None, 'service_name': None, 'interface': 'public', 'version': None, 'service_type': 'mss-msa', 'requires_project_id': False, 'api_version': None}