yang-modules (NETCONF)
Syntax
yang-modules { device-specific; emit-extensions; }
Hierarchy Level
[edit system services netconf]
Description
Configure how the device running Junos OS serves the native YANG modules.
Default
If you do not include the yang-modules
statement,
the device running Junos OS serves the family-specific YANG data models
that are shipped with the device.
Options
device-specific | Instruct the device to generate device-specific YANG data models instead of the family-specific YANG data models that are shipped with the device. |
emit-extensions |
Instruct the device to generate YANG data models that explicitly include Junos OS extension statements. Note:
The device emits the |
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 17.4R1.