Skip to content

Management Protocol Network implementations in Go; NETCONF, SNMP, CLI

License

Notifications You must be signed in to change notification settings

damianoneill/net

Repository files navigation

Management Network Library

GitHub release Go Report Card license Go Docs

Management Protocol Network implementations in Go

This package includes:

  • Client side support of the NETCONF Protocol defined in (rfc6241).
  • Client side support for NETCONF Notifications defined in (rc5277).
  • GetSchemas and GetSchema from NETCONF Monitoring defined in (rfc6022).
  • Client side support of the SNMP Protocol defined in (rfc3416).

The library includes support for the following cross-cutting concerns through dependency injection:

  • Logging
  • Metrics
  • Configuration

The transport layer is externalized from the Library using dependency injection, allowing the user to choose and configure as their specific environment requires. Go Examples are included for demonstration purposes.

The package can be downloaded with the following command, note the v2 in the module path.

go get -u github.com/damianoneill/net/v2/...

Credits

The implementation of the framing codec in the rfc6242 package has been adapted from an implementation by Andrew Fort - https://github.com/andaru/netconf.

The implementation of the ber encoding has been leveraged from the implementation by Geoff Garside - https://github.com/geoffgarside/ber.