All Projects → CiscoDevNet → ansible-nae

CiscoDevNet / ansible-nae

Licence: GPL-3.0 license
Cisco NAE Ansible Collection

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ansible-nae

ansible-cvp
Ansible modules for Arista CloudVision
Stars: ✭ 44 (+266.67%)
Mutual labels:  ansible-collection
dellemc.enterprise sonic
Ansible Network Collection for Enterprise SONiC Distribution by Dell Technologies
Stars: ✭ 26 (+116.67%)
Mutual labels:  ansible-collection
community.digitalocean
This Ansible collection contains modules for assisting in the automation of the DigitalOcean cloud.
Stars: ✭ 115 (+858.33%)
Mutual labels:  ansible-collection
Ansible Collection Hardening
This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
Stars: ✭ 2,543 (+21091.67%)
Mutual labels:  ansible-collection
overview
Collections overview, how to request a namespace
Stars: ✭ 226 (+1783.33%)
Mutual labels:  ansible-collection
community.hashi vault
Ansible collection for managing and working with HashiCorp Vault.
Stars: ✭ 44 (+266.67%)
Mutual labels:  ansible-collection
community.postgresql
Manage PostgreSQL with Ansible
Stars: ✭ 38 (+216.67%)
Mutual labels:  ansible-collection
cloudera.cluster
Ansible for automating Cloudera Clusters on baremetal or similar. Main development is a Collection.
Stars: ✭ 27 (+125%)
Mutual labels:  ansible-collection
community.mongodb
MongoDB Ansible Collection
Stars: ✭ 75 (+525%)
Mutual labels:  ansible-collection
ansible-openwrt
Ansible collection to configure your OpenWrt devices more quickly and automatically (without Python)
Stars: ✭ 34 (+183.33%)
Mutual labels:  ansible-collection
ansible-meraki
Cisco Meraki Ansible Collection
Stars: ✭ 54 (+350%)
Mutual labels:  ansible-collection
azure
Development area for Azure Collections
Stars: ✭ 176 (+1366.67%)
Mutual labels:  ansible-collection
collection template
A GitHub Template repo to use as the basis for future repos
Stars: ✭ 64 (+433.33%)
Mutual labels:  ansible-collection
vmware.vmware rest
Ansible Collection for VMWare (REST modules)
Stars: ✭ 60 (+400%)
Mutual labels:  ansible-collection
community.zabbix
Zabbix Ansible modules
Stars: ✭ 224 (+1766.67%)
Mutual labels:  ansible-collection
ansible.posix
Ansible Collection for Posix
Stars: ✭ 74 (+516.67%)
Mutual labels:  ansible-collection
community.windows
Windows community collection for Ansible
Stars: ✭ 148 (+1133.33%)
Mutual labels:  ansible-collection
community.network
Ansible Community Network Collection
Stars: ✭ 85 (+608.33%)
Mutual labels:  ansible-collection
sensu-go-ansible
Official Ansible module for Sensu Go
Stars: ✭ 30 (+150%)
Mutual labels:  ansible-collection
hetzner.hcloud
A collection containing modules to manage resources on the Hetzner Cloud.
Stars: ✭ 58 (+383.33%)
Mutual labels:  ansible-collection

ansible-nae

The ansible-nae project provides an Ansible collection for managing and automating your Cisco NAE environment. It consists of a set of modules and roles for performing tasks related to NAE.

Note: This collection is not compatible with versions of Ansible before v2.8.

Requirements

Ansible v2.8 or newer requests requests_toolbelt jsonpath_ng

Install

Ansible and other requirements must be installed

sudo pip install ansible requests requests-toolbelt jsonpath_ng pathlib filelock

Install the collection

ansible-galaxy collection install cisco.nae

Use

Once the collection is installed, you can use it in a playbook by specifying the full namespace path to the module, plugin and/or role.

- name: NAE Testing
  hosts: all
  vars:
    nae_login: &nae_login
        host: 1.1.1.1
        port: 443  
        username: Admin
        password: password  
    validate_certs: False
  tasks:
  - name: Create a pre-change analysis from file
    nae_prechange:
      <<: *nae_login
      ag_name: FAB2
      file: config.json
      name: New
      state: present
  - name Create Online Assurance Group (with APIC Configuration Export Polciy)
    nae_ag:
      <<: *nae_login
      state: present
      name: AG1
      online: True
      apic_hostnames: 1.2.3.4
      apic_username: admin
      apic_password: password
...

RoadMap

Pre-change analysis

  • Configure PCA
  • Start/Stop/Query PCA

Epoch Delta

  • Configure Delta Analysis
  • Query Delta Analysis Result

Compliance Analysis

  • Create/Update/Read/Delete
    • Object Selectors
    • Traffic Selector
    • Compliance Requirement
    • Compliance Requirement Sets
  • Create Associate/Disassociate a requirement set with an AG
  • Report Creation

Assurance Group Management

  • Create/Update/Read/Delete Online Assurance Group
    • Configure F5 Load Balancer
  • Create/Update/Read/Delete Offline Assurance Group

Offline File Management

  • Upload/Delete/Get a File

Online/Offline Analysis

  • Create/Start/Stop/Delete Online Analysis
  • Create/Start/Stop/Delete Offline Analysis

Smart Events

  • Get smart events by Type/Severity
  • Export Smart Events in CSV format
  • Smart Event Suppression
    • Create/Update/Delete/Read Even suppression rules
    • Create/Update/Delete/Read Even suppression rules sets
    • Activate a rules set with an AG
    • Associate/Disassociate a requirement set with an AG

TCAM Analysis

  • Export TCAM stats as CSV

Appliance Management

  • Create/Update/Delete/Read Users

Testing latest code

If you wanna test the latest code you can:

  • Clone this repo
  • ansible-galaxy collection build --force
  • ansible-galaxy collection install cisco-nae-* --force
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].