Policy > Networking > Connectivity > Segment > 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>

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/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>
DELETE /policy/api/v1/global-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/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>
GET /policy/api/v1/global-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/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>
PATCH /policy/api/v1/global-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/infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>
PUT /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/ports/<port-id>