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

    Deploying a JET Python Application

    You can deploy Python applications on an external server or on a device running Junos OS.

    To deploy a Python JET application on an external server, we recommend that you install the JET Client package on the server. To verify the installation, you should run the sample applications provided in the JET Client package.

    The following deployments of Python applications on devices running Junos OS are supported:

    • Regular Junos OS (veriexec-enabled Junos OS) with the python configuration enabled at the [edit system scripts language] hierarchy level. In this scenario, the system will not perform veriexec checks for a Python application as long as the application is located under the /var/db/scripts/jet directory and configured at the [edit system extensions] hierarchy level. In this scenario, an unsigned package for a Python-only application (a Python script with no dependencies on unsigned shared libraries) will work. Any application in a signed package will also work.
    • Regular Junos OS (veriexec-enabled Junos OS) with the python configuration disabled at the [edit system scripts language] hierarchy level. In this environment, only those Python scripts that are part of a signed package can be executed. Therefore, only a signed package will work for this scenario.

    Note: Junos OS supports using symbolic links for files in the /var/db/scripts/jet directory, but the device will only execute the script at the target location if it is signed.

    Modified: 2016-06-08