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
80e72033
Commit
80e72033
authored
3 years ago
by
Fabian Helm
Browse files
Options
Downloads
Patches
Plain Diff
Added multiple Onds for GetOndResponse
parent
219ed138
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
go/gosdn/pnd/pnd.pb.go
+185
-185
185 additions, 185 deletions
go/gosdn/pnd/pnd.pb.go
openapiv2/gosdn_northbound.swagger.json
+7
-4
7 additions, 4 deletions
openapiv2/gosdn_northbound.swagger.json
proto/gosdn/pnd/pnd.proto
+15
-15
15 additions, 15 deletions
proto/gosdn/pnd/pnd.proto
with
207 additions
and
204 deletions
go/gosdn/pnd/pnd.pb.go
+
185
−
185
View file @
80e72033
...
@@ -81,107 +81,107 @@ func (ChangeState) EnumDescriptor() ([]byte, []int) {
...
@@ -81,107 +81,107 @@ func (ChangeState) EnumDescriptor() ([]byte, []int) {
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
0
}
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
0
}
}
}
type
Operation
int32
type
Api
Operation
int32
const
(
const
(
Operation_OPERATION_UNSPECIFIED
Operation
=
0
Api
Operation_
API_
OPERATION_UNSPECIFIED
Api
Operation
=
0
Operation_OPERATION_
CRE
ATE
Operation
=
1
Api
Operation_
API_
OPERATION_
UPD
ATE
Api
Operation
=
1
Operation_OPERATION_
COMMIT
Operation
=
2
Api
Operation_
API_
OPERATION_
REPLACE
Api
Operation
=
2
Operation_OPERATION_
CONFIRM
Operation
=
3
Api
Operation_
API_
OPERATION_
DELETE
Api
Operation
=
3
)
)
// Enum value maps for Operation.
// Enum value maps for
Api
Operation.
var
(
var
(
Operation_name
=
map
[
int32
]
string
{
Api
Operation_name
=
map
[
int32
]
string
{
0
:
"OPERATION_UNSPECIFIED"
,
0
:
"
API_
OPERATION_UNSPECIFIED"
,
1
:
"OPERATION_
CRE
ATE"
,
1
:
"
API_
OPERATION_
UPD
ATE"
,
2
:
"OPERATION_
COMMIT
"
,
2
:
"
API_
OPERATION_
REPLACE
"
,
3
:
"OPERATION_
CONFIRM
"
,
3
:
"
API_
OPERATION_
DELETE
"
,
}
}
Operation_value
=
map
[
string
]
int32
{
Api
Operation_value
=
map
[
string
]
int32
{
"OPERATION_UNSPECIFIED"
:
0
,
"
API_
OPERATION_UNSPECIFIED"
:
0
,
"OPERATION_
CRE
ATE"
:
1
,
"
API_
OPERATION_
UPD
ATE"
:
1
,
"OPERATION_
COMMIT
"
:
2
,
"
API_
OPERATION_
REPLACE
"
:
2
,
"OPERATION_
CONFIRM
"
:
3
,
"
API_
OPERATION_
DELETE
"
:
3
,
}
}
)
)
func
(
x
Operation
)
Enum
()
*
Operation
{
func
(
x
Api
Operation
)
Enum
()
*
Api
Operation
{
p
:=
new
(
Operation
)
p
:=
new
(
Api
Operation
)
*
p
=
x
*
p
=
x
return
p
return
p
}
}
func
(
x
Operation
)
String
()
string
{
func
(
x
Api
Operation
)
String
()
string
{
return
protoimpl
.
X
.
EnumStringOf
(
x
.
Descriptor
(),
protoreflect
.
EnumNumber
(
x
))
return
protoimpl
.
X
.
EnumStringOf
(
x
.
Descriptor
(),
protoreflect
.
EnumNumber
(
x
))
}
}
func
(
Operation
)
Descriptor
()
protoreflect
.
EnumDescriptor
{
func
(
Api
Operation
)
Descriptor
()
protoreflect
.
EnumDescriptor
{
return
file_gosdn_pnd_pnd_proto_enumTypes
[
1
]
.
Descriptor
()
return
file_gosdn_pnd_pnd_proto_enumTypes
[
1
]
.
Descriptor
()
}
}
func
(
Operation
)
Type
()
protoreflect
.
EnumType
{
func
(
Api
Operation
)
Type
()
protoreflect
.
EnumType
{
return
&
file_gosdn_pnd_pnd_proto_enumTypes
[
1
]
return
&
file_gosdn_pnd_pnd_proto_enumTypes
[
1
]
}
}
func
(
x
Operation
)
Number
()
protoreflect
.
EnumNumber
{
func
(
x
Api
Operation
)
Number
()
protoreflect
.
EnumNumber
{
return
protoreflect
.
EnumNumber
(
x
)
return
protoreflect
.
EnumNumber
(
x
)
}
}
// Deprecated: Use Operation.Descriptor instead.
// Deprecated: Use
Api
Operation.Descriptor instead.
func
(
Operation
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
func
(
Api
Operation
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
1
}
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
1
}
}
}
type
Api
Operation
int32
type
Operation
int32
const
(
const
(
Api
Operation_
API_
OPERATION_UNSPECIFIED
Api
Operation
=
0
Operation_OPERATION_UNSPECIFIED
Operation
=
0
Api
Operation_
API_
OPERATION_
UPD
ATE
Api
Operation
=
1
Operation_OPERATION_
CRE
ATE
Operation
=
1
Api
Operation_
API_
OPERATION_
REPLACE
Api
Operation
=
2
Operation_OPERATION_
COMMIT
Operation
=
2
Api
Operation_
API_
OPERATION_
DELETE
Api
Operation
=
3
Operation_OPERATION_
CONFIRM
Operation
=
3
)
)
// Enum value maps for
Api
Operation.
// Enum value maps for Operation.
var
(
var
(
Api
Operation_name
=
map
[
int32
]
string
{
Operation_name
=
map
[
int32
]
string
{
0
:
"
API_
OPERATION_UNSPECIFIED"
,
0
:
"OPERATION_UNSPECIFIED"
,
1
:
"
API_
OPERATION_
UPD
ATE"
,
1
:
"OPERATION_
CRE
ATE"
,
2
:
"
API_
OPERATION_
REPLACE
"
,
2
:
"OPERATION_
COMMIT
"
,
3
:
"
API_
OPERATION_
DELETE
"
,
3
:
"OPERATION_
CONFIRM
"
,
}
}
Api
Operation_value
=
map
[
string
]
int32
{
Operation_value
=
map
[
string
]
int32
{
"
API_
OPERATION_UNSPECIFIED"
:
0
,
"OPERATION_UNSPECIFIED"
:
0
,
"
API_
OPERATION_
UPD
ATE"
:
1
,
"OPERATION_
CRE
ATE"
:
1
,
"
API_
OPERATION_
REPLACE
"
:
2
,
"OPERATION_
COMMIT
"
:
2
,
"
API_
OPERATION_
DELETE
"
:
3
,
"OPERATION_
CONFIRM
"
:
3
,
}
}
)
)
func
(
x
Api
Operation
)
Enum
()
*
Api
Operation
{
func
(
x
Operation
)
Enum
()
*
Operation
{
p
:=
new
(
Api
Operation
)
p
:=
new
(
Operation
)
*
p
=
x
*
p
=
x
return
p
return
p
}
}
func
(
x
Api
Operation
)
String
()
string
{
func
(
x
Operation
)
String
()
string
{
return
protoimpl
.
X
.
EnumStringOf
(
x
.
Descriptor
(),
protoreflect
.
EnumNumber
(
x
))
return
protoimpl
.
X
.
EnumStringOf
(
x
.
Descriptor
(),
protoreflect
.
EnumNumber
(
x
))
}
}
func
(
Api
Operation
)
Descriptor
()
protoreflect
.
EnumDescriptor
{
func
(
Operation
)
Descriptor
()
protoreflect
.
EnumDescriptor
{
return
file_gosdn_pnd_pnd_proto_enumTypes
[
2
]
.
Descriptor
()
return
file_gosdn_pnd_pnd_proto_enumTypes
[
2
]
.
Descriptor
()
}
}
func
(
Api
Operation
)
Type
()
protoreflect
.
EnumType
{
func
(
Operation
)
Type
()
protoreflect
.
EnumType
{
return
&
file_gosdn_pnd_pnd_proto_enumTypes
[
2
]
return
&
file_gosdn_pnd_pnd_proto_enumTypes
[
2
]
}
}
func
(
x
Api
Operation
)
Number
()
protoreflect
.
EnumNumber
{
func
(
x
Operation
)
Number
()
protoreflect
.
EnumNumber
{
return
protoreflect
.
EnumNumber
(
x
)
return
protoreflect
.
EnumNumber
(
x
)
}
}
// Deprecated: Use
Api
Operation.Descriptor instead.
// Deprecated: Use Operation.Descriptor instead.
func
(
Api
Operation
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
func
(
Operation
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
2
}
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
2
}
}
}
...
@@ -667,8 +667,8 @@ type GetOndResponse struct {
...
@@ -667,8 +667,8 @@ type GetOndResponse 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.
// TODO: Check if this is really needed. Perhaps a reference to the PND's ID
// TODO: Check if this is really needed. Perhaps a reference to the PND's ID
// is also sufficient.
// is also sufficient.
Pnd
*
PrincipalNetworkDomain
`protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"`
Pnd
*
PrincipalNetworkDomain
`protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"`
Ond
*
OrchestratedNetworkingDevice
`protobuf:"bytes,3,
opt
,name=ond,proto3" json:"ond,omitempty"`
Ond
[]
*
OrchestratedNetworkingDevice
`protobuf:"bytes,3,
rep
,name=ond,proto3" json:"ond,omitempty"`
}
}
func
(
x
*
GetOndResponse
)
Reset
()
{
func
(
x
*
GetOndResponse
)
Reset
()
{
...
@@ -717,7 +717,7 @@ func (x *GetOndResponse) GetPnd() *PrincipalNetworkDomain {
...
@@ -717,7 +717,7 @@ func (x *GetOndResponse) GetPnd() *PrincipalNetworkDomain {
return
nil
return
nil
}
}
func
(
x
*
GetOndResponse
)
GetOnd
()
*
OrchestratedNetworkingDevice
{
func
(
x
*
GetOndResponse
)
GetOnd
()
[]
*
OrchestratedNetworkingDevice
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Ond
return
x
.
Ond
}
}
...
@@ -1571,6 +1571,70 @@ func (x *SetPathListRequest) GetPid() string {
...
@@ -1571,6 +1571,70 @@ func (x *SetPathListRequest) GetPid() string {
return
""
return
""
}
}
//TODO: rename
type
ChangeRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Path
string
`protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Value
string
`protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
ApiOp
ApiOperation
`protobuf:"varint,3,opt,name=api_op,json=apiOp,proto3,enum=gosdn.pnd.ApiOperation" json:"api_op,omitempty"`
}
func
(
x
*
ChangeRequest
)
Reset
()
{
*
x
=
ChangeRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
21
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
ChangeRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
ChangeRequest
)
ProtoMessage
()
{}
func
(
x
*
ChangeRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
21
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
ms
.
StoreMessageInfo
(
mi
)
}
return
ms
}
return
mi
.
MessageOf
(
x
)
}
// Deprecated: Use ChangeRequest.ProtoReflect.Descriptor instead.
func
(
*
ChangeRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
21
}
}
func
(
x
*
ChangeRequest
)
GetPath
()
string
{
if
x
!=
nil
{
return
x
.
Path
}
return
""
}
func
(
x
*
ChangeRequest
)
GetValue
()
string
{
if
x
!=
nil
{
return
x
.
Value
}
return
""
}
func
(
x
*
ChangeRequest
)
GetApiOp
()
ApiOperation
{
if
x
!=
nil
{
return
x
.
ApiOp
}
return
ApiOperation_API_OPERATION_UNSPECIFIED
}
type
SetOnd
struct
{
type
SetOnd
struct
{
state
protoimpl
.
MessageState
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
sizeCache
protoimpl
.
SizeCache
...
@@ -1585,7 +1649,7 @@ type SetOnd struct {
...
@@ -1585,7 +1649,7 @@ type SetOnd struct {
func
(
x
*
SetOnd
)
Reset
()
{
func
(
x
*
SetOnd
)
Reset
()
{
*
x
=
SetOnd
{}
*
x
=
SetOnd
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
1
]
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
2
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -1598,7 +1662,7 @@ func (x *SetOnd) String() string {
...
@@ -1598,7 +1662,7 @@ func (x *SetOnd) String() string {
func
(
*
SetOnd
)
ProtoMessage
()
{}
func
(
*
SetOnd
)
ProtoMessage
()
{}
func
(
x
*
SetOnd
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
SetOnd
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
1
]
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
2
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -1611,7 +1675,7 @@ func (x *SetOnd) ProtoReflect() protoreflect.Message {
...
@@ -1611,7 +1675,7 @@ func (x *SetOnd) ProtoReflect() protoreflect.Message {
// Deprecated: Use SetOnd.ProtoReflect.Descriptor instead.
// Deprecated: Use SetOnd.ProtoReflect.Descriptor instead.
func
(
*
SetOnd
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
SetOnd
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
2
1
}
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
2
2
}
}
}
func
(
x
*
SetOnd
)
GetAddress
()
string
{
func
(
x
*
SetOnd
)
GetAddress
()
string
{
...
@@ -1651,7 +1715,7 @@ type SetSbi struct {
...
@@ -1651,7 +1715,7 @@ type SetSbi struct {
func
(
x
*
SetSbi
)
Reset
()
{
func
(
x
*
SetSbi
)
Reset
()
{
*
x
=
SetSbi
{}
*
x
=
SetSbi
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
2
]
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
3
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -1664,7 +1728,7 @@ func (x *SetSbi) String() string {
...
@@ -1664,7 +1728,7 @@ func (x *SetSbi) String() string {
func
(
*
SetSbi
)
ProtoMessage
()
{}
func
(
*
SetSbi
)
ProtoMessage
()
{}
func
(
x
*
SetSbi
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
SetSbi
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
2
]
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
3
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -1677,7 +1741,7 @@ func (x *SetSbi) ProtoReflect() protoreflect.Message {
...
@@ -1677,7 +1741,7 @@ func (x *SetSbi) ProtoReflect() protoreflect.Message {
// Deprecated: Use SetSbi.ProtoReflect.Descriptor instead.
// Deprecated: Use SetSbi.ProtoReflect.Descriptor instead.
func
(
*
SetSbi
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
SetSbi
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
2
2
}
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
2
3
}
}
}
type
SetChange
struct
{
type
SetChange
struct
{
...
@@ -1692,7 +1756,7 @@ type SetChange struct {
...
@@ -1692,7 +1756,7 @@ type SetChange struct {
func
(
x
*
SetChange
)
Reset
()
{
func
(
x
*
SetChange
)
Reset
()
{
*
x
=
SetChange
{}
*
x
=
SetChange
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
3
]
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
4
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -1705,7 +1769,7 @@ func (x *SetChange) String() string {
...
@@ -1705,7 +1769,7 @@ func (x *SetChange) String() string {
func
(
*
SetChange
)
ProtoMessage
()
{}
func
(
*
SetChange
)
ProtoMessage
()
{}
func
(
x
*
SetChange
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
SetChange
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
3
]
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
2
4
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -1718,7 +1782,7 @@ func (x *SetChange) ProtoReflect() protoreflect.Message {
...
@@ -1718,7 +1782,7 @@ func (x *SetChange) ProtoReflect() protoreflect.Message {
// Deprecated: Use SetChange.ProtoReflect.Descriptor instead.
// Deprecated: Use SetChange.ProtoReflect.Descriptor instead.
func
(
*
SetChange
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
SetChange
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
2
3
}
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
2
4
}
}
}
func
(
x
*
SetChange
)
GetCuid
()
string
{
func
(
x
*
SetChange
)
GetCuid
()
string
{
...
@@ -1735,70 +1799,6 @@ func (x *SetChange) GetOp() Operation {
...
@@ -1735,70 +1799,6 @@ func (x *SetChange) GetOp() Operation {
return
Operation_OPERATION_UNSPECIFIED
return
Operation_OPERATION_UNSPECIFIED
}
}
//TODO: rename
type
ChangeRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Path
string
`protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Value
string
`protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
ApiOp
ApiOperation
`protobuf:"varint,3,opt,name=api_op,json=apiOp,proto3,enum=gosdn.pnd.ApiOperation" json:"api_op,omitempty"`
}
func
(
x
*
ChangeRequest
)
Reset
()
{
*
x
=
ChangeRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
24
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
ChangeRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
ChangeRequest
)
ProtoMessage
()
{}
func
(
x
*
ChangeRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_pnd_pnd_proto_msgTypes
[
24
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
ms
.
StoreMessageInfo
(
mi
)
}
return
ms
}
return
mi
.
MessageOf
(
x
)
}
// Deprecated: Use ChangeRequest.ProtoReflect.Descriptor instead.
func
(
*
ChangeRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_pnd_pnd_proto_rawDescGZIP
(),
[]
int
{
24
}
}
func
(
x
*
ChangeRequest
)
GetPath
()
string
{
if
x
!=
nil
{
return
x
.
Path
}
return
""
}
func
(
x
*
ChangeRequest
)
GetValue
()
string
{
if
x
!=
nil
{
return
x
.
Value
}
return
""
}
func
(
x
*
ChangeRequest
)
GetApiOp
()
ApiOperation
{
if
x
!=
nil
{
return
x
.
ApiOp
}
return
ApiOperation_API_OPERATION_UNSPECIFIED
}
type
SetResponse
struct
{
type
SetResponse
struct
{
state
protoimpl
.
MessageState
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
sizeCache
protoimpl
.
SizeCache
...
@@ -2340,7 +2340,7 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
...
@@ -2340,7 +2340,7 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
0x33
,
0x0a
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x21
,
0x2e
,
0x67
,
0x33
,
0x0a
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x21
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x50
,
0x72
,
0x69
,
0x6e
,
0x63
,
0x69
,
0x70
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x50
,
0x72
,
0x69
,
0x6e
,
0x63
,
0x69
,
0x70
,
0x61
,
0x6c
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x44
,
0x6f
,
0x6d
,
0x61
,
0x69
,
0x6e
,
0x52
,
0x61
,
0x6c
,
0x4e
,
0x65
,
0x74
,
0x77
,
0x6f
,
0x72
,
0x6b
,
0x44
,
0x6f
,
0x6d
,
0x61
,
0x69
,
0x6e
,
0x52
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x12
,
0x39
,
0x0a
,
0x03
,
0x6f
,
0x6e
,
0x64
,
0x18
,
0x03
,
0x20
,
0x0
1
,
0x28
,
0x03
,
0x70
,
0x6e
,
0x64
,
0x12
,
0x39
,
0x0a
,
0x03
,
0x6f
,
0x6e
,
0x64
,
0x18
,
0x03
,
0x20
,
0x0
3
,
0x28
,
0x0b
,
0x32
,
0x27
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x4f
,
0x72
,
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
,
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
,
0x03
,
0x6f
,
0x6e
,
0x64
,
0x22
,
0x6b
,
0x69
,
0x6e
,
0x67
,
0x44
,
0x65
,
0x76
,
0x69
,
0x63
,
0x65
,
0x52
,
0x03
,
0x6f
,
0x6e
,
0x64
,
0x22
,
...
@@ -2454,32 +2454,32 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
...
@@ -2454,32 +2454,32 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
0x6e
,
0x67
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x52
,
0x0d
,
0x63
,
0x68
,
0x61
,
0x6e
,
0x6e
,
0x67
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x52
,
0x0d
,
0x63
,
0x68
,
0x61
,
0x6e
,
0x67
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x64
,
0x69
,
0x64
,
0x67
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x64
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x64
,
0x69
,
0x64
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x64
,
0x69
,
0x64
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x69
,
0x64
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x70
,
0x69
,
0x64
,
0x22
,
0x
c
9
,
0x0
1
,
0x69
,
0x64
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x70
,
0x69
,
0x64
,
0x22
,
0x
6
9
,
0x0
a
,
0x0
a
,
0x
06
,
0x5
3
,
0x6
5
,
0x
74
,
0x
4f
,
0x6
e
,
0x6
4
,
0x
1
2
,
0x
18
,
0x
0a
,
0x
0
7
,
0x6
1
,
0x
6
4
,
0x
64
,
0x
7
2
,
0x0
d
,
0x
4
3
,
0x6
8
,
0x
61
,
0x
6e
,
0x6
7
,
0x6
5
,
0x
5
2
,
0x
65
,
0x
71
,
0x7
5
,
0x6
5
,
0x
73
,
0x7
4
,
0x
12
,
0x
1
2
,
0x
65
,
0x73
,
0x73
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0
7
,
0x61
,
0x64
,
0x64
,
0x72
,
0x6
5
,
0x
0a
,
0x04
,
0x70
,
0x61
,
0x74
,
0x68
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x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61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x52
,
0x05
,
0x73
,
0x64
,
0x
6
e
,
0x
2e
,
0x70
,
0x6
e
,
0x64
,
0x2e
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6
1
,
0x
70
,
0x
69
,
0x
4
f
,
0x70
,
0x22
,
0x56
,
0x0a
,
0x0b
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6
e
,
0x
52
,
0x
02
,
0x
6
f
,
0x70
,
0x22
,
0x56
,
0x0a
,
0x0b
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
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
,
0x70
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x09
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x73
,
0x74
,
0x61
,
0x6d
,
0x70
,
0x12
,
0x29
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x02
,
0x20
,
0x01
,
0x6d
,
0x70
,
0x12
,
0x29
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x02
,
0x20
,
0x01
,
...
@@ -2549,22 +2549,22 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
...
@@ -2549,22 +2549,22 @@ var file_gosdn_pnd_pnd_proto_rawDesc = []byte{
0x1a
,
0x0a
,
0x16
,
0x43
,
0x48
,
0x41
,
0x4e
,
0x47
,
0x45
,
0x5f
,
0x53
,
0x54
,
0x41
,
0x54
,
0x45
,
0x5f
,
0x1a
,
0x0a
,
0x16
,
0x43
,
0x48
,
0x41
,
0x4e
,
0x47
,
0x45
,
0x5f
,
0x53
,
0x54
,
0x41
,
0x54
,
0x45
,
0x5f
,
0x43
,
0x4f
,
0x4e
,
0x46
,
0x49
,
0x52
,
0x4d
,
0x45
,
0x44
,
0x10
,
0x03
,
0x12
,
0x1d
,
0x0a
,
0x19
,
0x43
,
0x43
,
0x4f
,
0x4e
,
0x46
,
0x49
,
0x52
,
0x4d
,
0x45
,
0x44
,
0x10
,
0x03
,
0x12
,
0x1d
,
0x0a
,
0x19
,
0x43
,
0x48
,
0x41
,
0x4e
,
0x47
,
0x45
,
0x5f
,
0x53
,
0x54
,
0x41
,
0x54
,
0x45
,
0x5f
,
0x49
,
0x4e
,
0x43
,
0x4f
,
0x48
,
0x41
,
0x4e
,
0x47
,
0x45
,
0x5f
,
0x53
,
0x54
,
0x41
,
0x54
,
0x45
,
0x5f
,
0x49
,
0x4e
,
0x43
,
0x4f
,
0x4e
,
0x53
,
0x49
,
0x53
,
0x54
,
0x45
,
0x4e
,
0x54
,
0x10
,
0x04
,
0x2a
,
0x
69
,
0x0a
,
0x0
9
,
0x4
f
,
0x70
,
0x4e
,
0x53
,
0x49
,
0x53
,
0x54
,
0x45
,
0x4e
,
0x54
,
0x10
,
0x04
,
0x2a
,
0x
7c
,
0x0a
,
0x0
c
,
0x4
1
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x12
,
0x1
9
,
0x0a
,
0x1
5
,
0x4f
,
0x50
,
0x4
5
,
0x5
2
,
0x41
,
0x69
,
0x4f
,
0x70
,
0x65
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x12
,
0x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,
0x54
,
0x49
,
0x4f
,
0x4e
,
0x5f
,
0x4
3
,
0x4f
,
0x4
e
,
0x4
6
,
0x4
9
,
0x5
2
,
0x4
5
,
0x10
,
0x03
,
0x2a
,
0x41
,
0x0a
,
0x06
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x16
,
0x0a
,
0x4
d
,
0x10
,
0x03
,
0x2a
,
0x41
,
0x0a
,
0x06
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x16
,
0x0a
,
0x12
,
0x53
,
0x54
,
0x41
,
0x54
,
0x55
,
0x53
,
0x5f
,
0x55
,
0x4e
,
0x53
,
0x50
,
0x45
,
0x43
,
0x49
,
0x46
,
0x12
,
0x53
,
0x54
,
0x41
,
0x54
,
0x55
,
0x53
,
0x5f
,
0x55
,
0x4e
,
0x53
,
0x50
,
0x45
,
0x43
,
0x49
,
0x46
,
0x49
,
0x45
,
0x44
,
0x10
,
0x00
,
0x12
,
0x0d
,
0x0a
,
0x09
,
0x53
,
0x54
,
0x41
,
0x54
,
0x55
,
0x53
,
0x5f
,
0x49
,
0x45
,
0x44
,
0x10
,
0x00
,
0x12
,
0x0d
,
0x0a
,
0x09
,
0x53
,
0x54
,
0x41
,
0x54
,
0x55
,
0x53
,
0x5f
,
0x4f
,
0x4b
,
0x10
,
0x01
,
0x12
,
0x10
,
0x0a
,
0x0c
,
0x53
,
0x54
,
0x41
,
0x54
,
0x55
,
0x53
,
0x5f
,
0x45
,
0x4f
,
0x4b
,
0x10
,
0x01
,
0x12
,
0x10
,
0x0a
,
0x0c
,
0x53
,
0x54
,
0x41
,
0x54
,
0x55
,
0x53
,
0x5f
,
0x45
,
...
@@ -2686,8 +2686,8 @@ var file_gosdn_pnd_pnd_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
...
@@ -2686,8 +2686,8 @@ var file_gosdn_pnd_pnd_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
var
file_gosdn_pnd_pnd_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
33
)
var
file_gosdn_pnd_pnd_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
33
)
var
file_gosdn_pnd_pnd_proto_goTypes
=
[]
interface
{}{
var
file_gosdn_pnd_pnd_proto_goTypes
=
[]
interface
{}{
(
ChangeState
)(
0
),
// 0: gosdn.pnd.ChangeState
(
ChangeState
)(
0
),
// 0: gosdn.pnd.ChangeState
(
Operation
)(
0
),
// 1: gosdn.pnd.Operation
(
Api
Operation
)(
0
),
// 1: gosdn.pnd.
Api
Operation
(
Api
Operation
)(
0
),
// 2: gosdn.pnd.
Api
Operation
(
Operation
)(
0
),
// 2: gosdn.pnd.Operation
(
Status
)(
0
),
// 3: gosdn.pnd.Status
(
Status
)(
0
),
// 3: gosdn.pnd.Status
(
*
GetOndListRequest
)(
nil
),
// 4: gosdn.pnd.GetOndListRequest
(
*
GetOndListRequest
)(
nil
),
// 4: gosdn.pnd.GetOndListRequest
(
*
GetOndRequest
)(
nil
),
// 5: gosdn.pnd.GetOndRequest
(
*
GetOndRequest
)(
nil
),
// 5: gosdn.pnd.GetOndRequest
...
@@ -2710,10 +2710,10 @@ var file_gosdn_pnd_pnd_proto_goTypes = []interface{}{
...
@@ -2710,10 +2710,10 @@ var file_gosdn_pnd_pnd_proto_goTypes = []interface{}{
(
*
SetSbiListRequest
)(
nil
),
// 22: gosdn.pnd.SetSbiListRequest
(
*
SetSbiListRequest
)(
nil
),
// 22: gosdn.pnd.SetSbiListRequest
(
*
SetChangeListRequest
)(
nil
),
// 23: gosdn.pnd.SetChangeListRequest
(
*
SetChangeListRequest
)(
nil
),
// 23: gosdn.pnd.SetChangeListRequest
(
*
SetPathListRequest
)(
nil
),
// 24: gosdn.pnd.SetPathListRequest
(
*
SetPathListRequest
)(
nil
),
// 24: gosdn.pnd.SetPathListRequest
(
*
SetOnd
)(
nil
),
// 25: gosdn.pnd.
SetOnd
(
*
ChangeRequest
)(
nil
),
// 25: gosdn.pnd.
ChangeRequest
(
*
Set
Sbi
)(
nil
),
// 26: gosdn.pnd.Set
Sbi
(
*
Set
Ond
)(
nil
),
// 26: gosdn.pnd.Set
Ond
(
*
Set
Change
)(
nil
),
// 27: gosdn.pnd.Set
Change
(
*
Set
Sbi
)(
nil
),
// 27: gosdn.pnd.Set
Sbi
(
*
Change
Request
)(
nil
),
// 28: gosdn.pnd.Change
Request
(
*
Set
Change
)(
nil
),
// 28: gosdn.pnd.
Set
Change
(
*
SetResponse
)(
nil
),
// 29: gosdn.pnd.SetResponse
(
*
SetResponse
)(
nil
),
// 29: gosdn.pnd.SetResponse
(
*
SetOndListResponse
)(
nil
),
// 30: gosdn.pnd.SetOndListResponse
(
*
SetOndListResponse
)(
nil
),
// 30: gosdn.pnd.SetOndListResponse
(
*
SetChangeListResponse
)(
nil
),
// 31: gosdn.pnd.SetChangeListResponse
(
*
SetChangeListResponse
)(
nil
),
// 31: gosdn.pnd.SetChangeListResponse
...
@@ -2744,14 +2744,14 @@ var file_gosdn_pnd_pnd_proto_depIdxs = []int32{
...
@@ -2744,14 +2744,14 @@ var file_gosdn_pnd_pnd_proto_depIdxs = []int32{
38
,
// 14: gosdn.pnd.OrchestratedNetworkingDevice.device:type_name -> gnmi.Notification
38
,
// 14: gosdn.pnd.OrchestratedNetworkingDevice.device:type_name -> gnmi.Notification
37
,
// 15: gosdn.pnd.OrchestratedNetworkingDevice.sbi:type_name -> gosdn.southbound.SouthboundInterface
37
,
// 15: gosdn.pnd.OrchestratedNetworkingDevice.sbi:type_name -> gosdn.southbound.SouthboundInterface
0
,
// 16: gosdn.pnd.Change.state:type_name -> gosdn.pnd.ChangeState
0
,
// 16: gosdn.pnd.Change.state:type_name -> gosdn.pnd.ChangeState
2
5
,
// 17: gosdn.pnd.SetOndListRequest.ond:type_name -> gosdn.pnd.SetOnd
2
6
,
// 17: gosdn.pnd.SetOndListRequest.ond:type_name -> gosdn.pnd.SetOnd
2
6
,
// 18: gosdn.pnd.SetSbiListRequest.sbi:type_name -> gosdn.pnd.SetSbi
2
7
,
// 18: gosdn.pnd.SetSbiListRequest.sbi:type_name -> gosdn.pnd.SetSbi
2
7
,
// 19: gosdn.pnd.SetChangeListRequest.change:type_name -> gosdn.pnd.SetChange
2
8
,
// 19: gosdn.pnd.SetChangeListRequest.change:type_name -> gosdn.pnd.SetChange
2
8
,
// 20: gosdn.pnd.SetPathListRequest.change_request:type_name -> gosdn.pnd.ChangeRequest
2
5
,
// 20: gosdn.pnd.SetPathListRequest.change_request:type_name -> gosdn.pnd.ChangeRequest
37
,
// 21: gosdn.pnd.
SetOnd.sbi:type_name -> gosdn.southbound.SouthboundInterface
1
,
// 21: gosdn.pnd.
ChangeRequest.api_op:type_name -> gosdn.pnd.ApiOperation
3
9
,
// 22: gosdn.pnd.SetOnd.
transport_option
:type_name -> gosdn.
transport.TransportOption
3
7
,
// 22: gosdn.pnd.SetOnd.
sbi
:type_name -> gosdn.
southbound.SouthboundInterface
1
,
// 23: gosdn.pnd.Set
Change.op:type_name -> gosdn.pnd.Opera
tion
39
,
// 23: gosdn.pnd.Set
Ond.transport_option:type_name -> gosdn.transport.TransportOp
tion
2
,
// 24: gosdn.pnd.Change
Request.api_
op:type_name -> gosdn.pnd.
Api
Operation
2
,
// 24: gosdn.pnd.
Set
Change
.
op:type_name -> gosdn.pnd.Operation
3
,
// 25: gosdn.pnd.SetResponse.status:type_name -> gosdn.pnd.Status
3
,
// 25: gosdn.pnd.SetResponse.status:type_name -> gosdn.pnd.Status
3
,
// 26: gosdn.pnd.SetOndListResponse.status:type_name -> gosdn.pnd.Status
3
,
// 26: gosdn.pnd.SetOndListResponse.status:type_name -> gosdn.pnd.Status
29
,
// 27: gosdn.pnd.SetOndListResponse.responses:type_name -> gosdn.pnd.SetResponse
29
,
// 27: gosdn.pnd.SetOndListResponse.responses:type_name -> gosdn.pnd.SetResponse
...
@@ -3053,7 +3053,7 @@ func file_gosdn_pnd_pnd_proto_init() {
...
@@ -3053,7 +3053,7 @@ func file_gosdn_pnd_pnd_proto_init() {
}
}
}
}
file_gosdn_pnd_pnd_proto_msgTypes
[
21
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_gosdn_pnd_pnd_proto_msgTypes
[
21
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
SetOnd
);
i
{
switch
v
:=
v
.
(
*
ChangeRequest
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
case
1
:
case
1
:
...
@@ -3065,7 +3065,7 @@ func file_gosdn_pnd_pnd_proto_init() {
...
@@ -3065,7 +3065,7 @@ func file_gosdn_pnd_pnd_proto_init() {
}
}
}
}
file_gosdn_pnd_pnd_proto_msgTypes
[
22
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_gosdn_pnd_pnd_proto_msgTypes
[
22
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
Set
Sbi
);
i
{
switch
v
:=
v
.
(
*
Set
Ond
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
case
1
:
case
1
:
...
@@ -3077,7 +3077,7 @@ func file_gosdn_pnd_pnd_proto_init() {
...
@@ -3077,7 +3077,7 @@ func file_gosdn_pnd_pnd_proto_init() {
}
}
}
}
file_gosdn_pnd_pnd_proto_msgTypes
[
23
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_gosdn_pnd_pnd_proto_msgTypes
[
23
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
Set
Change
);
i
{
switch
v
:=
v
.
(
*
Set
Sbi
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
case
1
:
case
1
:
...
@@ -3089,7 +3089,7 @@ func file_gosdn_pnd_pnd_proto_init() {
...
@@ -3089,7 +3089,7 @@ func file_gosdn_pnd_pnd_proto_init() {
}
}
}
}
file_gosdn_pnd_pnd_proto_msgTypes
[
24
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_gosdn_pnd_pnd_proto_msgTypes
[
24
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
Change
Request
);
i
{
switch
v
:=
v
.
(
*
Set
Change
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
case
1
:
case
1
:
...
...
This diff is collapsed.
Click to expand it.
openapiv2/gosdn_northbound.swagger.json
+
7
−
4
View file @
80e72033
...
@@ -23,14 +23,14 @@
...
@@ -23,14 +23,14 @@
{
{
"name"
:
"CsbiService"
"name"
:
"CsbiService"
},
},
{
"name"
:
"CoreService"
},
{
{
"name"
:
"Collector"
"name"
:
"Collector"
},
},
{
{
"name"
:
"AgentManager"
"name"
:
"AgentManager"
},
{
"name"
:
"CoreService"
}
}
],
],
"consumes"
:
[
"consumes"
:
[
...
@@ -2143,7 +2143,10 @@
...
@@ -2143,7 +2143,10 @@
"description"
:
"TODO: Check if this is really needed. Perhaps a reference to the PND's ID
\n
is also sufficient."
"description"
:
"TODO: Check if this is really needed. Perhaps a reference to the PND's ID
\n
is also sufficient."
},
},
"ond"
:
{
"ond"
:
{
"$ref"
:
"#/definitions/pndOrchestratedNetworkingDevice"
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/pndOrchestratedNetworkingDevice"
}
}
}
}
}
},
},
...
...
This diff is collapsed.
Click to expand it.
proto/gosdn/pnd/pnd.proto
+
15
−
15
View file @
80e72033
...
@@ -161,7 +161,7 @@ message GetOndResponse {
...
@@ -161,7 +161,7 @@ message GetOndResponse {
// TODO: Check if this is really needed. Perhaps a reference to the PND's ID
// TODO: Check if this is really needed. Perhaps a reference to the PND's ID
// is also sufficient.
// is also sufficient.
PrincipalNetworkDomain
pnd
=
2
;
PrincipalNetworkDomain
pnd
=
2
;
OrchestratedNetworkingDevice
ond
=
3
;
repeated
OrchestratedNetworkingDevice
ond
=
3
;
}
}
message
GetOndListResponse
{
message
GetOndListResponse
{
...
@@ -265,6 +265,20 @@ message SetPathListRequest {
...
@@ -265,6 +265,20 @@ message SetPathListRequest {
string
pid
=
4
;
string
pid
=
4
;
}
}
//TODO: rename
message
ChangeRequest
{
string
path
=
1
;
string
value
=
2
;
ApiOperation
api_op
=
3
;
}
enum
ApiOperation
{
API_OPERATION_UNSPECIFIED
=
0
;
API_OPERATION_UPDATE
=
1
;
API_OPERATION_REPLACE
=
2
;
API_OPERATION_DELETE
=
3
;
}
message
SetOnd
{
message
SetOnd
{
string
address
=
1
;
string
address
=
1
;
.
gosdn.southbound.SouthboundInterface
sbi
=
2
;
.
gosdn.southbound.SouthboundInterface
sbi
=
2
;
...
@@ -288,20 +302,6 @@ message SetChange {
...
@@ -288,20 +302,6 @@ message SetChange {
Operation
op
=
2
;
Operation
op
=
2
;
}
}
//TODO: rename
message
ChangeRequest
{
string
path
=
1
;
string
value
=
2
;
ApiOperation
api_op
=
3
;
}
enum
ApiOperation
{
API_OPERATION_UNSPECIFIED
=
0
;
API_OPERATION_UPDATE
=
1
;
API_OPERATION_REPLACE
=
2
;
API_OPERATION_DELETE
=
3
;
}
message
SetResponse
{
message
SetResponse
{
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
int64
timestamp
=
1
;
// Timestamp in nanoseconds since Epoch.
Status
status
=
2
;
Status
status
=
2
;
...
...
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