Skip to content
/ gnso Public

gRPC interface for Cisco Network Services Orchestrator

License

Notifications You must be signed in to change notification settings

CiscoSE/gnso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSO Go Controller

Simple app that provides NSO with a grpc interface.

Supported methods

  • GetDevices
  • EditConfig
  • GetConfig
  • Query
  • ExecOperation

Full proto definition can be found at proto/service.proto

NSO version and requirements

NSO 5.2 and greater are supported. RESTCONF API needs to be enabled

Installation

You can run this in any linux with Go 1.14. The code can also be run in a container. The app will read the following env variables:

  • NSO_USERNAME -> For example: admin
  • NSO_PASSWORD -> For example: admin
  • NSO_URL -> Needs to point to the RESTCONF URL. For example: http://localhost:8080/restconf

In adition to above, you need to generate cert.pem and key.pem files under tls directory. For example:

openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

Contacts

License

Provided under Cisco Sample Code License, for details see LICENSE

Code of Conduct

Our code of conduct is available here

Contributing

See our contributing guidelines here

About

gRPC interface for Cisco Network Services Orchestrator

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages