License Inventory Management Functions

Similar documents
License Inventory Management Functions

Folder Management Functions

PAK Management Functions

License Line Management Functions

Introducing Cisco License Manager

License Line Management Functions

Overview of Cisco License Manager

Access Control Functions

Policy Management Functions

License Management. Overview. Smart Licensing. Overview, page 1

Perl API Reference Guide for Cisco License Manager

Performing Administrative Tasks

Software Activation Configuration Guide, Cisco IOS XE Fuji 16.7.x

Cisco License Manager Software Developer s Kit Cookbook

Cisco License Manager 3.1

Simplifiying the Cisco Software Experience

CISCO SMART ACCOUNT LICENSE AND PRODUCT MANAGEMENT

Cisco ASR 9001-S 120G Upgrade License Configuration

Data Object Definitions

Cisco Content Security License Registration Portal User Guide

Cisco IOS Software Activation Command Reference

Performing Administrative Tasks

Cisco Software: Smart Licensing Management with Smart Accounts. Partners and Customers

Upgrading the System

Configuring the Cisco IOS Software Activation Feature

Configuring Controller Settings

User Guide for Cisco License Manager

Employee Portal. Introduction with Screenshots

Smart Software Licensing

Cisco Catalyst 3750-E and 3560-E Software Activation

Licensing the Firepower System

Licenses and Software Updates

Licensing the Firepower System

License Management for the ASA

Licensing the Firepower System

Release Notes for Cisco License Manager Release 3.1

Configure Smart Licensing and Smart Call Home Services

Getting Started Using Cisco License Manager

Cisco Software Activation Document for Dell

2/27/2015 1:50 PM. Chapter 4 - Configuring Controller Settings. Configuring Controller Settings. Table of Contents

Forescout. eyeextend for ServiceNow. Configuration Guide. Version 2.0

Guide for Partners. Sophos Central Firewall Manager. Document Date: June June 2016 Page 1 of 15

Unity Connection 9.x Licensing

Salesforce Integration User Guide. Cvent, Inc 1765 Greensboro Station Place McLean, VA

At the center of this process is a dedicated interface within the Ciena customer portal which allows you to manage and activate your licenses.

License Management. Introduction. Create a License Plan. Procedure

Advanced ASP.NET Identity. Brock Allen

Smart Licensing. Prerequisites for Smart Licensing. Information About Smart Licensing. Benefits of Smart Licensing

Smart Licensing Guide for Access and Edge Routers

Java API Reference Guide for Cisco License Manager

Distribute Call Studio applications to Unified CVP VXML Servers.

Veritas NetBackup Plug-in for VMware vsphere Web Client Guide. Release 8.1.1

Application User Setup

Identity Firewall. About the Identity Firewall

Hardware SKU AIR-MSE-3350-K9-Cisco 3350 Mobility Services Engine AIR-MSE-3310-K9-Cisco 3310 Mobility Services Engine

Administering vrealize Log Insight. 05-SEP-2017 vrealize Log Insight 4.3

SAML-Based SSO Configuration

SAS Viya 3.3 Administration: Backup and Restore

Cisco Threat Intelligence Director (TID)

Licenses: Smart Software Licensing (ASAv, ASA on Firepower)

Virtual Network Functions Life Cycle Management

Cisco Software: Smart Account Setup and Administration

Cisco Unified Communications Manager configuration for integration with IM and Presence Service

IAM. Shopping Cart. IAM Description PM OM CM IF. CE SC USM Common Web CMS Reporting. Review & Share. Omnichannel Frontend...

This chapter describes the tasks that you perform after installing Prime Cable Provisioning.

Active Directory as a Probe and a Provider

Setup. About Window. About

Volante NACHA ISO20022 Validator AMI User Guide

SAS Viya 3.2 Administration: SAS Infrastructure Data Server

Getting Started. Installation Notes. Checking the API Status. Checking from the API CHAPTER

Administering vrealize Log Insight. April 12, 2018 vrealize Log Insight 4.6

Integration Framework. Architecture

Administering vrealize Log Insight. September 20, 2018 vrealize Log Insight 4.7

Realms and Identity Policies

Memory Based Driver Help Kepware Technologies

Application User Configuration

Requirements (business, functional, technical) End User Customer. Subject Matter Experts Stakeholders

Cisco Software: Classic Licensing Management with Smart Accounts. Customers and Partners

