Prerequisites
To start using the CWM Adapter SDK, you need to install a Golang environment, Protocol buffers, dedicated go plugins and download the Adapter SDK contained in the CWM software package.
Install Protocol buffers
To define an adapter interface and generate the input and output parameters, you need the Protobufs compiler. Follow the installation instructions dedicated for your OS: https://grpc.io/docs/protoc-installation/. Note that you need at least version 3.15 (proto3).
Install Go and plugins
To develop and test an adapter, you need to install the Golang environment. Follow the installation instructions dedicated for your OS: https://grpc.io/docs/protoc-installation/.
Procedure
Step 1 |
Install additional protocol compiler plugins for go:
|
Step 2 |
Install protocol compiler plugin for JSON schema:
|
Step 3 |
Update your system PATH so that the
|
Get CWM Adapter SDK
Go to Cisco Software Download page to download the CWM Software Package, where the Adapter SDK binary resides.
Include the location of adapter developer binaries by setting the environment variable path:
export PATH=/path/to/adapter-dev-binaries:$PATH
Note |
Remember to replace the /path/to/adapter-dev-binaries with your actual path.
|