The goal of this repo is to provide a set of examples that illustrate how to program network elements using OpenConfig and gRPC. We will leverage different Open Source projects:
- Go as the main programming language.
- xrgrpc (gRPC library for Cisco IOS XR) to interact with IOS XR via gRPC.
- ygot (YANG Go Tools) to generate the OpenConfig data structures required for the gRPC calls.
The objective is to configure an interface (link) and bring up a BGP session, while setting up a BGP Neighbor Telemetry stream to track the current state of the BGP Finite State Machine. Check out the code here