This submodule contains a collection of YANG definitions for Cisco IOS-XR Subscriber-infra-subdb package operational data. Copy...
Version: 2021-02-22
submodule Cisco-IOS-XR-Subscriber-infra-subdb-oper-sub2 { yang-version 1; belongs-to Cisco-IOS-XR-Subscriber-infra-subdb-oper { prefix Cisco-IOS-XR-Subscriber-infra-subdb-oper; } 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 Subscriber-infra-subdb package operational data. Copyright (c) 2013-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-02-22" { description "Adding yang support to retrive server connection time-stats. 2020-11-19 Added new bag for Subscriber database connection client statistics."; } revision "2020-04-02" { description "Added new bag for Subscriber database transition states and cfg object types."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-09-28" { description "Fixed Subscriber database Association."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "2.1.0"; semver:module-version "2.0.0"; semver:module-version "1.0.1"; typedef Subdb-req-time-stats-id { type enumeration { enum "activate-time-stats" { value 0; description "activate time stats"; } enum "config-gen-time-stats" { value 1; description "config gen time stats"; } enum "config-done-time-stats" { value 2; description "config done time stats"; } enum "apply-time-stats" { value 3; description "apply time stats"; } enum "time-stats-max" { value 4; description "time stats max"; } } description "Subdb req time stats id"; } grouping SUBDB-REQ-TIME-STATS-BAG { description "SUBDB REQ TIME STATS BAG"; leaf request-count { type uint32; description "RequestCount"; } leaf accumulative-time-seconds { type uint32; units "second"; description "Acumulative time seconds"; } leaf accumulative-time-nano-seconds { type uint32; units "nanosecond"; description "Acumulative time nano-seconds"; } leaf average-time-seconds { type uint32; units "second"; description "Average time seconds"; } leaf average-time-nano-seconds { type uint32; units "nanosecond"; description "Average time nano-seconds"; } leaf minimum-time-seconds { type uint32; units "second"; description "Minimum time seconds"; } leaf minimum-time-nano-seconds { type uint32; units "nanosecond"; description "Minimum time nano-seconds"; } leaf maximum-time-seconds { type uint32; units "second"; description "Maximum time seconds"; } leaf maximum-time-nano-seconds { type uint32; units "nanosecond"; description "Maximum time nano-seconds"; } leaf create-timestamp-for-maximum-seconds { type uint32; units "second"; description "Create timestamp (seconds) for max time session"; } leaf create-timestamp-for-maximum-nano-seconds { type uint32; units "nanosecond"; description "Create timestamp (nano-seconds) for max time session"; } leaf sub-label-for-maximum { type uint32; description "Sub-label for max time session"; } } // grouping SUBDB-REQ-TIME-STATS-BAG grouping SUBDB-SERVER-TIMESTAT-INFO { description "per client timestat"; container time-statistics { description "Time Statistics"; uses SUBDB-REQ-TIME-STATS-BAG; } // container time-statistics leaf client-name-xr { type string; description "Subdb Client name"; } leaf timestat-index { type Subdb-req-time-stats-id; description "Type of statistics"; } } // grouping SUBDB-SERVER-TIMESTAT-INFO grouping SUBDB-SUBSCRIBER-IN-STATE-COUNTS { description "SUBDB SUBSCRIBER IN STATE COUNTS"; leaf init-state { type uint32; description "Sessions in initialized state"; } leaf destroying-state { type uint32; description "Sessions in Destroying state"; } leaf config-gen-state { type uint32; description "Sessions in Config gen state"; } leaf fat-gen-state { type uint32; description "Sessions in Fat gen state"; } leaf config-apply-state { type uint32; description "Sessions in Config apply state"; } leaf config-done-state { type uint32; description "Sessions in Config done state"; } leaf config-unapply-state { type uint32; description "Sessions in Config unapply state"; } leaf config-error-state { type uint32; description "Sessions in Config error state"; } leaf error-state { type uint32; description "Sessions in error state"; } leaf pre-sync-state { type uint32; description "Sessions in pre sync state"; } leaf sync-state { type uint32; description "Sessions in sync state"; } } // grouping SUBDB-SUBSCRIBER-IN-STATE-COUNTS grouping SUBDB-CFG-OBJECT-TYPE { description "SUBDB CFG OBJECT TYPE"; leaf object-type-min { type uint32; description "Object type min"; } leaf object-type-user-profile { type uint32; description "Object type user profile"; } leaf object-type-service-profile { type uint32; description "Object type service profile"; } leaf object-type-subsc-svc-template { type uint32; description "Object type subsc svc template"; } leaf object-type-ppp-template { type uint32; description "Object type ppp template"; } leaf object-type-ip-sub-template { type uint32; description "Object type ipsub template"; } leaf object-type-sub-template { type uint32; description "Object type sub template"; } } // grouping SUBDB-CFG-OBJECT-TYPE grouping SUBDB-SUMMARY-COUNTS-BAG { description "SUBDB SUMMARY COUNTS BAG"; container subdb-obj-counts-by-type { description "The count of the various configuration objects by type"; uses SUBDB-CFG-OBJECT-TYPE; } // container subdb-obj-counts-by-type container subscribers-in-state { description "Number of subscribers in the various states"; uses SUBDB-SUBSCRIBER-IN-STATE-COUNTS; } // container subscribers-in-state container num-transitions-through-state { description "Cumulative number of transitions through the various states"; uses SUBDB-SUBSCRIBER-IN-STATE-COUNTS; } // container num-transitions-through-state leaf assoc-db-entries { type uint32; description "Number of Entries in Association DB"; } leaf assoc-db-associations { type uint32; description "Number of Associations in Association DB"; } leaf derived-db-entries { type uint32; description "Number of Entries in Derived DB"; } leaf config-db-entries { type uint32; description "Number of Entries in Configuration DB"; } leaf interface-db-entries { type uint32; description "Number of Entries in Interface DB"; } leaf num-ipsub-dhcp { type uint32; description "Number of IPSUB DHCP subscribers"; } leaf num-ipsub-inband { type uint32; description "Number of IPSUB Inband subscribers"; } leaf num-pppoe { type uint32; description "Number of PPPOE subscribers"; } } // grouping SUBDB-SUMMARY-COUNTS-BAG } // submodule Cisco-IOS-XR-Subscriber-infra-subdb-oper-sub2
© 2023 YumaWorks, Inc. All rights reserved.