Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Latest commit

 

History

History

OpenConfig

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Table of Contents

About OpenConfig

OpenConfig is a working group of technical contributors from different companies (mainly Google).

This working group defines vendor-neutral data models.

The OpenConfig defined YANG modules are published on this Github repository https://github.com/openconfig/public/tree/master/release/models

OpenConfig support on EOS

Here's the OpenConfig support on EOS

Configure the devices to stream OpenConfig data to CVP

Requirements

Certificate-Based TerminAttr Authentication

Certificate-based authentication is required for the devices to stream OpenConfig to CVP.
To enable certificate-based authentication between CVP and the devices, refer to this directory

Enable gNMI on EOS Devices

To stream OpenConfig data to CVP, gNMI needs to be enabled on the EOS devices.

In the example below, default is the name of the management VRF. If you use another VRF for management change it accordingly.

Configure gNMI

configure
management api gnmi
transport grpc default
exit

Verify gNMI Status

The gNMI server should now be enabled and running on port 6030 in the default VRF.

show management api gnmi

Configure TerminAttr to publish the OpenConfig data to CVP

The switch will use TerminAttr to publish the OpenConfig data to CVP when the cvgnmi flag is set.

configure
daemon TerminAttr
show active 

Add the flag -cvgnmi at the end of the daemon TerminAttr configuration, then do a shutdown/no shutdown on the TerminAttr daemon otherwise the change will not be taken into account and then exit the daemon TerminAttr configuration.

shutdown
no shutdown
exit

Verify the devices are streaming OpenConfig Data to CVP

The device should now stream OpenConfig data to CVP.

Use the telemetry browser on CVP GUI (Settings and Tools > Developper Tools > Telemetry Browser) to verify it.

gNMI_Step0.png

Once we configured the devices to stream OpenConfig data to CVP, we can use gNMI or RESTCONF to access to these data on CVP.