This repo is the companion for a DevNet Workshop delivered at Cisco Live in June of 2023. The workshop leverages Cisco's yangsuite to walk through the basics of NETCONF and YANG. A high level lab guide can be found here.
===================================
===================================
===================================
===================================
- Change RPC Options to "Explicit - only report default values if explicitly set"
- Click Build RPC
- Click Run RPC
===================================
- Change RPC Options to "Explicit - only report default values if explicitly set"
- Click Build RPC
- Click Run RPC
- Change RPC Options to "Explicit - only report default values if explicitly set"
- Right click the Interface Container and select "Add another list entry"
- Enter Loopback Interface 1 and Loopback Interface 2
- Click Build RPC
- Click Run RPC
===================================
- Change RPC Options to "Explicit - only report default values if explicitly set"
- Click Build RPC
- Click Run RPC
===================================
- Change RPC Options to "Explicit - only report default values if explicitly set"
- Click Build RPC
- Click Run RPC
===================================
- Change RPC Options to "Explicit - only report default values if explicitly set"
- Click Build RPC
- Click Build RPC
===================================
- Change RPC Options to "Explicit - only report default values if explicitly set"
- Click Build RPC
- From the Replay drop down select "Generate Python Script"
- Change RPC Options to "Explicit - only report default values if explicitly set"
- Click Build RPC
- From the Replay drop down select "Generate Ansible Playbook"
- When prompted name the playbook task_8.yaml
Optional - from the terminal run and review the python code
cat script.py
Run the python script:
python script-3.py -a sandbox-iosxe-latest-1.cisco.com -u admin -p C1sco12345
The output should be XML showing the status of interface Loopback1467xx