Cisco-IOS-XR-um-statistics-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR statistics package configuration. This YANG module augme...

  • Version: 2020-02-20

    Cisco-IOS-XR-um-statistics-cfg@2020-02-20


    
      module Cisco-IOS-XR-um-statistics-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-um-statistics-cfg";
    
        prefix um-statistics-cfg;
    
        import Cisco-IOS-XR-um-interface-cfg {
          prefix a1;
        }
        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 statistics package configuration.
         
         This YANG module augments the
         modules with configuration data.
         
         Copyright (c) 2019-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-02-20" {
          description "Initial draft";
        }
    
        semver:module-version "1.0.0";
    
        grouping IF-BODY {
          leaf load-interval {
            type uint32 {
              range
                "0|30|60|90|120|150|180|210|240|270|300|330|360|390|420|450|480|510|540|570|600";
            }
            default "300";
            description
              "Specify interval for load calculation for an interface";
          }
        }  // grouping IF-BODY
    
        augment /a1:interfaces/a1:interface {
          uses IF-BODY;
        }
    
        augment /a1:interfaces/a1:interface-preconfigure {
          uses IF-BODY;
        }
    
        container statistics {
          description
            "Statistics configuration commands";
          container period {
            description
              "Set collection period for statistics collectors";
            container service-accounting {
              description
                "Collectors for the service accounting feature";
              leaf collection-period {
                type uint32 {
                  range "30..3600";
                }
                must "not(../disable)";
                description
                  "Collection period in seconds";
              }
    
              container disable {
                must "not(../collection-period)";
                presence
                  "Indicates a disable node is configured.";
                description
                  "Disable periodic statistics collection";
              }  // container disable
            }  // container service-accounting
          }  // container period
        }  // container statistics
      }  // module Cisco-IOS-XR-um-statistics-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.