nvue

14Modules4Roles1Plugin1Dependency

Overview

Description

Modules to interact with NVIDIA devices managed by NVUE

Readme

NVIDIA NVUE Collection

CI

The NVIDIA NVUE Collection includes Ansible modules to help you interact with NVIDIA devices managed by NVUE. Currently, it includes the following modules:

ModuleDescription
nvidia.nvue.commandA wrapper around nv command line tool with added templating and automated dialog prompting.
nvidia.nvue.apiSend and retrieve NVUE configuration via REST API.
nvidia.nvue.aclACL rules via REST API.
nvidia.nvue.bridgeBridge configuration via REST API.
nvidia.nvue.configRevisions via REST API.
nvidia.nvue.evpnEVPN configuration via REST API.
nvidia.nvue.interfaceInterface configuration via REST API.
nvidia.nvue.mlagMLAG configuration via REST API.
nvidia.nvue.qosQoS configuration via REST API.
nvidia.nvue.routerRouter configuration via REST API.
nvidia.nvue.serviceService configuration via REST API.
nvidia.nvue.systemSystem configuration via REST API.
nvidia.nvue.vrfVRF configuration via REST API.
nvidia.nvue.vxlanVXLAN configuration via REST API.

Ansible version compatibility

Tested with the Ansible Core 2.12 and 2.13

Python version compatibility

Supports Python 3.8 and higher.

Installing this collection

Installing from Ansible Galaxy - Once certification is complete

You can install the NVIDIA NVUE collection with the Ansible Galaxy CLI:

ansible-galaxy collection install nvidia.nvue

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: nvidia.nvue

Installing from git

You can install the NVIDIA NVUE collection using the git URL:

ansible-galaxy collection install git+https://gitlab.com/nvidia-networking/systems-engineering/nvue.git

Using this collection

You can call modules by their Fully Qualified Collection Name (FQCN), such as nvidia.nvue.command or nvidia.nvue.api:

- name: Set prefix lists
  nvidia.nvue.command: 
    template: |
      {% for rule in rules %}
      set router policy prefix-list PL rule {{ rule.id }} match {{ rule.match }}
      set router policy prefix-list PL rule {{ rule.id }} action {{ rule.action }}
      {% endfor %}
    apply: true
    assume_yes: true
  vars:
    rules:
    - id: 10
      match: 1.1.1.1/32
      action: permit
    - id: 20
      match: 8.8.8.8/32
      action: deny

Examples

For additional usage examples please refer to the ./examples directory. You can find playbooks that shows some of the common ways of interacting with the collection modules and roles:

ModulePlaybook
nvidia.nvue.commandcommand.yml
nvidia.nvue.apiapi.yml
nvidia.nvue.bridgebridge.yaml
nvidia.nvue.interfaceinterface.yaml
nvidia.nvue.configrevision.yaml
RolePlaybook
nvidia.nvue.systemsystem-role.yml
nvidia.nvue.mlagmlag-role.yml
nvidia.nvue.bgpbgp-role.yaml

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

Certification

Product
2.4
DocumentationDependencies

This collection requires the following collections for use:

NameSummary
No dependencies
This collection is not being used by other collections.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2025 Red Hat