nuagenetworks / vspk-ansible

An ansible module to manage Nuage VSP environments
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link
ansible ansible-modules nuage

VSPK-Ansible

Archive notice

This repository has been archived in favor of using the upstream Ansible repository where this nuage_vspk module is available as a standard module available in every Ansible release.

Overview

The nuage_vspk module for Ansible allows you to manage or find Nuage VSP entities, including:

More details on the Wiki

Trying the module

  1. Clone this repository onto a machine with Ansible and VSPK-Python installed, which has access to your VSD.
  2. Adapt the nuage-vspk-tests.yml file to reflect your environment and the roles you want to execute
  3. From within the repository folder, execute ansible-playbook nuage-vspk-tests.yml

Special considerations

Useful links

Examples

The roles folder holds two roles that serve as examples. The basic role will show each functionality available for the module, creating, updating, assigning, unassigning and deleting entities.

The advanced role will create a Enterprise with an admin user, a domain template which holds 3 zones, 3 subnets, an ingress, egress and forward policy setup and 2 domains instantiated from the domain template. After this, it will pause so you can verify ths in your Nuage VSD Architect. When pressing enter, the role will clean up after itself. Aborting instead and running again will demonstrate idempotency.

State

This module is in active development and in beta stage. As such, this module is not officially supported from a Nuage Networks product perspective.

Tested with

Requirements