Skip to content
Snippets Groups Projects

Resolve "Add an option to send gNMI Subscribe requests via SBI"

3 files
+ 27
20
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -45,9 +45,9 @@ import (
var deviceSubscribeCmd = &cobra.Command{
Use: "subscribe [uuid] [path]",
Args: cobra.ExactArgs(2),
Short: "do",
Long: `Requests a path from a specified orchestrated network device on the controller.
The device UUID and request path must be specified as a positional arguments.`,
Short: "Subscribes to paths of a provided device with fixed subscribe options",
Long: `Requests a subscription on paths from a specified orchestrated network device on the controller.
The device UUID and requested paths must be specified as a positional arguments.`,
RunE: func(cmd *cobra.Command, args []string) error {
did, err := uuid.Parse(args[0])
Loading