Which two processes manage all Junos automation?
All Junos automation is managed by two processes: mgd, the management daemon, which handles automation requests coming through the CLI, NETCONF sessions, the Junos XML API, YANG, and REST API by validating syntax and invoking the appropriate internal processes to execute operational commands or modify configuration; and jsd, the JET service process, which handles automation requests made through the Juniper Extension Toolkit (JET) API, listening on TCP port 32767 for API execution requests and spawning threads to service them. rpd (routing protocol daemon) manages routing protocols and the routing table, and dfwd is unrelated to automation, so neither participates in managing Junos automation.
Community Discussion