Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

junos:genstate-path

Usage

Description

Define the genstate resource path associated with the container or leaf statement in the operational response.

A gNMI telemetry collector can subscribe to resource paths published in the genstate YANG modules to query for the corresponding state data on a device. When a client application executes an operational RPC with the format="xml-genstate-path" attribute, the server returns XML output that includes the junos:genstate-path attribute for every emitted tag that is available for subscription. The attribute value is the genstate subscription path.

Usage Example

The following example executes the <get-commit-revision-information> RPC and requests the xml-genstate-path format.

The xml-genstate-path format returns the command output with the genstate paths that a telemetry client can subscribe to for the corresponding state data.

Release Information

junos:genstate-path attribute added in Junos OS Release 26.2R1 and Junos OS Evolved Release 26.2R1.