blob: 952a43ca7f8ecda059a77eb018ef56de708403bd [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/common.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package common
William Kurkian1b363f42019-03-12 15:28:12 -04005
William Kurkianad745652019-03-20 08:45:51 -04006import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 math "math"
10)
William Kurkian1b363f42019-03-12 15:28:12 -040011
12// Reference imports to suppress errors if they are not otherwise used.
13var _ = proto.Marshal
14var _ = fmt.Errorf
15var _ = math.Inf
16
17// This is a compile-time assertion to ensure that this generated file
18// is compatible with the proto package it is being compiled against.
19// A compilation error at this line likely means your copy of the
20// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040021const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040022
23type TestModeKeys int32
24
25const (
26 TestModeKeys_api_test TestModeKeys = 0
27)
28
29var TestModeKeys_name = map[int32]string{
30 0: "api_test",
31}
William Kurkianad745652019-03-20 08:45:51 -040032
William Kurkian1b363f42019-03-12 15:28:12 -040033var TestModeKeys_value = map[string]int32{
34 "api_test": 0,
35}
36
37func (x TestModeKeys) String() string {
38 return proto.EnumName(TestModeKeys_name, int32(x))
39}
William Kurkianad745652019-03-20 08:45:51 -040040
William Kurkian1b363f42019-03-12 15:28:12 -040041func (TestModeKeys) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040042 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -040043}
44
William Kurkian1b363f42019-03-12 15:28:12 -040045// Administrative State
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030046type AdminState_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040047
48const (
49 // The administrative state of the device is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030050 AdminState_UNKNOWN AdminState_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -040051 // The device is pre-provisioned into Voltha, but not contacted by it
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030052 AdminState_PREPROVISIONED AdminState_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -040053 // The device is enabled for activation and operation
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030054 AdminState_ENABLED AdminState_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -040055 // The device is disabled and shall not perform its intended forwarding
56 // functions other than being available for re-activation.
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030057 AdminState_DISABLED AdminState_Types = 3
William Kurkian1b363f42019-03-12 15:28:12 -040058 // The device is in the state of image download
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030059 AdminState_DOWNLOADING_IMAGE AdminState_Types = 4
William Kurkian1b363f42019-03-12 15:28:12 -040060)
61
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030062var AdminState_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -040063 0: "UNKNOWN",
64 1: "PREPROVISIONED",
65 2: "ENABLED",
66 3: "DISABLED",
67 4: "DOWNLOADING_IMAGE",
William Kurkian1b363f42019-03-12 15:28:12 -040068}
William Kurkianad745652019-03-20 08:45:51 -040069
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030070var AdminState_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -040071 "UNKNOWN": 0,
72 "PREPROVISIONED": 1,
73 "ENABLED": 2,
74 "DISABLED": 3,
75 "DOWNLOADING_IMAGE": 4,
William Kurkian1b363f42019-03-12 15:28:12 -040076}
77
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030078func (x AdminState_Types) String() string {
79 return proto.EnumName(AdminState_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -040080}
William Kurkianad745652019-03-20 08:45:51 -040081
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030082func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +000083 return fileDescriptor_c2e3fd231961e826, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -040084}
85
86// Operational Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030087type OperStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040088
89const (
90 // The status of the device is unknown at this point
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030091 OperStatus_UNKNOWN OperStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -040092 // The device has been discovered, but not yet activated
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030093 OperStatus_DISCOVERED OperStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -040094 // The device is being activated (booted, rebooted, upgraded, etc.)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030095 OperStatus_ACTIVATING OperStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -040096 // Service impacting tests are being conducted
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030097 OperStatus_TESTING OperStatus_Types = 3
William Kurkian1b363f42019-03-12 15:28:12 -040098 // The device is up and active
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099 OperStatus_ACTIVE OperStatus_Types = 4
William Kurkian1b363f42019-03-12 15:28:12 -0400100 // The device has failed and cannot fulfill its intended role
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300101 OperStatus_FAILED OperStatus_Types = 5
Maninder4ed97f52021-03-15 10:14:55 +0530102 // The device is reconciling
103 OperStatus_RECONCILING OperStatus_Types = 6
Manindera4b9e552021-06-16 17:33:04 +0530104 // The device is in reconciling failed
105 OperStatus_RECONCILING_FAILED OperStatus_Types = 7
William Kurkian1b363f42019-03-12 15:28:12 -0400106)
107
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300108var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400109 0: "UNKNOWN",
110 1: "DISCOVERED",
111 2: "ACTIVATING",
112 3: "TESTING",
113 4: "ACTIVE",
114 5: "FAILED",
Maninder4ed97f52021-03-15 10:14:55 +0530115 6: "RECONCILING",
Manindera4b9e552021-06-16 17:33:04 +0530116 7: "RECONCILING_FAILED",
William Kurkian1b363f42019-03-12 15:28:12 -0400117}
William Kurkianad745652019-03-20 08:45:51 -0400118
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300119var OperStatus_Types_value = map[string]int32{
Manindera4b9e552021-06-16 17:33:04 +0530120 "UNKNOWN": 0,
121 "DISCOVERED": 1,
122 "ACTIVATING": 2,
123 "TESTING": 3,
124 "ACTIVE": 4,
125 "FAILED": 5,
126 "RECONCILING": 6,
127 "RECONCILING_FAILED": 7,
William Kurkian1b363f42019-03-12 15:28:12 -0400128}
129
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300130func (x OperStatus_Types) String() string {
131 return proto.EnumName(OperStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400132}
William Kurkianad745652019-03-20 08:45:51 -0400133
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300134func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000135 return fileDescriptor_c2e3fd231961e826, []int{3, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400136}
137
138// Connectivity Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300139type ConnectStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -0400140
141const (
142 // The device connectivity status is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300143 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400144 // The device cannot be reached by Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300145 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400146 // There is live communication between device and Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300147 ConnectStatus_REACHABLE ConnectStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400148)
149
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300150var ConnectStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400151 0: "UNKNOWN",
152 1: "UNREACHABLE",
153 2: "REACHABLE",
154}
William Kurkianad745652019-03-20 08:45:51 -0400155
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300156var ConnectStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400157 "UNKNOWN": 0,
158 "UNREACHABLE": 1,
159 "REACHABLE": 2,
160}
161
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300162func (x ConnectStatus_Types) String() string {
163 return proto.EnumName(ConnectStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400164}
William Kurkianad745652019-03-20 08:45:51 -0400165
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300166func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000167 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400168}
169
170type OperationResp_OperationReturnCode int32
171
172const (
173 OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0
174 OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1
175 OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
Maninder2f9d63e2021-02-08 11:42:19 +0530176 OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400177)
178
179var OperationResp_OperationReturnCode_name = map[int32]string{
180 0: "OPERATION_SUCCESS",
181 1: "OPERATION_FAILURE",
182 2: "OPERATION_UNSUPPORTED",
Maninder2f9d63e2021-02-08 11:42:19 +0530183 3: "OPERATION_IN_PROGRESS",
William Kurkian1b363f42019-03-12 15:28:12 -0400184}
William Kurkianad745652019-03-20 08:45:51 -0400185
William Kurkian1b363f42019-03-12 15:28:12 -0400186var OperationResp_OperationReturnCode_value = map[string]int32{
187 "OPERATION_SUCCESS": 0,
188 "OPERATION_FAILURE": 1,
189 "OPERATION_UNSUPPORTED": 2,
Maninder2f9d63e2021-02-08 11:42:19 +0530190 "OPERATION_IN_PROGRESS": 3,
William Kurkian1b363f42019-03-12 15:28:12 -0400191}
192
193func (x OperationResp_OperationReturnCode) String() string {
194 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
195}
William Kurkianad745652019-03-20 08:45:51 -0400196
William Kurkian1b363f42019-03-12 15:28:12 -0400197func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000198 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400199}
200
201// Convey a resource identifier
202type ID struct {
203 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
204 XXX_NoUnkeyedLiteral struct{} `json:"-"`
205 XXX_unrecognized []byte `json:"-"`
206 XXX_sizecache int32 `json:"-"`
207}
208
209func (m *ID) Reset() { *m = ID{} }
210func (m *ID) String() string { return proto.CompactTextString(m) }
211func (*ID) ProtoMessage() {}
212func (*ID) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400213 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400214}
William Kurkianad745652019-03-20 08:45:51 -0400215
William Kurkian1b363f42019-03-12 15:28:12 -0400216func (m *ID) XXX_Unmarshal(b []byte) error {
217 return xxx_messageInfo_ID.Unmarshal(m, b)
218}
219func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
220 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
221}
William Kurkianad745652019-03-20 08:45:51 -0400222func (m *ID) XXX_Merge(src proto.Message) {
223 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400224}
225func (m *ID) XXX_Size() int {
226 return xxx_messageInfo_ID.Size(m)
227}
228func (m *ID) XXX_DiscardUnknown() {
229 xxx_messageInfo_ID.DiscardUnknown(m)
230}
231
232var xxx_messageInfo_ID proto.InternalMessageInfo
233
234func (m *ID) GetId() string {
235 if m != nil {
236 return m.Id
237 }
238 return ""
239}
240
241// Represents a list of IDs
242type IDs struct {
243 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
244 XXX_NoUnkeyedLiteral struct{} `json:"-"`
245 XXX_unrecognized []byte `json:"-"`
246 XXX_sizecache int32 `json:"-"`
247}
248
249func (m *IDs) Reset() { *m = IDs{} }
250func (m *IDs) String() string { return proto.CompactTextString(m) }
251func (*IDs) ProtoMessage() {}
252func (*IDs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400253 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400254}
William Kurkianad745652019-03-20 08:45:51 -0400255
William Kurkian1b363f42019-03-12 15:28:12 -0400256func (m *IDs) XXX_Unmarshal(b []byte) error {
257 return xxx_messageInfo_IDs.Unmarshal(m, b)
258}
259func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
260 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
261}
William Kurkianad745652019-03-20 08:45:51 -0400262func (m *IDs) XXX_Merge(src proto.Message) {
263 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400264}
265func (m *IDs) XXX_Size() int {
266 return xxx_messageInfo_IDs.Size(m)
267}
268func (m *IDs) XXX_DiscardUnknown() {
269 xxx_messageInfo_IDs.DiscardUnknown(m)
270}
271
272var xxx_messageInfo_IDs proto.InternalMessageInfo
273
274func (m *IDs) GetItems() []*ID {
275 if m != nil {
276 return m.Items
277 }
278 return nil
279}
280
William Kurkian1b363f42019-03-12 15:28:12 -0400281type AdminState struct {
282 XXX_NoUnkeyedLiteral struct{} `json:"-"`
283 XXX_unrecognized []byte `json:"-"`
284 XXX_sizecache int32 `json:"-"`
285}
286
287func (m *AdminState) Reset() { *m = AdminState{} }
288func (m *AdminState) String() string { return proto.CompactTextString(m) }
289func (*AdminState) ProtoMessage() {}
290func (*AdminState) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000291 return fileDescriptor_c2e3fd231961e826, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400292}
William Kurkianad745652019-03-20 08:45:51 -0400293
William Kurkian1b363f42019-03-12 15:28:12 -0400294func (m *AdminState) XXX_Unmarshal(b []byte) error {
295 return xxx_messageInfo_AdminState.Unmarshal(m, b)
296}
297func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
298 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
299}
William Kurkianad745652019-03-20 08:45:51 -0400300func (m *AdminState) XXX_Merge(src proto.Message) {
301 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400302}
303func (m *AdminState) XXX_Size() int {
304 return xxx_messageInfo_AdminState.Size(m)
305}
306func (m *AdminState) XXX_DiscardUnknown() {
307 xxx_messageInfo_AdminState.DiscardUnknown(m)
308}
309
310var xxx_messageInfo_AdminState proto.InternalMessageInfo
311
312type OperStatus struct {
313 XXX_NoUnkeyedLiteral struct{} `json:"-"`
314 XXX_unrecognized []byte `json:"-"`
315 XXX_sizecache int32 `json:"-"`
316}
317
318func (m *OperStatus) Reset() { *m = OperStatus{} }
319func (m *OperStatus) String() string { return proto.CompactTextString(m) }
320func (*OperStatus) ProtoMessage() {}
321func (*OperStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000322 return fileDescriptor_c2e3fd231961e826, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400323}
William Kurkianad745652019-03-20 08:45:51 -0400324
William Kurkian1b363f42019-03-12 15:28:12 -0400325func (m *OperStatus) XXX_Unmarshal(b []byte) error {
326 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
327}
328func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
329 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
330}
William Kurkianad745652019-03-20 08:45:51 -0400331func (m *OperStatus) XXX_Merge(src proto.Message) {
332 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400333}
334func (m *OperStatus) XXX_Size() int {
335 return xxx_messageInfo_OperStatus.Size(m)
336}
337func (m *OperStatus) XXX_DiscardUnknown() {
338 xxx_messageInfo_OperStatus.DiscardUnknown(m)
339}
340
341var xxx_messageInfo_OperStatus proto.InternalMessageInfo
342
343type ConnectStatus struct {
344 XXX_NoUnkeyedLiteral struct{} `json:"-"`
345 XXX_unrecognized []byte `json:"-"`
346 XXX_sizecache int32 `json:"-"`
347}
348
349func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
350func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
351func (*ConnectStatus) ProtoMessage() {}
352func (*ConnectStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000353 return fileDescriptor_c2e3fd231961e826, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400354}
William Kurkianad745652019-03-20 08:45:51 -0400355
William Kurkian1b363f42019-03-12 15:28:12 -0400356func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
357 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
358}
359func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
360 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
361}
William Kurkianad745652019-03-20 08:45:51 -0400362func (m *ConnectStatus) XXX_Merge(src proto.Message) {
363 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400364}
365func (m *ConnectStatus) XXX_Size() int {
366 return xxx_messageInfo_ConnectStatus.Size(m)
367}
368func (m *ConnectStatus) XXX_DiscardUnknown() {
369 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
370}
371
372var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
373
374type OperationResp struct {
375 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400376 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400377 // Additional Info
378 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
379 XXX_NoUnkeyedLiteral struct{} `json:"-"`
380 XXX_unrecognized []byte `json:"-"`
381 XXX_sizecache int32 `json:"-"`
382}
383
384func (m *OperationResp) Reset() { *m = OperationResp{} }
385func (m *OperationResp) String() string { return proto.CompactTextString(m) }
386func (*OperationResp) ProtoMessage() {}
387func (*OperationResp) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000388 return fileDescriptor_c2e3fd231961e826, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400389}
William Kurkianad745652019-03-20 08:45:51 -0400390
William Kurkian1b363f42019-03-12 15:28:12 -0400391func (m *OperationResp) XXX_Unmarshal(b []byte) error {
392 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
393}
394func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
395 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
396}
William Kurkianad745652019-03-20 08:45:51 -0400397func (m *OperationResp) XXX_Merge(src proto.Message) {
398 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400399}
400func (m *OperationResp) XXX_Size() int {
401 return xxx_messageInfo_OperationResp.Size(m)
402}
403func (m *OperationResp) XXX_DiscardUnknown() {
404 xxx_messageInfo_OperationResp.DiscardUnknown(m)
405}
406
407var xxx_messageInfo_OperationResp proto.InternalMessageInfo
408
409func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
410 if m != nil {
411 return m.Code
412 }
413 return OperationResp_OPERATION_SUCCESS
414}
415
416func (m *OperationResp) GetAdditionalInfo() string {
417 if m != nil {
418 return m.AdditionalInfo
419 }
420 return ""
421}
422
423func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400424 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300425 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
426 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
427 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400428 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
429 proto.RegisterType((*ID)(nil), "common.ID")
430 proto.RegisterType((*IDs)(nil), "common.IDs")
William Kurkian12fc0af2019-04-18 14:27:45 -0400431 proto.RegisterType((*AdminState)(nil), "common.AdminState")
432 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
433 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
434 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
William Kurkian1b363f42019-03-12 15:28:12 -0400435}
436
William Kurkianad745652019-03-20 08:45:51 -0400437func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400438
William Kurkianad745652019-03-20 08:45:51 -0400439var fileDescriptor_c2e3fd231961e826 = []byte{
khenaidoo4c6543e2021-10-19 17:25:58 -0400440 // 506 bytes of a gzipped FileDescriptorProto
441 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xcd, 0x6e, 0xda, 0x30,
442 0x1c, 0x6f, 0x42, 0x4b, 0xd7, 0x3f, 0x25, 0x64, 0xee, 0x3a, 0xb1, 0x69, 0x07, 0x94, 0x4b, 0xbb,
443 0x49, 0x03, 0xa9, 0xdb, 0x8e, 0x3b, 0xa4, 0x89, 0xc7, 0xac, 0x52, 0x3b, 0x72, 0x12, 0x2a, 0xf5,
444 0x12, 0xa5, 0xc4, 0x85, 0x48, 0x25, 0x8e, 0x88, 0xa9, 0xc4, 0x75, 0x6f, 0xb0, 0x57, 0xdd, 0x13,
445 0x4c, 0x0e, 0x54, 0x14, 0x89, 0x9b, 0x7f, 0x1f, 0xfe, 0x7f, 0xc3, 0xc7, 0x67, 0xf9, 0xa4, 0x66,
446 0x69, 0x52, 0x2e, 0xa4, 0x92, 0xd5, 0x60, 0x22, 0xe7, 0x73, 0x59, 0xf4, 0x6b, 0x84, 0x9a, 0x6b,
447 0xe4, 0xbc, 0x03, 0x93, 0xf8, 0xc8, 0x02, 0x33, 0xcf, 0xba, 0x46, 0xcf, 0xb8, 0x3c, 0xe1, 0x66,
448 0x9e, 0x39, 0x17, 0xd0, 0x20, 0x7e, 0x85, 0x7a, 0x70, 0x94, 0x2b, 0x31, 0xaf, 0xba, 0x46, 0xaf,
449 0x71, 0xd9, 0xba, 0x82, 0xfe, 0x26, 0x04, 0xf1, 0xf9, 0x5a, 0x70, 0x66, 0x00, 0x6e, 0x36, 0xcf,
450 0x8b, 0x50, 0xa5, 0x4a, 0x38, 0xf7, 0x70, 0x14, 0xad, 0x4a, 0x51, 0xa1, 0x16, 0x1c, 0xc7, 0xf4,
451 0x86, 0xb2, 0x3b, 0x6a, 0x1f, 0x20, 0x04, 0x56, 0xc0, 0x71, 0xc0, 0xd9, 0x98, 0x84, 0x84, 0x51,
452 0xec, 0xdb, 0x86, 0x36, 0x60, 0xea, 0x5e, 0x8f, 0xb0, 0x6f, 0x9b, 0xe8, 0x14, 0xde, 0xf8, 0x24,
453 0x5c, 0xa3, 0x06, 0x3a, 0x87, 0xb7, 0x3e, 0xbb, 0xa3, 0x23, 0xe6, 0xfa, 0x84, 0x0e, 0x13, 0x72,
454 0xeb, 0x0e, 0xb1, 0x7d, 0xe8, 0xfc, 0x35, 0x00, 0x58, 0x29, 0x16, 0x3a, 0xd3, 0xb2, 0x72, 0xfe,
455 0x18, 0x7b, 0x73, 0x59, 0x00, 0x3e, 0x09, 0x3d, 0x36, 0xc6, 0xbc, 0xce, 0x63, 0x01, 0xb8, 0x5e,
456 0x44, 0xc6, 0x6e, 0x44, 0xe8, 0xd0, 0x36, 0xb5, 0x39, 0xc2, 0x61, 0x0d, 0x1a, 0x08, 0xa0, 0x59,
457 0x8b, 0xd8, 0x3e, 0xd4, 0xef, 0x5f, 0x2e, 0xd1, 0x15, 0x1c, 0xa1, 0x0e, 0xb4, 0x38, 0xf6, 0x18,
458 0xf5, 0xc8, 0x48, 0x1b, 0x9b, 0xe8, 0x3d, 0xa0, 0x57, 0x44, 0xb2, 0x31, 0x1e, 0x3b, 0x18, 0xda,
459 0x9e, 0x2c, 0x0a, 0x31, 0x51, 0x9b, 0xaa, 0xbe, 0xef, 0x2d, 0xaa, 0x03, 0xad, 0x98, 0x72, 0xec,
460 0x7a, 0xbf, 0x75, 0x8f, 0xb6, 0x81, 0xda, 0x70, 0xb2, 0x85, 0xa6, 0xf3, 0xcf, 0x80, 0xb6, 0x6e,
461 0x2d, 0x55, 0xb9, 0x2c, 0xb8, 0xa8, 0x4a, 0xf4, 0x13, 0x0e, 0x27, 0x32, 0x13, 0xf5, 0x46, 0xac,
462 0xab, 0xcf, 0x2f, 0x73, 0xdf, 0x31, 0xbd, 0x46, 0x6a, 0xb9, 0x28, 0x3c, 0x99, 0x09, 0x5e, 0x7f,
463 0x43, 0x17, 0xd0, 0x49, 0xb3, 0x2c, 0xd7, 0x5a, 0xfa, 0x94, 0xe4, 0xc5, 0xa3, 0xec, 0x9a, 0xf5,
464 0x6e, 0xad, 0x2d, 0x4d, 0x8a, 0x47, 0xe9, 0xac, 0xe0, 0x6c, 0x4f, 0x14, 0xbd, 0x02, 0x16, 0x60,
465 0xee, 0x46, 0x84, 0xd1, 0x24, 0x8c, 0x3d, 0x0f, 0x87, 0xa1, 0x7d, 0xb0, 0x4b, 0xeb, 0x21, 0xc4,
466 0x5c, 0x77, 0xf3, 0x01, 0xce, 0xb7, 0x74, 0x4c, 0xc3, 0x38, 0x08, 0x18, 0x8f, 0xea, 0xcd, 0xee,
467 0x48, 0x84, 0x26, 0x01, 0x67, 0x43, 0xae, 0x83, 0x35, 0xbe, 0x7c, 0x82, 0xd3, 0x48, 0x54, 0xea,
468 0x56, 0x66, 0xe2, 0x46, 0xac, 0x2a, 0x7d, 0x04, 0x69, 0x99, 0x27, 0x4a, 0x54, 0xca, 0x3e, 0xb8,
469 0xc6, 0x70, 0x26, 0x17, 0xd3, 0xbe, 0x2c, 0x45, 0x31, 0x91, 0x8b, 0xac, 0xbf, 0xbe, 0xe4, 0xfb,
470 0xfe, 0x34, 0x57, 0xb3, 0xe5, 0x83, 0x9e, 0xc7, 0xe0, 0x45, 0x1b, 0xac, 0xb5, 0xaf, 0x9b, 0x2b,
471 0x7f, 0xfe, 0x31, 0x98, 0xca, 0xcd, 0xad, 0x3f, 0x34, 0x6b, 0xf2, 0xdb, 0xff, 0x00, 0x00, 0x00,
472 0xff, 0xff, 0x6b, 0x71, 0x98, 0xbd, 0x0a, 0x03, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400473}