Skip to content
Snippets Groups Projects

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

2 files
+ 17
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -63,11 +63,11 @@ The device UUID and request path must be specified as a positional arguments.`,
@@ -63,11 +63,11 @@ The device UUID and request path must be specified as a positional arguments.`,
Subscription: []*pnd.Subscription{
Subscription: []*pnd.Subscription{
{
{
Path: args[1],
Path: args[1],
StreamMode: pnd.StreamMode_STREAM_MODE_TARGET_DEFINED,
StreamMode: pnd.StreamMode_STREAM_MODE_SAMPLE,
SampleInterval: 1000000000,
SampleInterval: 1000000000,
},
},
},
},
Mode: pnd.SubscriptionMode_SUBSCRIPTION_MODE_ONCE,
Mode: pnd.SubscriptionMode_SUBSCRIPTION_MODE_STREAM,
},
},
)
)
if err != nil {
if err != nil {
Loading