capabilities

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package main demonstrates gNMI capability discovery.

This example shows:

  • Discovering device capabilities with Capabilities()
  • Checking gNMI version support
  • Checking supported encodings
  • Checking supported models
  • Using HasCapability() to adapt behavior

Usage:

export GNMI_TARGET=192.168.1.1:57400
export GNMI_USERNAME=admin
export GNMI_PASSWORD=secret
go run main.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL