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

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
Copy

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>
Copy
$ export NXOS_PASSWORD=<PASSWORD>
$ export NXOS_URL=<URL>
$ export NXOS_USERNAME=<USERNAME>
Copy
> $env:nxos_PASSWORD = "<PASSWORD>"
> $env:nxos_URL = "<URL>"
> $env:nxos_USERNAME = "<USERNAME>"
Copy

Configuration Options

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

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