Policy > Networking > Connectivity > Segments > Ports

Associated URIs:

API Description API Path

List infra segment ports


List all the ports for an infra.
GET /policy/api/v1/infra/segments/<segment-id>/ports
GET /policy/api/v1/global-infra/segments/<segment-id>/ports

Delete an infra segment port


Delete an infra segment port by giving ID.
DELETE /policy/api/v1/infra/segments/<segment-id>/ports/<port-id>
DELETE /policy/api/v1/global-infra/segments/<segment-id>/ports/<port-id>

Get infra segment port by ID


Get detail information on an infra segment port by giving ID.
GET /policy/api/v1/infra/segments/<segment-id>/ports/<port-id>
GET /policy/api/v1/global-infra/segments/<segment-id>/ports/<port-id>

Patch an infra segment port


Create an infra segment port if it does not exist based on the IDs, or update existing port
information by replacing the port object fields which presents in the request body.
PATCH /policy/api/v1/infra/segments/<segment-id>/ports/<port-id>
PATCH /policy/api/v1/global-infra/segments/<segment-id>/ports/<port-id>

Create or update an infra segment port


Create an infra segment port if it does not exist based on the IDs, or update existing port
information by replacing the port object already exists.
PUT /policy/api/v1/infra/segments/<segment-id>/ports/<port-id>
PUT /policy/api/v1/global-infra/segments/<segment-id>/ports/<port-id>

Get infra segment port MAC table in CSV


Returns MAC table for a segment port
GET /policy/api/v1/infra/segments/<segment-id>/ports/<port-id>/mac-table?format=csv
GET /policy/api/v1/global-infra/segments/<segment-id>/ports/<port-id>/mac-table?format=csv

Get MAC table for infra segment port


Returns MAC table for a segment port
GET /policy/api/v1/infra/segments/<segment-id>/ports/<port-id>/mac-table
GET /policy/api/v1/global-infra/segments/<segment-id>/ports/<port-id>/mac-table

Get infra segment port state


Returns infra segment port state on enforcement point
GET /policy/api/v1/infra/segments/<segment-id>/ports/<port-id>/state
GET /policy/api/v1/global-infra/segments/<segment-id>/ports/<port-id>/state

List Tier-1 segment ports


List all the ports for a Tier-1 segment.
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports

Delete a Tier-1 segment port


Delete a Tier-1 segment port by giving ID.
DELETE /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>
DELETE /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>

Get Tier-1 segment port by ID


Get detail information on a Tier-1 segment port by giving ID.
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>

Patch a Tier-1 segment port


Create a Tier-1 segment port if it does not exist based on the IDs, or update existing port
information by replacing the port object fields which presents in the request body.
PATCH /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>
PATCH /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>

Create or update a Tier-1 segment port


Create a Tier-1 segment port if it does not exist based on the IDs, or update existing port
information by replacing the port object already exists.
PUT /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>
PUT /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>

Get tier-1 segment port MAC table in CSV


Returns MAC table for a segment port
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/mac-table?format=csv
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/mac-table?format=csv

Get MAC table for tier-1 segment port


Returns MAC table for a segment port
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/mac-table
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/mac-table

Get tier-1 segment port state


Returns tier-1 segment port state on enforcement point
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/state
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>/state