get_logical_port_status
Verify port connectivity by checking the realized state, admin status, and attachment details for all segment ports.
Instructions
[READ] Check realized state of all ports on a segment (first 50 ports).
For each port returns admin_state, attachment (type/id), and the realized state from the Policy API: attached (attachment present), realized_bindings_count, and transport_node_ids (nodes realizing the port). NSX does not expose a single UP/DOWN flag per segment port — an attached port with realized bindings on at least one transport node is healthy.
Args: segment_id: The segment ID whose ports to inspect, as returned by list_segments. target: Optional NSX Manager target name from config. Uses default if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| segment_id | Yes |