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.
14Modules4Roles1Plugin1Dependency
Modules to interact with NVIDIA devices managed by NVUE
The NVIDIA NVUE Collection includes Ansible modules to help you interact with NVIDIA devices managed by NVUE. Currently, it includes the following modules:
Module | Description |
---|---|
nvidia.nvue.command | A wrapper around nv command line tool with added templating and automated dialog prompting. |
nvidia.nvue.api | Send and retrieve NVUE configuration via REST API. |
nvidia.nvue.acl | ACL rules via REST API. |
nvidia.nvue.bridge | Bridge configuration via REST API. |
nvidia.nvue.config | Revisions via REST API. |
nvidia.nvue.evpn | EVPN configuration via REST API. |
nvidia.nvue.interface | Interface configuration via REST API. |
nvidia.nvue.mlag | MLAG configuration via REST API. |
nvidia.nvue.qos | QoS configuration via REST API. |
nvidia.nvue.router | Router configuration via REST API. |
nvidia.nvue.service | Service configuration via REST API. |
nvidia.nvue.system | System configuration via REST API. |
nvidia.nvue.vrf | VRF configuration via REST API. |
nvidia.nvue.vxlan | VXLAN configuration via REST API. |
Tested with the Ansible Core 2.12 and 2.13
Supports Python 3.8 and higher.
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
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
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
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:
Module | Playbook |
---|---|
nvidia.nvue.command | command.yml |
nvidia.nvue.api | api.yml |
nvidia.nvue.bridge | bridge.yaml |
nvidia.nvue.interface | interface.yaml |
nvidia.nvue.config | revision.yaml |
Role | Playbook |
---|---|
nvidia.nvue.system | system-role.yml |
nvidia.nvue.mlag | mlag-role.yml |
nvidia.nvue.bgp | bgp-role.yaml |
GNU General Public License v3.0 or later.
See LICENSE to see the full text.
Product |
---|
Red Hat Ansible Automation Platform 2.4 |
This collection requires the following collections for use:
Name | Summary |
---|