Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
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
Show more breadcrumbs
danet
goSDN
Merge requests
!404
Enable export and import of SDN configuration
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Enable export and import of SDN configuration
export-import-sdn-config
into
develop
Overview
22
Commits
131
Pipelines
100
Changes
6
Merged
Ghost User
requested to merge
export-import-sdn-config
into
develop
2 years ago
Overview
22
Commits
131
Pipelines
100
Changes
6
Expand
resolves
#269 (closed)
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
My code follows the code style of this project.
My change requires a change to the documentation.
I have updated the documentation accordingly.
I have read the
CONTRIBUTING
document.
I have added tests to cover my changes.
All new and existing tests passed.
0
0
Merge request reports
Viewing commit
58d50daf
Show latest version
6 files
+
1093
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
58d50daf
started protobuf
· 58d50daf
Neil Schark
authored
2 years ago
api/go/gosdn/configurationmanagement/configurationmanagement.pb.go
0 → 100644
+
468
−
0
Options
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc (unknown)
// source: gosdn/configurationmanagement/configurationmanagement.proto
package
core
import
(
_
"code.fbi.h-da.de/danet/gosdn/api/go/gosdn/pnd"
_
"google.golang.org/genproto/googleapis/api/annotations"
protoreflect
"google.golang.org/protobuf/reflect/protoreflect"
protoimpl
"google.golang.org/protobuf/runtime/protoimpl"
reflect
"reflect"
sync
"sync"
)
const
(
// Verify that this generated code is sufficiently up-to-date.
_
=
protoimpl
.
EnforceVersion
(
20
-
protoimpl
.
MinVersion
)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_
=
protoimpl
.
EnforceVersion
(
protoimpl
.
MaxVersion
-
20
)
)
type
Status
int32
const
(
Status_STATUS_UNSPECIFIED
Status
=
0
Status_STATUS_OK
Status
=
1
Status_STATUS_ERROR
Status
=
2
)
// Enum value maps for Status.
var
(
Status_name
=
map
[
int32
]
string
{
0
:
"STATUS_UNSPECIFIED"
,
1
:
"STATUS_OK"
,
2
:
"STATUS_ERROR"
,
}
Status_value
=
map
[
string
]
int32
{
"STATUS_UNSPECIFIED"
:
0
,
"STATUS_OK"
:
1
,
"STATUS_ERROR"
:
2
,
}
)
func
(
x
Status
)
Enum
()
*
Status
{
p
:=
new
(
Status
)
*
p
=
x
return
p
}
func
(
x
Status
)
String
()
string
{
return
protoimpl
.
X
.
EnumStringOf
(
x
.
Descriptor
(),
protoreflect
.
EnumNumber
(
x
))
}
func
(
Status
)
Descriptor
()
protoreflect
.
EnumDescriptor
{
return
file_gosdn_configurationmanagement_configurationmanagement_proto_enumTypes
[
0
]
.
Descriptor
()
}
func
(
Status
)
Type
()
protoreflect
.
EnumType
{
return
&
file_gosdn_configurationmanagement_configurationmanagement_proto_enumTypes
[
0
]
}
func
(
x
Status
)
Number
()
protoreflect
.
EnumNumber
{
return
protoreflect
.
EnumNumber
(
x
)
}
// Deprecated: Use Status.Descriptor instead.
func
(
Status
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescGZIP
(),
[]
int
{
0
}
}
type
ExportSDNConfigRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Timestamp
int64
`protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Timestamp in nanoseconds since Epoch.
Pid
string
`protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
}
func
(
x
*
ExportSDNConfigRequest
)
Reset
()
{
*
x
=
ExportSDNConfigRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
0
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
ExportSDNConfigRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
ExportSDNConfigRequest
)
ProtoMessage
()
{}
func
(
x
*
ExportSDNConfigRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
0
]
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 ExportSDNConfigRequest.ProtoReflect.Descriptor instead.
func
(
*
ExportSDNConfigRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescGZIP
(),
[]
int
{
0
}
}
func
(
x
*
ExportSDNConfigRequest
)
GetTimestamp
()
int64
{
if
x
!=
nil
{
return
x
.
Timestamp
}
return
0
}
func
(
x
*
ExportSDNConfigRequest
)
GetPid
()
string
{
if
x
!=
nil
{
return
x
.
Pid
}
return
""
}
type
ExportSDNConfigResponse
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Timestamp
int64
`protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Timestamp in nanoseconds since Epoch.
SdnConfig
string
`protobuf:"bytes,2,opt,name=sdnConfig,proto3" json:"sdnConfig,omitempty"`
}
func
(
x
*
ExportSDNConfigResponse
)
Reset
()
{
*
x
=
ExportSDNConfigResponse
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
1
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
ExportSDNConfigResponse
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
ExportSDNConfigResponse
)
ProtoMessage
()
{}
func
(
x
*
ExportSDNConfigResponse
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
1
]
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 ExportSDNConfigResponse.ProtoReflect.Descriptor instead.
func
(
*
ExportSDNConfigResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescGZIP
(),
[]
int
{
1
}
}
func
(
x
*
ExportSDNConfigResponse
)
GetTimestamp
()
int64
{
if
x
!=
nil
{
return
x
.
Timestamp
}
return
0
}
func
(
x
*
ExportSDNConfigResponse
)
GetSdnConfig
()
string
{
if
x
!=
nil
{
return
x
.
SdnConfig
}
return
""
}
type
ImportSDNConfigRequest
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Timestamp
int64
`protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Timestamp in nanoseconds since Epoch.
Pid
string
`protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
}
func
(
x
*
ImportSDNConfigRequest
)
Reset
()
{
*
x
=
ImportSDNConfigRequest
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
2
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
ImportSDNConfigRequest
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
ImportSDNConfigRequest
)
ProtoMessage
()
{}
func
(
x
*
ImportSDNConfigRequest
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
2
]
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 ImportSDNConfigRequest.ProtoReflect.Descriptor instead.
func
(
*
ImportSDNConfigRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescGZIP
(),
[]
int
{
2
}
}
func
(
x
*
ImportSDNConfigRequest
)
GetTimestamp
()
int64
{
if
x
!=
nil
{
return
x
.
Timestamp
}
return
0
}
func
(
x
*
ImportSDNConfigRequest
)
GetPid
()
string
{
if
x
!=
nil
{
return
x
.
Pid
}
return
""
}
type
ImportSDNConfigResponse
struct
{
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
Timestamp
int64
`protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Timestamp in nanoseconds since Epoch.
Status
Status
`protobuf:"varint,2,opt,name=status,proto3,enum=gosdn.configurationmanagement.Status" json:"status,omitempty"`
}
func
(
x
*
ImportSDNConfigResponse
)
Reset
()
{
*
x
=
ImportSDNConfigResponse
{}
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
3
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
}
}
func
(
x
*
ImportSDNConfigResponse
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
func
(
*
ImportSDNConfigResponse
)
ProtoMessage
()
{}
func
(
x
*
ImportSDNConfigResponse
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
3
]
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 ImportSDNConfigResponse.ProtoReflect.Descriptor instead.
func
(
*
ImportSDNConfigResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescGZIP
(),
[]
int
{
3
}
}
func
(
x
*
ImportSDNConfigResponse
)
GetTimestamp
()
int64
{
if
x
!=
nil
{
return
x
.
Timestamp
}
return
0
}
func
(
x
*
ImportSDNConfigResponse
)
GetStatus
()
Status
{
if
x
!=
nil
{
return
x
.
Status
}
return
Status_STATUS_UNSPECIFIED
}
var
File_gosdn_configurationmanagement_configurationmanagement_proto
protoreflect
.
FileDescriptor
var
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDesc
=
[]
byte
{
0x0a
,
0x3b
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x63
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x6d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x2f
,
0x63
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x6d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x12
,
0x1d
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x6d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x1a
,
0x1c
,
0x67
,
0x6f
,
0x6f
,
0x67
,
0x6c
,
0x65
,
0x2f
,
0x61
,
0x70
,
0x69
,
0x2f
,
0x61
,
0x6e
,
0x6e
,
0x6f
,
0x74
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x73
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x1a
,
0x13
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x70
,
0x6e
,
0x64
,
0x2f
,
0x70
,
0x6e
,
0x64
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x48
,
0x0a
,
0x16
,
0x45
,
0x78
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
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
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x70
,
0x69
,
0x64
,
0x22
,
0x55
,
0x0a
,
0x17
,
0x45
,
0x78
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
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
,
0x1c
,
0x0a
,
0x09
,
0x73
,
0x64
,
0x6e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x09
,
0x73
,
0x64
,
0x6e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x22
,
0x48
,
0x0a
,
0x16
,
0x49
,
0x6d
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
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
,
0x10
,
0x0a
,
0x03
,
0x70
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x70
,
0x69
,
0x64
,
0x22
,
0x76
,
0x0a
,
0x17
,
0x49
,
0x6d
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
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
,
0x3d
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0e
,
0x32
,
0x25
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x6d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x2e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x52
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
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
,
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
,
0x52
,
0x52
,
0x4f
,
0x52
,
0x10
,
0x02
,
0x32
,
0xd4
,
0x02
,
0x0a
,
0x1e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x4d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x53
,
0x65
,
0x72
,
0x76
,
0x69
,
0x63
,
0x65
,
0x12
,
0x97
,
0x01
,
0x0a
,
0x0f
,
0x45
,
0x78
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x12
,
0x35
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x6d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x2e
,
0x45
,
0x78
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x36
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x6d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x2e
,
0x45
,
0x78
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x22
,
0x15
,
0x82
,
0xd3
,
0xe4
,
0x93
,
0x02
,
0x0f
,
0x12
,
0x0d
,
0x2f
,
0x65
,
0x78
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x2f
,
0x7b
,
0x70
,
0x69
,
0x64
,
0x7d
,
0x12
,
0x97
,
0x01
,
0x0a
,
0x0f
,
0x49
,
0x6d
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x12
,
0x35
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x6d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x2e
,
0x49
,
0x6d
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x36
,
0x2e
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2e
,
0x63
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x75
,
0x72
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x6d
,
0x61
,
0x6e
,
0x61
,
0x67
,
0x65
,
0x6d
,
0x65
,
0x6e
,
0x74
,
0x2e
,
0x49
,
0x6d
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x53
,
0x44
,
0x4e
,
0x43
,
0x6f
,
0x6e
,
0x66
,
0x69
,
0x67
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x22
,
0x15
,
0x82
,
0xd3
,
0xe4
,
0x93
,
0x02
,
0x0f
,
0x22
,
0x0d
,
0x2f
,
0x69
,
0x6d
,
0x70
,
0x6f
,
0x72
,
0x74
,
0x2f
,
0x7b
,
0x70
,
0x69
,
0x64
,
0x7d
,
0x42
,
0x30
,
0x5a
,
0x2e
,
0x63
,
0x6f
,
0x64
,
0x65
,
0x2e
,
0x66
,
0x62
,
0x69
,
0x2e
,
0x68
,
0x2d
,
0x64
,
0x61
,
0x2e
,
0x64
,
0x65
,
0x2f
,
0x64
,
0x61
,
0x6e
,
0x65
,
0x74
,
0x2f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x61
,
0x70
,
0x69
,
0x2f
,
0x67
,
0x6f
,
0x2f
,
0x67
,
0x6f
,
0x73
,
0x64
,
0x6e
,
0x2f
,
0x63
,
0x6f
,
0x72
,
0x65
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
var
(
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescOnce
sync
.
Once
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescData
=
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDesc
)
func
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescGZIP
()
[]
byte
{
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescOnce
.
Do
(
func
()
{
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescData
=
protoimpl
.
X
.
CompressGZIP
(
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescData
)
})
return
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDescData
}
var
file_gosdn_configurationmanagement_configurationmanagement_proto_enumTypes
=
make
([]
protoimpl
.
EnumInfo
,
1
)
var
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
4
)
var
file_gosdn_configurationmanagement_configurationmanagement_proto_goTypes
=
[]
interface
{}{
(
Status
)(
0
),
// 0: gosdn.configurationmanagement.Status
(
*
ExportSDNConfigRequest
)(
nil
),
// 1: gosdn.configurationmanagement.ExportSDNConfigRequest
(
*
ExportSDNConfigResponse
)(
nil
),
// 2: gosdn.configurationmanagement.ExportSDNConfigResponse
(
*
ImportSDNConfigRequest
)(
nil
),
// 3: gosdn.configurationmanagement.ImportSDNConfigRequest
(
*
ImportSDNConfigResponse
)(
nil
),
// 4: gosdn.configurationmanagement.ImportSDNConfigResponse
}
var
file_gosdn_configurationmanagement_configurationmanagement_proto_depIdxs
=
[]
int32
{
0
,
// 0: gosdn.configurationmanagement.ImportSDNConfigResponse.status:type_name -> gosdn.configurationmanagement.Status
1
,
// 1: gosdn.configurationmanagement.ConfigurationManagementService.ExportSDNConfig:input_type -> gosdn.configurationmanagement.ExportSDNConfigRequest
3
,
// 2: gosdn.configurationmanagement.ConfigurationManagementService.ImportSDNConfig:input_type -> gosdn.configurationmanagement.ImportSDNConfigRequest
2
,
// 3: gosdn.configurationmanagement.ConfigurationManagementService.ExportSDNConfig:output_type -> gosdn.configurationmanagement.ExportSDNConfigResponse
4
,
// 4: gosdn.configurationmanagement.ConfigurationManagementService.ImportSDNConfig:output_type -> gosdn.configurationmanagement.ImportSDNConfigResponse
3
,
// [3:5] is the sub-list for method output_type
1
,
// [1:3] is the sub-list for method input_type
1
,
// [1:1] is the sub-list for extension type_name
1
,
// [1:1] is the sub-list for extension extendee
0
,
// [0:1] is the sub-list for field type_name
}
func
init
()
{
file_gosdn_configurationmanagement_configurationmanagement_proto_init
()
}
func
file_gosdn_configurationmanagement_configurationmanagement_proto_init
()
{
if
File_gosdn_configurationmanagement_configurationmanagement_proto
!=
nil
{
return
}
if
!
protoimpl
.
UnsafeEnabled
{
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
0
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
ExportSDNConfigRequest
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
ExportSDNConfigResponse
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
2
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
ImportSDNConfigRequest
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
[
3
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
ImportSDNConfigResponse
);
i
{
case
0
:
return
&
v
.
state
case
1
:
return
&
v
.
sizeCache
case
2
:
return
&
v
.
unknownFields
default
:
return
nil
}
}
}
type
x
struct
{}
out
:=
protoimpl
.
TypeBuilder
{
File
:
protoimpl
.
DescBuilder
{
GoPackagePath
:
reflect
.
TypeOf
(
x
{})
.
PkgPath
(),
RawDescriptor
:
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDesc
,
NumEnums
:
1
,
NumMessages
:
4
,
NumExtensions
:
0
,
NumServices
:
1
,
},
GoTypes
:
file_gosdn_configurationmanagement_configurationmanagement_proto_goTypes
,
DependencyIndexes
:
file_gosdn_configurationmanagement_configurationmanagement_proto_depIdxs
,
EnumInfos
:
file_gosdn_configurationmanagement_configurationmanagement_proto_enumTypes
,
MessageInfos
:
file_gosdn_configurationmanagement_configurationmanagement_proto_msgTypes
,
}
.
Build
()
File_gosdn_configurationmanagement_configurationmanagement_proto
=
out
.
File
file_gosdn_configurationmanagement_configurationmanagement_proto_rawDesc
=
nil
file_gosdn_configurationmanagement_configurationmanagement_proto_goTypes
=
nil
file_gosdn_configurationmanagement_configurationmanagement_proto_depIdxs
=
nil
}
Loading