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
ee24c036
Commit
ee24c036
authored
3 years ago
by
Malte Bauch
Browse files
Options
Downloads
Patches
Plain Diff
updated generated code
parent
f338680e
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/southbound/southbound.pb.go
+22
-23
22 additions, 23 deletions
go/gosdn/southbound/southbound.pb.go
openapiv2/gosdn_northbound.swagger.json
+9
-9
9 additions, 9 deletions
openapiv2/gosdn_northbound.swagger.json
with
31 additions
and
32 deletions
go/gosdn/southbound/southbound.pb.go
+
22
−
23
View file @
ee24c036
...
@@ -24,25 +24,25 @@ const (
...
@@ -24,25 +24,25 @@ const (
type
Type
int32
type
Type
int32
const
(
const
(
Type_
TYPE_
UNSPECIFIED
Type
=
0
Type_UNSPECIFIED
Type
=
0
Type_
TYPE_
OPENCONFIG
Type
=
1
Type_OPENCONFIG
Type
=
1
Type_
TYPE_
CONTAINERISED
Type
=
2
Type_CONTAINERISED
Type
=
2
Type_
TYPE_
PLUGIN
Type
=
3
Type_PLUGIN
Type
=
3
)
)
// Enum value maps for Type.
// Enum value maps for Type.
var
(
var
(
Type_name
=
map
[
int32
]
string
{
Type_name
=
map
[
int32
]
string
{
0
:
"
TYPE_
UNSPECIFIED"
,
0
:
"UNSPECIFIED"
,
1
:
"
TYPE_
OPENCONFIG"
,
1
:
"OPENCONFIG"
,
2
:
"
TYPE_
CONTAINERISED"
,
2
:
"CONTAINERISED"
,
3
:
"
TYPE_
PLUGIN"
,
3
:
"PLUGIN"
,
}
}
Type_value
=
map
[
string
]
int32
{
Type_value
=
map
[
string
]
int32
{
"
TYPE_
UNSPECIFIED"
:
0
,
"UNSPECIFIED"
:
0
,
"
TYPE_
OPENCONFIG"
:
1
,
"OPENCONFIG"
:
1
,
"
TYPE_
CONTAINERISED"
:
2
,
"CONTAINERISED"
:
2
,
"
TYPE_
PLUGIN"
:
3
,
"PLUGIN"
:
3
,
}
}
)
)
...
@@ -125,7 +125,7 @@ func (x *SouthboundInterface) GetType() Type {
...
@@ -125,7 +125,7 @@ func (x *SouthboundInterface) GetType() Type {
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Type
return
x
.
Type
}
}
return
Type_
TYPE_
UNSPECIFIED
return
Type_UNSPECIFIED
}
}
var
File_gosdn_southbound_southbound_proto
protoreflect
.
FileDescriptor
var
File_gosdn_southbound_southbound_proto
protoreflect
.
FileDescriptor
...
@@ -141,16 +141,15 @@ var file_gosdn_southbound_southbound_proto_rawDesc = []byte{
...
@@ -141,16 +141,15 @@ var file_gosdn_southbound_southbound_proto_rawDesc = []byte{
0x0a
,
0x02
,
0x69
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x02
,
0x69
,
0x64
,
0x12
,
0x2a
,
0x0a
,
0x02
,
0x69
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x02
,
0x69
,
0x64
,
0x12
,
0x2a
,
0x0a
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x16
,
0x2e
,
0x67
,
0x0a
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x16
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x73
,
0x6f
,
0x75
,
0x74
,
0x68
,
0x62
,
0x6f
,
0x75
,
0x6e
,
0x64
,
0x2e
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x73
,
0x6f
,
0x75
,
0x74
,
0x68
,
0x62
,
0x6f
,
0x75
,
0x6e
,
0x64
,
0x2e
,
0x54
,
0x79
,
0x70
,
0x65
,
0x52
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x2a
,
0x5a
,
0x0a
,
0x04
,
0x54
,
0x79
,
0x54
,
0x79
,
0x70
,
0x65
,
0x52
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x2a
,
0x46
,
0x0a
,
0x04
,
0x54
,
0x79
,
0x70
,
0x65
,
0x12
,
0x14
,
0x0a
,
0x10
,
0x54
,
0x59
,
0x50
,
0x45
,
0x5f
,
0x55
,
0x4e
,
0x53
,
0x50
,
0x45
,
0x70
,
0x65
,
0x12
,
0x0f
,
0x0a
,
0x0b
,
0x55
,
0x4e
,
0x53
,
0x50
,
0x45
,
0x43
,
0x49
,
0x46
,
0x49
,
0x45
,
0x43
,
0x49
,
0x46
,
0x49
,
0x45
,
0x44
,
0x10
,
0x00
,
0x12
,
0x13
,
0x0a
,
0x0f
,
0x54
,
0x59
,
0x50
,
0x45
,
0x44
,
0x10
,
0x00
,
0x12
,
0x0e
,
0x0a
,
0x0a
,
0x4f
,
0x50
,
0x45
,
0x4e
,
0x43
,
0x4f
,
0x4e
,
0x46
,
0x49
,
0x5f
,
0x4f
,
0x50
,
0x45
,
0x4e
,
0x43
,
0x4f
,
0x4e
,
0x46
,
0x49
,
0x47
,
0x10
,
0x01
,
0x12
,
0x16
,
0x0a
,
0x47
,
0x10
,
0x01
,
0x12
,
0x11
,
0x0a
,
0x0d
,
0x43
,
0x4f
,
0x4e
,
0x54
,
0x41
,
0x49
,
0x4e
,
0x45
,
0x52
,
0x12
,
0x54
,
0x59
,
0x50
,
0x45
,
0x5f
,
0x43
,
0x4f
,
0x4e
,
0x54
,
0x41
,
0x49
,
0x4e
,
0x45
,
0x52
,
0x49
,
0x49
,
0x53
,
0x45
,
0x44
,
0x10
,
0x02
,
0x12
,
0x0a
,
0x0a
,
0x06
,
0x50
,
0x4c
,
0x55
,
0x47
,
0x49
,
0x4e
,
0x53
,
0x45
,
0x44
,
0x10
,
0x02
,
0x12
,
0x0f
,
0x0a
,
0x0b
,
0x54
,
0x59
,
0x50
,
0x45
,
0x5f
,
0x50
,
0x4c
,
0x10
,
0x03
,
0x42
,
0x30
,
0x5a
,
0x2e
,
0x63
,
0x6f
,
0x64
,
0x65
,
0x2e
,
0x66
,
0x62
,
0x69
,
0x2e
,
0x68
,
0x55
,
0x47
,
0x49
,
0x4e
,
0x10
,
0x03
,
0x42
,
0x30
,
0x5a
,
0x2e
,
0x63
,
0x6f
,
0x64
,
0x65
,
0x2e
,
0x66
,
0x2d
,
0x64
,
0x61
,
0x2e
,
0x64
,
0x65
,
0x2f
,
0x64
,
0x61
,
0x6e
,
0x65
,
0x74
,
0x2f
,
0x61
,
0x70
,
0x69
,
0x62
,
0x69
,
0x2e
,
0x68
,
0x2d
,
0x64
,
0x61
,
0x2e
,
0x64
,
0x65
,
0x2f
,
0x64
,
0x61
,
0x6e
,
0x65
,
0x74
,
0x2f
,
0x67
,
0x6f
,
0x2f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x73
,
0x6f
,
0x75
,
0x74
,
0x68
,
0x62
,
0x2f
,
0x61
,
0x70
,
0x69
,
0x2f
,
0x67
,
0x6f
,
0x2f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x73
,
0x6f
,
0x6f
,
0x75
,
0x6e
,
0x64
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x75
,
0x74
,
0x68
,
0x62
,
0x6f
,
0x75
,
0x6e
,
0x64
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
}
var
(
var
(
...
...
This diff is collapsed.
Click to expand it.
openapiv2/gosdn_northbound.swagger.json
+
9
−
9
View file @
ee24c036
...
@@ -21,16 +21,16 @@
...
@@ -21,16 +21,16 @@
"name"
:
"gNMI"
"name"
:
"gNMI"
},
},
{
{
"name"
:
"C
ollector
"
"name"
:
"C
sbiService
"
},
},
{
{
"name"
:
"
AgentManager
"
"name"
:
"
CoreService
"
},
},
{
{
"name"
:
"
CoreService
"
"name"
:
"
AgentManager
"
},
},
{
{
"name"
:
"C
sbiService
"
"name"
:
"C
ollector
"
}
}
],
],
"consumes"
:
[
"consumes"
:
[
...
@@ -2009,12 +2009,12 @@
...
@@ -2009,12 +2009,12 @@
"gosdnsouthboundType"
:
{
"gosdnsouthboundType"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"enum"
:
[
"enum"
:
[
"
TYPE_
UNSPECIFIED"
,
"UNSPECIFIED"
,
"
TYPE_
OPENCONFIG"
,
"OPENCONFIG"
,
"
TYPE_
CONTAINERISED"
,
"CONTAINERISED"
,
"
TYPE_
PLUGIN"
"PLUGIN"
],
],
"default"
:
"
TYPE_
UNSPECIFIED"
"default"
:
"UNSPECIFIED"
},
},
"pndApiOperation"
:
{
"pndApiOperation"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
...
...
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