Get L2VPN Session Stats
- no enforcement point path specified: statistics are evaluated on each enforcement point.
- an enforcement point path is specified: statistics are evaluated only on the given enforcement point.
- source=realtime: statistics are fetched realtime from the enforcement point.
- source=cached: cached statistics from the enforcement point are returned.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/l2vpn-services/{service-id}/sessions/{session-id}/statistics
Parameters
Parameters
string
tier-0-id
Required
Not available
string
locale-service-id
Required
Not available
string
service-id
Required
Not available
string
session-id
Required
Not available
Query Parameters
Query Parameters
string
enforcement_point_path
Optional
String Path of the enforcement point
string
source
Optional
Data source type.
Response
Response
Response BodyResponse Body
200 OK returns
AggregateL2VPNSessionStatistics
{
"intent_path": "string",
"results": [
{
"alarm": {
"error_details": {
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
},
"error_id": "string",
"message": "string"
},
"enforcement_point_path": "string",
"resource_type": "string"
}
]
}
string
intent_path
Optional
Intent path of object, forward slashes must be escaped using %2F.
array of
L2VPNSessionStatisticsPerEP
results
Optional
List of L2VPN Session Statistics per Enforcement Point.
cURL Command
curl https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/l2vpn-services/{service-id}/sessions/{session-id}/statistics
Errors
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
503
The server is currently unavailable (because it is overloaded or down for maintenance).
On This Page
Locale Services L2VPN Operations
put
delete
delete
delete
get
get
get
patch
patch
patch