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
ce84f0f3
Commit
ce84f0f3
authored
3 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Patches
Plain Diff
grpc api
parent
9676939e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
go/gosdn/csbi/csbi.pb.go
+67
-62
67 additions, 62 deletions
go/gosdn/csbi/csbi.pb.go
proto/gosdn/csbi/csbi.proto
+2
-1
2 additions, 1 deletion
proto/gosdn/csbi/csbi.proto
with
69 additions
and
63 deletions
go/gosdn/csbi/csbi.pb.go
+
67
−
62
View file @
ce84f0f3
...
@@ -8,6 +8,7 @@ package csbi
...
@@ -8,6 +8,7 @@ package csbi
import
(
import
(
pnd
"code.fbi.h-da.de/cocsn/api/go/gosdn/pnd"
pnd
"code.fbi.h-da.de/cocsn/api/go/gosdn/pnd"
transport
"code.fbi.h-da.de/cocsn/api/go/gosdn/transport"
protoreflect
"google.golang.org/protobuf/reflect/protoreflect"
protoreflect
"google.golang.org/protobuf/reflect/protoreflect"
protoimpl
"google.golang.org/protobuf/runtime/protoimpl"
protoimpl
"google.golang.org/protobuf/runtime/protoimpl"
reflect
"reflect"
reflect
"reflect"
...
@@ -190,8 +191,8 @@ type CreateRequest struct {
...
@@ -190,8 +191,8 @@ type CreateRequest struct {
sizeCache
protoimpl
.
SizeCache
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
unknownFields
protoimpl
.
UnknownFields
Timestamp
int64
`protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Timestamp in nanoseconds since Epoch.
Timestamp
int64
`protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Timestamp in nanoseconds since Epoch.
Device
[]
*
pnd
.
OrchestratedNetworkingDevice
`protobuf:"bytes,2,rep,name=device,proto3" json:"device
,omitempty"`
TransportOption
[]
*
transport
.
TransportOption
`protobuf:"bytes,2,rep,name=TransportOption,proto3" json:"TransportOption
,omitempty"`
}
}
func
(
x
*
CreateRequest
)
Reset
()
{
func
(
x
*
CreateRequest
)
Reset
()
{
...
@@ -233,9 +234,9 @@ func (x *CreateRequest) GetTimestamp() int64 {
...
@@ -233,9 +234,9 @@ func (x *CreateRequest) GetTimestamp() int64 {
return
0
return
0
}
}
func
(
x
*
CreateRequest
)
Get
Device
()
[]
*
pnd
.
OrchestratedNetworkingDevice
{
func
(
x
*
CreateRequest
)
Get
TransportOption
()
[]
*
transport
.
TransportOption
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Device
return
x
.
TransportOption
}
}
return
nil
return
nil
}
}
...
@@ -411,63 +412,66 @@ var file_gosdn_csbi_csbi_proto_rawDesc = []byte{
...
@@ -411,63 +412,66 @@ var file_gosdn_csbi_csbi_proto_rawDesc = []byte{
0x0a
,
0x15
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2f
,
0x63
,
0x73
,
0x62
,
0x0a
,
0x15
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2f
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x12
,
0x0a
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x69
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x12
,
0x0a
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x1a
,
0x13
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x70
,
0x6e
,
0x64
,
0x2f
,
0x70
,
0x73
,
0x62
,
0x69
,
0x1a
,
0x13
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x70
,
0x6e
,
0x64
,
0x2f
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x4e
,
0x0a
,
0x0a
,
0x47
,
0x65
,
0x74
,
0x52
,
0x6e
,
0x64
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x1a
,
0x1f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x74
,
0x72
,
0x61
,
0x6e
,
0x73
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x2f
,
0x74
,
0x72
,
0x61
,
0x6e
,
0x73
,
0x70
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x6f
,
0x72
,
0x74
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x4e
,
0x0a
,
0x0a
,
0x47
,
0x65
,
0x74
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x61
,
0x6c
,
0x6c
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x08
,
0x52
,
0x03
,
0x61
,
0x6c
,
0x6c
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x03
,
0x28
,
0x09
,
0x52
,
0x03
,
0x70
,
0x69
,
0x64
,
0x22
,
0x60
,
0x0a
,
0x0b
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x33
,
0x0a
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x18
,
0x02
,
0x20
,
0x03
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x61
,
0x6c
,
0x6c
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x21
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x50
,
0x28
,
0x08
,
0x52
,
0x03
,
0x61
,
0x6c
,
0x6c
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x69
,
0x64
,
0x18
,
0x03
,
0x72
,
0x69
,
0x6e
,
0x63
,
0x69
,
0x70
,
0x61
,
0x6c
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x44
,
0x20
,
0x03
,
0x28
,
0x09
,
0x52
,
0x03
,
0x70
,
0x69
,
0x64
,
0x22
,
0x60
,
0x0a
,
0x0b
,
0x47
,
0x65
,
0x74
,
0x6f
,
0x6d
,
0x61
,
0x69
,
0x6e
,
0x52
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x22
,
0x6e
,
0x0a
,
0x0d
,
0x43
,
0x72
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x65
,
0x61
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x33
,
0x0a
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x18
,
0x02
,
0x20
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x64
,
0x65
,
0x76
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x21
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x69
,
0x63
,
0x65
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x27
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x50
,
0x72
,
0x69
,
0x6e
,
0x63
,
0x69
,
0x70
,
0x61
,
0x6c
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x4f
,
0x72
,
0x63
,
0x68
,
0x65
,
0x73
,
0x74
,
0x72
,
0x61
,
0x74
,
0x44
,
0x6f
,
0x6d
,
0x61
,
0x69
,
0x6e
,
0x52
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x22
,
0x79
,
0x0a
,
0x0d
,
0x43
,
0x65
,
0x64
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x76
,
0x69
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x63
,
0x65
,
0x52
,
0x06
,
0x64
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x22
,
0x6f
,
0x0a
,
0x0e
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x64
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x27
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x4f
,
0x72
,
0x63
,
0x68
,
0x65
,
0x73
,
0x74
,
0x72
,
0x61
,
0x74
,
0x65
,
0x64
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x52
,
0x06
,
0x64
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x22
,
0x6e
,
0x0a
,
0x0d
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x64
,
0x65
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x4a
,
0x0a
,
0x0f
,
0x54
,
0x72
,
0x76
,
0x69
,
0x63
,
0x65
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x27
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x61
,
0x6e
,
0x73
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x4f
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x02
,
0x20
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x4f
,
0x72
,
0x63
,
0x68
,
0x65
,
0x73
,
0x74
,
0x72
,
0x61
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x20
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x74
,
0x72
,
0x61
,
0x6e
,
0x74
,
0x65
,
0x64
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x76
,
0x73
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x2e
,
0x54
,
0x72
,
0x61
,
0x6e
,
0x73
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x4f
,
0x69
,
0x63
,
0x65
,
0x52
,
0x06
,
0x64
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x22
,
0x86
,
0x01
,
0x0a
,
0x0e
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x52
,
0x0f
,
0x54
,
0x72
,
0x61
,
0x6e
,
0x73
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x4f
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x6f
,
0x0a
,
0x0e
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x39
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x21
,
0x2e
,
0x67
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x64
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x27
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x4f
,
0x72
,
0x63
,
0x68
,
0x65
,
0x73
,
0x74
,
0x72
,
0x61
,
0x74
,
0x65
,
0x64
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x52
,
0x06
,
0x64
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x22
,
0x6e
,
0x0a
,
0x0d
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x64
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x27
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x4f
,
0x72
,
0x63
,
0x68
,
0x65
,
0x73
,
0x74
,
0x72
,
0x61
,
0x74
,
0x65
,
0x64
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x52
,
0x06
,
0x64
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x22
,
0x86
,
0x01
,
0x0a
,
0x0e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x39
,
0x0a
,
0x06
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x21
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x2e
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x52
,
0x06
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x22
,
0x1b
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x06
,
0x0a
,
0x02
,
0x4f
,
0x4b
,
0x10
,
0x00
,
0x12
,
0x09
,
0x0a
,
0x05
,
0x45
,
0x52
,
0x52
,
0x4f
,
0x52
,
0x10
,
0x01
,
0x32
,
0xc0
,
0x01
,
0x0a
,
0x04
,
0x63
,
0x73
,
0x62
,
0x69
,
0x12
,
0x36
,
0x0a
,
0x03
,
0x47
,
0x65
,
0x74
,
0x12
,
0x16
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x17
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x12
,
0x19
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x1a
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x12
,
0x19
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x2e
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x52
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x1a
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x06
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x22
,
0x1b
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x73
,
0x12
,
0x06
,
0x0a
,
0x02
,
0x4f
,
0x4b
,
0x10
,
0x00
,
0x12
,
0x09
,
0x0a
,
0x05
,
0x45
,
0x52
,
0x52
,
0x6e
,
0x73
,
0x65
,
0x42
,
0x2a
,
0x5a
,
0x28
,
0x63
,
0x6f
,
0x64
,
0x65
,
0x2e
,
0x66
,
0x62
,
0x69
,
0x2e
,
0x4f
,
0x52
,
0x10
,
0x01
,
0x32
,
0xc0
,
0x01
,
0x0a
,
0x04
,
0x63
,
0x73
,
0x62
,
0x69
,
0x12
,
0x36
,
0x0a
,
0x68
,
0x2d
,
0x64
,
0x61
,
0x2e
,
0x64
,
0x65
,
0x2f
,
0x63
,
0x6f
,
0x63
,
0x73
,
0x6e
,
0x2f
,
0x61
,
0x70
,
0x03
,
0x47
,
0x65
,
0x74
,
0x12
,
0x16
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2f
,
0x67
,
0x6f
,
0x2f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x63
,
0x73
,
0x62
,
0x69
,
0x62
,
0x69
,
0x2e
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x17
,
0x2e
,
0x67
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x12
,
0x19
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x1a
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x3f
,
0x0a
,
0x06
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x12
,
0x19
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x1a
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x73
,
0x62
,
0x69
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x42
,
0x2a
,
0x5a
,
0x28
,
0x63
,
0x6f
,
0x64
,
0x65
,
0x2e
,
0x66
,
0x62
,
0x69
,
0x2e
,
0x68
,
0x2d
,
0x64
,
0x61
,
0x2e
,
0x64
,
0x65
,
0x2f
,
0x63
,
0x6f
,
0x63
,
0x73
,
0x6e
,
0x2f
,
0x61
,
0x70
,
0x69
,
0x2f
,
0x67
,
0x6f
,
0x2f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x63
,
0x73
,
0x62
,
0x69
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
}
var
(
var
(
...
@@ -493,13 +497,14 @@ var file_gosdn_csbi_csbi_proto_goTypes = []interface{}{
...
@@ -493,13 +497,14 @@ var file_gosdn_csbi_csbi_proto_goTypes = []interface{}{
(
*
DeleteRequest
)(
nil
),
// 5: gosdn.csbi.DeleteRequest
(
*
DeleteRequest
)(
nil
),
// 5: gosdn.csbi.DeleteRequest
(
*
DeleteResponse
)(
nil
),
// 6: gosdn.csbi.DeleteResponse
(
*
DeleteResponse
)(
nil
),
// 6: gosdn.csbi.DeleteResponse
(
*
pnd
.
PrincipalNetworkDomain
)(
nil
),
// 7: gosdn.pnd.PrincipalNetworkDomain
(
*
pnd
.
PrincipalNetworkDomain
)(
nil
),
// 7: gosdn.pnd.PrincipalNetworkDomain
(
*
pnd
.
OrchestratedNetworkingDevice
)(
nil
),
// 8: gosdn.pnd.OrchestratedNetworkingDevice
(
*
transport
.
TransportOption
)(
nil
),
// 8: gosdn.transport.TransportOption
(
*
pnd
.
OrchestratedNetworkingDevice
)(
nil
),
// 9: gosdn.pnd.OrchestratedNetworkingDevice
}
}
var
file_gosdn_csbi_csbi_proto_depIdxs
=
[]
int32
{
var
file_gosdn_csbi_csbi_proto_depIdxs
=
[]
int32
{
7
,
// 0: gosdn.csbi.GetResponse.pnd:type_name -> gosdn.pnd.PrincipalNetworkDomain
7
,
// 0: gosdn.csbi.GetResponse.pnd:type_name -> gosdn.pnd.PrincipalNetworkDomain
8
,
// 1: gosdn.csbi.CreateRequest.
device
:type_name -> gosdn.
pnd.OrchestratedNetworkingDevice
8
,
// 1: gosdn.csbi.CreateRequest.
TransportOption
:type_name -> gosdn.
transport.TransportOption
8
,
// 2: gosdn.csbi.CreateResponse.device:type_name -> gosdn.pnd.OrchestratedNetworkingDevice
9
,
// 2: gosdn.csbi.CreateResponse.device:type_name -> gosdn.pnd.OrchestratedNetworkingDevice
8
,
// 3: gosdn.csbi.DeleteRequest.device:type_name -> gosdn.pnd.OrchestratedNetworkingDevice
9
,
// 3: gosdn.csbi.DeleteRequest.device:type_name -> gosdn.pnd.OrchestratedNetworkingDevice
0
,
// 4: gosdn.csbi.DeleteResponse.Status:type_name -> gosdn.csbi.DeleteResponse.status
0
,
// 4: gosdn.csbi.DeleteResponse.Status:type_name -> gosdn.csbi.DeleteResponse.status
1
,
// 5: gosdn.csbi.csbi.Get:input_type -> gosdn.csbi.GetRequest
1
,
// 5: gosdn.csbi.csbi.Get:input_type -> gosdn.csbi.GetRequest
3
,
// 6: gosdn.csbi.csbi.Create:input_type -> gosdn.csbi.CreateRequest
3
,
// 6: gosdn.csbi.csbi.Create:input_type -> gosdn.csbi.CreateRequest
...
...
This diff is collapsed.
Click to expand it.
proto/gosdn/csbi/csbi.proto
+
2
−
1
View file @
ce84f0f3
...
@@ -3,6 +3,7 @@ syntax = "proto3";
...
@@ -3,6 +3,7 @@ syntax = "proto3";
package
gosdn
.
csbi
;
package
gosdn
.
csbi
;
import
"gosdn/pnd/pnd.proto"
;
import
"gosdn/pnd/pnd.proto"
;
import
"gosdn/transport/transport.proto"
;
option
go_package
=
"code.fbi.h-da.de/cocsn/api/go/gosdn/csbi"
;
option
go_package
=
"code.fbi.h-da.de/cocsn/api/go/gosdn/csbi"
;
...
@@ -23,7 +24,7 @@ message GetResponse {
...
@@ -23,7 +24,7 @@ message GetResponse {
}
}
message
CreateRequest
{
message
CreateRequest
{
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
repeated
.
gosdn.
pnd.OrchestratedNetworkingDevice
device
=
2
;
repeated
.
gosdn.
transport.TransportOption
TransportOption
=
2
;
}
}
message
CreateResponse
{
message
CreateResponse
{
...
...
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