NSX-T Data Center REST API

L2VPNSessionStatisticsNsxT (schema)

L2VPN session statistics

Provides the following details for an L2VPN session for a given enforcement point:

- Traffic statistics of an L2VPN tunnel which includes the number of incoming, outgoing
and dropped packet counters since the time the L2VPN session is UP.
- Traffic statistics of all L2VPN stretched segment ports which includes the number of
incoming, outgoing and dropped packet counters since the time the segment is associated
with the L2VPN session.
- Alarm information details.
- VPN session name.

Name Description Type Notes
alarm Alarm Information Details

Alarm information details.
PolicyRuntimeAlarm Readonly
display_name Display name

Display name of l2vpn session.
string Readonly
enforcement_point_path Enforcement point Path

Policy Path referencing the enforcement point where the info is fetched.
string Readonly
resource_type Must be set to the value L2VPNSessionStatisticsNsxT string Required
Enum: L2VPNSessionStatisticsNsxT
tap_traffic_counters L2VPN tunnel port traffic counters

Provides the traffic statistics of an L2VPN tunnel since the time the L2VPN
session is UP. It includes the number of incoming, outgoing and dropped packet
counters.
array of L2VPNTapStatistics Readonly
traffic_statistics_per_segment L2VPN traffic statistics per segment

Provides the traffic statistics of all associated segments of an L2VPN session.
It includes the number of incoming, outgoing and dropped packet counters since
the time the segment is associated with the L2VPN session.
array of L2VPNTrafficStatisticsPerSegment Readonly