Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Setting Up the JET Virtual Machine

    Download the following packages from Juniper Networks download site to setup the JET VM:

    • Vagrant zip file

    • JET bundle containing a backing sandbox and toolchain

    • JET client IDL library

    To be ready to use the JET VM and integrated development environment (IDE) to create applications, complete the following tasks:

    Downloading the Packages You Need

    Installing the JET VM on your development machine provides a complete development environment with tools for building and packaging applications. It also provides the eclipse IDE.

    Download and install the following packages:

    Downloading Vagrant

    Vagrant (https://www.vagrantup.com/) is a software that creates and configures virtual development environments. You can think of it as a higher-level wrapper around virtualization software such as VirtualBox (https://www.virtualbox.org/wiki/Downloads). You can use Vagrant to manage the JET development virtual machine (VM).

    To download Vagrant:

    • Go to https://www.vagrantup.com/ and download Vagrant for your system’s platform (Windows, Mac, or Linux).

    Downloading VirtualBox

    Note: For the JET VM, Juniper Networks supports only the VirtualBox hypervisor.

    To download and install VirtualBox:

    1. Go to https://www.virtualbox.org/wiki/Downloads.
    2. Download and install the VirtualBox package for your platform and the VirtualBox extension package.
    3. Enable hardware virtualization support on your machine BIOS if it is not already enabled.

    Downloading the JET Files from the Juniper Networks Download Site

    The JET VM is downloaded from the Juniper Networks download website at https://www.juniper.net/support/downloads/?p=jet#sw in the form of following packages:

    • JET sandbox and toolchain file

    • JET client IDL library

    • JET-vagrant.zip file

    Launching the JET VM

    To launch the JET VM:

    1. Create a jet-vagrant directory and extract the JET-vagrant.zip file you downloaded from the Juniper Networks download site to that directory.
    2. Change to the jet-vagrant directory where you have extracted the JET-vagrant.zip file.
    3. Issue the vagrant up command.

      If needed, use the following default login credentials:

      username: vagrant
      password: vagrant

      Wait for the Ubuntu desktop screen to come up in Oracle VM VirtualBox. You will see the Eclipse icon. This is the icon you use for the JET IDE.

    4. Double-click the Eclipse icon to start the JET IDE.

    Next, before starting to use the JET IDE, you must install the JET bundle containing backing sandbox and toolchain and the JET client IDL library.

    Updating the Build Environment

    To update the build environment:

    1. Start the JET IDE.

      See the procedure Launching the JET VM for details.

    2. Change the perspective by selecting Juniper Extension Toolkit from the Window > Open perspective -> Other menu.
    3. Once the perspective is change, select Juniper Extension Toolkit > Update build environment.
    4. Fill out the Jet Bundle Package input field to download the JET bundle and click Finish to install it.

      Note: Starting in Junos OS Release 16.2R1, there is no need to install a new Jet Python Client Package. When using Jet Bundle Package release 16.2R1 or later, the field can be ignored.

    Stopping the JET VM

    When you are done using the VM, stop and exit Vagrant.

    To stop and exit Vagrant and the IDE:

    1. Go to the command-line prompt for your system.
    2. In the jet-vagrant directory, issue the vagrant halt command.

    Release History Table

    Release
    Description
    Starting in Junos OS Release 16.2R1, there is no need to install a new Jet Python Client Package. When using Jet Bundle Package release 16.2R1 or later, the field can be ignored.

    Modified: 2018-02-22