NetApp ONTAP Network icon

NetApp ONTAP Network

Manage NetApp ONTAP network interfaces, ports, broadcast domains, and routing

Port → Get Many

AI-generated

Summary

Retrieve a list of network ports from a NetApp ONTAP cluster, with optional filtering and field selection.

Inputs

  • Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
  • Port — HTTPS port used to connect to the ONTAP REST API, default is 443.
  • Filters — Filter expression for the ONTAP API to narrow down results using field-value pairs and operators (e.g., type=rw,state=!offline).
  • Return All — Boolean flag to determine whether to return all matching results or limit the number returned.
  • Limit — If 'Return All' is false, limits the maximum number of returned ports.
  • Fields — Comma-separated list of specific fields to include in the response; use '*' to include all fields.

Output shape

a list of port objects as returned by the ONTAP REST API

Supports filtering with the ONTAP API syntax and optionally limits or returns all matching port records. Fields can be selected to include in the response. The node fetches data from the '/network/ethernet/ports' endpoint. Pagination is handled internally to return all results if requested.

Links

Discussion