Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
goSDN Northbound
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
danet
goSDN Northbound
Commits
61d92234
Commit
61d92234
authored
4 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Patches
Plain Diff
use types instead of maps
parent
bdf77e6f
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
proto/gosdn/gosdn.pb.go
+1
-1
1 addition, 1 deletion
proto/gosdn/gosdn.pb.go
proto/gosdn/pnd/pnd.pb.go
+168
-194
168 additions, 194 deletions
proto/gosdn/pnd/pnd.pb.go
proto/gosdn/pnd/pnd.proto
+4
-4
4 additions, 4 deletions
proto/gosdn/pnd/pnd.proto
with
173 additions
and
199 deletions
proto/gosdn/gosdn.pb.go
+
1
−
1
View file @
61d92234
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0-devel
// protoc v3.15.
7
// protoc v3.15.
8
// source: proto/gosdn/gosdn.proto
package
gosdn
...
...
This diff is collapsed.
Click to expand it.
proto/gosdn/pnd/pnd.pb.go
+
168
−
194
View file @
61d92234
This diff is collapsed.
Click to expand it.
proto/gosdn/pnd/pnd.proto
+
4
−
4
View file @
61d92234
...
...
@@ -28,7 +28,7 @@ message GetRequest {
message
GetResponse
{
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
oneof
get_oneof
{
oneof
payload
{
PrincipalNetworkDomain
pnd
=
2
;
OrchestratedNetworkingDevice
ond
=
3
;
OrchestratedNetworkingDevices
onds
=
4
;
...
...
@@ -43,9 +43,9 @@ message PrincipalNetworkDomain {
string
id
=
1
;
string
name
=
2
;
string
description
=
3
;
map
<
string
,
OrchestratedNetworkingDevice
>
onds
=
4
;
map
<
string
,
SouthboundInterface
>
sbis
=
5
;
map
<
string
,
Change
>
changes
=
6
;
OrchestratedNetworkingDevice
s
onds
=
4
;
SouthboundInterface
s
sbis
=
5
;
Change
s
changes
=
6
;
}
message
SouthboundInterface
{
...
...
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