1. Packages
  2. Cisco NX OS Resource Provider
  3. Installation & Configuration
Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs

Cisco NX OS Resource Provider: Installation & Configuration

nxos logo
Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs

    Installation

    The Pulumi NX OS provider is available as a package in all Pulumi languages:

    Provider Binary

    The Grafana provider binary is a third party binary. It can be installed using the pulumi plugin command.

    pulumi plugin install resource nxos <version> --server github://api.github.com/lbrlabs
    

    Replace the version string with your desired version.

    Setup

    To provision resources with the Pulumi Cisco nxos XE provider, you need to have credentials.

    Set environment variables

    Once you have provisioned these credentials, you can set environment variables to provision resources in Grafana:

    $ export NXOS_PASSWORD=<PASSWORD>
    $ export NXOS_URL=<URL>
    $ export NXOS_USERNAME=<USERNAME>
    
    $ export NXOS_PASSWORD=<PASSWORD>
    $ export NXOS_URL=<URL>
    $ export NXOS_USERNAME=<USERNAME>
    
    > $env:nxos_PASSWORD = "<PASSWORD>"
    > $env:nxos_URL = "<URL>"
    > $env:nxos_USERNAME = "<USERNAME>"
    

    Configuration Options

    Use pulumi config set nxos:<option> or pass options to the constructor of new nxos.Provider.

    nxos logo
    Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs