request system yang validate
Syntax
request system yang validate action-script [scripts] module [modules] proxy-xml module [modules] translation-script [scripts]
Description
Validate the syntax of one or more YANG modules, translation scripts, or action scripts.
Options
action-script scripts | List of paths for one or more action scripts to validate. |
module modules | List of paths for one or more YANG modules to validate. |
proxy-xml module modules | List of paths for one or more YANG modules to validate that provide user-defined OpenConfig mappings for the XML Proxy process to translate Junos Telemetry Interface statistics exported through gRPC into key-value pairs. |
translation-script scripts | List of paths for one or more translation scripts to validate. |
Required Privilege Level
maintenance
Sample Output
request system yang validate
user@host> request system yang validate module [yang/if.yang yang/if-aggregate.yang] translation-script translation/if.slax YANG modules validation : START YANG modules validation : SUCCESS Scripts syntax validation : START script check succeeds Scripts syntax validation : SUCCESS
Release Information
Command introduced in Junos OS Release 16.1R1.
proxy-xml
option introduced in Junos OS Release 17.3R1
on MX Series and PTX Series routers.