GET'> PUT'> POST'> DELETE'> ]>
Allowed address pairs The allowed address pair extension extends the port attribute to enable you to specify arbitrary mac_address/ip_address(cidr) pairs that are allowed to pass through a port regardless of the subnet associated with the network.
List ports Verb URI Description &GET; /ports Lists ports with their allowed address pair attributes. Normal Response Code: 200 OK Error Response Codes: 401 Unauthorized This operation returns, for each port, its allowed address pair attributes as well as all the attributes normally returned by the list port operation. List ports with allowed address pair attributes: JSON response List ports with allowed address pair attributes: XML response
Show port details Verb URI Description &GET; /ports/port_id Shows details about a specified port, including allowed address pair attributes. Normal Response Code: 200 OK Error Response Code: 401 Unauthorized, 404 Not Found Show port with allowed address pair attributes: JSON response Show port with allowed address pair attributes: XML response
Create port Verb URI Description &POST; /ports Creates a port and explicitly specifies the allowed address pair attributes. Normal Response Code: 201 Error Response Code: 400 Bad Request, 401 Unauthorized, 403 Forbidden Bad request is returned if an allowed address pair matches the mac_address and ip_address on port. Note: If the mac_address field is left out of the body of the request the mac_address assigned to the port will be used. Create port with allowed address pair attributes: JSON request
Update port Verb URI Description &PUT; /ports/port_id Updates a port, with new allowed address pair values. Normal Response Code: 200 OK Error Response Code: 400 Bad Request, 401 Unauthorized, 404 Not Found, 403 Forbidden Update allowed address pair attributes for a port: JSON request