Ansible HTTP API plugin for automation use-cases involving Nokia NSP. Includes NSP plugin for authentication handling and modules for interacting with NSP REST and RESTCONF APIs.
- Python: 3.11 or newer
- Ansible: 2.14 or newer
- NSP: 23.11 or newer
- Network: HTTPS/SSL connectivity to NSP API endpoints
- Python libraries: requests, urllib3, six
ansible-galaxy collection install nokia.nsp --force-with-deps- name: Query NSP inventory
hosts: nsp_server
gather_facts: no
connection: ansible.netcommon.httpapi
tasks:
- name: Find network elements
nokia.nsp.rpc:
operation: nsp-inventory:find
input:
xpath-filter: "/nsp-equipment:network/network-element"
fields: "ne-id;ne-name;ip-address"
register: inventoryFor complete documentation, visit the Documentation Site:
- Installation Guide - Setup and installation
- Quick Start Guide - Run your first playbook
- Module Reference - Complete module documentation
- Admin Guide - Configuration and maintenance
- Security Guide - Credential and certificate management
- Examples - Example playbooks and use cases
- ✅ Secure Authentication - Automatic Bearer token management with client credentials
- ✅ RESTCONF API - Support for NSP REST and RESTCONF API operations
- ✅ Error Handling - Comprehensive error handling and HTTP status management
- ✅ Ansible Native - Integration with Ansible HTTPAPI framework
- ✅ Well Documented - Full docstrings and comprehensive guides
BSD 3-Clause License (see LICENSE)
Version: 1.0.0 | License: BSD 3-Clause