Software Delivery Solution 6.1 SP1 HF2 for Windows Release Notes

Smarter Balanced Assessment Consortium:

Administering vrealize Log Insight. 12-OCT-2017 vrealize Log Insight 4.5

Using ANM With Virtual Data Centers

Inventory Manager Window

License Commands. license deactivate ap-count eval, page 8 license deactivate feature, page 9

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline Collector 2.0

1 Covene Cohesion Administrator Guide A Modular Platform for Video Conferencing Management October 9, 2017

End User Setup. About End User Setup

ForeScout Extended Module for ServiceNow

Script Step Reference Information

Cisco Expressway-E and Expressway-C - Basic Configuration

Care and Feeding of Smart Licensing

CheckPoint q. Exam Code: Exam Name: Check Point Security Administration Featuring GAiA R77

Smart Accounts and Smart Licensing Introductions and Demonstrations

Installation Guide. 3CX CRM Plugin for ConnectWise. Single Tenant Version

9.2(1)SU1 OL

TTL Propagate Disable and Site-ID Qualification

Apple OS Deployment Guide for the Enterprise

Simplifiying the Cisco Software Experience

Secure Access Manager User Guide December 2017

P a g e 1. Table of Contents

Transcription:

CHAPTER 6 This chapter provides information about the following license inventory management functions: annotate_licenses, page 6-1 deploy_licenses, page 6-2 get_device_ids_with_undeployed_licenses, page 6-3 get_pak_ids_with_undeployed_licenses, page 6-3 get_licenses_on_device, page 6-4 get_rehostable_skus_by_device, page 6-5 get_rehost_info, page 6-5 init_rehost_license, page 6-6 list_all_licenses_in_pak, page 6-7 obtain_license, page 6-8 obtain_license_for_rehost, page 6-8 re_obtain_license, page 6-9 read_licenses, page 6-10 rehost_license, page 6-10 resend_license, page 6-11 revoke_license_for_rehost, page 6-12 transfer_rma_device_licenses, page 6-12 write_licenses, page 6-13 annotate_licenses annotate_licenses ($token, [@lic_ids], [@annotation]) This function allows you to annotate a license with comments that you provide. This function does not return till the call completes. Such a call is called a blocking call. It returns a Cisco::CLM::Common::IDStatus object containing the status of the operation. 6-1

deploy_licenses Chapter 6 Token that represents your authorization pass, which is obtained after you invoke the login function and are authenticated by the back-end lic_ids annotation Array of string, Array of string, Up to 256 ASCII Text string of up to 99 characters ID of License objects. Text of the annotation for each license. Cisco License Manager does not check the length of the annotation parameter. Cisco IOS software truncates the text if it exceeds the character limit. The function returns a Cisco::CLM::Common::IDStatus on completion. deploy_licenses deploy_licenses ($token, [@lic_ids]) This function deploys the given licenses to their target devices. This function does not return till the call completes. Such a call is called a blocking call. It returns a Cisco::CLM::Common::IDStatus object containing the staus of the operation. function and are authenticated by the back-end lic_ids Array of string, Up to 256 ASCII Array of license ID. 6-2

Chapter 6 get_device_ids_with_undeployed_licenses The function returns a Cisco::CLM::Common::IDStatus on completion. get_device_ids_with_undeployed_licenses get_device_ids_with_undeployed_licenses ($token, $group) This function returns the IDs of devices that have undeployed licenses. group String, Up to 64 ASCII Name of the device group (or null, if looking for ungrouped devices). This function returns the Cisco::CLM::Common::IDStatus object for instances of IDStatusItem array that contain device IDs. When an error occurs, the Status object returns the none SUCCESS error code and an error message. get_pak_ids_with_undeployed_licenses get_pak_ids_with_undeployed_licenses($token,$group) This function returns the IDs of PAKs that have undeployed licenses. 6-3

get_licenses_on_device Chapter 6 group String, Up to 64 ASCII Name of the PAK group (or null, if looking for ungrouped devices) This function returns the Cisco::CLM::Common::IDStatus object for instances of IDStatusItem array that contain PAK IDs. When an error occurs, the Status object returns the none SUCCESS error code and an error message. get_licenses_on_device get_licenses_on_device ($token, $dev_id) This function retrieves license information that resides on a given device. Token that represents your authorization pass, which is obtained after you invoke the login function and are authenticated by the back-end dev_ids String, Up to 256 ASCII Device ID string. This function returns a Cisco::CLM::Common::LicenseStatus object. 6-4

