Table of Contents
This repository has CloudVision automation examples
- GO: How to install GO which is a requirement to install some tools
- gRPCurl
- gnmi
- Token based authentication: How to configure token based authentication which is a requirement in order to use CVP APIs
- REST APIs: How to use REST APIs with
- cURL
- Wget
- Python with the module requests
- OpenAPI: How to use the OpenAPI file that describe the CVP REST APIs with
- Postman
- Online swagger editor
- Resource APIs: How to use resources API with
- cURL
- Python with the module
- requests
- cvprac
- gRPCurl
- Postman
- cvprac: How to use the Python module cvprac
- Certificate based authentication: How to configure certificate based authentication (for the devices and CVP communication) which is a requirement for the devices to stream OpenConfig data to CVP
- YANG: How to generate paths and trees from YANG modules with
- gNMIc
- Pyang
- OpenConfig: How to configure the devices to stream OpenConfig data to CVP
- gNMI: How to use gNMI with
- The gNMI command line client
- gNMIc
- gnmi
- pygnmicli
- Python with the module pyGNMI
- gRPCurl
- Postman
- The gNMI command line client
- RESTCONF: How to use RESTCONF with
- cURL
- Python with the module requests
- cURL is a command-line tool for getting or sending data using URLs
- Wget is a program that retrieves content from web servers
- Postman can be used to explore and test REST APIs and gRPC services
- Python with the following modules:
- The requests library can be used for making HTTP requests in Python
- The cvprac python library can be used to manage CVP. cvprac is written using CVP REST APIs an CVP resource APIs
- The pyGNMI library is a gNMI client
- gNMIc is a command-line gNMI client
- gnmi is a command-line gNMI client
- pygnmicli is a command-line gNMI client
- pyang can be used to generate a tree representation of YANG models for quick visualization
- gRPCurl is a command-line tool that lets you interact with gRPC servers. It's basically curl for gRPC servers
- CVP APIs require token based authentication.
- RESTCONF and gNMI require to configure the devices to stream OpenConfig data to CVP.
- Configuring the devices to stream OpenConfig data to CVP requires to use certificate based authentication (for devices and CVP communication).
All examples in this repository have been tested with CVP version 2022.1.0.
Thank you to Angélique Phillipps, Khelil Sator, Matthieu Tache and Tamas Plugor for their contributions and guidances.