Cisco-IOS-XR-smart-license-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR smart-license package configuration. This module contain...

  • Version: 2019-04-05

    Cisco-IOS-XR-smart-license-cfg@2019-04-05


    
      module Cisco-IOS-XR-smart-license-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-smart-license-cfg";
    
        prefix smart-license-cfg;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        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 smart-license package configuration.
         
         This module contains definitions
         for the following management objects:
           licensing: SmartLicense Root
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-07-21" {
          description "Initial version.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        typedef Transport-type-enum {
          type enumeration {
            enum "transport-type-callhome" {
              value 0;
              description
                "Use the Callhome as transport";
            }
            enum "transport-type-smart" {
              value 1;
              description
                "Use the smart as transport";
            }
          }
          description "Transport type enum";
        }
    
        container licensing {
          description "SmartLicense Root";
          container flex-consumption {
            description "FCM configuration";
            leaf fcm-enable {
              type boolean;
              description "Enable or disable";
            }
    
            leaf software-upgrade-enable {
              type boolean;
              description
                "Software-upgrade mode enabled";
            }
    
            leaf reservation {
              type boolean;
              description
                "License Smart Reservation Enabled";
            }
          }  // container flex-consumption
    
          container transport {
            description
              "Select the type of message transport for Smart
             Agent";
            container transport-smart {
              description
                "Smart transport config for Smart Agent";
              container proxy {
                description
                  "Proxy related commands";
                leaf port {
                  type inet:port-number;
                  description "The proxy port";
                }
    
                leaf host-name {
                  type xr:Cisco-ios-xr-string {
                    length "1..200";
                  }
                  description
                    "The IP address or hostname of the Proxy";
                }
              }  // container proxy
    
              container urls {
                description
                  "URL for smart transport";
                leaf url-registration {
                  type string {
                    length "1..200";
                  }
                  description
                    "Use the URL for Smart Transport registration";
                }
              }  // container urls
            }  // container transport-smart
    
            leaf transport-type {
              type Transport-type-enum;
              description
                "Select the type of message transport for Smart
               Licensing";
            }
          }  // container transport
        }  // container licensing
      }  // module Cisco-IOS-XR-smart-license-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.