community.network.nso_config – Manage Cisco NSO configuration and service synchronization.¶
Note
This plugin is part of the community.network collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.nso_config
.
Synopsis¶
This module provides support for managing configuration in Cisco NSO and can also ensure services are in sync.
Requirements¶
The below requirements are needed on the host that executes this module.
Cisco NSO version 3.4.12 or higher, 4.2.7 or higher, 4.3.8 or higher, 4.4.3 or higher, 4.5 or higher.
Parameters¶
Examples¶
- name: Create L3VPN
community.network.nso_config:
url: http://localhost:8080/jsonrpc
username: username
password: password
data:
l3vpn:vpn:
l3vpn:
- name: company
route-distinguisher: 999
endpoint:
- id: branch-office1
ce-device: ce6
ce-interface: GigabitEthernet0/12
ip-network: 10.10.1.0/24
bandwidth: 12000000
as-number: 65101
- id: branch-office2
ce-device: ce1
ce-interface: GigabitEthernet0/11
ip-network: 10.7.7.0/24
bandwidth: 6000000
as-number: 65102
- id: branch-office3
__state: absent
__state: in-sync
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Claes Nästén (@cnasten)