Get L2 Forwarder Status

Get L2 Forwarder Status

Returns status per transport node of the l2 forwarder on logical switch.



Please use below Policy API.
GET /policy/api/v1/global-infra/segments/<tier0-ls>/inter-site-forwarder/site-span-info?enforcement_point_path=/infra/sites/default/enforcement-points/default
Request
URI
GET
https://nsxmanager.your.domain/api/v1/logical-switches/{logical-switch-id}/inter-site-forwarder/status
COPY
Path Parameters
string
logical-switch-id
Required

logical-switch-id

Query Parameters
string
source
Optional

Data source type.

Possible values are : realtime, cached,

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns L2ForwarderStatus of type(s) application/json
{
    "last_update_timestamp": 0,
    "logical_switch_id": "string",
    "status_per_node": [
        {
            "high_availability_status": "string",
            "transport_node": {
                "is_valid": false,
                "target_display_name": "string",
                "target_id": "string",
                "target_type": "string"
            }
        }
    ]
}
integer As int64 As int64
last_update_timestamp
Optional

Timestamp when the service router status was last updated.

string
logical_switch_id
Optional

Logical switch id on which the L2 forwarder is created.

array of object
status_per_node
Optional

L2 forwarder status per node.


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/status