Cisco-IOS-XR-manageability-perfmgmt-oper

This module contains a collection of YANG definitions for Cisco IOS-XR manageability-perfmgmt package operational data. This mo...

  • Version: 2020-11-05

    Cisco-IOS-XR-manageability-perfmgmt-oper@2020-11-05


    
      module Cisco-IOS-XR-manageability-perfmgmt-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-perfmgmt-oper";
    
        prefix manageability-perfmgmt-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-manageability-perfmgmt-oper-sub1 {
          revision-date "2020-11-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 manageability-perfmgmt package operational data.
    
    This module contains definitions
    for the following management objects:
      perf-mgmt: Performance Management agent operational data
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-11-05" {
          description
            "changed bandwidth type from 32-bit to 64-bit";
        }
    
        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.1.0";
        semver:module-version "1.0.0";
    
        typedef Pm-process-id {
          type uint32;
          description "Pm process id";
        }
    
        typedef Pm-sample-id {
          type uint32;
          description "Pm sample id";
        }
    
        grouping MPLS {
          description
            "Common node of periodic, monitor";
          container mpls {
            description "Collected MPLS data";
            container ldp-neighbors {
              description
                "LDP neighbors for which statistics are
    collected";
              list ldp-neighbor {
                key "nbr";
                description
                  "Samples for a particular LDP neighbor";
                container samples {
                  description
                    "Samples for a particular LDP neighbor";
                  list sample {
                    key "sample-id";
                    description
                      "LDP neighbor statistics sample";
                    leaf sample-id {
                      type Pm-sample-id;
                      description "Sample ID";
                    }
    
                    uses PM-MPLS-LDP-BAG;
                  }  // list sample
                }  // container samples
    
                leaf nbr {
                  type inet:ipv4-address-no-zone;
                  description "Neighbor Address";
                }
              }  // list ldp-neighbor
            }  // container ldp-neighbors
          }  // container mpls
        }  // grouping MPLS
    
        grouping INTERFACE {
          description
            "Common node of periodic, monitor";
          container interface {
            description
              "Collected Interface data";
            container generic-counter-interfaces {
              description
                "Interfaces for which Generic Counters are
    collected";
              list generic-counter-interface {
                key "interface-name";
                description
                  "Samples for a particular interface";
                container samples {
                  description
                    "Generic Counter samples for an interface";
                  list sample {
                    key "sample-id";
                    description
                      "Generic Counters sample";
                    leaf sample-id {
                      type Pm-sample-id;
                      description "Sample ID";
                    }
    
                    uses PM-INTERFACE-GENERIC-BAG;
                  }  // list sample
                }  // container samples
    
                leaf interface-name {
                  type xr:Interface-name;
                  description "Interface Name";
                }
              }  // list generic-counter-interface
            }  // container generic-counter-interfaces
    
            container basic-counter-interfaces {
              description
                "Interfaces for which Basic Counters are
    collected";
              list basic-counter-interface {
                key "interface-name";
                description
                  "Samples for a particular interface";
                container samples {
                  description
                    "Basic Counter samples for an interface";
                  list sample {
                    key "sample-id";
                    description
                      "Basic Counters sample";
                    leaf sample-id {
                      type Pm-sample-id;
                      description "Sample ID";
                    }
    
                    uses PM-INTERFACE-BASIC-STATS;
                  }  // list sample
                }  // container samples
    
                leaf interface-name {
                  type xr:Interface-name;
                  description "Interface Name";
                }
              }  // list basic-counter-interface
            }  // container basic-counter-interfaces
    
            container data-rate-interfaces {
              description
                "Interfaces for which Data Rates are collected";
              list data-rate-interface {
                key "interface-name";
                description
                  "Samples for a particular interface";
                container samples {
                  description
                    "Data Rate samples for an interface";
                  list sample {
                    key "sample-id";
                    description
                      "Data Rates sample";
                    leaf sample-id {
                      type Pm-sample-id;
                      description "Sample ID";
                    }
    
                    uses PM-INTERFACE-DATARATE-BAG;
                  }  // list sample
                }  // container samples
    
                leaf interface-name {
                  type xr:Interface-name;
                  description "Interface Name";
                }
              }  // list data-rate-interface
            }  // container data-rate-interfaces
          }  // container interface
        }  // grouping INTERFACE
    
        grouping NODE-TABLE {
          description
            "Common node of periodic, monitor";
          container nodes {
            description
              "Nodes for which data is collected";
            list node {
              key "node-id";
              description "Node Instance";
              container sample-xr {
                description "Node CPU data";
                list sample {
                  key "sample-id";
                  description
                    "Node CPU data sample";
                  leaf sample-id {
                    type Pm-sample-id;
                    description "Sample ID";
                  }
    
                  uses PM-NODE-CPU-BAG;
                }  // list sample
              }  // container sample-xr
    
              container processes {
                description "Processes data";
                list process {
                  key "process-id";
                  description "Process data";
                  container samples {
                    description "Process data";
                    list sample {
                      key "sample-id";
                      description
                        "Process data sample";
                      leaf sample-id {
                        type Pm-sample-id;
                        description "Sample ID";
                      }
    
                      uses PM-NODE-PROCESS-BAG;
                    }  // list sample
                  }  // container samples
    
                  leaf process-id {
                    type Pm-process-id;
                    description "Process ID";
                  }
                }  // list process
              }  // container processes
    
              container samples {
                description "Node Memory data";
                list sample {
                  key "sample-id";
                  description
                    "Node Memory data sample";
                  leaf sample-id {
                    type Pm-sample-id;
                    description "Sample ID";
                  }
    
                  uses PM-NODE-MEM-BAG;
                }  // list sample
              }  // container samples
    
              leaf node-id {
                type xr:Node-id;
                description "Node ID";
              }
            }  // list node
          }  // container nodes
        }  // grouping NODE-TABLE
    
        grouping OSPF {
          description
            "Common node of periodic, monitor";
          container ospf {
            description "Collected OSPF data";
            container ospfv2-protocol-instances {
              description
                "OSPF v2 instances for which protocol statistics
    are collected";
              list ospfv2-protocol-instance {
                key "instance-name";
                description
                  "Protocol samples for a particular OSPF v2
    instance";
                container samples {
                  description
                    "Sample Table for an OSPV v2 instance";
                  list sample {
                    key "sample-id";
                    description
                      "Generic Counters sample";
                    leaf sample-id {
                      type Pm-sample-id;
                      description "Sample ID";
                    }
    
                    uses PM-OSPF-V2PROTO-BAG;
                  }  // list sample
                }  // container samples
    
                leaf instance-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "OSPF Instance Name";
                }
              }  // list ospfv2-protocol-instance
            }  // container ospfv2-protocol-instances
    
            container ospfv3-protocol-instances {
              description
                "OSPF v3 instances for which protocol statistics
    are collected";
              list ospfv3-protocol-instance {
                key "instance-name";
                description
                  "Protocol samples for a particular OSPF v3
    instance";
                container samples {
                  description
                    "Sample Table for an OSPV v3 instance";
                  list sample {
                    key "sample-id";
                    description
                      "Generic Counters sample";
                    leaf sample-id {
                      type Pm-sample-id;
                      description "Sample ID";
                    }
    
                    uses PM-OSPF-V3PROTO-BAG;
                  }  // list sample
                }  // container samples
    
                leaf instance-name {
                  type xr:Cisco-ios-xr-string;
                  description
                    "OSPF Instance Name";
                }
              }  // list ospfv3-protocol-instance
            }  // container ospfv3-protocol-instances
          }  // container ospf
        }  // grouping OSPF
    
        grouping BGP {
          description
            "Common node of periodic, monitor";
          container bgp {
            description "Collected BGP data";
            container bgp-neighbors {
              description
                "Neighbors for which statistics are collected";
              list bgp-neighbor {
                key "ip-address";
                description
                  "Samples for particular neighbor";
                container samples {
                  description
                    "Sample Table for a BGP neighbor";
                  list sample {
                    key "sample-id";
                    description
                      "Neighbor statistics sample";
                    leaf sample-id {
                      type Pm-sample-id;
                      description "Sample ID";
                    }
    
                    uses PM-BGP-NBR-BAG;
                  }  // list sample
                }  // container samples
    
                leaf ip-address {
                  type inet:ipv4-address-no-zone;
                  description
                    "BGP Neighbor Identifier";
                }
              }  // list bgp-neighbor
            }  // container bgp-neighbors
          }  // container bgp
        }  // grouping BGP
    
        container perf-mgmt {
          config false;
          description
            "Performance Management agent operational data";
          container periodic {
            description
              "Data from periodic requests";
            uses OSPF;
    
            uses MPLS;
    
            uses NODE-TABLE;
    
            uses BGP;
    
            uses INTERFACE;
          }  // container periodic
    
          container monitor {
            description
              "Data from monitor (one history period) requests";
            uses OSPF;
    
            uses MPLS;
    
            uses NODE-TABLE;
    
            uses BGP;
    
            uses INTERFACE;
          }  // container monitor
        }  // container perf-mgmt
      }  // module Cisco-IOS-XR-manageability-perfmgmt-oper
    

© 2023 YumaWorks, Inc. All rights reserved.