Feature Explorer AI AI

×

Subscribe now to get the Latest Updates

Watch a 2-minute overview video

Op script (Python)

More Information:

Op script (Python)

You can author commit, event, op, and SNMP scripts in Python on devices that include the Python extensions package in the software image. Creating automation scripts in Python enables you to take advantage of Python features and libraries as well as leverage Junos PyEZ APIs to perform operational and configuration tasks on devices. To enable execution of Python automation scripts, which the root user must own, configure the language python statement at the [edit system scripts] hierarchy level, and configure the filename for the Python script under the hierarchy level appropriate to that script type. Supported Python versions include Python 2.7.x.
Product / Application Software Introduced Release
ACX7100-32C Junos OS Evolved 21.2R1
ACX7100-48L Junos OS Evolved 21.1R1
ACX7332 Junos OS Evolved 23.4R1
ACX7348 Junos OS Evolved 23.4R1
ACX7509 Junos OS Evolved 21.4R1
PTX10001-36MR Junos OS Evolved 20.2R1
PTX10003 Junos OS Evolved 19.1R1
PTX10004 Junos OS Evolved 20.3R1
PTX10008 Junos OS Evolved 20.3R1
PTX10008 Junos OS Evolved 20.1R1
PTX10016 Junos OS Evolved 21.2R2
PTX10002-36QDD Junos OS Evolved 24.2R2