show system yang package
Syntax
show system yang package <package-name>
Description
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.
Options
none | Display information about all YANG packages that are installed on the device. |
package-name | Name of a specific YANG package for which to display information. |
Required Privilege Level
view
Output Fields
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.
Field Name |
Field Description |
---|---|
|
Package identifier. |
|
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. |
|
Specifies whether translation for that package is 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. |
Sample Output
show system yang package
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
Release Information
Command introduced in Junos OS Release 16.1R1.