Fetch configuration/state data from RESTCONF enabled devices.
Version added: 1.0.0
- RESTCONF is a standard mechanisms to allow web applications to access the configuration data and state data developed and standardized by the IETF. It is documented in RFC 8040.
- This module allows the user to fetch configuration and state data from RESTCONF enabled devices.
Note
- This module requires the RESTCONF system service be enabled on the remote device being managed.
- This module is supported with ansible_connection value of ansible.netcommon.httpapi and ansible_network_os value of ansible.netcommon.restconf.
- This module is tested against Cisco IOSXE 16.12.02 version.
- name: get l3vpn services
ansible.netcommon.restconf_get:
path: /config/ietf-l3vpn-svc:l3vpn-svc/vpn-services
Common return values are documented here, the following are the fields unique to this module:
- Ganesh Nalawade (@ganeshrn)