CliQr is now part of Cisco Learn More About Cisco

Setup CloudCenter CLI

Icon

Cisco certifies CloudCenter CLI access for CloudCenter 4.4.3 and earlier releases.

Prerequisites

The Setup CloudCenter CLI process assumes that you have already installed the required utilities:

See CloudCenter CLI Overview > CLI Prerequisites for additional details.

Icon

The CloudCenter software automatically installs the jq utility when you download the CloudCenter CLI package and setup the CLI environment.

Download Package

Contact CloudCenter Support to obtain the CloudCenter CLI download package.

Select one of the following package options (not both):

Download Package NameDescriptionBenefits
CliQr rerun archive (rerun.sh)

This package contains the rerun framework and the CliQr rerun module.

Follow the CliQr Archive Setup Process provided below.

The archive (rerun.sh) package is a complete solution but does not provide the flexibility that the module package provides.
CliQr rerun module (CliQr CLI bundle)

This package only contains the CliQr rerun module.

Use this option if you already have the rerun framework running on your system.

Follow the CliQr Module Setup Process provided below

The module (CliQr CLI bundle) package provides bash auto completion and is more useful if you use these CLI command on a regular basis.

Setup Process

Select the applicable package process (either the archive package OR the module package, not both).

Archive Setup Process

This procedure walks you through installing and setting up CloudCenter CLIs using the archive process.

  1. Download the CliQr archive package (rerun.sh) to your home directory and issue the required CLI command.
  2. Issue the following command to use the CliQr CLI:
    ./rerun.sh cliqr: CLIcommand
  3. Issue the cli-add-environment command before issuing any other command to ensure that you are in the right environment.
  4. See Command Description for a list of available commands.

Module Setup Process

This procedure walks you through installing and setting up CloudCenter CLIs using the module process.

  1. Download the rerun package to your OS.
    1. mkdir ~/projects && cd ~/projects 
    2. git clone git://github.com/rerun/rerun.git
    3. sudo cp rerun/rerun /usr/bin
  2. Append the following path to either the ~/.bash_profile file or the ~/.profile file:
    1. export RERUN_MODULES=$HOME/projects/rerun/modules
    2. source $HOME/projects/rerun/etc/bash_completion.sh
  3. Source in the bash profile file.
    source ~/.profile
  4. Download the CliQr rerun module (rerun_cliqr_module.zip).
  5. Change to the module directory:
    cd$HOME/projects/rerun/modules
  6. Move the CliQr rerun module to the module directory:
    mv <path>/rerun_cliqr_module.zip .
  7. Unzip the CliQr rerun module:
    unzip rerun_cliqr_module.zip
  8. Issue the cli-add-environment command BEFORE ISSUING ANY OTHER CLI command to ensure that you are in the right environment.

    CCM Host Selection and User Authentication

    Icon
    The cli-add-environment command is used to configure the CCM host and user credentials that subsequent CLI commands will use to communicate with CloudCenter.
  9. See Command Description for a list of available commands.


 


 

 

  • No labels