Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Merge requests
!342
Resolve "Add an option to send gNMI Subscribe requests via SBI"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add an option to send gNMI Subscribe requests via SBI"
227-add-an-option-to-send-gnmi-subscribe-requests-via-sbi
into
develop
Overview
17
Commits
52
Pipelines
52
Changes
5
Merged
Ghost User
requested to merge
227-add-an-option-to-send-gnmi-subscribe-requests-via-sbi
into
develop
2 years ago
Overview
17
Commits
52
Pipelines
52
Changes
5
Expand
Description
#227 (closed)
Edited
2 years ago
by
Ghost User
0
0
Merge request reports
Viewing commit
b8329e16
Prev
Next
Show latest version
5 files
+
67
−
58
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
b8329e16
added improved error handling with option to see which device from which pnd has send a response
· b8329e16
Fabian Seidl
authored
2 years ago
controller/interfaces/transport/transport.go
+
2
−
2
Options
@@ -15,12 +15,12 @@ type Transport interface {
@@ -15,12 +15,12 @@ type Transport interface {
Get
(
ctx
context
.
Context
,
params
...
string
)
(
interface
{},
error
)
Get
(
ctx
context
.
Context
,
params
...
string
)
(
interface
{},
error
)
Set
(
ctx
context
.
Context
,
payload
change
.
Payload
,
path
string
,
schema
*
ytypes
.
Schema
)
error
Set
(
ctx
context
.
Context
,
payload
change
.
Payload
,
path
string
,
schema
*
ytypes
.
Schema
)
error
Subscribe
(
ctx
context
.
Context
,
params
...
string
)
error
Subscribe
(
ctx
context
.
Context
,
params
...
string
)
error
SubscribeInternal
(
ctx
context
.
Context
,
subscribeCallbackFunc
HandleSubscribeResponse
)
error
SubscribeInternal
(
ctx
context
.
Context
,
subscribeCallbackFunc
HandleSubscribeResponse
,
pndID
,
deviceID
,
deviceName
string
)
error
Type
()
string
Type
()
string
ProcessResponse
(
resp
interface
{},
root
interface
{},
models
*
ytypes
.
Schema
)
error
ProcessResponse
(
resp
interface
{},
root
interface
{},
models
*
ytypes
.
Schema
)
error
}
}
type
(
type
(
// HandleSubscribeResponse is the callback function to handle subcription responses
// HandleSubscribeResponse is the callback function to handle subcription responses
HandleSubscribeResponse
func
(
*
gpb
.
SubscribeResponse
)
HandleSubscribeResponse
func
(
*
gpb
.
SubscribeResponse
,
string
,
string
,
string
)
)
)
Loading