Junos Automation Stack

Most import are
mgd process the managment daemon
jsd prcess the JET service process

Mgd provides the XML API

Can be access locally via junos scripts

Remotely via Netconf

REST API uses the XML API under the hood

JSD provides JET API, uses gRPC and MQTT protocols for communication

Rich Set of APIs

Transactional configuration updates

Config and opertional data based on consistent data model

Internal DDL and ODL

YANG

OpenConfig

Intergrates with Ansible, Salt, Puppet, Chef

Custom on-box scripts and applications

On box Junos Scripts

Commit Scripts

Run every time the user commits the configuration

Used to automate sanity checks, and enforce consistency.

Ops Scripts

Work as custom operational mode commands

Event Scripts

Initiated by event policy - automate trouble shooting

SNMP scripts