Cisco-IOS-XR-asr9k-lpts-oper

This module contains a collection of YANG definitions for Cisco IOS-XR asr9k-lpts package operational data. This module contain...

  • Version: 2019-04-05

    Cisco-IOS-XR-asr9k-lpts-oper@2019-04-05


    
      module Cisco-IOS-XR-asr9k-lpts-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-lpts-oper";
    
        prefix asr9k-lpts-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-asr9k-lpts-oper-sub1 {
          revision-date "2019-04-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 asr9k-lpts package operational data.
         
         This module contains definitions
         for the following management objects:
           platform-lptsp-ifib-static: ASR9K platform ifib operational
             data
           platform-lptsp-ifib: ASR9K platform ifib operational data
           platform-lptsp-ifib-np-stats: ASR9K platform ifib 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.0";
    
        typedef Np-type-lpts {
          type string {
            pattern
              "(np0)|(np1)|(np2)|(np3)|(np4)|(np5)|(np6)|(np7)|(np8)|(np9)";
          }
          description
            "np0:NP0, np1:NP1, np2:NP2, np3:NP3, np4:NP4, np5
           :NP5, np6:NP6, np7:NP7, np8:NP8, np9:NP9";
        }
    
        container platform-lptsp-ifib-static {
          config false;
          description
            "ASR9K platform ifib operational data ";
          container node-statics {
            description
              "List of nodes with platform specific lpts
             operation data";
            list node-static {
              key "node-name";
              description
                "Node with platform specific lpts data";
              container police {
                description
                  "pl_pifib police data";
                list static-info {
                  description
                    "Per punt reason info";
                  leaf punt-reason {
                    type uint32;
                    description "punt reason";
                  }
    
                  leaf sid {
                    type uint32;
                    description "sid";
                  }
    
                  leaf flow-rate {
                    type uint32;
                    description "flow rate";
                  }
    
                  leaf burst-rate {
                    type uint64;
                    description "burst rate";
                  }
    
                  leaf accepted {
                    type uint64;
                    description "accepted";
                  }
    
                  leaf dropped {
                    type uint64;
                    description "dropped";
                  }
    
                  leaf punt-reason-string {
                    type string {
                      length "0..50";
                    }
                    description
                      "punt reason string";
                  }
    
                  leaf change-type {
                    type uint8;
                    description "change type";
                  }
                }  // list static-info
              }  // container police
    
              container stats {
                description "pl_pifib stats";
                leaf accepted {
                  type uint64;
                  description
                    "Deleted-entry accepted packets counter";
                }
    
                leaf dropped {
                  type uint64;
                  description
                    "Deleted-entry dropped packets counter";
                }
    
                leaf clear-ts {
                  type uint64;
                  description
                    "Statistics clear timestamp";
                }
    
                leaf no-stats-mem-err {
                  type uint64;
                  description
                    "No statistics memory error";
                }
              }  // container stats
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node-static
          }  // container node-statics
        }  // container platform-lptsp-ifib-static
    
        container platform-lptsp-ifib {
          config false;
          description
            "ASR9K platform ifib operational data ";
          container nodes {
            description
              "List of nodes with platform specific lpts
             operation data";
            list node {
              key "node-name";
              description
                "Node with platform specific lpts data";
              container police {
                description
                  "pl_pifib police data";
                list police-info {
                  description
                    "Per flow type police info";
                  leaf avgrate {
                    type uint32;
                    description "avgrate";
                  }
    
                  leaf burst {
                    type uint32;
                    description "burst";
                  }
    
                  leaf static-avgrate {
                    type uint32;
                    description "static avgrate";
                  }
    
                  leaf avgrate-type {
                    type string {
                      length "0..50";
                    }
                    description "avgrate type";
                  }
    
                  leaf flow-type {
                    type string {
                      length "0..50";
                    }
                    description "flow type";
                  }
    
                  leaf accepted-stats {
                    type uint64;
                    description "accepted stats";
                  }
    
                  leaf dropped-stats {
                    type uint64;
                    description "dropped stats";
                  }
    
                  leaf policer {
                    type uint32;
                    description "policer";
                  }
    
                  leaf str-iptos-val {
                    type string {
                      length "0..8";
                    }
                    description "str iptos val";
                  }
    
                  leaf change-type {
                    type uint8;
                    description "change type";
                  }
    
                  leaf acl-config {
                    type uint8;
                    description "acl config";
                  }
    
                  leaf acl-str {
                    type string {
                      length "0..50";
                    }
                    description "acl str";
                  }
                }  // list police-info
              }  // container police
    
              container stats {
                description "pl_pifib stats";
                leaf accepted {
                  type uint64;
                  description
                    "Deleted-entry accepted packets counter";
                }
    
                leaf dropped {
                  type uint64;
                  description
                    "Deleted-entry dropped packets counter";
                }
    
                leaf clear-ts {
                  type uint64;
                  description
                    "Statistics clear timestamp";
                }
    
                leaf no-stats-mem-err {
                  type uint64;
                  description
                    "No statistics memory error";
                }
              }  // container stats
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node
          }  // container nodes
        }  // container platform-lptsp-ifib
    
        container platform-lptsp-ifib-np-stats {
          config false;
          description
            "ASR9K platform ifib operational data ";
          container node-np-stats {
            description
              "List of nodes with platform specific lpts
             operation data";
            list node-np-stat {
              key "node-name";
              description
                "Node with platform specific lpts data";
              container nps {
                description "List of all NP";
                list np {
                  key "np-name";
                  description "np0 to np9";
                  container np-police {
                    description
                      "pl_pifib police data";
                    list police-info {
                      description
                        "Per flow type police info";
                      leaf avgrate {
                        type uint32;
                        description "avgrate";
                      }
    
                      leaf burst {
                        type uint32;
                        description "burst";
                      }
    
                      leaf static-avgrate {
                        type uint32;
                        description
                          "static avgrate";
                      }
    
                      leaf avgrate-type {
                        type string {
                          length "0..50";
                        }
                        description
                          "avgrate type";
                      }
    
                      leaf flow-type {
                        type string {
                          length "0..50";
                        }
                        description "flow type";
                      }
    
                      leaf accepted-stats {
                        type uint64;
                        description
                          "accepted stats";
                      }
    
                      leaf dropped-stats {
                        type uint64;
                        description
                          "dropped stats";
                      }
    
                      leaf policer {
                        type uint32;
                        description "policer";
                      }
    
                      leaf str-iptos-val {
                        type string {
                          length "0..8";
                        }
                        description
                          "str iptos val";
                      }
    
                      leaf change-type {
                        type uint8;
                        description
                          "change type";
                      }
    
                      leaf acl-config {
                        type uint8;
                        description "acl config";
                      }
    
                      leaf acl-str {
                        type string {
                          length "0..50";
                        }
                        description "acl str";
                      }
                    }  // list police-info
                  }  // container np-police
    
                  leaf np-name {
                    type Np-type-lpts;
                    description "NP name";
                  }
                }  // list np
              }  // container nps
    
              leaf node-name {
                type xr:Node-id;
                description "Node name";
              }
            }  // list node-np-stat
          }  // container node-np-stats
        }  // container platform-lptsp-ifib-np-stats
      }  // module Cisco-IOS-XR-asr9k-lpts-oper
    

© 2023 YumaWorks, Inc. All rights reserved.