Topic: tech juniper jaut prev
tech juniper jaut > Junos Platform Automation and DevOps (JAUT)
JET can be used to develop an on-device application in C or C++. C and C++ applications must be signed.
Download Vagrant and Oracle VirtualBox. VirtualBox is the only hypervisor supported by JET.
Download the JET Vagrant setup file and .zip file. The VagrantFile instructs Vagrant on configuring an Ubuntu VM with the Eclipse IDE.
Extract the .zip file to a new directory ‘jet-vagrant
’. Change to this directory and issue the ‘vagrantup
’ command. This can take 15-60 minutes or more. Configure Eclipse. Stop the VM using the ‘vagrant halt
’ command from the same directory.
Create a new JET project.
To develop a Python program, create a new directory inside the ‘python/
’
directory and develop the program there. To develop a C/C++ library, create a
new directory inside the ‘lib/
’ directory and develop the program there. To
develop a C/C++ program, create a new directory inside the ‘bin/
’ directory
and develop the program there.
Python apps require Python to be enabled at the
‘edit system scripts language
’ configuration hierarchy.
A certificate can be requested from Juniper using the IDE. Navigate to ‘Juniper Extension Toolkit, Certificate, Request Certificate’. It must be sent to Juniper for signing by clicking ‘Request Signing’ in the same menu.
A JSON file, ‘Jet_interfaces.json
’, is used to generate the makefile. JET
provides a form to make editing the JSON file easy.
Use the ‘request system software add
’ command on the Junos device. Start the
application with ‘request extension-service start echoclientd
’.