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
506dfc22
Commit
506dfc22
authored
3 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Patches
Plain Diff
add pid to delete request
parent
ec840cb6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
go/gosdn/pnd/pnd.pb.go
+39
-30
39 additions, 30 deletions
go/gosdn/pnd/pnd.pb.go
proto/gosdn/pnd/pnd.proto
+1
-0
1 addition, 0 deletions
proto/gosdn/pnd/pnd.proto
with
40 additions
and
30 deletions
go/gosdn/pnd/pnd.pb.go
+
39
−
30
View file @
506dfc22
...
@@ -1332,6 +1332,7 @@ type DeleteRequest struct {
...
@@ -1332,6 +1332,7 @@ type DeleteRequest struct {
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.
Type
DeleteRequest_Type
`protobuf:"varint,2,opt,name=type,proto3,enum=gosdn.pnd.DeleteRequest_Type" json:"type,omitempty"`
Type
DeleteRequest_Type
`protobuf:"varint,2,opt,name=type,proto3,enum=gosdn.pnd.DeleteRequest_Type" json:"type,omitempty"`
Uuid
string
`protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
Uuid
string
`protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
Pid
string
`protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
}
}
func
(
x
*
DeleteRequest
)
Reset
()
{
func
(
x
*
DeleteRequest
)
Reset
()
{
...
@@ -1387,6 +1388,13 @@ func (x *DeleteRequest) GetUuid() string {
...
@@ -1387,6 +1388,13 @@ func (x *DeleteRequest) GetUuid() string {
return
""
return
""
}
}
func
(
x
*
DeleteRequest
)
GetPid
()
string
{
if
x
!=
nil
{
return
x
.
Pid
}
return
""
}
type
DeleteResponse
struct
{
type
DeleteResponse
struct
{
state
protoimpl
.
MessageState
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
sizeCache
protoimpl
.
SizeCache
...
@@ -1588,7 +1596,7 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
...
@@ -1588,7 +1596,7 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x12
,
0x2d
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x12
,
0x2d
,
0x0a
,
0x05
,
0x61
,
0x70
,
0x69
,
0x4f
,
0x70
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x17
,
0x2e
,
0x0a
,
0x05
,
0x61
,
0x70
,
0x69
,
0x4f
,
0x70
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x17
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x41
,
0x70
,
0x69
,
0x4f
,
0x70
,
0x65
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x41
,
0x70
,
0x69
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x52
,
0x05
,
0x61
,
0x70
,
0x69
,
0x4f
,
0x70
,
0x22
,
0x9
7
,
0x01
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x52
,
0x05
,
0x61
,
0x70
,
0x69
,
0x4f
,
0x70
,
0x22
,
0x
a
9
,
0x01
,
0x0a
,
0x0d
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
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
,
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
,
0x31
,
0x0a
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x31
,
0x0a
,
...
@@ -1596,35 +1604,36 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
...
@@ -1596,35 +1604,36 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x2e
,
0x54
,
0x79
,
0x70
,
0x65
,
0x52
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x2e
,
0x54
,
0x79
,
0x70
,
0x65
,
0x52
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x75
,
0x75
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x75
,
0x75
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x75
,
0x75
,
0x69
,
0x64
,
0x22
,
0x21
,
0x0a
,
0x04
,
0x54
,
0x79
,
0x70
,
0x65
,
0x12
,
0x07
,
0x0a
,
0x03
,
0x75
,
0x75
,
0x69
,
0x64
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x69
,
0x64
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x4f
,
0x4e
,
0x44
,
0x10
,
0x00
,
0x12
,
0x07
,
0x0a
,
0x03
,
0x53
,
0x42
,
0x49
,
0x10
,
0x01
,
0x12
,
0x07
,
0x09
,
0x52
,
0x03
,
0x70
,
0x69
,
0x64
,
0x22
,
0x21
,
0x0a
,
0x04
,
0x54
,
0x79
,
0x70
,
0x65
,
0x12
,
0x07
,
0x0a
,
0x03
,
0x50
,
0x4e
,
0x44
,
0x10
,
0x02
,
0x22
,
0x85
,
0x01
,
0x0a
,
0x0e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x0a
,
0x03
,
0x4f
,
0x4e
,
0x44
,
0x10
,
0x00
,
0x12
,
0x07
,
0x0a
,
0x03
,
0x53
,
0x42
,
0x49
,
0x10
,
0x01
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x12
,
0x07
,
0x0a
,
0x03
,
0x50
,
0x4e
,
0x44
,
0x10
,
0x02
,
0x22
,
0x85
,
0x01
,
0x0a
,
0x0e
,
0x44
,
0x65
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x38
,
0x0a
,
0x06
,
0x53
,
0x74
,
0x61
,
0x74
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x75
,
0x73
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x20
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x38
,
0x0a
,
0x06
,
0x53
,
0x74
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x20
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x6e
,
0x73
,
0x65
,
0x2e
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x52
,
0x06
,
0x53
,
0x74
,
0x61
,
0x74
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x73
,
0x75
,
0x73
,
0x22
,
0x1b
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x06
,
0x0a
,
0x02
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x2e
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x52
,
0x06
,
0x53
,
0x74
,
0x4f
,
0x4b
,
0x10
,
0x00
,
0x12
,
0x09
,
0x0a
,
0x05
,
0x45
,
0x52
,
0x52
,
0x4f
,
0x52
,
0x10
,
0x01
,
0x2a
,
0x61
,
0x74
,
0x75
,
0x73
,
0x22
,
0x1b
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x06
,
0x33
,
0x0a
,
0x0c
,
0x41
,
0x70
,
0x69
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x12
,
0x0a
,
0x02
,
0x4f
,
0x4b
,
0x10
,
0x00
,
0x12
,
0x09
,
0x0a
,
0x05
,
0x45
,
0x52
,
0x52
,
0x4f
,
0x52
,
0x10
,
0x0a
,
0x0a
,
0x06
,
0x55
,
0x50
,
0x44
,
0x41
,
0x54
,
0x45
,
0x10
,
0x00
,
0x12
,
0x0b
,
0x0a
,
0x07
,
0x52
,
0x01
,
0x2a
,
0x33
,
0x0a
,
0x0c
,
0x41
,
0x70
,
0x69
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x45
,
0x50
,
0x4c
,
0x41
,
0x43
,
0x45
,
0x10
,
0x01
,
0x12
,
0x0a
,
0x0a
,
0x06
,
0x44
,
0x45
,
0x4c
,
0x45
,
0x6e
,
0x12
,
0x0a
,
0x0a
,
0x06
,
0x55
,
0x50
,
0x44
,
0x41
,
0x54
,
0x45
,
0x10
,
0x00
,
0x12
,
0x0b
,
0x0a
,
0x54
,
0x45
,
0x10
,
0x02
,
0x32
,
0xb0
,
0x01
,
0x0a
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x12
,
0x34
,
0x0a
,
0x03
,
0x07
,
0x52
,
0x45
,
0x50
,
0x4c
,
0x41
,
0x43
,
0x45
,
0x10
,
0x01
,
0x12
,
0x0a
,
0x0a
,
0x06
,
0x44
,
0x45
,
0x47
,
0x65
,
0x74
,
0x12
,
0x15
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x4c
,
0x45
,
0x54
,
0x45
,
0x10
,
0x02
,
0x32
,
0xb0
,
0x01
,
0x0a
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x12
,
0x34
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x16
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x0a
,
0x03
,
0x47
,
0x65
,
0x74
,
0x12
,
0x15
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x64
,
0x2e
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x16
,
0x2e
,
0x67
,
0x73
,
0x65
,
0x12
,
0x34
,
0x0a
,
0x03
,
0x53
,
0x65
,
0x74
,
0x12
,
0x15
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x47
,
0x65
,
0x74
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x34
,
0x0a
,
0x03
,
0x53
,
0x65
,
0x74
,
0x12
,
0x15
,
0x2e
,
0x67
,
0x6f
,
0x1a
,
0x16
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x53
,
0x65
,
0x74
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x3d
,
0x0a
,
0x06
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x16
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x53
,
0x74
,
0x65
,
0x12
,
0x18
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x44
,
0x65
,
0x74
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x3d
,
0x0a
,
0x06
,
0x44
,
0x65
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x19
,
0x2e
,
0x67
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x12
,
0x18
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x19
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x42
,
0x29
,
0x5a
,
0x27
,
0x63
,
0x6f
,
0x64
,
0x65
,
0x2e
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x44
,
0x65
,
0x6c
,
0x65
,
0x74
,
0x66
,
0x62
,
0x69
,
0x2e
,
0x68
,
0x2d
,
0x64
,
0x61
,
0x2e
,
0x64
,
0x65
,
0x2f
,
0x63
,
0x6f
,
0x63
,
0x73
,
0x65
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x42
,
0x29
,
0x5a
,
0x27
,
0x63
,
0x6f
,
0x64
,
0x6e
,
0x2f
,
0x61
,
0x70
,
0x69
,
0x2f
,
0x67
,
0x6f
,
0x2f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x70
,
0x65
,
0x2e
,
0x66
,
0x62
,
0x69
,
0x2e
,
0x68
,
0x2d
,
0x64
,
0x61
,
0x2e
,
0x64
,
0x65
,
0x2f
,
0x63
,
0x6f
,
0x6e
,
0x64
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x63
,
0x73
,
0x6e
,
0x2f
,
0x61
,
0x70
,
0x69
,
0x2f
,
0x67
,
0x6f
,
0x2f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x70
,
0x6e
,
0x64
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
}
var
(
var
(
...
...
This diff is collapsed.
Click to expand it.
proto/gosdn/pnd/pnd.proto
+
1
−
0
View file @
506dfc22
...
@@ -140,6 +140,7 @@ message DeleteRequest {
...
@@ -140,6 +140,7 @@ message DeleteRequest {
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
Type
type
=
2
;
Type
type
=
2
;
string
uuid
=
3
;
string
uuid
=
3
;
string
pid
=
4
;
}
}
message
DeleteResponse
{
message
DeleteResponse
{
...
...
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