These scripts use RESTCONF to demonstrate various configurations you can run as examples in the DevNet Sandbox.
Contributions are welcome, and we are glad to review changes through pull requests. See contributing.md for details.
The goal of DevNet sample code and learning labs is to ensure a 'hands-on' learning approach rather than just theory or instructions.
These samples can be run against Cisco hardware available in the DevNet Sandbox. The VLAN example code provisions (or deletes) a VLAN interface on an existing (physical) interface that is connected to an upstream switch via a 802.1Q trunk.
These learning modules are for public consumption, so you must ensure that you have the rights to any content that you contribute.
Write your content in Markdown. DevNet staff reviews content according to the Cisco Style Guide. (Link available on Cisco VPN only.)
To create and publish a new lab, take the following steps:
labs/folder JSON file.
masterby a DevNet reviewer.
A DevNet reviewer then creates a release on the repository with the latest
master and publishes through the admin interface.
You can write Markdown in a plain text editor, but there are many desktop and Web-based options that allow you to write and preview your work at the same time. We recommend Visual Studio Code Download for several reasons:
You can validate a JSON file by using the online formatter and validator.