Get Forwarding Path

Get Forwarding Path

Get networking entities between two logical ports with VIF attachment

Request
URI
GET
https://nsxmanager.your.domain/api/v1/logical-ports/{lport-id}/forwarding-path
COPY
Path Parameters
string
lport-id
Required

ID of source port

Query Parameters
string
peer_port_id
Required

ID of peer port


Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns PortConnectionEntities of type(s) application/json
{
    "hypervisors": [
        {
            "resource": {
                "_self": {
                    "rel": "string"
                },
                "_system_owned": false,
                "display_name": "string",
                "description": "string",
                "tags": [
                    {
                        "scope": "string",
                        "tag": "string"
                    }
                ],
                "_revision": 0,
                "_create_user": "string",
                "_schema": "string",
                "_create_time": 0,
                "_links": [
                    {
                        "action": "string",
                        "href": "string",
                        "rel": "string"
                    }
                ],
                "_last_modified_time": 0,
                "_last_modified_user": "string",
                "id": "string",
                "resource_type": "string"
            },
            "id": "string",
            "pnics": [
                {
                    "uplink_name": "string",
                    "device_name": "string"
                }
            ],
            "pnics_list": [
                {
                    "source": "string",
                    "admin_status": "string",
                    "link_status": "string",
                    "interface_alias": [
                        {
                            "ip_configuration": "string",
                            "netmask": "string",
                            "ip_address": "string",
                            "physical_address": "string",
                            "broadcast_address": "string"
                        }
                    ],
                    "interface_type": "string",
                    "interface_id": "string",
                    "connected_switch": "string",
                    "mtu": 0
                }
            ],
            "neighbors_list": [
                {
                    "_self": {
                        "rel": "string"
                    },
                    "_system_owned": false,
                    "display_name": "string",
                    "description": "string",
                    "tags": [
                        {
                            "scope": "string",
                            "tag": "string"
                        }
                    ],
                    "_revision": 0,
                    "_create_user": "string",
                    "_schema": "string",
                    "_create_time": 0,
                    "_links": [
                        {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        }
                    ],
                    "_last_modified_time": 0,
                    "_last_modified_user": "string",
                    "id": "string",
                    "resource_type": "string",
                    "ifindex": 0,
                    "neighbors": [
                        {
                            "system_name": "string",
                            "system_desc": "string",
                            "system_port_number": 0,
                            "name": "string",
                            "oid": "string",
                            "mgmt_addr": "string",
                            "capabilities": "string",
                            "link_aggregation_status": false,
                            "ifindex": 0,
                            "mac": "string",
                            "link_aggregation_capable": false,
                            "port_desc": "string",
                            "enabled_capabilities": "string",
                            "link_aggregation_port_id": "string"
                        }
                    ],
                    "mac": "string",
                    "name": "string"
                }
            ],
            "profiles": [
                {
                    "_self": {
                        "rel": "string"
                    },
                    "_system_owned": false,
                    "display_name": "string",
                    "description": "string",
                    "required_capabilities": [
                        "string"
                    ],
                    "_revision": 0,
                    "tags": [
                        {
                            "scope": "string",
                            "tag": "string"
                        }
                    ],
                    "_schema": "string",
                    "_create_time": 0,
                    "_links": [
                        {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        }
                    ],
                    "resource_type": "string",
                    "_last_modified_time": 0,
                    "_last_modified_user": "string",
                    "id": "string",
                    "_create_user": "string"
                }
            ]
        }
    ],
    "errors": [
        {
            "error_summary": "string",
            "entity_type": "string"
        }
    ],
    "logical_switches": [
        {
            "resource": {
                "_self": {
                    "rel": "string"
                },
                "_system_owned": false,
                "display_name": "string",
                "description": "string",
                "tags": [
                    {
                        "scope": "string",
                        "tag": "string"
                    }
                ],
                "_revision": 0,
                "_create_user": "string",
                "_schema": "string",
                "_create_time": 0,
                "_links": [
                    {
                        "action": "string",
                        "href": "string",
                        "rel": "string"
                    }
                ],
                "_last_modified_time": 0,
                "_last_modified_user": "string",
                "id": "string",
                "resource_type": "string"
            },
            "id": "string",
            "vm_ports": [
                {
                    "_self": {
                        "rel": "string"
                    },
                    "_system_owned": false,
                    "display_name": "string",
                    "description": "string",
                    "tags": [
                        {
                            "scope": "string",
                            "tag": "string"
                        }
                    ],
                    "_revision": 0,
                    "_create_user": "string",
                    "_schema": "string",
                    "_create_time": 0,
                    "_links": [
                        {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        }
                    ],
                    "_last_modified_time": 0,
                    "_last_modified_user": "string",
                    "id": "string",
                    "resource_type": "string",
                    "logical_switch_id": "string",
                    "switching_profile_ids": [
                        {
                            "value": "string",
                            "key": "string"
                        }
                    ],
                    "attachment": {
                        "attachment_type": "string",
                        "id": "string"
                    },
                    "admin_state": "string",
                    "address_bindings": [
                        {
                            "vlan": 0,
                            "ip_address": "string",
                            "mac_address": "string"
                        }
                    ]
                }
            ],
            "vm_vnics": [
                {
                    "_self": {
                        "rel": "string"
                    },
                    "display_name": "string",
                    "description": "string",
                    "_last_sync_time": 0,
                    "tags": [
                        {
                            "scope": "string",
                            "tag": "string"
                        }
                    ],
                    "_links": [
                        {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        }
                    ],
                    "_schema": "string",
                    "resource_type": "string",
                    "mac_address": "string",
                    "device_key": "string",
                    "host_id": "string",
                    "owner_vm_id": "string",
                    "vm_local_id_on_host": "string",
                    "external_id": "string",
                    "lport_attachment_id": "string",
                    "ip_address_info": [
                        {
                            "source": "string",
                            "ip_addresses": [
                                "string"
                            ]
                        }
                    ],
                    "device_name": "string"
                }
            ],
            "router_ports": [
                {
                    "_self": {
                        "rel": "string"
                    },
                    "_system_owned": false,
                    "display_name": "string",
                    "description": "string",
                    "tags": [
                        {
                            "scope": "string",
                            "tag": "string"
                        }
                    ],
                    "_revision": 0,
                    "_create_user": "string",
                    "_schema": "string",
                    "_create_time": 0,
                    "_links": [
                        {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        }
                    ],
                    "_last_modified_time": 0,
                    "_last_modified_user": "string",
                    "id": "string",
                    "resource_type": "string",
                    "logical_switch_id": "string",
                    "switching_profile_ids": [
                        {
                            "value": "string",
                            "key": "string"
                        }
                    ],
                    "attachment": {
                        "attachment_type": "string",
                        "id": "string"
                    },
                    "admin_state": "string",
                    "address_bindings": [
                        {
                            "vlan": 0,
                            "ip_address": "string",
                            "mac_address": "string"
                        }
                    ]
                }
            ]
        }
    ],
    "edge_node_groups": [
        {
            "resource": {
                "_self": {
                    "rel": "string"
                },
                "_system_owned": false,
                "display_name": "string",
                "description": "string",
                "tags": [
                    {
                        "scope": "string",
                        "tag": "string"
                    }
                ],
                "_revision": 0,
                "_create_user": "string",
                "_schema": "string",
                "_create_time": 0,
                "_links": [
                    {
                        "action": "string",
                        "href": "string",
                        "rel": "string"
                    }
                ],
                "_last_modified_time": 0,
                "_last_modified_user": "string",
                "id": "string",
                "resource_type": "string"
            },
            "id": "string",
            "edge_nodes": [
                {
                    "_self": {
                        "rel": "string"
                    },
                    "_system_owned": false,
                    "display_name": "string",
                    "description": "string",
                    "tags": [
                        {
                            "scope": "string",
                            "tag": "string"
                        }
                    ],
                    "_revision": 0,
                    "_create_user": "string",
                    "_schema": "string",
                    "_create_time": 0,
                    "_links": [
                        {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        }
                    ],
                    "_last_modified_time": 0,
                    "_last_modified_user": "string",
                    "id": "string",
                    "resource_type": "string",
                    "host_switches": [
                        {
                            "pnics": [
                                {
                                    "uplink_name": "string",
                                    "device_name": "string"
                                }
                            ],
                            "host_switch_name": "string",
                            "static_ip_pool_id": "string",
                            "host_switch_profile_ids": [
                                {
                                    "value": "string",
                                    "key": "string"
                                }
                            ]
                        }
                    ],
                    "host_switch_spec": {
                        "resource_type": "string"
                    },
                    "node_id": "string",
                    "transport_zone_endpoints": [
                        {
                            "transport_zone_id": "string",
                            "transport_zone_profile_ids": [
                                {
                                    "profile_id": "string",
                                    "resource_type": "string"
                                }
                            ]
                        }
                    ]
                }
            ],
            "logical_router_id": "string"
        }
    ],
    "routers": [
        {
            "resource": {
                "_self": {
                    "rel": "string"
                },
                "_system_owned": false,
                "display_name": "string",
                "description": "string",
                "tags": [
                    {
                        "scope": "string",
                        "tag": "string"
                    }
                ],
                "_revision": 0,
                "_create_user": "string",
                "_schema": "string",
                "_create_time": 0,
                "_links": [
                    {
                        "action": "string",
                        "href": "string",
                        "rel": "string"
                    }
                ],
                "_last_modified_time": 0,
                "_last_modified_user": "string",
                "id": "string",
                "resource_type": "string"
            },
            "id": "string",
            "uplink_ports": [
                {
                    "_self": {
                        "rel": "string"
                    },
                    "_system_owned": false,
                    "display_name": "string",
                    "description": "string",
                    "tags": [
                        {
                            "scope": "string",
                            "tag": "string"
                        }
                    ],
                    "_revision": 0,
                    "_create_user": "string",
                    "_schema": "string",
                    "service_bindings": [
                        {
                            "service_id": {
                                "target_display_name": "string",
                                "is_valid": false,
                                "target_id": "string",
                                "target_type": "string"
                            }
                        }
                    ],
                    "_create_time": 0,
                    "logical_router_id": "string",
                    "mac_address": "string",
                    "_links": [
                        {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        }
                    ],
                    "_last_modified_time": 0,
                    "_last_modified_user": "string",
                    "id": "string",
                    "resource_type": "string"
                }
            ],
            "downlink_ports": [
                {
                    "_self": {
                        "rel": "string"
                    },
                    "_system_owned": false,
                    "display_name": "string",
                    "description": "string",
                    "tags": [
                        {
                            "scope": "string",
                            "tag": "string"
                        }
                    ],
                    "_revision": 0,
                    "_create_user": "string",
                    "_schema": "string",
                    "service_bindings": [
                        {
                            "service_id": {
                                "target_display_name": "string",
                                "is_valid": false,
                                "target_id": "string",
                                "target_type": "string"
                            }
                        }
                    ],
                    "_create_time": 0,
                    "logical_router_id": "string",
                    "mac_address": "string",
                    "_links": [
                        {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        }
                    ],
                    "_last_modified_time": 0,
                    "_last_modified_user": "string",
                    "id": "string",
                    "resource_type": "string"
                }
            ]
        }
    ],
    "vms": [
        {
            "_self": {
                "rel": "string"
            },
            "display_name": "string",
            "description": "string",
            "_last_sync_time": 0,
            "tags": [
                {
                    "scope": "string",
                    "tag": "string"
                }
            ],
            "_links": [
                {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                }
            ],
            "_schema": "string",
            "resource_type": "string",
            "local_id_on_host": "string",
            "type": "string",
            "power_state": "string",
            "compute_ids": [
                "string"
            ],
            "host_id": "string",
            "external_id": "string"
        }
    ],
    "tunnels": [
        {
            "src_node_id": "string",
            "tunnel_properties": {
                "status": "string",
                "egress_interface": "string",
                "name": "string",
                "bfd": {
                    "remote_state": "string",
                    "remote_diagnostic": "string",
                    "diagnostic": "string",
                    "state": "string",
                    "active": false,
                    "forwarding": false
                },
                "local_ip": "string",
                "encap": "string",
                "remote_ip": "string",
                "remote_node_id": "string"
            }
        }
    ]
}
hypervisors
Required

hypervisors

errors
Required

errors

logical_switches
Required

logical_switches

edge_node_groups
Optional

edge_node_groups

routers
Optional

routers

vms
Required

vms

tunnels
Required

tunnels


default

Unexpected error

Returns ApiError of type(s) application/json
{
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
string
module_name
Optional

module_name

string
error_message
Optional

error_message

integer As int64 As int64
error_code
Optional

error_code