Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Developing an Application Using the JET IDE

 

Application developers can use the integrated development environment (IDE) provided with the Juniper Extension Toolkit (JET) virtual machine (VM) to develop applications.

To develop an application by using the JET IDE:

  1. Start the JET IDE and select Juniper Extension Toolkit > JET Project.
  2. Type in a project name, select an item from the Applications List, and click Finish.

    The new project name appears in the Sandbox Explorer window (top left pane). You can expand the new project name and see several directories, including the src directory. Expand the src directory to see several more directories, among them the python, lib, and bin directories. These are the directories you use to create new application components.

  3. Highlight the appropriate directory for your applications files (choose from among the python, lib, and bin directories), either select File > New > Folder or right-click and select New > Folder, type a folder name, and click Finish.
    • To develop applications in Python, create a new application directory in the python directory and develop the application inside the newly created directory.

    • To create a C/C++ library, create a new library directory in the lib directory and develop the library inside the newly created directory.

    • To create a C/C++ executable, create a new application directory in the bin directory and develop the application inside the newly created directory.

    For example, for a C/C++ application, you can put some libraries in the lib directory and other application components in the bin directory.

  4. Generate and import client library code Starting in Junos OS Release 16.2R1, you must generate and import the client library code rather than downloading pre-packaged client libraries.

    Using the IDL files from the client IDL library for the services you are working in, generate client library code following the instructions at http://www.grpc.io/docs. Import the generated code into your sandbox using either the Import option from the File menu, or by copying the generated files and pasting them into your sandbox.

  5. Create files for your application code.

    Highlight the appropriate subdirectory, either select File > New > File or right-click and select New > File, type a filename, and click Finish.

  6. Create the code in the application files and do one of the following to save: select File > Save, press Ctrl+s, or click the diskette icon.

Makefiles and the manifest file are created automatically once you have created the JSON file.

Release History Table
Release
Description
Starting in Junos OS Release 16.2R1, you must generate and import the client library code rather than downloading pre-packaged client libraries.