NEW350+ rooms now have a live terminal, so you can learn by typing the commands, right in your browser.Learn in a live terminal. 350+ rooms.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Master modern network automation using RESTCONF and NETCONF to interact with structured data models, bypass CLI limitations, and enforce secure infrastructure as code.
This module transitions learners from legacy CLI screen-scraping to modern, programmatic network automation using RESTCONF and NETCONF. You will explore the foundational concepts of YANG data models, understand the architectural differences between RESTCONF (RESTful/HTTP/JSON) and NETCONF (RPC/XML), and learn how to leverage these APIs for robust configuration management and operational telemetry. From a cybersecurity perspective, APIs eliminate the fragility of CLI parsing but introduce new attack surfaces, such as exposed API endpoints and insecure data model manipulation. You will discover how defenders use APIs to build resilient, model-driven automation pipelines, while understanding how attackers exploit misconfigured API access and weak authentication to bypass traditional network security controls.
Each task’s Rep is set individually — advanced tasks average +100. The +0 room bonus unlocks at 100%.
Frequently Asked Questions
What is the difference between NETCONF and RESTCONF?
NETCONF uses XML over SSH with RPC operations, while RESTCONF exposes the same YANG-modelled data through HTTP methods and JSON or XML. Both configure devices programmatically.
What is YANG?
YANG is a data modelling language that describes the configuration and state of network devices. NETCONF and RESTCONF use YANG models so tools get consistent, structured data.
Why use network APIs instead of the CLI?
APIs return structured data that is easier to validate and automate than text. This free advanced Codelivly room teaches how to use them and secure the access they require.