Cisco-IOS-XR-infra-smartlicense-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR infra-smartlicense package operational data. Copyrigh...

  • Version: 2019-04-05

    Cisco-IOS-XR-infra-smartlicense-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-infra-smartlicense-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-infra-smartlicense-oper {
            prefix
              Cisco-IOS-XR-infra-smartlicense-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 infra-smartlicense package 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 Export-status-time-enum {
          type enumeration {
            enum "time-not-started" {
              value 0;
              description "time not started";
            }
            enum "time-in-progress" {
              value 1;
              description "time in progress";
            }
            enum "time-success" {
              value 2;
              description "time success";
            }
            enum "time-failed" {
              value 3;
              description "time failed";
            }
          }
          description "exportStatusTimeEnum";
        }
    
        typedef License-term-type-enum {
          type enumeration {
            enum "none" {
              value 0;
              description
                "There is no term information. Probably an error
               condition.";
            }
            enum "perpetual" {
              value 1;
              description
                "License term type is perpetual.";
            }
            enum "term" {
              value 2;
              description
                "term license that includes a start and end date";
            }
            enum "subscription" {
              value 3;
              description
                "License term type is subscription.";
            }
            enum "max" {
              value 4;
              description "max value";
            }
          }
          description "The license term type.";
        }
    
        typedef License-enforcement-type-enum {
          type enumeration {
            enum "invalid" {
              value 0;
              description "Invalid";
            }
            enum "not-enforced" {
              value 1;
              description
                "License type is not enforced.";
            }
            enum "enforced" {
              value 2;
              description
                "License type is enforced.";
            }
            enum "export" {
              value 3;
              description
                "License type is export restricted.";
            }
            enum "license-enforcement-max" {
              value 4;
              description "Max Value";
            }
          }
          description
            "The license (entitlement tag) type.";
        }
    
        typedef Install-status-enum {
          type enumeration {
            enum "in-progress" {
              value 0;
              description "in progress";
            }
            enum "not-installed" {
              value 1;
              description "not installed";
            }
            enum "type-universal" {
              value 2;
              description "type universal";
            }
            enum "type-specific" {
              value 3;
              description "type specific";
            }
          }
          description "install state";
        }
    
        typedef Export-entitlement-status-enum {
          type enumeration {
            enum "not-restricted" {
              value 1;
              description "not restricted";
            }
            enum "authorized" {
              value 2;
              description "authorized";
            }
            enum "not-authorized" {
              value 3;
              description "not authorized";
            }
          }
          description
            "exportEntitlementStatusEnum";
        }
    
        typedef Reservation-usage-status-enum {
          type enumeration {
            enum "not-installed" {
              value 0;
              description "not installed";
            }
            enum "plr-installed" {
              value 1;
              description "plr installed";
            }
            enum "slr-installed" {
              value 2;
              description "slr installed";
            }
            enum "in-progress" {
              value 3;
              description "in progress";
            }
          }
          description
            "reservationUsageStatusEnum";
        }
    
        typedef Enforcement-mode-enum {
          type enumeration {
            enum "waiting" {
              value 0;
              description
                "The initial state after an entitlement request
               while we are waiting for the Authorization
               request response. In this mode the device will
               already have established communications with
               Cisco and successfully registered with the
               Cisco Licensing cloud.";
            }
            enum "in-compliance" {
              value 1;
              description
                "Cisco Smart Software Manager (CSSM) has
               responded that the entitlement requested is in
               compliance.";
            }
            enum "out-of-compliance" {
              value 2;
              description
                "Cisco Smart Software Manager (CSSM) has
               responded that the entitlement requested is out
               of compliance. either too many licenses
               /entitlements are in use or the license has not
               been purchased ";
            }
            enum "overage" {
              value 3;
              description
                "more licenses are in use than were  purchased
               but the customer is still within the terms of
               their contract";
            }
            enum "evaluation" {
              value 4;
              description
                "The agent is using the evaluation period for
               this entitlement. In this mode the device has
               not established communications with Cisco and
               had not registered";
            }
            enum "evaluation-expired" {
              value 5;
              description
                " Eval period has expired";
            }
            enum "authorization-expired" {
              value 6;
              description
                "Authorization period has expired.  This will
               occur if the product has not been able to
               communicate  with Cisco or a satellite for an
               extended period of time, usually 90 days.";
            }
            enum "reservation-in-compliance" {
              value 7;
              description
                "The entitlement requested is in compliance
               because a reservation authorization code is
               installed and the product is in Permanent
               License Reservation mode.";
            }
            enum "invalid-tag" {
              value 8;
              description
                "The entitlement tag is invalid. The CSSM does
               not recognize the entitlement tag because it is
               not in the database. This usually only occurs
               during testing.";
            }
            enum "disabled" {
              value 9;
              description
                "Smart licensing has been disabled. The feature
               using this license should be disabled.";
            }
            enum "in-use" {
              value 10;
              description
                "This entitlement is in use";
            }
            enum "not-in-use" {
              value 11;
              description
                "This entitlement is not in use";
            }
            enum "not-authorized" {
              value 12;
              description
                "This entitlement is in use but is not
               authorized. The feature consuming this
               entitlement should be disabled";
            }
            enum "mode-invalid" {
              value 13;
              description
                "Error condition state";
            }
            enum "mode-init" {
              value 14;
              description
                "The initial state after the handle is created
               with SmartAgentCreateHandle This will be the
               mode if the entitlement is not in use.";
            }
            enum "grace-period" {
              value 15;
              description
                "The grace period has being deprecated.";
            }
            enum "grace-period-expired" {
              value 16;
              description
                "The grace period has been deprecated.";
            }
            enum "not-applicable" {
              value 17;
              description
                "This enforcement mode will only be set in case
               smart agent is operational in enhanced mode.";
            }
            enum "enforcement-max" {
              value 18;
              description
                "always the last state";
            }
          }
          description
            "For an entitlement tag (license) that is in use
           this enumeration tells us how the license is
           being enforced.";
        }
    
        typedef Transport-type-enum {
          type enumeration {
            enum "invalid" {
              value 0;
              description
                "Not used in most case";
            }
            enum "not-used" {
              value 1;
              description "Not used";
            }
            enum "callhome" {
              value 2;
              description
                "Smart Licensing is using callhome for
               communications.";
            }
            enum "smart" {
              value 3;
              description
                "Smart licensing is using the smart transport
               for communications.";
            }
            enum "clsu" {
              value 4;
              description
                "Smart licensing will communicate with the CSLU)
               for licensing operations";
            }
            enum "transport-off" {
              value 5;
              description "Transport off";
            }
          }
          description
            "The type of transport in use by smart licensing.";
        }
    
        typedef Utility-reporting-type-enum {
          type enumeration {
            enum "none" {
              value 0;
              description
                "The system is not reporting utility usage data.";
            }
            enum "subscription" {
              value 1;
              description
                "The system is reporting utility usage data
               because it has received subscription
               information from either the SSM or satellite";
            }
            enum "certificate" {
              value 2;
              description
                "The system is reporting utility usage data
               because it has received a utility certificate
               from a Third Party Billing Platform.";
            }
          }
          description
            "Is the system reporting utility data";
        }
    
        typedef Authorization-state-enum {
          type enumeration {
            enum "none" {
              value 0;
              description
                "No licenses are in use so there is no
               authorization state to report.";
            }
            enum "eval" {
              value 1;
              description
                "Evaluation period is in use and is counting
               down.";
            }
            enum "eval-expired" {
              value 2;
              description
                "Evaluation period in use but it has expired.";
            }
            enum "authorized" {
              value 3;
              description
                "All license usage is authorized and within
               terms of the customer's contract.";
            }
            enum "authorized-reservation" {
              value 4;
              description
                "All license usage is authorized because a
               reservation authorization code is installed.";
            }
            enum "out-of-compliance" {
              value 5;
              description
                "License usage is out of compliance with the
               terms of the contract. Either too many licenses
               are in use or licenses that were not purchased
               are in use.";
            }
            enum "authorization-expired" {
              value 6;
              description
                "The authorization period has expired because
               this product instance has not communicated with
               the SSM or satellite in over 90 days.";
            }
            enum "authorization-not-authorized" {
              value 7;
              description
                "AuthorizationNotAuthorized";
            }
          }
          description
            "The smart licensing authorization state.";
        }
    
        typedef Export-status-type-enum {
          type enumeration {
            enum "allowed" {
              value 0;
              description "ExportStatusAllowed";
            }
            enum "not-allowed" {
              value 1;
              description
                "ExportStatusNotAllowed";
            }
            enum "conditional" {
              value 2;
              description
                "ExportStatusConditional";
            }
          }
          description
            "Export control status information";
        }
    
        typedef Registration-state-enum {
          type enumeration {
            enum "not-registered" {
              value 0;
              description
                "This smart licensing instance is not registered
               .";
            }
            enum "complete" {
              value 1;
              description
                "Registration was successful";
            }
            enum "in-progress" {
              value 2;
              description
                "Registration is in progress.";
            }
            enum "retry" {
              value 3;
              description
                "The initial registration attempt failed but a
               retry is in progress.";
            }
            enum "failed" {
              value 4;
              description "Registration failed.";
            }
            enum "not-supported" {
              value 5;
              description
                "Registration is not supported in the current
               operating mode.";
            }
          }
          description
            "The smart licensing registration state.";
        }
    
        typedef Bool-state {
          type enumeration {
            enum "no" {
              value 0;
              description "No";
            }
            enum "yes" {
              value 1;
              description "Yes";
            }
          }
          description "Boolean State ";
        }
      }  // submodule Cisco-IOS-XR-infra-smartlicense-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.