Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gNMI Target
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
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
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
gNMI Target
Commits
38e29640
Commit
38e29640
authored
3 years ago
by
Malte Bauch
Browse files
Options
Downloads
Patches
Plain Diff
WIP
parent
7017203f
Branches
Branches containing commit
No related tags found
4 merge requests
!17
Build basic ci
,
!10
Add simple modem support on linux through modemmanager
,
!8
General refactoring
,
!5
Draft: Add basic set support for ip/routing via gnmi
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gnmitarget/target.go
+1
-1
1 addition, 1 deletion
gnmitarget/target.go
os_clients/ubuntu/ubuntu.go
+2
-2
2 additions, 2 deletions
os_clients/ubuntu/ubuntu.go
with
3 additions
and
3 deletions
gnmitarget/target.go
+
1
−
1
View file @
38e29640
...
@@ -71,7 +71,7 @@ func StartGNMITarget(bindAddress string, configFile string, osclient string) err
...
@@ -71,7 +71,7 @@ func StartGNMITarget(bindAddress string, configFile string, osclient string) err
log
.
Fatalf
(
"error in creating GNMI target: %v"
,
err
)
log
.
Fatalf
(
"error in creating GNMI target: %v"
,
err
)
}
}
go
scheduler
(
gnmiServer
,
currentosclient
)
//
go scheduler(gnmiServer, currentosclient)
// Create new GRPC Server without service registert
// Create new GRPC Server without service registert
grpcServer
:=
grpc
.
NewServer
()
grpcServer
:=
grpc
.
NewServer
()
...
...
This diff is collapsed.
Click to expand it.
os_clients/ubuntu/ubuntu.go
+
2
−
2
View file @
38e29640
package
ubuntu
package
ubuntu
import
(
import
(
"fmt"
"net"
"net"
"os"
"os"
"os/exec"
"os/exec"
...
@@ -90,7 +89,8 @@ func (ou *OsclientUbuntu) callbackFunc(config ygot.ValidatedGoStruct) error {
...
@@ -90,7 +89,8 @@ func (ou *OsclientUbuntu) callbackFunc(config ygot.ValidatedGoStruct) error {
return
err
return
err
}
}
}
}
return
fmt
.
Errorf
(
"the path: %s is not supported"
,
schemaPath
)
//ignore all other paths for now
//return fmt.Errorf("the path: %s is not supported", schemaPath)
}
}
return
nil
return
nil
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment