This module contains a collection of YANG definitions for Cisco IOS-XR tunnel-vpdn package configuration. This module contains ...
Version: 2019-04-05
module Cisco-IOS-XR-tunnel-vpdn-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-vpdn-cfg"; prefix tunnel-vpdn-cfg; import ietf-inet-types { prefix inet; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } 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-vpdn package configuration. This module contains definitions for the following management objects: vpdn: VPDN configuration Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } 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"; typedef Df-bit { type enumeration { enum "clear" { value 0; description "Clear df bit"; } enum "reflect" { value 1; description "Reflect df bit from inner ip header"; } enum "set" { value 2; description "Set df bit"; } } description "Df bit"; } typedef Option { type enumeration { enum "local" { value 1; description "Log VPDN events locally"; } enum "user" { value 2; description "Log VPDN user events"; } enum "dead-cache" { value 8; description "Log VPDN dead cache"; } enum "tunnel-drop" { value 16; description "Log VPDN tunnel drops"; } } description "Option"; } container vpdn { description "VPDN configuration"; container history { description "VPDN history logging"; leaf failure { type empty; description "User failure"; } } // container history container redundancy { description "Enable VPDN redundancy"; container process-failures { description "Process crash configuration"; leaf switchover { type empty; description "Force a switchover if the process crashes"; } } // container process-failures leaf enable { type empty; description "Enable Enable VPDN redundancy. Deletion of this object also causes deletion of all associated objects under Redundancy."; } } // container redundancy container local { description "VPDN Local radius process configuration"; leaf secret-text { type string { length "1..32"; } description "secret password"; } leaf path { type string { length "1..64"; } description "local path of the saved profile"; } leaf cache-disabled { type empty; description "Set constant integer"; } leaf port { type xr:Cisco-ios-xr-port-number; description "port value"; } } // container local container templates { description "Table of Template"; list template { key "template-name"; description "VPDN template configuration"; container caller-id { description "Options to apply on calling station id"; leaf mask { type string { length "1..63"; } description "Mask characters by method"; } } // container caller-id container vpn { description "VPN ID/VRF name"; container id { description "VPN ID"; leaf oui { type xr:Hex-integer; description "VPN ID, (OUI:VPN-Index) format(hex), 3 bytes OUI Part"; } leaf index { type xr:Hex-integer; description "VPN ID, (OUI:VPN-Index) format(hex), 4 bytes VPN_Index Part"; } } // container id leaf vrf { type xr:Cisco-ios-xr-string { length "1..32"; } description "VRF name"; } } // container vpn container tunnel { description "L2TP tunnel commands"; leaf busy-timeout { type uint32 { range "60..65535"; } units "second"; description "Busy time out value in seconds"; } } // container tunnel container ip { description "Set IP TOS value"; leaf tos { type uint32; description "Set constant integer"; } } // container ip container ipv4 { description "IPv4 settings for tunnel"; leaf df-bit { type Df-bit; description "IPv4 don't fragment bit set/clear/reflect"; } leaf source { type inet:ipv4-address-no-zone; description "Enter an IP address"; } } // container ipv4 leaf cisco-avp100-format-e-enable { type empty; description "To support NAS-Port format e in Cisco AVP 100"; } leaf rate-convert-speed-avps { type empty; units "bit/s"; description "DSL Line bps Info attributes"; } leaf description { type string { length "1..100"; } description "Up to 100 characters describing this VPDN template"; } leaf l2tp-class { type xr:Cisco-ios-xr-string { length "1..79"; } description "L2TP class command"; } leaf dsl-line-forwarding { type empty; description "Forward DSL Line Info attributes"; } leaf template-name { type xr:Cisco-ios-xr-string { length "1..63"; } description "VPDN template name"; } } // list template } // container templates container caller-id { description "Options to apply on calling station ID"; leaf mask { type string { length "1..63"; } description "Mask characters by method"; } } // container caller-id container vpd-ngroups { description "Table of VPDNgroup"; list vpd-ngroup { key "vpd-ngroupname"; description "vpdn-group configuration"; container vpn-id { description "Vpn id"; leaf vpn-id-oui { type xr:Hex-integer; description "VPN ID, (OUI:VPN-Index) format(hex), 3 bytes OUI Part"; } leaf vpn-id-index { type xr:Hex-integer; description "VPN ID, (OUI:VPN-Index) format(hex), 4 bytes VPN_Index Part"; } } // container vpn-id container ip { description "set ip tos value"; leaf tos { type uint32 { range "0..255"; } description "ip tos value"; } } // container ip leaf dsl-line-forwarding { type empty; description "Forward DSL Line Info attributes"; } leaf cisco-avp100-format-e-enable { type empty; description "To support NAS-Port format e in cisco AVP 100"; } leaf desc { type string { length "1..100"; } description "upto 100 characters describing this VPDN group"; } leaf attribute { type string { length "1..63"; } description "match substring"; } leaf l2tp-class { type string { length "1..79"; } description "l2tp class name"; } leaf tunnel-busy-timeout { type uint32 { range "1..65535"; } description "Busy list timeout length"; } leaf vrf-name { type xr:Cisco-ios-xr-string { length "1..32"; } description "Vrf name"; } leaf sr-ctemplate { type string { length "1..63"; } description "Source vpdn-template"; } leaf vpd-ngroupname { type xr:Cisco-ios-xr-string { length "1..63"; } description "vpdn-group name"; } } // list vpd-ngroup } // container vpd-ngroups container loggings { description "Table of Logging"; list logging { key "option"; description "Configure logging for VPDN"; leaf option { type Option; description "VPDN logging options"; } } // list logging } // container loggings container l2tp { description "L2TPv2 protocol commands"; container session-id { description "Session ID commands"; container space { description "Session ID space commands"; leaf hierarchy { type empty; description "Session ID space hierarchical command"; } } // container space } // container session-id leaf tcp-mss-adjust { type uint32 { range "1280..1460"; } description "TCP MSS adjust value. The acceptable values might be further limited depending on platform."; } } // container l2tp leaf session-limit { type uint32 { range "1..131072"; } description "Maximum simultaneous VPDN sessions"; } leaf enable { type empty; description "Enable VPDN configuration. Deletion of this object also causes deletion of all associated objects under VPDN."; } leaf soft-shut { type empty; description "New session no longer allowed"; } } // container vpdn } // module Cisco-IOS-XR-tunnel-vpdn-cfg
© 2023 YumaWorks, Inc. All rights reserved.