show system yang package
Command introduced in Junos OS Release 16.1R1 on MX Series and T Series routers.
Command introduced in Junos OS Release 17.1R1 on EX Series and QFX Series switches and PTX Series routers.
Command introduced in Junos OS Release 17.3R1 on SRX345, SRX1500, SRX4100, SRX4200, SRX5400, SRX5600, and SRX5800 devices and vSRX instances.
Command introduced in Junos OS Release 18.1R1 on ACX Series routers.
Display YANG packages that are installed on the device and list the corresponding modules, action scripts, and translation scripts associated with the package. The output also includes the translation status for the package, which determines whether the device invokes the package’s translation scripts during a commit operation.
Required Privilege Level
Table 1 lists the output fields for the show system yang package command. Output fields are listed in the approximate order in which they appear.
Table 1: show system yang package Output Fields
List of YANG modules and deviation modules associated with the package ID. Data models defined in the modules are merged with the Junos OS schema.
List of action scripts associated with the package ID.
List of translation scripts associated with the package ID.
Translation script status
Specifies whether translation for that package is enabled or disabled.
When translation is disabled, the device does not invoke the translation scripts for that package during a commit operation, and the changes made to the configuration statements and hierarchies added by that package are not translated into Junos OS syntax and committed as transient configuration changes.
user@host> show system yang package p1
Package ID :p1 YANG Module(s) :if.yang if-aggregate.yang if-show.yang Action Script(s) :if-show.py Translation Script(s) :if.slax Translation script status is enabled