Chapter 6 get_rehostable_skus_by_device When an error occurs for an element in the input array, the returned status object contains an error code and error message. get_rehostable_skus_by_device get_rehostable_skus_by_device ($token, $dev_id) This function retrieves an array of SKUs that can be used for license rehost for a specified input device. This function will in turn trigger a request to the Software Infrastructure and Fulfillment Technology (SWIFT) group to query all SKUs whose licenses have been deployed on the device. dev_id String, Up to 64 ASCII ID of the device. This function returns a Cisco::CLM::Common::RehostableSKUStatus object. If no licenses have been obtained for the device, the RehostableSKU field in the returned RehostableSKUStatus is set to null. When error occurs, the information is contained in the returned status object. get_rehost_info get_rehost_info ($token, [@dev_ids]) This function returns the RehostInfo of each given device. Each RehostInfo contains a rehost request and a permission ticket or a rehost ticket. 6-5

init_rehost_license Chapter 6 dev_id String Array, Up to 256 ASCII Array of device IDs. This function returns a Cisco::CLM::Common::RehostInfoStatus object. If an operation error occurs, the RehostInfoStatus object contains the none SUCCESS error code and error message. Otherwise, you must traverse the RehostInfoStatusItem array to retrieve all of the RehostInfo objects. init_rehost_license init_rehost_license ($token, $rehost_req) The limitation of rehosting from the Cisco Product License Registration Portal is that there can be only one PermissionTicket acquired per device until a new license is obtained. This means that there is only one PermissionTicket and one RehostTicket per device at any time. This function is the first step of the rehost process. The process consists of several steps, including getting a permission ticket from the Cisco Product License Registration Portal, retrieving the rehost ticket from the device, sending the rehost ticket to the Cisco Product License Registration Portal to obtain the license, and deploying the license to the destination device. The obtained PermissionTicket is stored in local storage and is later used to revoke the license from the source device. 6-6

Chapter 6 list_all_licenses_in_pak rehost_req RehostRequest, An object that represents the request. This function returns the Cisco::CLM::Common::Status object. Status contains an error code and an error message if the operation is not successful. list_all_licenses_in_pak list_all_licenses_in_pak ($token, $pak_id) This function returns an array of license IDs that belong to a given PAK. Token that represents your authorization pass, which is obtained after you invoke the login function and are authenticated by the back-end pak_id String, Up to 64 ASCII PAK ID that contains the licenses. This function returns a string array of License ID contained by the PAK. If the pak_id is invalid, this function returns null. When an error occurs, this function returns null. 6-7

obtain_license Chapter 6 obtain_license obtain_license ($token, [@lic_req], $deploy) This function downloads the information that is associated with a given product authorization key (PAK) IDs from the Cisco Product License Registration Portal and stores the information in the inventory. The first function only obtains the licenses; the second function obtains the licenses and deploys them. This function does not return till the call completes. Such a call is called a blocking call. It returns a Cisco::CLM::Common::IDStatus object containing the staus of the operation. Token that represents your authorization pass, which is obtained after you invoke the login function and are authenticated by the back-end lic_reqs Array of LicenseRequest, Array of LicenseRequest. deploy Boolean, True, False True to ask the server to deploy all licenses obtained. The function returns a Cisco::CLM::Common::IDStatus on completion. obtain_license_for_rehost obtain_license_for_rehost ($token, $rehost_req) The limitation of rehosting from the Cisco Product License Registration Portal is that there can be only one PermissionTicket acquired per device until a new license is obtained. This means that there is only one PermissionTicket and one RehostTicket per device at any time. This function is the third step of the rehost process. The process consists of several steps, including getting a permission ticket from the Cisco Product License Registration Portal, retrieving the rehost ticket from the device, sending the rehost ticket to the Cisco Product License Registration Portal to obtain the license, and deploying the license to the destination device. 6-8

Chapter 6 re_obtain_license function and are authenticated by the back-end rehost_req RehostRequest, An object that represents the request. This function returns a Cisco::CLM::Common::LicenseStatus object. The Status object contains an error code and error message if an operation error occurs. Otherwise, you must traverse the LicenseStatusItem array to retrieve all of the license objects. re_obtain_license re_obtain_license ($token, $dev_id) This function requests that the Cisco Product License Registration Portal resend a license. After licenses are received, it updates and synchronizes Cisco License Manager data storage. It does not deploy licenses to a device. Token that represents your authorization pass, which is obtained after you invoke the login function and are authenticated by the back-end dev_id String Up to 64 ASCII ID of device to which to resend the license. This function returns a Cisco::CLM::Common::IDStatus object. 6-9

