Although there is plenty of excellent JET documentation on juniper.net and even within this TechWiki (links provided below), sometimes videos do the job of getting the message across. Our message is that this is doable. In a recent Juniper gathering, we polled the audience and indeed found that people were already using JET. Of course, Juniper employees have additional incentives to learn and use the new automation features within recent software releases. This article contains four examples on how to use JET with all the links to commands, scripts, and third-party information included beneath each video. Now, you too can get started with JET.
ON BOX VERSUS OFF BOX
This can be a religious debate within your crowd or company. Some of these reasons are technical (geographic isolation) and some may be internal politics (network people need to manage the scripts). So, pick your poison and click on the on or off box video tutorials.
ON BOX
VIDEO 1: How to configure an on box JET application
Onbox
Links related to the on box video above:
- set system extensions extension-service
- set system scripts language python
- show system uptime
- request extension-service start
- To know more about Junos Extension Toolkit link
- Sample Onbox Code in the JET App Store
NOTIFICATIONS
The next video showcases JET notifications and shows one how to subscribe to them. Our JET app (Python script) subscribes to an event broker, MQTT. In this particular case, we are monitoring a specific interface. Any event notifications generated by this interface can be received by the app and acted upon.
VIDEO 2: Subscribing to JET Notifications
Notification
Links related to the notification video above:
- MQTT
- set system services extension-service notification
- set system extensions extension-service application
- request extension-service start
- Notifier Python code in the JET App Store
OFF BOX
VIDEO 3: Setup your laptop for JET
Links related to the off box installation video above:
- Create an isolated Python environment with virtualenv
- Protocol buffers code generator for gRPC
- JET Software Application Packages
- Protocol buffers tutorials
VIDEO 4: How to setup your laptop to run Python JET apps
Offbox
Links related to the off box video above:
- JET software download (Client Library)
- set system services extension-service request-response grpc
- set security certificates local
- Sample Offbox Code in JET App Store
Additional TechWiki JET Links: