Service Port

HTTP Method Resource

Request

Response

Description

GET

.../port-statistics

N/A

CommonElementList

Returns All Ports statistics.

GET

.../port-statistics/{PortStatistics.id}

N/A

PortStatistics

Returns the Port statistics matching the given ID.

GET

.../ports

N/A

CommonElementList

Returns the list of Port elements matching the given query.

GET

.../ports/{Port.id}

N/A

Port

Returns the Port matching the given ID.

PUT

.../ports/{Port.id}

Port

Port

Updates the given Port in the model.

  • Attribute 'string name' in Port.json is updated with min_length as '0' along with description.
  • Attribute 'is_flow_control_enabled' in Port.json is updated with default_value as 'false'.
  • Attribute 'is_dsnoop_port_trusted' in Port.json is updated with default_value as 'false'.