read_licenses Chapter 6 When an error occurs, the information is contained in the returned Status object. read_licenses read_licenses ($token, [@lic_ids]) This function retrieves an array of license objects from the inventory using the given device IDs. Token that represents your authorization pass, which is obtained after you invoke the login function and are authenticated by the back-end lic_ids Array of string, Up to 256 ASCII Array of License ID. This function returns a Cisco::CLM::Common::LicenseStatus object. When an error occurs on an element in the input array, a LicenseStatus object is returned with information about the error. rehost_license rehost_license ($token, $rehost_req) This function sends requests to rehost licenses from one device to another. This process contains several steps, including retrieving a permission ticket from the Cisco Product License Registration Portal, retrieving a rehost ticket from the source device, and sending the rehost ticket to the Cisco Product License Registration Portal to obtain new licenses for the destination device and deploy the new licenses to the destination device. These steps are encapsulated by this function as a single operation. The obtained license is stored in local storage and can be used later for deployment to the destination devices. 6-10

Chapter 6 resend_license token UserToken, rehost_req RehostRequest, Object that represents the request. This function returns a Cisco::CLM::Common::Status object, which contains the error code and message. If the operation is successful, the ClmErrors.SUCCESS error code is returned. If it is unsuccessful, the none ClmErrors.SUCCESS error code and the error message are returned. When an error occurs, this function returns a Status object that contains the error code and error message. resend_license resend_license ($token, $dev_id) This function resends licenses to a device to restore corrupted license files. The function requests all licenses that have been obtained from the Cisco Product License Registration Portal, saves them into the License Manager database, and then reploys them to the device. dev_id String, Up to 64 ASCII ID of device to which to resend the license. This function returns a Cisco::CLM::Common::Status object, which contains the error code and error message. If the operation is successful, the ClmErrors.SUCCESS error code is returned. 6-11

revoke_license_for_rehost Chapter 6 When an error occurs, this function returns false. revoke_license_for_rehost revoke_license_for_rehost ($token, $rehost_req) This function is used when rehost fails in the middle of a task. The limitation of rehosting from the Cisco Product License Registration Portal is that there can be only one PermissionTicket acquired per device until a new license has been obtained. This means that there is only one PermissionTicket and one RehostTicket per device at any time. This function is the second step of the rehost process. The process consists of several steps, including retriving a permission ticket from the Cisco Product License Registration Portal, retrieving the rehost ticket from the device, sending the rehost ticket to the Cisco Product License Registration Portal to obtain the license, and deploying the license to the destination device. The obtained PermissionTicket is stored in local storage and is later used to revoke the license from the source device. It is removed if the revoke operation is successful, and the RehostTicket is stored in local storage for thenext step of the rehost process. rehost_req RehostRequest, Object that represents the request. This function returns a Cisco::CLM::Common::Status object. Status contains an error code and error message if the operation is not successful. transfer_rma_device_licenses transfer_rma_device_licenses($token,$source_dev_udi,$dest_dev_udi,$deploy) 6-12

Chapter 6 write_licenses This function transfers the licenses from a return material authorization (RMA) device to a new device. If the Boolean deploy value is set to true, the Cisco License Manager server deploys the licenses to the new device. token UserToken, Token that represents the user s authorization pass, which is obtained after the user invokes the login function and gets authenticated by the back-end Source_dev_udi String UDI of the RMA device. Dest_dev_udi String UDI of the target device. deploy Boolean True if licenses are to be deployed to the target device. This function returns the Status object. write_licenses write_licenses ($token, [@lics]) This function writes the given license objects into the inventory. The input license objects can be existing instances of license retrieved from the inventory by the function read_licenses. Token that represents your authorization pass, which is obtained after you invoke the login function and are authenticated by the back-end lics Array of License, Up to 256 ASCII Array of License objects. 6-13

write_licenses Chapter 6 This function returns a Cisco::CLM::Common::IDStatus object. When an error occurs on an element in the input array, a status object is returned with information about the error. 6-14