Automation and APIs
Configuration management
Writing the wanted configuration down as files and letting a tool make every device match it.
Configuration management is writing the wanted configuration as files and letting a tool make every device match. Ansible reads an inventory (the devices), variables, templates and playbooks (the tasks), and pushes over SSH with nothing installed on the device. Puppet and Chef run an agent on each device that pulls its config. Terraform shows a plan of every change first. In version control, the files are infrastructure as code.
Read next
- Idempotence Doing it again changes nothing: a run that describes a state leaves a device already in that state alone.
- Configuration drift A device's running config moving away from its intended one, usually through changes made by hand.
- SSH Encrypted remote login and commands, on TCP port 22, with passwords or keys.
- JSON The text format APIs exchange data in: objects of key: value pairs, arrays, strings, numbers, true, false and null.
- Running and startup config What a device does now against what it loads when it starts: unsaved changes vanish at the next reload.
- NETCONF and YANG A device's config as data: YANG models say what it may hold, and NETCONF reads and changes it as XML over SSH.
- Network controller A central system that holds the network's intended state and configures the devices for you, behind an API.