Service PortSecurity

HTTP Method

Resource

Request

Response

Description

GET

.../intrusion_logs

   

N/A

WiredElementList

Returns the intrusion logs

GET

.../portsec_policies

   

N/A

WiredElementList

Returns the list of Port Security elements matching the given query.

GET

.../portsec_policies/{PortSecurityPolicy.port_id}

   

N/A

PortSecurityPolicy

Returns the Port Security matching the given ID.

PUT

.../portsec_policies/{PortSecurityPolicy.port_id}

   

PortSecurityPolicy

PortSecurityPolicy

Updates the given Port Security in the model.

GET

.../portsec_policies/{PortSecMacAddress.port_id}/mac_addresses/{PortSecMacAddress.mac_address.octets}

   

N/A

PortSecMacAddress

Returns the Port Security authorized mac address configured on a port. MAC format in uri should be xxx-xxx.

DELETE

.../portsec_policies/{PortSecMacAddress.port_id}/mac_addresses/{PortSecMacAddress.mac_address.octets}

   

N/A

N/A

Deletes a given Port Security authorized mac address configured. MAC format in uri should be xxx-xxx.

GET

.../portsec_policies/mac_addresses

   

N/A

WiredElementList

Returns all the Port Security authorized mac address configured.

POST

.../portsec_policies/mac_addresses

   

PortSecMacAddress

PortSecMacAddress

Adds an authorized mac address to port.