- Introduction
- play_arrow Junos OS Release Notes for ACX Series
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
- play_arrow Junos OS Release Notes for cSRX
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- play_arrow Junos OS Release Notes for EX Series
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
- play_arrow Junos OS Release Notes for JRR Series
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
-
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
-
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
-
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
- play_arrow Junos OS Release Notes for MX Series
- play_arrow What's New
- What's New in 21.2R3
- What's New in 21.2R2
- play_arrow What's New in 21.2R1
- Hardware
- Authentication and Access Control
- Flow-Based and Packet-Based Processing
- High Availability
- Interfaces
- Juniper Extension Toolkit (JET)
- Junos Telemetry Interface
- Layer 2 VPN
- MACsec
- MPLS
- Network Address Translation (NAT)
- Network Management and Monitoring
- Platform and Infrastructure
- Routing Options
- Routing Policy and Firewall Filters
- Routing Protocols
- Services Applications
- Software Defined Networking (SDN)
- Software Installation and Upgrade
- Source Packet Routing in Networking (SPRING) or Segment Routing
- Subscriber Management and Services
- System Management
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
- play_arrow Junos OS Release Notes for NFX Series
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
- play_arrow Junos OS Release Notes for PTX Series
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
- play_arrow Junos OS Release Notes for QFX Series
- play_arrow What's New
- What's New in 21.2R3
- play_arrow What's New in 21.2R2
- play_arrow What's New in 21.2R1
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
- play_arrow Junos OS Release Notes for SRX Series
- play_arrow What's New
- What's New in 21.2R3
- What's New in 21.2R2
- play_arrow What's New in 21.2R1
- Application Identification (AppID)
- Authentication and Access Control
- Flow-Based and Packet-Based Processing
- Interfaces
- J-Web
- Juniper Advanced Threat Prevention Cloud (ATP Cloud)
- Junos Telemetry Interface
- Network Management and Monitoring
- Software Installation and Upgrade
- Securing GTP and SCTP Traffic
- VPNs
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Migration, Upgrade, and Downgrade Instructions
- play_arrow Junos OS Release Notes for vMX
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Upgrade Instructions
- play_arrow Junos OS Release Notes for vRR
- play_arrow What's New
- play_arrow What's Changed
- Known Limitations
- Open Issues
- play_arrow Resolved Issues
- Documentation Updates
- Licensing
- Finding More Information
- Documentation Feedback
- Requesting Technical Support
- Revision History
What’s Changed in Release 21.2R1
Junos XML API and Scripting
Changes to how command-line arguments are passed to Python op scripts (ACX Series, EX Series, MX Series, PTX Series, QFX Series, SRX Series, vMX, and vSRX)—When the device passes command-line arguments to a Python op script, it prefixes a hyphen (-) to single-character argument names, and it prefixes two hyphens (--) to multi-character argument names. The prefix enables you to use standard command-line parsing libraries to handle the arguments. In earlier releases, the device prefixes a single hyphen (-) to all argument names.
[See Declaring and Using Command-Line Arguments in Op Scripts.]
Refreshing scripts from an HTTPS server requires a certificate (ACX Series, EX Series, MX Series, PTX Series, QFX Series, SRX Series, vMX, and vSRX)—When you refresh a local commit, event, op, SNMP, or Juniper Extension Toolkit (JET) script from an HTTPS server, you must specify the certificate (Root CA or self-signed) that the device uses to validate the server's certificate, thus ensuring that the server is authentic. In earlier releases, when you refresh scripts from an HTTPS server, the device does not perform certificate validation.
When you refresh a script using the
request system scripts refresh-from
operational mode command, include thecert-file
option and specify the certificate path. Before you refresh a script using theset refresh
orset refresh-from
configuration mode command, first configure thecert-file
statement under the hierarchy level where you configure the script. The certificate must be in Privacy-Enhanced Mail (PEM) format.[See request system scripts refresh-from and cert-file (Scripts).]
Network Management and Monitoring
Changes to how command-line arguments are passed to Python action scripts (ACX Series, EX Series, MX Series, PTX Series, QFX Series, SRX Series, vMX, and vSRX)—When a custom YANG RPC invokes a Python action script and passes command-line arguments to the script, the device prefixes a hyphen (-) to single-character argument names, and it prefixes two hyphens (--) to multi-character argument names. The prefix enables you to use standard command-line parsing libraries to handle the arguments. In earlier releases, the device passes the unmodified argument names to the script.
[See Creating Action Scripts for YANG RPCs on Devices Running Junos OS and Displaying Valid Command Option and Configuration Statement Values in the CLI for Custom YANG Modules.]