This module contains a collection of YANG definitions for Cisco IOS-XR tunnel-l2tun package operational data. This module conta...
Version: 2019-04-05
module Cisco-IOS-XR-tunnel-l2tun-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-l2tun-oper"; prefix tunnel-l2tun-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-tunnel-l2tun-oper-sub1 { revision-date "2019-04-05"; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR tunnel-l2tun package operational data. This module contains definitions for the following management objects: l2tp: L2TP operational data l2tpv2: L2TPv2 operational data Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-11-01" { description "Added Yang support show l2tpv2 internal."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.1"; grouping CONTROL { description "Common node of counters, counters"; container control { description "L2TP control messages counters"; container tunnel-xr { description "L2TP control tunnel messages counters"; container authentication { description "Tunnel authentication counters"; uses L2TP-AUTHEN-STATS-DATA; } // container authentication container global { description "Tunnel counters"; uses L2TP-CTRL-MSG-STATS-GLOBAL-DATA; } // container global } // container tunnel-xr container tunnels { description "Table of tunnel IDs of control message counters"; list tunnel { key "tunnel-id"; description "L2TP tunnel control message counters"; leaf tunnel-id { type uint32; description "L2TP tunnel ID"; } uses L2TP-CTRL-MSG-STATS-DATA; } // list tunnel } // container tunnels } // container control } // grouping CONTROL grouping SESSION-TABLE { description "Common node of node, node"; container sessions { description "List of session IDs"; list session { key "local-tunnel-id local-session-id"; description "L2TP information for a particular session"; leaf local-tunnel-id { type uint32; description "Local tunnel ID"; } leaf local-session-id { type uint32; description "Local session ID"; } uses L2TP-SESSION-INFO; } // list session } // container sessions } // grouping SESSION-TABLE grouping SESSION { description "Common node of node, node"; container session { description "L2TP control messages counters"; container unavailable { description "L2TP session unavailable information"; uses L2TP-SESSION-ID-HOLD-DB-DATA; } // container unavailable } // container session } // grouping SESSION grouping TUNNEL-CONFIGURATION-TABLE { description "Common node of node, node"; container tunnel-configurations { description "List of tunnel IDs"; list tunnel-configuration { key "local-tunnel-id"; description "L2TP tunnel information"; leaf local-tunnel-id { type uint32; description "Local tunnel ID"; } uses L2TP-CC-CFG-DATA; } // list tunnel-configuration } // container tunnel-configurations } // grouping TUNNEL-CONFIGURATION-TABLE grouping TUNNEL-TABLE { description "Common node of node, node"; container tunnels { description "List of tunnel IDs"; list tunnel { key "local-tunnel-id"; description "L2TP tunnel information"; leaf local-tunnel-id { type uint32; description "Local tunnel ID"; } uses L2TP-CC-INFO; } // list tunnel } // container tunnels } // grouping TUNNEL-TABLE grouping INTERNAL { description "Common node of node, node"; container internal { description "L2TP v2/v3 internal information"; uses L2TP-INTERNAL-STATS-BAG-DATA; } // container internal } // grouping INTERNAL grouping COUNTER-HIST-FAIL { description "Common node of node, node"; container counter-hist-fail { description "Failure events leading to disconnection"; uses L2TP-HIST-FAIL-STATS-BAG-DATA; } // container counter-hist-fail } // grouping COUNTER-HIST-FAIL grouping CLASS-TABLE { description "Common node of node, node"; container classes { description "List of L2TP class names"; list class { key "class-name"; description "L2TP class name"; leaf class-name { type xr:Cisco-ios-xr-string { length "1..31"; } description "L2TP class name"; } uses L2TP-CC-CLASS-DATA; } // list class } // container classes } // grouping CLASS-TABLE container l2tp { config false; description "L2TP operational data"; container nodes { description "List of nodes for which subscriber data is collected"; list node { key "node-name"; description "Subscriber data for a particular node"; container counters { description "L2TP control messages counters"; uses CONTROL; } // container counters leaf node-name { type xr:Node-id; description "Node name"; } uses TUNNEL-CONFIGURATION-TABLE; uses COUNTER-HIST-FAIL; uses CLASS-TABLE; uses TUNNEL-TABLE; uses SESSION-TABLE; uses SESSION; uses INTERNAL; } // list node } // container nodes } // container l2tp container l2tpv2 { config false; description "L2TPv2 operational data"; container nodes { description "List of nodes for which subscriber data is collected"; list node { key "node-name"; description "Subscriber data for a particular node"; container counters { description "L2TP control messages counters"; container forwarding { description "L2TP forwarding messages counters"; container sessions { description "List of class and session IDs"; list session { key "tunnel-id session-id"; description "L2TP information for a particular session"; leaf tunnel-id { type uint32; description "Local tunnel ID"; } leaf session-id { type uint32; description "Local session ID"; } uses L2TP-SESS-FWD-STATS; } // list session } // container sessions } // container forwarding uses CONTROL; } // container counters container statistics { description "L2TP v2 statistics information"; uses L2TPV2-STATS-DATA; } // container statistics container tunnel { description "L2TPv2 tunnel "; container accounting { description "Tunnel accounting counters"; container statistics { description "Tunnel accounting statistics"; uses L2TPV2-CC-ACCT-STATS-DATA; } // container statistics } // container accounting } // container tunnel leaf node-name { type xr:Node-id; description "Node name"; } uses TUNNEL-CONFIGURATION-TABLE; uses COUNTER-HIST-FAIL; uses CLASS-TABLE; uses TUNNEL-TABLE; uses SESSION-TABLE; uses SESSION; uses INTERNAL; } // list node } // container nodes } // container l2tpv2 } // module Cisco-IOS-XR-tunnel-l2tun-oper
© 2023 YumaWorks, Inc. All rights reserved.