Get L2 Forwarder Remote Macs

Get L2 Forwarder Remote Macs

Returns remote mac addresses of the l2 forwarder on logical switch. It always returns realtime response.

Request
URI
GET
https://nsxmanager.your.domain/api/v1/logical-switches/{logical-switch-id}/inter-site-forwarder/site-span-info
COPY
Path Parameters
string
logical-switch-id
Required

logical-switch-id


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns L2ForwarderRemoteMacs of type(s) application/json
{
    "inter_site_forwarder_status": [
        {
            "high_availability_status": "string",
            "transport_node": {
                "is_valid": false,
                "target_display_name": "string",
                "target_id": "string",
                "target_type": "string"
            }
        }
    ],
    "last_update_timestamp": 0,
    "logical_switch_id": "string",
    "remote_macs_per_site": [
        {
            "remote_active_ips": [
                "string"
            ],
            "remote_mac_addresses": [
                "string"
            ],
            "remote_site": {
                "is_valid": false,
                "target_display_name": "string",
                "target_id": "string",
                "target_type": "string"
            },
            "remote_standby_ips": [
                "string"
            ],
            "rtep_group_id": 0
        }
    ]
}
array of object
inter_site_forwarder_status
Optional

Inter-site forwarder status per node.

integer As int64 As int64
last_update_timestamp
Optional

Timestamp when the l2 forwarder remote mac addresses was last updated.

string
logical_switch_id
Optional

Logical switch id on which the L2 forwarder is created.

array of object
remote_macs_per_site
Optional

L2 forwarder remote mac addresses per site for logical switch.


400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
Operation doesn't return any data structure

500
Returns InternalServerError of type(s) application/json
Operation doesn't return any data structure

503
Returns ServiceUnavailable of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v1/logical-switches/{logical-switch-id}/inter-site-forwarder/site-span-info