Pcornel
Networking · Automation and Artificial Intelligence

Agent vs Agentless Orchestration

Cheat sheet · https://pcornel.dk/topic.php?topic=144

Back to the Topic

Answer

Agent-based orchestration (Puppet, Chef, Salt minions) installs software on each managed node that pulls configuration from a server; agentless orchestration (Ansible, most network automation) connects from a control node over SSH, NETCONF or APIs.

Remember

Network devices rarely run agents, so network automation is mostly agentless. Agent-based: needs the agent installed, running and able to reach the server, but scales and self-corrects. Agentless: needs reachability and credentials from the control node, and nothing to install.

First checks

  • curl -sk -u <user>:<pw> -H 'Accept: application/yang-data+json' https://<device>/restconf/data/ietf-interfaces:interfaces — RESTCONF read.
  • curl -i — HTTP status code and headers (200 OK, 201 Created, 204 No Content, 400, 401, 403, 404).
  • python3 -m json.tool < file.json / jq . file.json — JSON valid and readable.
  • show netconf-yang status / show platform software yang-management process — device API agents running.
  • show ip http server status — HTTPS server for RESTCONF.

Verify in this order

agent-based: agent installed → checks in to the server → pulls catalogue → applies | agentless: control node connects → pushes tasks → reads result

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=144

Confirmation

Confirm action

Continue?