Junos OS API and Scripting
-
Python 3 support for commit, event, op, and SNMP scripts (PTX10001-36MR, PTX10003, PTX10004, and PTX10008)—Starting in Junos OS Evolved Release 21.1R1, you can use Python 3 to execute commit, event, op, and SNMP scripts. To use Python 3, you must configure the
language python3
statement at the[edit system scripts]
hierarchy level.[See Understanding Python Automation Scripts for Devices Running Junos OS.]
-
Automation script support for 64-bit infrastructure (PTX10001-36MR, PTX10003, PTX10004, and PTX10008)—Starting in Junos OS Evolved Release 21.1R1, commit, event, op, and SNMP scripts use 64-bit infrastructure by default. Using 64-bit infrastructure instead of 32-bit infrastructure increases efficiency because 64-bit applications can handle larger file sizes and a greater number of files. Using 64-bit infrastructure also increases system security because 64-bit applications support additional security best practices.