This submodule contains a collection of YANG definitions for Cisco IOS-XR ip-daps package operational data. Copyright (c) 2013-...
Version: 2019-04-05
submodule Cisco-IOS-XR-ip-daps-oper-sub1 { yang-version 1; belongs-to Cisco-IOS-XR-ip-daps-oper { prefix Cisco-IOS-XR-ip-daps-oper; } import ietf-inet-types { prefix inet; } 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 submodule contains a collection of YANG definitions for Cisco IOS-XR ip-daps package operational data. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.1"; typedef Daps-serg-role { type enumeration { enum "none" { value 0; description "Role None"; } enum "master" { value 1; description "Role Master"; } enum "slave" { value 2; description "Role Slave"; } } description "DAPS SERG role"; } typedef Daps-client { type enumeration { enum "none" { value 0; description "Client type is None"; } enum "ppp" { value 1; description "Client type is PPP"; } enum "dhcp" { value 2; description "Client type is DHCP"; } enum "dhcpv6" { value 4; description "Client type is DHCPv6"; } enum "ipv6nd" { value 5; description "Client type is IPv6ND"; } } description "DAPS client types"; } typedef Ipv6-addr { type inet:ipv6-address; description "Ipv6 addr"; } typedef Ip-addr { type enumeration { enum "ipv4" { value 2; description "IPv4 address"; } enum "ipv6" { value 10; description "IPv6 address"; } } description "Address type"; } grouping DAPS-VRF-POOL-INFO { description "VRF pool information"; leaf pool-name { type string { length "0..64"; } description "Pool name"; } leaf vrf-name { type string { length "0..64"; } description "VRF name"; } leaf used { type uint32; description "Used allocations"; } leaf excluded { type uint32; description "Excluded allocations"; } leaf free { type uint32; description "Free allocations"; } leaf total { type uint32; description "Total allocations"; } } // grouping DAPS-VRF-POOL-INFO grouping DAPS-VRF-ALLOCATION-SUMMARY { description "VRF allocation summary"; leaf used { type uint32; description "Used allocations"; } leaf excluded { type uint32; description "Excluded allocations"; } leaf free { type uint32; description "Free allocations"; } leaf total { type uint32; description "Total allocations"; } leaf high-utilization-threshold { type uint8; units "percentage"; description "High utilization threshold in percentage"; } leaf low-utilization-threshold { type uint8; units "percentage"; description "Low utilization threshold in percentage"; } leaf utilization { type uint8; units "percentage"; description "Current utilization in percentage"; } } // grouping DAPS-VRF-ALLOCATION-SUMMARY grouping DAPS-VRF-INFO { description " VRF information"; container allocation-summary { description "Allocation summary"; uses DAPS-VRF-ALLOCATION-SUMMARY; } // container allocation-summary list pools { description "Pools data"; uses DAPS-VRF-POOL-INFO; } // list pools } // grouping DAPS-VRF-INFO grouping IP-DAPS-SHOW-POOL-TOTAL-UTIL { description "IP DAPS pool total utilization"; leaf total-utilization-high-mark { type uint8; description "High utilization mark"; } leaf total-utilization-low-mark { type uint8; description "Low utilization mark"; } leaf current-total-utilization { type uint8; description "Current utilization"; } } // grouping IP-DAPS-SHOW-POOL-TOTAL-UTIL grouping DAPS-POOL-SERG-INFO { description "SERG info"; leaf preferred-role { type Daps-serg-role; description "SERG PreferredRole"; } leaf peer-down { type boolean; description "Peer Down"; } leaf verify-pend { type boolean; description "Verify Pending"; } } // grouping DAPS-POOL-SERG-INFO grouping IP-DAPS-SHOW-POOL-CFG { description "IP DAPS pool configuration"; container serg-info { description "SERG Info"; uses DAPS-POOL-SERG-INFO; } // container serg-info leaf pool-name { type string { length "0..64"; } description "Pool name"; } leaf pool-id { type uint32; description "Pool ID for MIBS"; } leaf vrf-name { type string { length "0..64"; } description "VRF name"; } leaf pool-scope { type string { length "0..64"; } description "Pool Scope"; } leaf pool-prefix-length { type uint32; description "Prefix length"; } leaf high-utilization-mark { type uint8; description "High utilization mark"; } leaf low-utilization-mark { type uint8; description "Low utilization mark"; } leaf current-utilization { type uint8; description "Current utilization"; } leaf utilization-high-count { type uint32; description "Number of times High utilization threshold was crossed"; } leaf utilization-low-count { type uint32; description "Number of times Low utilization threshold was crossed"; } } // grouping IP-DAPS-SHOW-POOL-CFG grouping DAPS-POOL-IN-USE-ADDRESS { description "In-use address data"; container address { description "Client address"; uses IP-ADDR-ST; } // container address leaf client-type { type Daps-client; description "Client type"; } } // grouping DAPS-POOL-IN-USE-ADDRESS grouping DAPS-POOL-RANGE { description "Pool address range data"; container start-address { description "Range start"; uses IP-ADDR-ST; } // container start-address container end-address { description "Range end"; uses IP-ADDR-ST; } // container end-address leaf used { type uint32; description "Used allocations"; } leaf excluded { type uint32; description "Excluded allocations"; } leaf free { type uint32; description "Free allocations"; } } // grouping DAPS-POOL-RANGE grouping DAPS-POOL-THRESHOLD { description "Pool threshold information"; leaf threshold { type uint32; units "percentage"; description "Threshold in percentage"; } leaf triggers { type uint32; description "Number of Triggers"; } leaf time-last-crossed { type string; description "Last time at which threshold crossed in DDD MMM DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30:47 2011"; } } // grouping DAPS-POOL-THRESHOLD grouping DAPS-POOL-ALLOCATIONS { description "Pool allocations data"; container high-threshold { description "High threshold data"; uses DAPS-POOL-THRESHOLD; } // container high-threshold container low-threshold { description "Low threshold data"; uses DAPS-POOL-THRESHOLD; } // container low-threshold leaf vrf-name { type string { length "0..64"; } description "VRF name"; } leaf used { type uint32; description "Used allocations"; } leaf excluded { type uint32; description "Excluded allocations"; } leaf free { type uint32; description "Free allocations"; } leaf total { type uint32; description "Total allocations"; } leaf utilization { type uint32; units "percentage"; description "Current utilization in percentage"; } } // grouping DAPS-POOL-ALLOCATIONS grouping DAPS-POOL-DETAIL { description "Pool data"; container pool-allocations { description "Pool allocations"; uses DAPS-POOL-ALLOCATIONS; } // container pool-allocations list address-range { description "Address ranges"; uses DAPS-POOL-RANGE; } // list address-range list in-use-address { description "In-use addresses"; uses DAPS-POOL-IN-USE-ADDRESS; } // list in-use-address } // grouping DAPS-POOL-DETAIL grouping IP-ADDR-UN { description "Daps Address"; leaf address-family { type Ip-addr; description "AddressFamily"; } leaf ipv4-address { when "../address-family = 'ipv4'" { description "../AddressFamily = 'IPv4'"; } type inet:ipv4-address; description "IPv4 address"; } leaf ipv6-address { when "../address-family = 'ipv6'" { description "../AddressFamily = 'IPv6'"; } type Ipv6-addr; description "IPv6 address"; } } // grouping IP-ADDR-UN grouping IP-ADDR-ST { description "IP address information"; container address { description "Address"; uses IP-ADDR-UN; } // container address } // grouping IP-ADDR-ST grouping IP-DAPS-SHOW-POOL-BRIEF { description "IP DAPS pool parameters"; container start-address-xr { description "Range start"; uses IP-ADDR-ST; } // container start-address-xr container end-address { description "Range end"; uses IP-ADDR-ST; } // container end-address container default-router { description "Default router"; uses IP-ADDR-ST; } // container default-router leaf pool-name { type string { length "0..64"; } description "Pool name"; } leaf vrf-name { type string { length "0..64"; } description "VRF name"; } leaf allocated-addresses { type uint32; description "Number of addresses allocated"; } leaf free-addresses { type uint32; description "Number of addresses free"; } leaf excluded-addresses { type uint32; description "Number of addresses excluded"; } leaf network-blocked-status { type uint32; description "Is network blocked"; } leaf network-blocked-status-trp { type uint32; description "Is network blocked trap send"; } } // grouping IP-DAPS-SHOW-POOL-BRIEF } // submodule Cisco-IOS-XR-ip-daps-oper-sub1
© 2024 YumaWorks, Inc. All rights reserved.