Cisco-IOS-XR-smart-license-platform-oper

This module contains a collection of YANG definitions for Cisco IOS-XR smart-license-platform package operational data. This mo...

  • Version: 2020-09-15

    Cisco-IOS-XR-smart-license-platform-oper@2020-09-15


    
      module Cisco-IOS-XR-smart-license-platform-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-smart-license-platform-oper";
    
        prefix smart-license-platform-oper;
    
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-smart-license-platform-oper-sub1 {
          revision-date "2020-09-15";
        }
    
        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 smart-license-platform package operational data.
    
    This module contains definitions
    for the following management objects:
      plat-smart-license: Smart License info
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-09-15" {
          description
            "Structured the yang response for show CLIs.";
        }
    
        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";
    
        container plat-smart-license {
          config false;
          description "Smart License info";
          container detail {
            description "Node Detail";
            container collection {
              description
                "Last and Next collection times";
              leaf last {
                type string;
                description
                  "Last collection or reporting interval";
              }
    
              leaf next {
                type string;
                description
                  "Next collection or reporting interval";
              }
            }  // container collection
    
            container reporting {
              description
                "Last and Next reporting times";
              leaf last {
                type string;
                description
                  "Last collection or reporting interval";
              }
    
              leaf next {
                type string;
                description
                  "Next collection or reporting interval";
              }
            }  // container reporting
    
            container sia-status {
              description "SIA Status";
              container grace-period-remaining {
                description
                  "Remaining grace period";
                leaf days {
                  type int32;
                  units "day";
                  description
                    "Number of days remaining in grace period";
                }
    
                leaf hours {
                  type int32;
                  units "hour";
                  description
                    "Number of hours remaining in grace period";
                }
              }  // container grace-period-remaining
    
              leaf sia-state {
                type Sia-status-enum;
                description "SIA status enum";
              }
    
              leaf grace-period-expired {
                type Bool-state;
                description
                  "Has grace period expired";
              }
    
              leaf ooc-reason {
                type string;
                description "Reason for SIA ooc";
              }
            }  // container sia-status
    
            container upgrade-license-status {
              description
                "Upgrade License Status";
              container grace-period-remaining {
                description
                  "Remaining grace period";
                leaf days {
                  type int32;
                  units "day";
                  description
                    "Number of days remaining in grace period";
                }
    
                leaf hours {
                  type int32;
                  units "hour";
                  description
                    "Number of hours remaining in grace period";
                }
              }  // container grace-period-remaining
    
              leaf upgrade-license-state {
                type Sia-status-enum;
                description
                  "Upgrade License status enum";
              }
    
              leaf grace-period-expired {
                type Bool-state;
                description
                  "Has grace period expired";
              }
    
              leaf ooc-reason {
                type string;
                description
                  "Reason for Upgrade License ooc";
              }
            }  // container upgrade-license-status
    
            container parameters {
              description "Parameters";
              leaf collection-interval {
                type int32;
                units "minute";
                description
                  "Collection Interval in minutes";
              }
    
              leaf reporting-interval {
                type int32;
                units "minute";
                description
                  "Reporting Interval minutes";
              }
    
              leaf throughput-guage {
                type int32;
                units "kbit/s";
                description
                  "Throughput Guage in Kbps";
              }
            }  // container parameters
    
            container feature-details {
              description "Feature Details";
              container flags {
                description
                  "Flags for is running config and is throughput";
                leaf need-running-config {
                  type Bool-state;
                  description
                    "Is running config needed";
                }
    
                leaf need-throughput {
                  type Bool-state;
                  description
                    "Is throughput needed";
                }
              }  // container flags
    
              leaf name {
                type Feature-name-enum;
                description "Feature Name";
              }
    
              leaf status {
                type Feature-status-enum;
                description "Status";
              }
    
              list feature-table {
                description "Feature Table";
                leaf feature {
                  type Ft-feature-name-enum;
                  description "Feature Name";
                }
    
                leaf location {
                  type string;
                  description "Location";
                }
    
                leaf interface-list {
                  type string;
                  description "Interface List";
                }
              }  // list feature-table
    
              list entitlement {
                description
                  "List of entitlements";
                container count {
                  description "Count";
                  leaf last {
                    type uint32;
                    description "Last count";
                  }
    
                  leaf next {
                    type uint32;
                    description "Next count";
                  }
                }  // container count
    
                leaf name {
                  type string;
                  description "Entitlement Name";
                }
    
                leaf entitlement-tag {
                  type string;
                  description "Entitlement Tag";
                }
              }  // list entitlement
            }  // container feature-details
          }  // container detail
    
          container summary {
            description "Node Summary";
            container collection {
              description
                "Last and Next collection times";
              leaf last {
                type string;
                description
                  "Last collection or reporting interval";
              }
    
              leaf next {
                type string;
                description
                  "Next collection or reporting interval";
              }
            }  // container collection
    
            container reporting {
              description
                "Last and Next reporting times";
              leaf last {
                type string;
                description
                  "Last collection or reporting interval";
              }
    
              leaf next {
                type string;
                description
                  "Next collection or reporting interval";
              }
            }  // container reporting
    
            container sia-status {
              description "SIA Status";
              container grace-period-remaining {
                description
                  "Remaining grace period";
                leaf days {
                  type int32;
                  units "day";
                  description
                    "Number of days remaining in grace period";
                }
    
                leaf hours {
                  type int32;
                  units "hour";
                  description
                    "Number of hours remaining in grace period";
                }
              }  // container grace-period-remaining
    
              leaf sia-state {
                type Sia-status-enum;
                description "SIA status enum";
              }
    
              leaf grace-period-expired {
                type Bool-state;
                description
                  "Has grace period expired";
              }
    
              leaf ooc-reason {
                type string;
                description "Reason for SIA ooc";
              }
            }  // container sia-status
    
            container upgrade-license-status {
              description
                "Upgrade License Status";
              container grace-period-remaining {
                description
                  "Remaining grace period";
                leaf days {
                  type int32;
                  units "day";
                  description
                    "Number of days remaining in grace period";
                }
    
                leaf hours {
                  type int32;
                  units "hour";
                  description
                    "Number of hours remaining in grace period";
                }
              }  // container grace-period-remaining
    
              leaf upgrade-license-state {
                type Sia-status-enum;
                description
                  "Upgrade License status enum";
              }
    
              leaf grace-period-expired {
                type Bool-state;
                description
                  "Has grace period expired";
              }
    
              leaf ooc-reason {
                type string;
                description
                  "Reason for Upgrade License ooc";
              }
            }  // container upgrade-license-status
    
            list license {
              description
                "List of licenses consumed";
              container count {
                description "Count";
                leaf last {
                  type uint32;
                  description "Last count";
                }
    
                leaf next {
                  type uint32;
                  description "Next count";
                }
              }  // container count
    
              leaf feature-area {
                type Feature-name-enum;
                description "Feature Name";
              }
    
              leaf entitlement {
                type string;
                description "Entitlement";
              }
            }  // list license
          }  // container summary
        }  // container plat-smart-license
      }  // module Cisco-IOS-XR-smart-license-platform-oper
    

© 2023 YumaWorks, Inc. All rights reserved.