Skip to content
Snippets Groups Projects
Commit 98ec7f81 authored by Fabian Seidl's avatar Fabian Seidl
Browse files

added generated proto files

parent f6b3291b
No related branches found
No related tags found
No related merge requests found
...@@ -21,28 +21,30 @@ const ( ...@@ -21,28 +21,30 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) )
// Changed accoprding to style guide:
// https://docs.buf.build/best-practices/style-guide#enums
type Type int32 type Type int32
const ( const (
Type_UNSPECIFIED Type = 0 Type_TYPE_UNSPECIFIED Type = 0
Type_OPENCONFIG Type = 1 Type_TYPE_OPENCONFIG Type = 1
Type_CONTAINERISED Type = 2 Type_TYPE_CONTAINERISED Type = 2
Type_PLUGIN Type = 3 Type_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: "UNSPECIFIED", 0: "TYPE_UNSPECIFIED",
1: "OPENCONFIG", 1: "TYPE_OPENCONFIG",
2: "CONTAINERISED", 2: "TYPE_CONTAINERISED",
3: "PLUGIN", 3: "TYPE_PLUGIN",
} }
Type_value = map[string]int32{ Type_value = map[string]int32{
"UNSPECIFIED": 0, "TYPE_UNSPECIFIED": 0,
"OPENCONFIG": 1, "TYPE_OPENCONFIG": 1,
"CONTAINERISED": 2, "TYPE_CONTAINERISED": 2,
"PLUGIN": 3, "TYPE_PLUGIN": 3,
} }
) )
...@@ -125,7 +127,7 @@ func (x *SouthboundInterface) GetType() Type { ...@@ -125,7 +127,7 @@ func (x *SouthboundInterface) GetType() Type {
if x != nil { if x != nil {
return x.Type return x.Type
} }
return Type_UNSPECIFIED return Type_TYPE_UNSPECIFIED
} }
var File_gosdn_southbound_southbound_proto protoreflect.FileDescriptor var File_gosdn_southbound_southbound_proto protoreflect.FileDescriptor
...@@ -141,15 +143,16 @@ var file_gosdn_southbound_southbound_proto_rawDesc = []byte{ ...@@ -141,15 +143,16 @@ 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, 0x46, 0x0a, 0x04, 0x54, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x2a, 0x5a, 0x0a, 0x04, 0x54, 0x79,
0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x45, 0x4e, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50, 0x45,
0x47, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x01, 0x12, 0x16, 0x0a,
0x49, 0x53, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x12, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x49,
0x10, 0x03, 0x42, 0x30, 0x5a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x66, 0x62, 0x69, 0x2e, 0x68, 0x53, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c,
0x2d, 0x64, 0x61, 0x2e, 0x64, 0x65, 0x2f, 0x64, 0x61, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x55, 0x47, 0x49, 0x4e, 0x10, 0x03, 0x42, 0x30, 0x5a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x66,
0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2f, 0x73, 0x6f, 0x75, 0x74, 0x68, 0x62, 0x62, 0x69, 0x2e, 0x68, 0x2d, 0x64, 0x61, 0x2e, 0x64, 0x65, 0x2f, 0x64, 0x61, 0x6e, 0x65, 0x74,
0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6f, 0x73, 0x64, 0x6e, 0x2f, 0x73, 0x6f,
0x75, 0x74, 0x68, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
......
...@@ -18,19 +18,19 @@ ...@@ -18,19 +18,19 @@
"name": "PndService" "name": "PndService"
}, },
{ {
"name": "gNMI" "name": "Collector"
}, },
{ {
"name": "CsbiService" "name": "gNMI"
}, },
{ {
"name": "CoreService" "name": "AgentManager"
}, },
{ {
"name": "AgentManager" "name": "CoreService"
}, },
{ {
"name": "Collector" "name": "CsbiService"
} }
], ],
"consumes": [ "consumes": [
...@@ -2009,12 +2009,13 @@ ...@@ -2009,12 +2009,13 @@
"gosdnsouthboundType": { "gosdnsouthboundType": {
"type": "string", "type": "string",
"enum": [ "enum": [
"UNSPECIFIED", "TYPE_UNSPECIFIED",
"OPENCONFIG", "TYPE_OPENCONFIG",
"CONTAINERISED", "TYPE_CONTAINERISED",
"PLUGIN" "TYPE_PLUGIN"
], ],
"default": "UNSPECIFIED" "default": "TYPE_UNSPECIFIED",
"title": "Changed accoprding to style guide: \r\nhttps://docs.buf.build/best-practices/style-guide#enums"
}, },
"pndApiOperation": { "pndApiOperation": {
"type": "string", "type": "string",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment