blob: f7472d5f5b5ec05e516780ae36e4a4420f693cd5 [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) {
yasin sapli2bbfbb42021-11-01 14:30:10 +000083 return fileDescriptor_c2e3fd231961e826, []int{4, 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
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530106 // The device has rebooted
107 OperStatus_REBOOTED OperStatus_Types = 8
William Kurkian1b363f42019-03-12 15:28:12 -0400108)
109
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300110var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400111 0: "UNKNOWN",
112 1: "DISCOVERED",
113 2: "ACTIVATING",
114 3: "TESTING",
115 4: "ACTIVE",
116 5: "FAILED",
Maninder4ed97f52021-03-15 10:14:55 +0530117 6: "RECONCILING",
Manindera4b9e552021-06-16 17:33:04 +0530118 7: "RECONCILING_FAILED",
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530119 8: "REBOOTED",
William Kurkian1b363f42019-03-12 15:28:12 -0400120}
William Kurkianad745652019-03-20 08:45:51 -0400121
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300122var OperStatus_Types_value = map[string]int32{
Manindera4b9e552021-06-16 17:33:04 +0530123 "UNKNOWN": 0,
124 "DISCOVERED": 1,
125 "ACTIVATING": 2,
126 "TESTING": 3,
127 "ACTIVE": 4,
128 "FAILED": 5,
129 "RECONCILING": 6,
130 "RECONCILING_FAILED": 7,
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530131 "REBOOTED": 8,
William Kurkian1b363f42019-03-12 15:28:12 -0400132}
133
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300134func (x OperStatus_Types) String() string {
135 return proto.EnumName(OperStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400136}
William Kurkianad745652019-03-20 08:45:51 -0400137
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300138func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000139 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400140}
141
142// Connectivity Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300143type ConnectStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -0400144
145const (
146 // The device connectivity status is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300147 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400148 // The device cannot be reached by Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300149 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400150 // There is live communication between device and Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300151 ConnectStatus_REACHABLE ConnectStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400152)
153
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300154var ConnectStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400155 0: "UNKNOWN",
156 1: "UNREACHABLE",
157 2: "REACHABLE",
158}
William Kurkianad745652019-03-20 08:45:51 -0400159
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300160var ConnectStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400161 "UNKNOWN": 0,
162 "UNREACHABLE": 1,
163 "REACHABLE": 2,
164}
165
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300166func (x ConnectStatus_Types) String() string {
167 return proto.EnumName(ConnectStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400168}
William Kurkianad745652019-03-20 08:45:51 -0400169
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300170func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000171 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400172}
173
174type OperationResp_OperationReturnCode int32
175
176const (
177 OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0
178 OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1
179 OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
Maninder2f9d63e2021-02-08 11:42:19 +0530180 OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400181)
182
183var OperationResp_OperationReturnCode_name = map[int32]string{
184 0: "OPERATION_SUCCESS",
185 1: "OPERATION_FAILURE",
186 2: "OPERATION_UNSUPPORTED",
Maninder2f9d63e2021-02-08 11:42:19 +0530187 3: "OPERATION_IN_PROGRESS",
William Kurkian1b363f42019-03-12 15:28:12 -0400188}
William Kurkianad745652019-03-20 08:45:51 -0400189
William Kurkian1b363f42019-03-12 15:28:12 -0400190var OperationResp_OperationReturnCode_value = map[string]int32{
191 "OPERATION_SUCCESS": 0,
192 "OPERATION_FAILURE": 1,
193 "OPERATION_UNSUPPORTED": 2,
Maninder2f9d63e2021-02-08 11:42:19 +0530194 "OPERATION_IN_PROGRESS": 3,
William Kurkian1b363f42019-03-12 15:28:12 -0400195}
196
197func (x OperationResp_OperationReturnCode) String() string {
198 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
199}
William Kurkianad745652019-03-20 08:45:51 -0400200
William Kurkian1b363f42019-03-12 15:28:12 -0400201func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000202 return fileDescriptor_c2e3fd231961e826, []int{7, 0}
203}
204
205// Full path for KV store
206type Key struct {
207 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
208 XXX_NoUnkeyedLiteral struct{} `json:"-"`
209 XXX_unrecognized []byte `json:"-"`
210 XXX_sizecache int32 `json:"-"`
211}
212
213func (m *Key) Reset() { *m = Key{} }
214func (m *Key) String() string { return proto.CompactTextString(m) }
215func (*Key) ProtoMessage() {}
216func (*Key) Descriptor() ([]byte, []int) {
217 return fileDescriptor_c2e3fd231961e826, []int{0}
218}
219
220func (m *Key) XXX_Unmarshal(b []byte) error {
221 return xxx_messageInfo_Key.Unmarshal(m, b)
222}
223func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
224 return xxx_messageInfo_Key.Marshal(b, m, deterministic)
225}
226func (m *Key) XXX_Merge(src proto.Message) {
227 xxx_messageInfo_Key.Merge(m, src)
228}
229func (m *Key) XXX_Size() int {
230 return xxx_messageInfo_Key.Size(m)
231}
232func (m *Key) XXX_DiscardUnknown() {
233 xxx_messageInfo_Key.DiscardUnknown(m)
234}
235
236var xxx_messageInfo_Key proto.InternalMessageInfo
237
238func (m *Key) GetKey() string {
239 if m != nil {
240 return m.Key
241 }
242 return ""
William Kurkian1b363f42019-03-12 15:28:12 -0400243}
244
245// Convey a resource identifier
246type ID struct {
247 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
248 XXX_NoUnkeyedLiteral struct{} `json:"-"`
249 XXX_unrecognized []byte `json:"-"`
250 XXX_sizecache int32 `json:"-"`
251}
252
253func (m *ID) Reset() { *m = ID{} }
254func (m *ID) String() string { return proto.CompactTextString(m) }
255func (*ID) ProtoMessage() {}
256func (*ID) Descriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000257 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400258}
William Kurkianad745652019-03-20 08:45:51 -0400259
William Kurkian1b363f42019-03-12 15:28:12 -0400260func (m *ID) XXX_Unmarshal(b []byte) error {
261 return xxx_messageInfo_ID.Unmarshal(m, b)
262}
263func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
264 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
265}
William Kurkianad745652019-03-20 08:45:51 -0400266func (m *ID) XXX_Merge(src proto.Message) {
267 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400268}
269func (m *ID) XXX_Size() int {
270 return xxx_messageInfo_ID.Size(m)
271}
272func (m *ID) XXX_DiscardUnknown() {
273 xxx_messageInfo_ID.DiscardUnknown(m)
274}
275
276var xxx_messageInfo_ID proto.InternalMessageInfo
277
278func (m *ID) GetId() string {
279 if m != nil {
280 return m.Id
281 }
282 return ""
283}
284
285// Represents a list of IDs
286type IDs struct {
287 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
288 XXX_NoUnkeyedLiteral struct{} `json:"-"`
289 XXX_unrecognized []byte `json:"-"`
290 XXX_sizecache int32 `json:"-"`
291}
292
293func (m *IDs) Reset() { *m = IDs{} }
294func (m *IDs) String() string { return proto.CompactTextString(m) }
295func (*IDs) ProtoMessage() {}
296func (*IDs) Descriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000297 return fileDescriptor_c2e3fd231961e826, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400298}
William Kurkianad745652019-03-20 08:45:51 -0400299
William Kurkian1b363f42019-03-12 15:28:12 -0400300func (m *IDs) XXX_Unmarshal(b []byte) error {
301 return xxx_messageInfo_IDs.Unmarshal(m, b)
302}
303func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
304 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
305}
William Kurkianad745652019-03-20 08:45:51 -0400306func (m *IDs) XXX_Merge(src proto.Message) {
307 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400308}
309func (m *IDs) XXX_Size() int {
310 return xxx_messageInfo_IDs.Size(m)
311}
312func (m *IDs) XXX_DiscardUnknown() {
313 xxx_messageInfo_IDs.DiscardUnknown(m)
314}
315
316var xxx_messageInfo_IDs proto.InternalMessageInfo
317
318func (m *IDs) GetItems() []*ID {
319 if m != nil {
320 return m.Items
321 }
322 return nil
323}
324
khenaidoo5cb0d402021-12-08 14:09:16 -0500325type Connection struct {
326 // endpoint is the endpoint sending the request
327 Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
328 // contextInfo represents additional contextual information
329 ContextInfo string `protobuf:"bytes,2,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"`
330 // keep_alive_interval is used to indicate to the remote endpoint how often it
331 // will get a keep alive notification
332 KeepAliveInterval int64 `protobuf:"varint,3,opt,name=keep_alive_interval,json=keepAliveInterval,proto3" json:"keep_alive_interval,omitempty"`
333 XXX_NoUnkeyedLiteral struct{} `json:"-"`
334 XXX_unrecognized []byte `json:"-"`
335 XXX_sizecache int32 `json:"-"`
336}
337
338func (m *Connection) Reset() { *m = Connection{} }
339func (m *Connection) String() string { return proto.CompactTextString(m) }
340func (*Connection) ProtoMessage() {}
341func (*Connection) Descriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000342 return fileDescriptor_c2e3fd231961e826, []int{3}
khenaidoo5cb0d402021-12-08 14:09:16 -0500343}
344
345func (m *Connection) XXX_Unmarshal(b []byte) error {
346 return xxx_messageInfo_Connection.Unmarshal(m, b)
347}
348func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
349 return xxx_messageInfo_Connection.Marshal(b, m, deterministic)
350}
351func (m *Connection) XXX_Merge(src proto.Message) {
352 xxx_messageInfo_Connection.Merge(m, src)
353}
354func (m *Connection) XXX_Size() int {
355 return xxx_messageInfo_Connection.Size(m)
356}
357func (m *Connection) XXX_DiscardUnknown() {
358 xxx_messageInfo_Connection.DiscardUnknown(m)
359}
360
361var xxx_messageInfo_Connection proto.InternalMessageInfo
362
363func (m *Connection) GetEndpoint() string {
364 if m != nil {
365 return m.Endpoint
366 }
367 return ""
368}
369
370func (m *Connection) GetContextInfo() string {
371 if m != nil {
372 return m.ContextInfo
373 }
374 return ""
375}
376
377func (m *Connection) GetKeepAliveInterval() int64 {
378 if m != nil {
379 return m.KeepAliveInterval
380 }
381 return 0
382}
383
William Kurkian1b363f42019-03-12 15:28:12 -0400384type AdminState struct {
385 XXX_NoUnkeyedLiteral struct{} `json:"-"`
386 XXX_unrecognized []byte `json:"-"`
387 XXX_sizecache int32 `json:"-"`
388}
389
390func (m *AdminState) Reset() { *m = AdminState{} }
391func (m *AdminState) String() string { return proto.CompactTextString(m) }
392func (*AdminState) ProtoMessage() {}
393func (*AdminState) Descriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000394 return fileDescriptor_c2e3fd231961e826, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400395}
William Kurkianad745652019-03-20 08:45:51 -0400396
William Kurkian1b363f42019-03-12 15:28:12 -0400397func (m *AdminState) XXX_Unmarshal(b []byte) error {
398 return xxx_messageInfo_AdminState.Unmarshal(m, b)
399}
400func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
401 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
402}
William Kurkianad745652019-03-20 08:45:51 -0400403func (m *AdminState) XXX_Merge(src proto.Message) {
404 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400405}
406func (m *AdminState) XXX_Size() int {
407 return xxx_messageInfo_AdminState.Size(m)
408}
409func (m *AdminState) XXX_DiscardUnknown() {
410 xxx_messageInfo_AdminState.DiscardUnknown(m)
411}
412
413var xxx_messageInfo_AdminState proto.InternalMessageInfo
414
415type OperStatus struct {
416 XXX_NoUnkeyedLiteral struct{} `json:"-"`
417 XXX_unrecognized []byte `json:"-"`
418 XXX_sizecache int32 `json:"-"`
419}
420
421func (m *OperStatus) Reset() { *m = OperStatus{} }
422func (m *OperStatus) String() string { return proto.CompactTextString(m) }
423func (*OperStatus) ProtoMessage() {}
424func (*OperStatus) Descriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000425 return fileDescriptor_c2e3fd231961e826, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400426}
William Kurkianad745652019-03-20 08:45:51 -0400427
William Kurkian1b363f42019-03-12 15:28:12 -0400428func (m *OperStatus) XXX_Unmarshal(b []byte) error {
429 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
430}
431func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
432 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
433}
William Kurkianad745652019-03-20 08:45:51 -0400434func (m *OperStatus) XXX_Merge(src proto.Message) {
435 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400436}
437func (m *OperStatus) XXX_Size() int {
438 return xxx_messageInfo_OperStatus.Size(m)
439}
440func (m *OperStatus) XXX_DiscardUnknown() {
441 xxx_messageInfo_OperStatus.DiscardUnknown(m)
442}
443
444var xxx_messageInfo_OperStatus proto.InternalMessageInfo
445
446type ConnectStatus struct {
447 XXX_NoUnkeyedLiteral struct{} `json:"-"`
448 XXX_unrecognized []byte `json:"-"`
449 XXX_sizecache int32 `json:"-"`
450}
451
452func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
453func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
454func (*ConnectStatus) ProtoMessage() {}
455func (*ConnectStatus) Descriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000456 return fileDescriptor_c2e3fd231961e826, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -0400457}
William Kurkianad745652019-03-20 08:45:51 -0400458
William Kurkian1b363f42019-03-12 15:28:12 -0400459func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
460 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
461}
462func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
463 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
464}
William Kurkianad745652019-03-20 08:45:51 -0400465func (m *ConnectStatus) XXX_Merge(src proto.Message) {
466 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400467}
468func (m *ConnectStatus) XXX_Size() int {
469 return xxx_messageInfo_ConnectStatus.Size(m)
470}
471func (m *ConnectStatus) XXX_DiscardUnknown() {
472 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
473}
474
475var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
476
477type OperationResp struct {
478 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400479 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400480 // Additional Info
481 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
482 XXX_NoUnkeyedLiteral struct{} `json:"-"`
483 XXX_unrecognized []byte `json:"-"`
484 XXX_sizecache int32 `json:"-"`
485}
486
487func (m *OperationResp) Reset() { *m = OperationResp{} }
488func (m *OperationResp) String() string { return proto.CompactTextString(m) }
489func (*OperationResp) ProtoMessage() {}
490func (*OperationResp) Descriptor() ([]byte, []int) {
yasin sapli2bbfbb42021-11-01 14:30:10 +0000491 return fileDescriptor_c2e3fd231961e826, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -0400492}
William Kurkianad745652019-03-20 08:45:51 -0400493
William Kurkian1b363f42019-03-12 15:28:12 -0400494func (m *OperationResp) XXX_Unmarshal(b []byte) error {
495 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
496}
497func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
498 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
499}
William Kurkianad745652019-03-20 08:45:51 -0400500func (m *OperationResp) XXX_Merge(src proto.Message) {
501 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400502}
503func (m *OperationResp) XXX_Size() int {
504 return xxx_messageInfo_OperationResp.Size(m)
505}
506func (m *OperationResp) XXX_DiscardUnknown() {
507 xxx_messageInfo_OperationResp.DiscardUnknown(m)
508}
509
510var xxx_messageInfo_OperationResp proto.InternalMessageInfo
511
512func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
513 if m != nil {
514 return m.Code
515 }
516 return OperationResp_OPERATION_SUCCESS
517}
518
519func (m *OperationResp) GetAdditionalInfo() string {
520 if m != nil {
521 return m.AdditionalInfo
522 }
523 return ""
524}
525
526func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400527 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300528 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
529 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
530 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400531 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
yasin sapli2bbfbb42021-11-01 14:30:10 +0000532 proto.RegisterType((*Key)(nil), "common.Key")
William Kurkian12fc0af2019-04-18 14:27:45 -0400533 proto.RegisterType((*ID)(nil), "common.ID")
534 proto.RegisterType((*IDs)(nil), "common.IDs")
khenaidoo5cb0d402021-12-08 14:09:16 -0500535 proto.RegisterType((*Connection)(nil), "common.Connection")
William Kurkian12fc0af2019-04-18 14:27:45 -0400536 proto.RegisterType((*AdminState)(nil), "common.AdminState")
537 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
538 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
539 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
William Kurkian1b363f42019-03-12 15:28:12 -0400540}
541
William Kurkianad745652019-03-20 08:45:51 -0400542func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400543
William Kurkianad745652019-03-20 08:45:51 -0400544var fileDescriptor_c2e3fd231961e826 = []byte{
yasin sapli2bbfbb42021-11-01 14:30:10 +0000545 // 593 bytes of a gzipped FileDescriptorProto
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530546 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xdd, 0x4e, 0xdb, 0x30,
yasin sapli2bbfbb42021-11-01 14:30:10 +0000547 0x14, 0x26, 0x09, 0x14, 0x38, 0x85, 0x12, 0xcc, 0xd8, 0x3a, 0xb4, 0x8b, 0x2a, 0x37, 0xb0, 0x49,
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530548 0x6b, 0x25, 0xb6, 0x5d, 0xee, 0x22, 0x24, 0x5e, 0x67, 0x01, 0x76, 0xe5, 0xa4, 0x20, 0x71, 0x13,
yasin sapli2bbfbb42021-11-01 14:30:10 +0000549 0x85, 0xc6, 0x83, 0x88, 0xd6, 0x8e, 0x1a, 0x53, 0xad, 0x7b, 0x8a, 0xbd, 0xc1, 0xde, 0x71, 0x4f,
550 0x30, 0x39, 0x0d, 0x2b, 0x48, 0xbd, 0xf3, 0xf7, 0x7d, 0x27, 0xe7, 0xef, 0xcb, 0x81, 0xa3, 0x99,
551 0x1a, 0xeb, 0xfb, 0x34, 0x29, 0xa6, 0x4a, 0xab, 0xb2, 0x37, 0x52, 0x93, 0x89, 0x92, 0xdd, 0x0a,
552 0xa1, 0xc6, 0x02, 0x79, 0x6f, 0xc0, 0x39, 0x17, 0x73, 0xe4, 0x82, 0xf3, 0x20, 0xe6, 0x6d, 0xab,
553 0x63, 0x9d, 0x6c, 0x73, 0xf3, 0xf4, 0x5e, 0x81, 0x4d, 0x42, 0xd4, 0x02, 0x3b, 0xcf, 0x6a, 0xda,
554 0xce, 0x33, 0xef, 0x18, 0x1c, 0x12, 0x96, 0xa8, 0x03, 0x1b, 0xb9, 0x16, 0x93, 0xb2, 0x6d, 0x75,
555 0x9c, 0x93, 0xe6, 0x29, 0x74, 0xeb, 0xdc, 0x24, 0xe4, 0x0b, 0xc1, 0xfb, 0x05, 0x10, 0x28, 0x29,
556 0xc5, 0x48, 0xe7, 0x4a, 0xa2, 0x23, 0xd8, 0x12, 0x32, 0x2b, 0x54, 0x2e, 0x75, 0x9d, 0xec, 0x3f,
557 0x46, 0x1d, 0x68, 0x8e, 0x94, 0xd4, 0xe2, 0xa7, 0x26, 0xf2, 0x87, 0x6a, 0xdb, 0x95, 0xfc, 0x9c,
558 0x42, 0x5d, 0x38, 0x78, 0x10, 0xa2, 0x48, 0xd2, 0x71, 0x3e, 0x13, 0x49, 0x2e, 0xb5, 0x98, 0xce,
559 0xd2, 0x71, 0xdb, 0xe9, 0x58, 0x27, 0x0e, 0xdf, 0x37, 0x92, 0x6f, 0x14, 0x52, 0x0b, 0xde, 0x3d,
560 0x80, 0x9f, 0x4d, 0x72, 0x19, 0xe9, 0x54, 0x0b, 0xef, 0x06, 0x36, 0xe2, 0x79, 0x21, 0x4a, 0xd4,
561 0x84, 0xcd, 0x21, 0x3d, 0xa7, 0xec, 0x9a, 0xba, 0x6b, 0x08, 0x41, 0x6b, 0xc0, 0xf1, 0x80, 0xb3,
562 0x2b, 0x12, 0x11, 0x46, 0x71, 0xe8, 0x5a, 0x26, 0x00, 0x53, 0xff, 0xec, 0x02, 0x87, 0xae, 0x8d,
563 0x76, 0x60, 0x2b, 0x24, 0xd1, 0x02, 0x39, 0xe8, 0x10, 0xf6, 0x43, 0x76, 0x4d, 0x2f, 0x98, 0x1f,
564 0x12, 0xda, 0x4f, 0xc8, 0xa5, 0xdf, 0xc7, 0xee, 0xba, 0xf7, 0xc7, 0x02, 0x60, 0x85, 0x98, 0x9a,
565 0x4a, 0x8f, 0xa5, 0xf7, 0xdb, 0x5a, 0x59, 0xab, 0x05, 0x10, 0x92, 0x28, 0x60, 0x57, 0x98, 0x57,
566 0x75, 0x5a, 0x00, 0x7e, 0x10, 0x93, 0x2b, 0x3f, 0x26, 0xb4, 0xef, 0xda, 0x26, 0x38, 0xc6, 0x51,
567 0x05, 0x1c, 0x04, 0xd0, 0xa8, 0x44, 0xec, 0xae, 0x9b, 0xf7, 0x37, 0x9f, 0x98, 0x0e, 0x36, 0xd0,
568 0x1e, 0x34, 0x39, 0x0e, 0x18, 0x0d, 0xc8, 0x85, 0x09, 0x6c, 0xa0, 0xd7, 0x80, 0x9e, 0x11, 0x49,
569 0x1d, 0xb8, 0x69, 0x1a, 0xe7, 0xf8, 0x8c, 0xb1, 0x18, 0x87, 0xee, 0x96, 0x87, 0x61, 0xb7, 0xf6,
570 0xa1, 0xee, 0xf1, 0xf3, 0xca, 0x16, 0xf7, 0xa0, 0x39, 0xa4, 0x1c, 0xfb, 0xc1, 0x77, 0x33, 0xb1,
571 0x6b, 0xa1, 0x5d, 0xd8, 0x5e, 0x42, 0xdb, 0xfb, 0x6b, 0xc1, 0xae, 0x19, 0x34, 0x35, 0x76, 0x72,
572 0x51, 0x16, 0xe8, 0x2b, 0xac, 0x8f, 0x54, 0x26, 0x2a, 0x3b, 0x5b, 0xa7, 0xef, 0x9f, 0xfe, 0x80,
573 0x17, 0x41, 0xcf, 0x91, 0x7e, 0x9c, 0xca, 0x40, 0x65, 0x82, 0x57, 0x9f, 0xa1, 0x63, 0xd8, 0x4b,
574 0xb3, 0x2c, 0x37, 0x5a, 0x3a, 0x4e, 0xf2, 0xa5, 0xf3, 0xad, 0x25, 0x6d, 0xcc, 0xf7, 0xe6, 0x70,
575 0xb0, 0x22, 0x8b, 0x31, 0x84, 0x0d, 0x30, 0xf7, 0x63, 0xc2, 0x68, 0x12, 0x0d, 0x83, 0x00, 0x47,
576 0x91, 0xbb, 0xf6, 0x92, 0x36, 0x2b, 0x19, 0x72, 0x33, 0xcd, 0x5b, 0x38, 0x5c, 0xd2, 0x43, 0x1a,
577 0x0d, 0x07, 0x03, 0xc6, 0xe3, 0xca, 0xe7, 0x17, 0x12, 0xa1, 0xc9, 0x80, 0xb3, 0x3e, 0x37, 0xc9,
578 0x9c, 0x0f, 0xef, 0x60, 0x27, 0x16, 0xa5, 0xbe, 0x54, 0x99, 0x38, 0x17, 0xf3, 0xd2, 0x6c, 0x36,
579 0x2d, 0xf2, 0x44, 0x8b, 0x52, 0xbb, 0x6b, 0x67, 0x18, 0x0e, 0xd4, 0xf4, 0xae, 0xab, 0x0a, 0x21,
580 0x47, 0x6a, 0x9a, 0x75, 0x17, 0xc7, 0x76, 0xd3, 0xbd, 0xcb, 0xf5, 0xfd, 0xe3, 0xad, 0xd9, 0x47,
581 0xef, 0x49, 0xeb, 0x2d, 0xb4, 0x8f, 0xf5, 0x21, 0xce, 0xbe, 0xf4, 0xee, 0x54, 0x7d, 0x8e, 0xb7,
582 0x8d, 0x8a, 0xfc, 0xf4, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x78, 0x80, 0xdb, 0x29, 0xad, 0x03, 0x00,
583 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400584}