blob: 462bbe6fa29ada7bddc8689035fca13554d2948e [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/voltha.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package voltha
William Kurkian1b363f42019-03-12 15:28:12 -04005
6import (
William Kurkianad745652019-03-20 08:45:51 -04007 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
10 empty "github.com/golang/protobuf/ptypes/empty"
khenaidoo5fc5cea2021-08-11 17:39:16 -040011 common "github.com/opencord/voltha-protos/v5/go/common"
khenaidoo4c6543e2021-10-19 17:25:58 -040012 extension "github.com/opencord/voltha-protos/v5/go/extension"
13 health "github.com/opencord/voltha-protos/v5/go/health"
khenaidoo5fc5cea2021-08-11 17:39:16 -040014 omci "github.com/opencord/voltha-protos/v5/go/omci"
15 openflow_13 "github.com/opencord/voltha-protos/v5/go/openflow_13"
yasin sapli2bbfbb42021-11-01 14:30:10 +000016 voip_system_profile "github.com/opencord/voltha-protos/v5/go/voip_system_profile"
17 voip_user_profile "github.com/opencord/voltha-protos/v5/go/voip_user_profile"
William Kurkianad745652019-03-20 08:45:51 -040018 _ "google.golang.org/genproto/googleapis/api/annotations"
William Kurkian1b363f42019-03-12 15:28:12 -040019 grpc "google.golang.org/grpc"
David K. Bainbridgec4bf5382021-04-08 16:06:54 +000020 codes "google.golang.org/grpc/codes"
21 status "google.golang.org/grpc/status"
William Kurkianad745652019-03-20 08:45:51 -040022 math "math"
William Kurkian1b363f42019-03-12 15:28:12 -040023)
24
25// Reference imports to suppress errors if they are not otherwise used.
26var _ = proto.Marshal
27var _ = fmt.Errorf
28var _ = math.Inf
29
30// This is a compile-time assertion to ensure that this generated file
31// is compatible with the proto package it is being compiled against.
32// A compilation error at this line likely means your copy of the
33// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040034const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040035
yasin sapli2bbfbb42021-11-01 14:30:10 +000036// Key from public import voltha_protos/common.proto
37type Key = common.Key
38
William Kurkian1b363f42019-03-12 15:28:12 -040039// ID from public import voltha_protos/common.proto
40type ID = common.ID
41
42// IDs from public import voltha_protos/common.proto
43type IDs = common.IDs
44
khenaidoo5cb0d402021-12-08 14:09:16 -050045// Connection from public import voltha_protos/common.proto
46type Connection = common.Connection
47
William Kurkian1b363f42019-03-12 15:28:12 -040048// AdminState from public import voltha_protos/common.proto
49type AdminState = common.AdminState
50
51// OperStatus from public import voltha_protos/common.proto
52type OperStatus = common.OperStatus
53
54// ConnectStatus from public import voltha_protos/common.proto
55type ConnectStatus = common.ConnectStatus
56
57// OperationResp from public import voltha_protos/common.proto
58type OperationResp = common.OperationResp
59
Akash Kankanala761955c2024-02-21 19:32:20 +053060// PortStatistics from public import voltha_protos/common.proto
61type PortStatistics = common.PortStatistics
62
William Kurkian1b363f42019-03-12 15:28:12 -040063// TestModeKeys from public import voltha_protos/common.proto
64type TestModeKeys = common.TestModeKeys
65
66var TestModeKeys_name = common.TestModeKeys_name
67var TestModeKeys_value = common.TestModeKeys_value
68
69const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
70
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030071// AdminState_Types from public import voltha_protos/common.proto
72type AdminState_Types = common.AdminState_Types
William Kurkian1b363f42019-03-12 15:28:12 -040073
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030074var AdminState_Types_name = common.AdminState_Types_name
75var AdminState_Types_value = common.AdminState_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040076
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030077const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
78const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
79const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
80const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
81const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
William Kurkian1b363f42019-03-12 15:28:12 -040082
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030083// OperStatus_Types from public import voltha_protos/common.proto
84type OperStatus_Types = common.OperStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -040085
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030086var OperStatus_Types_name = common.OperStatus_Types_name
87var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040088
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030089const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
90const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
91const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
92const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
93const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
94const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
Maninder4ed97f52021-03-15 10:14:55 +053095const OperStatus_RECONCILING = OperStatus_Types(common.OperStatus_RECONCILING)
Manindera4b9e552021-06-16 17:33:04 +053096const OperStatus_RECONCILING_FAILED = OperStatus_Types(common.OperStatus_RECONCILING_FAILED)
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +053097const OperStatus_REBOOTED = OperStatus_Types(common.OperStatus_REBOOTED)
William Kurkian1b363f42019-03-12 15:28:12 -040098
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099// ConnectStatus_Types from public import voltha_protos/common.proto
100type ConnectStatus_Types = common.ConnectStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400101
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300102var ConnectStatus_Types_name = common.ConnectStatus_Types_name
103var ConnectStatus_Types_value = common.ConnectStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400104
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300105const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
106const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
107const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
William Kurkian1b363f42019-03-12 15:28:12 -0400108
William Kurkianad745652019-03-20 08:45:51 -0400109// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400110type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
111
112var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
113var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
114
115const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
116const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
117const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
Maninder2f9d63e2021-02-08 11:42:19 +0530118const OperationResp_OPERATION_IN_PROGRESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_IN_PROGRESS)
William Kurkian1b363f42019-03-12 15:28:12 -0400119
William Kurkian1b363f42019-03-12 15:28:12 -0400120// CoreInstance represents a core instance. It is data held in memory when a core
121// is running. This data is not persistent.
122type CoreInstance struct {
khenaidoo4c6543e2021-10-19 17:25:58 -0400123 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
124 Health *health.HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
125 XXX_NoUnkeyedLiteral struct{} `json:"-"`
126 XXX_unrecognized []byte `json:"-"`
127 XXX_sizecache int32 `json:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -0400128}
129
130func (m *CoreInstance) Reset() { *m = CoreInstance{} }
131func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
132func (*CoreInstance) ProtoMessage() {}
133func (*CoreInstance) Descriptor() ([]byte, []int) {
khenaidoo4c6543e2021-10-19 17:25:58 -0400134 return fileDescriptor_e084f1a60ce7016c, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400135}
William Kurkianad745652019-03-20 08:45:51 -0400136
William Kurkian1b363f42019-03-12 15:28:12 -0400137func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
138 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
139}
140func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
141 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
142}
William Kurkianad745652019-03-20 08:45:51 -0400143func (m *CoreInstance) XXX_Merge(src proto.Message) {
144 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400145}
146func (m *CoreInstance) XXX_Size() int {
147 return xxx_messageInfo_CoreInstance.Size(m)
148}
149func (m *CoreInstance) XXX_DiscardUnknown() {
150 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
151}
152
153var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
154
155func (m *CoreInstance) GetInstanceId() string {
156 if m != nil {
157 return m.InstanceId
158 }
159 return ""
160}
161
khenaidoo4c6543e2021-10-19 17:25:58 -0400162func (m *CoreInstance) GetHealth() *health.HealthStatus {
William Kurkian1b363f42019-03-12 15:28:12 -0400163 if m != nil {
164 return m.Health
165 }
166 return nil
167}
168
169type CoreInstances struct {
170 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
171 XXX_NoUnkeyedLiteral struct{} `json:"-"`
172 XXX_unrecognized []byte `json:"-"`
173 XXX_sizecache int32 `json:"-"`
174}
175
176func (m *CoreInstances) Reset() { *m = CoreInstances{} }
177func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
178func (*CoreInstances) ProtoMessage() {}
179func (*CoreInstances) Descriptor() ([]byte, []int) {
khenaidoo4c6543e2021-10-19 17:25:58 -0400180 return fileDescriptor_e084f1a60ce7016c, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400181}
William Kurkianad745652019-03-20 08:45:51 -0400182
William Kurkian1b363f42019-03-12 15:28:12 -0400183func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
184 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
185}
186func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
187 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
188}
William Kurkianad745652019-03-20 08:45:51 -0400189func (m *CoreInstances) XXX_Merge(src proto.Message) {
190 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400191}
192func (m *CoreInstances) XXX_Size() int {
193 return xxx_messageInfo_CoreInstances.Size(m)
194}
195func (m *CoreInstances) XXX_DiscardUnknown() {
196 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
197}
198
199var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
200
201func (m *CoreInstances) GetItems() []*CoreInstance {
202 if m != nil {
203 return m.Items
204 }
205 return nil
206}
207
208// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
209// the entire cluster. However, some items (e.g. adapters) will be held by all cores
210// for better performance
211type Voltha struct {
212 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
213 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
214 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
215 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
216 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +0000217 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400218 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
219 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
220 XXX_NoUnkeyedLiteral struct{} `json:"-"`
221 XXX_unrecognized []byte `json:"-"`
222 XXX_sizecache int32 `json:"-"`
223}
224
225func (m *Voltha) Reset() { *m = Voltha{} }
226func (m *Voltha) String() string { return proto.CompactTextString(m) }
227func (*Voltha) ProtoMessage() {}
228func (*Voltha) Descriptor() ([]byte, []int) {
khenaidoo4c6543e2021-10-19 17:25:58 -0400229 return fileDescriptor_e084f1a60ce7016c, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400230}
William Kurkianad745652019-03-20 08:45:51 -0400231
William Kurkian1b363f42019-03-12 15:28:12 -0400232func (m *Voltha) XXX_Unmarshal(b []byte) error {
233 return xxx_messageInfo_Voltha.Unmarshal(m, b)
234}
235func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
236 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
237}
William Kurkianad745652019-03-20 08:45:51 -0400238func (m *Voltha) XXX_Merge(src proto.Message) {
239 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400240}
241func (m *Voltha) XXX_Size() int {
242 return xxx_messageInfo_Voltha.Size(m)
243}
244func (m *Voltha) XXX_DiscardUnknown() {
245 xxx_messageInfo_Voltha.DiscardUnknown(m)
246}
247
248var xxx_messageInfo_Voltha proto.InternalMessageInfo
249
250func (m *Voltha) GetVersion() string {
251 if m != nil {
252 return m.Version
253 }
254 return ""
255}
256
257func (m *Voltha) GetAdapters() []*Adapter {
258 if m != nil {
259 return m.Adapters
260 }
261 return nil
262}
263
264func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
265 if m != nil {
266 return m.LogicalDevices
267 }
268 return nil
269}
270
271func (m *Voltha) GetDevices() []*Device {
272 if m != nil {
273 return m.Devices
274 }
275 return nil
276}
277
278func (m *Voltha) GetDeviceTypes() []*DeviceType {
279 if m != nil {
280 return m.DeviceTypes
281 }
282 return nil
283}
284
Devmalya Paul96a2c9e2019-11-06 07:17:44 +0000285func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -0400286 if m != nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +0000287 return m.EventFilters
William Kurkian1b363f42019-03-12 15:28:12 -0400288 }
289 return nil
290}
291
292func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
293 if m != nil {
294 return m.OmciMibDatabase
295 }
296 return nil
297}
298
299func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
300 if m != nil {
301 return m.OmciAlarmDatabase
302 }
303 return nil
304}
305
William Kurkian1b363f42019-03-12 15:28:12 -0400306func init() {
William Kurkian1b363f42019-03-12 15:28:12 -0400307 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
308 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
309 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
William Kurkianad745652019-03-20 08:45:51 -0400310}
311
312func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
313
314var fileDescriptor_e084f1a60ce7016c = []byte{
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +0530315 // 2365 bytes of a gzipped FileDescriptorProto
316 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5b, 0x73, 0x1b, 0xb7,
317 0x15, 0x0e, 0x95, 0xc4, 0x17, 0xe8, 0x4a, 0x50, 0x17, 0x8a, 0x92, 0x2c, 0x09, 0xbe, 0xc9, 0xb4,
318 0x4d, 0xfa, 0x9a, 0xb6, 0x4e, 0x33, 0x1d, 0x47, 0xb7, 0x2a, 0xb1, 0x4b, 0x0d, 0x69, 0xcb, 0x69,
319 0x26, 0xce, 0xce, 0x92, 0x84, 0xe8, 0x9d, 0x2c, 0x77, 0xd9, 0x05, 0x28, 0x5b, 0x55, 0xfd, 0xd2,
320 0x36, 0x33, 0xee, 0x74, 0x3a, 0x7d, 0xc8, 0xbf, 0xe8, 0xaf, 0xe8, 0x7f, 0xe8, 0x7b, 0x9f, 0xfa,
321 0x43, 0x3a, 0x38, 0x00, 0xc8, 0x05, 0x17, 0x4b, 0x89, 0xae, 0x67, 0xfa, 0x62, 0x6a, 0x71, 0x0e,
322 0xbe, 0xef, 0xc3, 0xc1, 0x01, 0x16, 0x38, 0x6b, 0x54, 0x38, 0x0a, 0x7d, 0xfe, 0xca, 0x75, 0x3a,
323 0x51, 0xc8, 0x43, 0x56, 0x96, 0x4f, 0x25, 0x78, 0xc2, 0xe7, 0xe4, 0x53, 0x61, 0xb9, 0x15, 0x86,
324 0x2d, 0x9f, 0x96, 0xdd, 0x8e, 0x57, 0x76, 0x83, 0x20, 0xe4, 0x2e, 0xf7, 0xc2, 0x80, 0x49, 0xaf,
325 0xc2, 0x92, 0xb2, 0xc2, 0x53, 0xbd, 0x7b, 0x58, 0xa6, 0xed, 0x0e, 0x3f, 0x56, 0xc6, 0x01, 0xf8,
326 0x46, 0xd8, 0x6e, 0x87, 0x81, 0xdd, 0xf6, 0x8a, 0xba, 0x3e, 0x7f, 0xa5, 0x6c, 0xc4, 0xb4, 0xf9,
327 0x61, 0xcb, 0x6b, 0xb8, 0xbe, 0xd3, 0xa4, 0x47, 0x5e, 0x83, 0xda, 0xfb, 0x1b, 0xb6, 0x25, 0xd3,
328 0xe6, 0x36, 0xdd, 0x0e, 0xa7, 0x91, 0x32, 0xae, 0x9a, 0xc6, 0xb0, 0x43, 0x83, 0x43, 0x3f, 0x7c,
329 0xed, 0xdc, 0xbd, 0x6f, 0x47, 0xa6, 0x47, 0x34, 0xe0, 0x7a, 0xb8, 0x97, 0x06, 0x6c, 0x6f, 0x38,
330 0x0d, 0x58, 0x2c, 0x1c, 0xd7, 0x07, 0x03, 0xea, 0x75, 0x1c, 0x76, 0xcc, 0x38, 0x6d, 0x8b, 0xa6,
331 0x43, 0xcf, 0xd7, 0x12, 0xaf, 0x5a, 0x1c, 0xbb, 0x8c, 0x46, 0x03, 0x6e, 0x83, 0x62, 0xdb, 0x0d,
332 0xcf, 0x69, 0x7b, 0x75, 0xa7, 0x59, 0x57, 0x0e, 0xeb, 0x16, 0x07, 0xd7, 0x77, 0xa3, 0x76, 0xdf,
333 0x65, 0xc5, 0xe2, 0xc2, 0x29, 0xe3, 0xd2, 0x4c, 0x5e, 0xa2, 0x89, 0xcd, 0x30, 0xa2, 0x7b, 0x01,
334 0xe3, 0x6e, 0xd0, 0xa0, 0x78, 0x15, 0x8d, 0x7b, 0xea, 0x6f, 0xc7, 0x6b, 0xe6, 0x33, 0x6b, 0x99,
335 0x8d, 0x8b, 0x55, 0xa4, 0x9b, 0xf6, 0x9a, 0xf8, 0x16, 0x3a, 0x27, 0x67, 0x2b, 0x3f, 0xb6, 0x96,
336 0xd9, 0x18, 0xbf, 0x37, 0x5b, 0x52, 0x93, 0xf7, 0x6b, 0xf8, 0xa9, 0x71, 0x97, 0x77, 0x59, 0x55,
337 0xf9, 0x90, 0xcf, 0xd1, 0x64, 0x1c, 0x9e, 0xe1, 0x22, 0xfa, 0xd4, 0xe3, 0xb4, 0xcd, 0xf2, 0x99,
338 0xb5, 0x8f, 0xa1, 0xb7, 0xca, 0xba, 0xb8, 0x57, 0x55, 0xba, 0x90, 0x7f, 0x7e, 0x8c, 0xce, 0x1d,
339 0x80, 0x19, 0xe7, 0xd1, 0xf9, 0x23, 0x1a, 0x89, 0x58, 0x2b, 0x49, 0xfa, 0x11, 0xdf, 0x42, 0x17,
340 0xd4, 0x0c, 0xb3, 0xfc, 0x18, 0x60, 0xce, 0x94, 0xf4, 0x94, 0x3f, 0x96, 0xbf, 0xd5, 0x9e, 0x07,
341 0xde, 0x41, 0xd3, 0x66, 0x3e, 0xb1, 0xfc, 0xc7, 0xd0, 0x69, 0xa5, 0x34, 0x90, 0x67, 0x4f, 0xe4,
342 0xe3, 0x16, 0x3c, 0x55, 0xa7, 0xfc, 0xf8, 0x23, 0xc3, 0x1b, 0xe8, 0xbc, 0xee, 0xff, 0x09, 0xf4,
343 0x9f, 0x2a, 0xa9, 0x7e, 0xaa, 0x83, 0x36, 0xe3, 0x87, 0x68, 0x42, 0xfe, 0xe9, 0xf0, 0xe3, 0x0e,
344 0x65, 0xf9, 0x4f, 0xc1, 0x1d, 0x9b, 0xee, 0xcf, 0x8e, 0x3b, 0xb4, 0x3a, 0xde, 0xec, 0xfd, 0xcd,
345 0xf0, 0xcf, 0xd0, 0x24, 0xa4, 0x9e, 0x73, 0xe8, 0xf9, 0x30, 0xb6, 0xf3, 0xaa, 0x1f, 0xb4, 0x96,
346 0xb6, 0xc5, 0xbf, 0x3b, 0x60, 0xaa, 0x4e, 0xd0, 0xfe, 0x03, 0xc3, 0xbf, 0x42, 0xd9, 0x7e, 0x9e,
347 0xb8, 0xdc, 0xad, 0xbb, 0x8c, 0xe6, 0x97, 0xa1, 0x73, 0xae, 0x24, 0x2c, 0xa5, 0xa7, 0x5e, 0x5d,
348 0xb2, 0x6e, 0xb9, 0xdc, 0xad, 0x4e, 0x8b, 0x36, 0xd1, 0xa4, 0x7c, 0xf1, 0x36, 0xca, 0xc5, 0xf3,
349 0x48, 0x43, 0xac, 0x00, 0xc4, 0x9c, 0x84, 0x78, 0x2c, 0x6c, 0x31, 0x10, 0xa0, 0x94, 0x8d, 0xca,
350 0xff, 0xab, 0x4f, 0x2e, 0x9c, 0x9b, 0x39, 0x7f, 0xef, 0xdf, 0x8f, 0xd0, 0xa4, 0x9c, 0xc2, 0x1a,
351 0x8d, 0x84, 0x3b, 0xde, 0x42, 0x17, 0x77, 0x29, 0x57, 0xd3, 0x3a, 0x5f, 0x92, 0x1b, 0x48, 0x49,
352 0x6f, 0x20, 0xa5, 0x6d, 0xb1, 0x81, 0x14, 0xa6, 0x74, 0x5a, 0x48, 0x3f, 0x32, 0xfd, 0xc7, 0x7f,
353 0xfd, 0xe7, 0xa7, 0xb1, 0x8b, 0xf8, 0x3c, 0xec, 0x43, 0x47, 0x77, 0xf1, 0x4b, 0x94, 0x7d, 0xe2,
354 0x31, 0x6e, 0xe6, 0x56, 0x1a, 0xda, 0x9c, 0x2d, 0xc9, 0x18, 0x59, 0x04, 0xd0, 0x1c, 0xce, 0x2a,
355 0xd0, 0xb2, 0xd7, 0x43, 0xaa, 0xa1, 0xe9, 0x5d, 0x6a, 0xa0, 0x63, 0x54, 0x52, 0x1b, 0xd8, 0xde,
356 0x56, 0xc1, 0x9a, 0xb5, 0xe4, 0x12, 0xe0, 0xe5, 0xf1, 0x7c, 0x02, 0xaf, 0x7c, 0xe2, 0x35, 0xdf,
357 0xe2, 0x1a, 0x9a, 0x10, 0x9a, 0x1f, 0xeb, 0x5c, 0x4c, 0x93, 0x9b, 0x1d, 0xcc, 0x5f, 0x46, 0xf2,
358 0x00, 0x8d, 0xf1, 0x8c, 0x86, 0xee, 0x25, 0x74, 0x1b, 0x61, 0x01, 0xfa, 0xc4, 0x4c, 0xcf, 0x34,
359 0xe8, 0x4b, 0x43, 0xb3, 0x9c, 0x91, 0x55, 0xe0, 0x59, 0xc4, 0x0b, 0x9a, 0x67, 0x60, 0xb1, 0xe0,
360 0x06, 0x9a, 0xd9, 0xa5, 0x26, 0x9b, 0x11, 0x99, 0xe1, 0xcb, 0x88, 0x5c, 0x01, 0xfc, 0x4b, 0x78,
361 0x39, 0x05, 0x5f, 0x06, 0x2a, 0x40, 0xf3, 0x89, 0x31, 0xed, 0x87, 0x11, 0x67, 0x06, 0xd5, 0x72,
362 0x0a, 0x15, 0x78, 0x92, 0x22, 0x30, 0x5d, 0xc1, 0x64, 0x18, 0x53, 0xb9, 0x03, 0xa8, 0xef, 0x32,
363 0x68, 0x76, 0x70, 0x54, 0x02, 0x05, 0xaf, 0x0c, 0xa1, 0xd8, 0x6b, 0x16, 0x96, 0x86, 0x98, 0xc9,
364 0x03, 0x10, 0x50, 0xc2, 0xb7, 0x4e, 0x17, 0x50, 0x3e, 0x11, 0x3f, 0x8e, 0x18, 0xfa, 0xdf, 0x32,
365 0x68, 0x61, 0x3b, 0x70, 0xeb, 0x3e, 0x1d, 0x59, 0x4d, 0xca, 0x9c, 0x93, 0xcf, 0x41, 0xc8, 0x43,
366 0x72, 0x7f, 0x14, 0x21, 0x65, 0x0a, 0x22, 0xf0, 0xdf, 0x33, 0x28, 0xbf, 0xe5, 0xb1, 0x0f, 0x2a,
367 0xe8, 0x97, 0x20, 0xe8, 0x33, 0xf2, 0x60, 0x24, 0x41, 0x4d, 0xa9, 0x02, 0x37, 0x2d, 0xc9, 0xb1,
368 0xe3, 0x87, 0xaf, 0xcd, 0xe4, 0xc0, 0xa5, 0xf8, 0x9b, 0x1d, 0xec, 0x67, 0x4c, 0x89, 0x43, 0xc0,
369 0xfa, 0x53, 0x06, 0x2d, 0x3f, 0xef, 0x34, 0x5d, 0x4e, 0x13, 0x44, 0xcf, 0x40, 0xc6, 0x72, 0x82,
370 0x00, 0xda, 0x65, 0x9f, 0xd4, 0xa1, 0xdf, 0x06, 0x09, 0xd7, 0xc9, 0x19, 0x24, 0x3c, 0xca, 0x14,
371 0xf1, 0x9f, 0x33, 0x68, 0xc5, 0xa2, 0xe2, 0x29, 0xe5, 0x34, 0x92, 0x32, 0x96, 0x0c, 0x19, 0x60,
372 0x78, 0x1a, 0x36, 0x4f, 0x51, 0x51, 0x02, 0x15, 0x1b, 0xe4, 0xf2, 0x50, 0x15, 0x6d, 0x01, 0x06,
373 0x32, 0x5a, 0x68, 0x21, 0x11, 0x72, 0xa0, 0x32, 0x63, 0x9e, 0x4b, 0x6a, 0x61, 0xe4, 0x26, 0x70,
374 0x5d, 0xc5, 0x67, 0xe1, 0xc2, 0x1c, 0x2d, 0x59, 0xe7, 0x76, 0x37, 0x0a, 0xbb, 0x1d, 0x93, 0x6c,
375 0x21, 0x11, 0x7f, 0xe9, 0x44, 0xee, 0x00, 0x61, 0x11, 0x6f, 0x9c, 0x1a, 0x62, 0xa7, 0x25, 0x61,
376 0x7f, 0xca, 0xa0, 0xf5, 0x94, 0xb9, 0x06, 0x4c, 0x19, 0xe9, 0x75, 0x3b, 0xe1, 0x59, 0x66, 0xfd,
377 0x3e, 0x48, 0xba, 0x4d, 0xce, 0x2c, 0x49, 0x04, 0xbd, 0x82, 0xc6, 0x45, 0x2c, 0x4e, 0xdb, 0xd1,
378 0xa7, 0xcd, 0x83, 0x04, 0x23, 0x0b, 0x40, 0x96, 0xc5, 0xd3, 0x9a, 0x4c, 0x6f, 0xdd, 0x15, 0x34,
379 0xd9, 0x07, 0xdc, 0x6b, 0xa6, 0x43, 0x8e, 0xf7, 0xc3, 0x6c, 0x79, 0x49, 0x4a, 0x38, 0xaf, 0xc9,
380 0xf0, 0x73, 0x34, 0x53, 0xa5, 0x8d, 0x30, 0x68, 0x78, 0x3e, 0xd5, 0x32, 0xe3, 0x7d, 0x53, 0xe3,
381 0xb1, 0x0c, 0x98, 0xf3, 0x24, 0x89, 0x29, 0x06, 0xbe, 0x0d, 0x07, 0x04, 0xcb, 0xbb, 0x65, 0xe0,
382 0x88, 0xa5, 0x61, 0xf0, 0xec, 0xc0, 0x48, 0xe5, 0x4b, 0xe4, 0x2b, 0x34, 0xb1, 0x19, 0x51, 0x97,
383 0x2b, 0x69, 0x78, 0xa0, 0x77, 0x02, 0xad, 0x00, 0x68, 0xb3, 0x64, 0x30, 0x6e, 0x42, 0xd2, 0x0b,
384 0x34, 0x21, 0x37, 0x65, 0x8b, 0xaa, 0xb4, 0x41, 0x5e, 0x06, 0xbc, 0x15, 0xb2, 0x64, 0x53, 0xa7,
385 0xb7, 0xd7, 0xdf, 0xa2, 0x49, 0xb5, 0xbb, 0x8e, 0x80, 0xac, 0x5e, 0xa2, 0x64, 0xd9, 0x8a, 0xac,
386 0xf7, 0xc9, 0x17, 0x68, 0xa2, 0x4a, 0xeb, 0x61, 0xc8, 0x3f, 0x98, 0xe6, 0x08, 0xe0, 0x04, 0xf0,
387 0x16, 0xf5, 0x29, 0x7f, 0x8f, 0x60, 0x14, 0xed, 0xc0, 0x4d, 0x80, 0xc3, 0x75, 0x94, 0xdd, 0x09,
388 0xa3, 0x06, 0x1d, 0x19, 0xfd, 0x06, 0xa0, 0x5f, 0x2e, 0xae, 0x5b, 0xd1, 0x0f, 0x05, 0xa6, 0xa3,
389 0x38, 0xde, 0xa0, 0xc9, 0xad, 0xf0, 0x75, 0xe0, 0x87, 0x6e, 0x73, 0xaf, 0xed, 0xb6, 0x28, 0x9e,
390 0xd3, 0x69, 0x00, 0x8f, 0xda, 0x56, 0x98, 0xd3, 0xb4, 0x95, 0x0e, 0x8d, 0xe0, 0xca, 0x5b, 0xa5,
391 0xac, 0x43, 0x7e, 0x01, 0x4c, 0x77, 0xc8, 0x4d, 0x2b, 0x93, 0x27, 0x20, 0x9c, 0xa6, 0xc2, 0x60,
392 0xe5, 0x93, 0xc0, 0x6d, 0xd3, 0xb7, 0x8f, 0x32, 0xc5, 0x77, 0x63, 0x19, 0xfc, 0x63, 0x06, 0xcd,
393 0xef, 0x52, 0x6e, 0xd0, 0xc8, 0xcb, 0x52, 0xba, 0x06, 0x5b, 0x33, 0xf9, 0x02, 0x34, 0x3c, 0xc0,
394 0xf7, 0x46, 0xd0, 0x50, 0x66, 0xc0, 0x24, 0x74, 0xbc, 0x81, 0x13, 0x9c, 0x01, 0x39, 0xa2, 0x80,
395 0xcf, 0xe4, 0x76, 0x86, 0x47, 0x09, 0x82, 0x60, 0xf6, 0xe4, 0x51, 0xd5, 0x00, 0x63, 0x03, 0x13,
396 0x6c, 0x23, 0x64, 0xa4, 0x0c, 0x8c, 0xd7, 0xf0, 0x95, 0xb3, 0x30, 0x0a, 0xaa, 0x13, 0x94, 0xdb,
397 0x14, 0x27, 0x6f, 0xff, 0x8c, 0xe3, 0xb4, 0x4e, 0xb6, 0x1a, 0x67, 0x71, 0xd4, 0x71, 0xfe, 0x35,
398 0x83, 0x72, 0x8f, 0x1b, 0xdc, 0x3b, 0x72, 0x39, 0x05, 0x22, 0xf9, 0x7a, 0x18, 0x91, 0x7d, 0x07,
399 0xd8, 0xbf, 0x20, 0x3f, 0x1f, 0x65, 0x9a, 0x65, 0x73, 0x17, 0xf8, 0x54, 0xde, 0xfd, 0x25, 0x83,
400 0xb2, 0x55, 0x7a, 0x44, 0x23, 0xfe, 0x7f, 0xd1, 0x12, 0x01, 0xb5, 0xd2, 0xf2, 0x2e, 0x83, 0xe6,
401 0x8c, 0xe5, 0xf7, 0x2c, 0x54, 0xcb, 0x9c, 0x98, 0xbb, 0xb1, 0xa1, 0xaa, 0x4a, 0x7f, 0xd7, 0xa5,
402 0x8c, 0x17, 0x96, 0x2c, 0x3e, 0x42, 0x5e, 0x18, 0x30, 0xaa, 0xcf, 0x34, 0xf8, 0xda, 0xa0, 0x44,
403 0x90, 0xc1, 0xca, 0x5a, 0x9e, 0x23, 0x9f, 0xf1, 0x6b, 0x34, 0xa5, 0x97, 0x81, 0x5a, 0x85, 0x05,
404 0x2b, 0xfc, 0x19, 0xa8, 0x6f, 0xa5, 0x65, 0xa7, 0xa2, 0x96, 0x3f, 0x8e, 0x5c, 0x82, 0x62, 0x3e,
405 0x16, 0x1f, 0xd7, 0xc3, 0xde, 0x74, 0xb4, 0x22, 0xb7, 0xd9, 0x8f, 0xc3, 0x7b, 0x8b, 0xb8, 0x9f,
406 0xb6, 0x28, 0x95, 0x08, 0x57, 0x50, 0x3a, 0x5d, 0x49, 0xa7, 0x83, 0x70, 0x80, 0x26, 0x76, 0x29,
407 0xaf, 0x04, 0xdd, 0x3d, 0xf9, 0x1c, 0x5f, 0x8b, 0x59, 0xcd, 0xd6, 0x33, 0x93, 0xeb, 0xc0, 0xb1,
408 0x8e, 0x57, 0xad, 0x69, 0x10, 0x06, 0x5d, 0x8d, 0x7b, 0x82, 0x26, 0x8d, 0x05, 0xf0, 0xfe, 0xc3,
409 0xba, 0x0b, 0x94, 0x37, 0x49, 0xda, 0xb4, 0xba, 0x8a, 0x46, 0x31, 0x8b, 0x97, 0xf5, 0x6b, 0x34,
410 0xbe, 0x19, 0xb6, 0xdb, 0x1e, 0xff, 0x1f, 0xa9, 0xe5, 0xa6, 0x73, 0x83, 0xa4, 0x4d, 0x6b, 0x03,
411 0x48, 0x62, 0xc4, 0xfb, 0x68, 0xba, 0x7f, 0xc0, 0x4a, 0xde, 0x57, 0x27, 0x35, 0x99, 0xbc, 0xa0,
412 0x12, 0x80, 0x5f, 0xc6, 0x05, 0x6b, 0x30, 0xe5, 0xc5, 0xf4, 0x25, 0xca, 0xc5, 0x10, 0xdb, 0x9b,
413 0x61, 0x70, 0xe8, 0xb5, 0x52, 0xa6, 0xa9, 0x67, 0x3e, 0x65, 0x9a, 0x3a, 0x6d, 0xa7, 0xa1, 0x70,
414 0x02, 0x34, 0x27, 0xb7, 0x83, 0x41, 0x82, 0x24, 0x68, 0xea, 0xbb, 0x57, 0x5d, 0xaa, 0xc8, 0x69,
415 0x64, 0x22, 0x40, 0xcf, 0xe3, 0x01, 0x3a, 0xdb, 0x9d, 0x6d, 0x78, 0x94, 0xe4, 0x5d, 0x8d, 0xa2,
416 0x59, 0x13, 0x76, 0x94, 0xeb, 0xc2, 0x06, 0x10, 0x10, 0xbc, 0x96, 0x4a, 0xa0, 0xaf, 0x09, 0xdf,
417 0xc5, 0xd5, 0xcb, 0x22, 0x5d, 0xda, 0x09, 0x3a, 0x97, 0xac, 0xee, 0xb1, 0xb4, 0xe3, 0xaa, 0x2c,
418 0x0b, 0xe2, 0x2a, 0x9a, 0xec, 0x9d, 0x7a, 0x85, 0xff, 0x40, 0x64, 0x12, 0x78, 0x64, 0x1d, 0xe0,
419 0x96, 0xf0, 0xa2, 0x0d, 0x4e, 0x1e, 0x81, 0x77, 0xd0, 0x4c, 0x8d, 0x47, 0xd4, 0x6d, 0xef, 0xbb,
420 0x8d, 0x1f, 0x28, 0x67, 0x95, 0x2e, 0xc7, 0xf3, 0x46, 0x20, 0xa4, 0xa1, 0xd2, 0xe5, 0xa9, 0xf3,
421 0xfb, 0xd1, 0x46, 0x06, 0x6f, 0xc3, 0x41, 0x9f, 0x7a, 0x47, 0x54, 0x01, 0xed, 0x05, 0x43, 0x6a,
422 0x6d, 0x49, 0xfc, 0xbd, 0x80, 0x7c, 0x74, 0x27, 0x83, 0xbf, 0x46, 0x39, 0x05, 0xb3, 0xf9, 0xca,
423 0x0d, 0x5a, 0x14, 0x6a, 0x98, 0xe9, 0x41, 0xcc, 0x1b, 0x48, 0xb1, 0x2e, 0x00, 0xf6, 0x12, 0x65,
424 0xe5, 0xf1, 0x3e, 0x56, 0x09, 0xc5, 0x96, 0xea, 0x68, 0xc1, 0xd2, 0x46, 0xd6, 0x20, 0x76, 0x05,
425 0x32, 0xa7, 0x63, 0x67, 0x94, 0x5a, 0x65, 0xaa, 0x8a, 0xd7, 0x43, 0x1c, 0xdb, 0xbc, 0xe9, 0x26,
426 0x30, 0x2d, 0xa9, 0x6a, 0x80, 0xca, 0x19, 0xa9, 0xa3, 0xac, 0x5c, 0x71, 0xef, 0xa3, 0xfa, 0x2a,
427 0x10, 0xac, 0x16, 0x86, 0x10, 0x08, 0xe9, 0x0d, 0x94, 0x95, 0x27, 0xe8, 0xd3, 0x38, 0xd2, 0xa6,
428 0x5c, 0x0d, 0xa4, 0x38, 0x6c, 0x20, 0xdf, 0xa3, 0x19, 0xb1, 0x18, 0xe2, 0x01, 0x18, 0xb2, 0x1a,
429 0x2c, 0xd1, 0x5a, 0x01, 0x92, 0x05, 0x6c, 0x9f, 0x02, 0xfc, 0x04, 0x2e, 0x81, 0x96, 0xd7, 0xd2,
430 0x94, 0x71, 0x70, 0x61, 0xfa, 0x66, 0x81, 0x97, 0xd2, 0x8f, 0x26, 0x0c, 0x7f, 0x83, 0x2e, 0xd4,
431 0xa8, 0x7f, 0xf8, 0x8c, 0x32, 0x6e, 0x80, 0xe5, 0x35, 0x98, 0xb6, 0xf6, 0x36, 0xff, 0x6b, 0x00,
432 0xbb, 0x46, 0x2e, 0x59, 0x61, 0x19, 0xf5, 0x0f, 0xe1, 0x23, 0x0a, 0x3e, 0x80, 0xd3, 0xb4, 0x51,
433 0x51, 0x1f, 0xac, 0x89, 0x24, 0x4a, 0xee, 0xc9, 0xa5, 0x2b, 0x12, 0x5d, 0xf8, 0xa9, 0x62, 0x88,
434 0x57, 0xc7, 0xdf, 0x21, 0xbc, 0x4b, 0xf9, 0x40, 0x99, 0xdd, 0x40, 0xb6, 0x57, 0xe2, 0x93, 0xf1,
435 0x30, 0xb1, 0xa1, 0xa8, 0x8f, 0x19, 0x9a, 0xac, 0x79, 0xed, 0xae, 0xef, 0x72, 0x0a, 0xfd, 0xf1,
436 0x72, 0x2f, 0x10, 0xf1, 0x66, 0xfd, 0x9a, 0x4c, 0x39, 0x15, 0x26, 0x8a, 0x59, 0x66, 0x8c, 0x14,
437 0x92, 0x23, 0x90, 0x44, 0x5e, 0x3e, 0x45, 0x48, 0x5e, 0xa2, 0xa1, 0x76, 0x38, 0x11, 0x7f, 0x1b,
438 0xa6, 0xa6, 0xa2, 0xaa, 0x3e, 0x90, 0x29, 0x01, 0xdf, 0xef, 0xad, 0xea, 0x23, 0xea, 0xea, 0x3c,
439 0x02, 0x5e, 0xff, 0x92, 0x7f, 0x74, 0xb7, 0x1c, 0xeb, 0x2e, 0x00, 0xbf, 0x47, 0xe3, 0x62, 0xc9,
440 0xbf, 0xe1, 0x07, 0xae, 0xdf, 0xa5, 0x78, 0xb1, 0xd4, 0xfb, 0xbc, 0x57, 0x82, 0x96, 0x5a, 0x87,
441 0x36, 0xbc, 0x43, 0x8f, 0x46, 0x85, 0x85, 0x98, 0xa9, 0x4a, 0x79, 0x37, 0x0a, 0xc0, 0x81, 0x91,
442 0x25, 0x80, 0x9f, 0xc3, 0x39, 0x1d, 0x91, 0x38, 0xe0, 0x0b, 0x34, 0x5e, 0x8b, 0x3d, 0xe6, 0x12,
443 0xf8, 0x34, 0x5d, 0x77, 0x02, 0x38, 0x8e, 0xd4, 0x44, 0xb9, 0x1a, 0x77, 0x23, 0x5e, 0x69, 0x37,
444 0x3c, 0x91, 0xc4, 0xe2, 0xe8, 0x15, 0x06, 0x58, 0x25, 0x88, 0x6e, 0xd5, 0x93, 0x89, 0x65, 0xb3,
445 0x91, 0xed, 0x6a, 0xc5, 0x93, 0x5e, 0xd9, 0x9f, 0x09, 0x3c, 0xa7, 0xf7, 0xad, 0x50, 0x84, 0xe7,
446 0xc7, 0x0c, 0x9a, 0xdd, 0xef, 0xf2, 0x83, 0xd0, 0xeb, 0xd4, 0xe0, 0x93, 0xe6, 0xbe, 0xfc, 0x54,
447 0x89, 0x6f, 0x97, 0x6c, 0xdf, 0x39, 0x13, 0x7e, 0x9a, 0x3f, 0x6d, 0x88, 0x7a, 0xc5, 0xf5, 0x12,
448 0xd7, 0x82, 0x2a, 0x74, 0x74, 0xd0, 0x82, 0xdc, 0xde, 0x92, 0x4a, 0x7a, 0xc5, 0xa7, 0xaf, 0xe9,
449 0x71, 0x2a, 0x8f, 0xaa, 0x0f, 0x16, 0x37, 0x86, 0xf0, 0x94, 0x4f, 0x7e, 0xa0, 0xc7, 0xbd, 0xba,
450 0xc4, 0x5b, 0x84, 0xd5, 0xc0, 0x9f, 0x33, 0x1a, 0x69, 0xb2, 0x1b, 0xa5, 0xe4, 0x57, 0xdb, 0x01,
451 0x9f, 0xd3, 0x86, 0xac, 0x0b, 0x39, 0x8b, 0x86, 0x94, 0x38, 0xa2, 0x18, 0xb0, 0x8f, 0xe6, 0xfa,
452 0x03, 0x8e, 0x2b, 0x38, 0xd3, 0x70, 0xd5, 0xbd, 0xa8, 0x78, 0x2d, 0x95, 0xc3, 0x1c, 0xec, 0xb7,
453 0x68, 0x46, 0xad, 0x8b, 0x4a, 0xd0, 0x1d, 0xa1, 0x06, 0xa3, 0x53, 0xa8, 0x7f, 0x50, 0x93, 0x28,
454 0x8e, 0xb8, 0x16, 0xc8, 0xa5, 0x89, 0xbf, 0x41, 0xd3, 0x72, 0x0d, 0x8f, 0x06, 0xad, 0xb6, 0xcb,
455 0x7e, 0x98, 0x64, 0xf1, 0x2c, 0x8e, 0xfc, 0x07, 0x34, 0xdf, 0x57, 0x5d, 0xa3, 0x91, 0xe7, 0xfa,
456 0xbf, 0xe9, 0xb6, 0xeb, 0x34, 0xc2, 0xab, 0xb1, 0x6b, 0x4c, 0xdc, 0x50, 0x09, 0x2a, 0x4f, 0x9e,
457 0xed, 0x87, 0xc1, 0x69, 0x45, 0x25, 0xb2, 0x6e, 0x1b, 0x10, 0x03, 0x24, 0x27, 0x90, 0x1c, 0xbf,
458 0x47, 0x73, 0xbd, 0x71, 0x7d, 0x18, 0x72, 0x75, 0x2a, 0x25, 0x6b, 0x96, 0x21, 0x1b, 0xdc, 0x5f,
459 0xfa, 0x28, 0x17, 0x46, 0x2d, 0x38, 0x2a, 0x35, 0xc2, 0xa8, 0xa9, 0x3e, 0x4c, 0x7e, 0x39, 0x21,
460 0x3f, 0x9c, 0xee, 0xc3, 0x47, 0xff, 0x6f, 0x4b, 0x2d, 0x8f, 0xbf, 0xea, 0xd6, 0x45, 0xac, 0xcb,
461 0xda, 0x53, 0xfd, 0x77, 0x8f, 0xdb, 0xfa, 0xbf, 0x20, 0x3c, 0x2c, 0xb7, 0x42, 0xd5, 0xf6, 0x8f,
462 0xb1, 0xf9, 0x8a, 0xc6, 0x3b, 0x88, 0x7f, 0x87, 0xdd, 0x1f, 0xab, 0x9f, 0x03, 0xff, 0xfb, 0xff,
463 0x0d, 0x00, 0x00, 0xff, 0xff, 0x90, 0x75, 0xab, 0x3a, 0x3c, 0x22, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400464}
465
466// Reference imports to suppress errors if they are not otherwise used.
467var _ context.Context
468var _ grpc.ClientConn
469
470// This is a compile-time assertion to ensure that this generated file
471// is compatible with the grpc package it is being compiled against.
472const _ = grpc.SupportPackageIsVersion4
473
474// VolthaServiceClient is the client API for VolthaService service.
475//
476// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
477type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -0400478 // Get high level information on the Voltha cluster
479 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
480 // List all Voltha cluster core instances
481 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
482 // Get details on a Voltha cluster instance
483 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
484 // List all active adapters (plugins) in the Voltha cluster
485 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
486 // List all logical devices managed by the Voltha cluster
487 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
488 // Get additional information on a given logical device
489 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
490 // List ports of a logical device
491 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
492 // Gets a logical device port
493 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
494 // Enables a logical device port
495 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
496 // Disables a logical device port
497 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
498 // List all flows of a logical device
499 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
500 // Update flow table for logical device
501 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
502 // Update meter table for logical device
503 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400504 // List all meters of a logical device
505 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400506 // List all flow groups of a logical device
507 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
508 // Update group table for device
509 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
510 // List all physical devices controlled by the Voltha cluster
511 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
512 // List all physical devices IDs controlled by the Voltha cluster
513 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
514 // Request to a voltha Core to reconcile a set of devices based on their IDs
515 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
516 // Get more information on a given physical device
517 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
518 // Pre-provision a new physical device
519 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
520 // Enable a device. If the device was in pre-provisioned state then it
521 // will transition to ENABLED state. If it was is DISABLED state then it
522 // will transition to ENABLED state as well.
523 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
524 // Disable a device
525 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
526 // Reboot a device
527 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
528 // Delete a device
529 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +0530530 // Forcefully delete a device
531 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400532 // Request an image download to the standby partition
533 // of a device.
534 // Note that the call is expected to be non-blocking.
535 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
536 // Get image download status on a device
537 // The request retrieves progress on device and updates db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100538 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400539 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
540 // Get image download db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100541 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400542 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
543 // List image download db records for a given device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100544 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400545 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
546 // Cancel an existing image download process on a device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100547 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400548 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
549 // Activate the specified image at a standby partition
550 // to active partition.
551 // Depending on the device implementation, this call
552 // may or may not cause device reboot.
553 // If no reboot, then a reboot is required to make the
554 // activated image running on device
555 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100556 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400557 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
558 // Revert the specified image at standby partition
559 // to active partition, and revert to previous image
560 // Depending on the device implementation, this call
561 // may or may not cause device reboot.
562 // If no reboot, then a reboot is required to make the
563 // previous image running on device
564 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100565 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400566 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100567 // Downloads a certain image to the standby partition of the devices
568 // Note that the call is expected to be non-blocking.
569 DownloadImageToDevice(ctx context.Context, in *DeviceImageDownloadRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
570 // Get image status on a number of devices devices
571 // Polled from northbound systems to get state of download/activate/commit
572 GetImageStatus(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
573 // Aborts the upgrade of an image on a device
574 // To be used carefully, stops any further operations for the Image on the given devices
575 // Might also stop if possible existing work, but no guarantees are given,
576 // depends on implementation and procedure status.
577 AbortImageUpgradeToDevice(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
578 // Get Both Active and Standby image for a given device
579 GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*OnuImages, error)
580 // Activate the specified image from a standby partition
581 // to active partition.
582 // Depending on the device implementation, this call
583 // may or may not cause device reboot.
584 // If no reboot, then a reboot is required to make the
585 // activated image running on device
586 // Note that the call is expected to be non-blocking.
587 ActivateImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
588 // Commit the specified image to be default.
589 // Depending on the device implementation, this call
590 // may or may not cause device reboot.
591 // If no reboot, then a reboot is required to make the
592 // activated image running on device upon next reboot
593 // Note that the call is expected to be non-blocking.
594 CommitImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400595 // List ports of a device
596 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
597 // List pm config of a device
598 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
599 // Update the pm config of a device
600 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
601 // List all flows of a device
602 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
603 // List all flow groups of a device
604 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
605 // List device types known to Voltha
606 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
607 // Get additional information on a device type
608 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400609 // Stream control packets to the dataplane
610 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
611 // Receive control packet stream
612 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
613 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +0000614 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
615 // Get all filters present for a device
616 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
617 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
618 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
619 // Get all the filters present
620 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400621 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
622 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
623 // OpenOMCI MIB information
624 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
625 // OpenOMCI ALARM information
626 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
627 // Simulate an Alarm
628 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
kesavand4a002b02020-01-23 21:29:47 -0500629 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
630 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
khenaidoo4c6543e2021-10-19 17:25:58 -0400631 GetExtValue(ctx context.Context, in *extension.ValueSpecifier, opts ...grpc.CallOption) (*extension.ReturnValues, error)
632 SetExtValue(ctx context.Context, in *extension.ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +0530633 // omci start and stop cli implementation
khenaidoo4c6543e2021-10-19 17:25:58 -0400634 StartOmciTestAction(ctx context.Context, in *omci.OmciTestRequest, opts ...grpc.CallOption) (*omci.TestResponse, error)
yasin sapli2bbfbb42021-11-01 14:30:10 +0000635 // Saves or updates system wide configuration into voltha KV
636 PutVoipSystemProfile(ctx context.Context, in *voip_system_profile.VoipSystemProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error)
637 // Deletes the given profile from voltha KV
638 DeleteVoipSystemProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error)
639 // Saves or updates a profile (VOIP) into voltha KV
640 PutVoipUserProfile(ctx context.Context, in *voip_user_profile.VoipUserProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error)
641 // Deletes the given profile from voltha KV
642 DeleteVoipUserProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +0530643 // Disables the ONU, stops it from participating in the ranging process. different from DisableDevice
644 DisableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
645 // Enables the ONU at the PLOAM , enables the ONU to participate in the ranging process. different from EnableDevice
646 EnableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
647 // Disables the ONU at the PLOAM , different from DisableDevice. This would be used if the Device is not present in the VOLTHA
648 DisableOnuSerialNumber(ctx context.Context, in *OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*empty.Empty, error)
649 // Disables the ONU at the PLOAM , different from EnableDevice. This would be used if the Device is not present in the VOLTHA
650 EnableOnuSerialNumber(ctx context.Context, in *OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400651}
652
653type volthaServiceClient struct {
654 cc *grpc.ClientConn
655}
656
657func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
658 return &volthaServiceClient{cc}
659}
660
William Kurkian1b363f42019-03-12 15:28:12 -0400661func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
662 out := new(Voltha)
663 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
664 if err != nil {
665 return nil, err
666 }
667 return out, nil
668}
669
670func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
671 out := new(CoreInstances)
672 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
673 if err != nil {
674 return nil, err
675 }
676 return out, nil
677}
678
679func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
680 out := new(CoreInstance)
681 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
682 if err != nil {
683 return nil, err
684 }
685 return out, nil
686}
687
688func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
689 out := new(Adapters)
690 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
691 if err != nil {
692 return nil, err
693 }
694 return out, nil
695}
696
697func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
698 out := new(LogicalDevices)
699 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
700 if err != nil {
701 return nil, err
702 }
703 return out, nil
704}
705
706func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
707 out := new(LogicalDevice)
708 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
709 if err != nil {
710 return nil, err
711 }
712 return out, nil
713}
714
715func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
716 out := new(LogicalPorts)
717 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
718 if err != nil {
719 return nil, err
720 }
721 return out, nil
722}
723
724func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
725 out := new(LogicalPort)
726 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
727 if err != nil {
728 return nil, err
729 }
730 return out, nil
731}
732
733func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
734 out := new(empty.Empty)
735 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
736 if err != nil {
737 return nil, err
738 }
739 return out, nil
740}
741
742func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
743 out := new(empty.Empty)
744 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
745 if err != nil {
746 return nil, err
747 }
748 return out, nil
749}
750
751func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
752 out := new(openflow_13.Flows)
753 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
754 if err != nil {
755 return nil, err
756 }
757 return out, nil
758}
759
760func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
761 out := new(empty.Empty)
762 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
763 if err != nil {
764 return nil, err
765 }
766 return out, nil
767}
768
769func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
770 out := new(empty.Empty)
771 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
772 if err != nil {
773 return nil, err
774 }
775 return out, nil
776}
777
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400778func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
779 out := new(openflow_13.Meters)
780 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -0400781 if err != nil {
782 return nil, err
783 }
784 return out, nil
785}
786
787func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
788 out := new(openflow_13.FlowGroups)
789 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
790 if err != nil {
791 return nil, err
792 }
793 return out, nil
794}
795
796func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
797 out := new(empty.Empty)
798 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
799 if err != nil {
800 return nil, err
801 }
802 return out, nil
803}
804
805func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
806 out := new(Devices)
807 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
808 if err != nil {
809 return nil, err
810 }
811 return out, nil
812}
813
814func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
815 out := new(common.IDs)
816 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
817 if err != nil {
818 return nil, err
819 }
820 return out, nil
821}
822
823func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
824 out := new(empty.Empty)
825 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
826 if err != nil {
827 return nil, err
828 }
829 return out, nil
830}
831
832func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
833 out := new(Device)
834 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
835 if err != nil {
836 return nil, err
837 }
838 return out, nil
839}
840
841func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
842 out := new(Device)
843 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
844 if err != nil {
845 return nil, err
846 }
847 return out, nil
848}
849
850func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
851 out := new(empty.Empty)
852 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
853 if err != nil {
854 return nil, err
855 }
856 return out, nil
857}
858
859func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
860 out := new(empty.Empty)
861 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
862 if err != nil {
863 return nil, err
864 }
865 return out, nil
866}
867
868func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
869 out := new(empty.Empty)
870 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
871 if err != nil {
872 return nil, err
873 }
874 return out, nil
875}
876
877func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
878 out := new(empty.Empty)
879 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
880 if err != nil {
881 return nil, err
882 }
883 return out, nil
884}
885
Himani Chawla503b7ce2020-10-07 13:20:03 +0530886func (c *volthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
887 out := new(empty.Empty)
888 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ForceDeleteDevice", in, out, opts...)
889 if err != nil {
890 return nil, err
891 }
892 return out, nil
893}
894
khenaidoo4c6543e2021-10-19 17:25:58 -0400895// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400896func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
897 out := new(common.OperationResp)
898 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
899 if err != nil {
900 return nil, err
901 }
902 return out, nil
903}
904
khenaidoo4c6543e2021-10-19 17:25:58 -0400905// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400906func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
907 out := new(ImageDownload)
908 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
909 if err != nil {
910 return nil, err
911 }
912 return out, nil
913}
914
khenaidoo4c6543e2021-10-19 17:25:58 -0400915// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400916func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
917 out := new(ImageDownload)
918 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
919 if err != nil {
920 return nil, err
921 }
922 return out, nil
923}
924
khenaidoo4c6543e2021-10-19 17:25:58 -0400925// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400926func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
927 out := new(ImageDownloads)
928 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
929 if err != nil {
930 return nil, err
931 }
932 return out, nil
933}
934
khenaidoo4c6543e2021-10-19 17:25:58 -0400935// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400936func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
937 out := new(common.OperationResp)
938 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
939 if err != nil {
940 return nil, err
941 }
942 return out, nil
943}
944
khenaidoo4c6543e2021-10-19 17:25:58 -0400945// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400946func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
947 out := new(common.OperationResp)
948 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
949 if err != nil {
950 return nil, err
951 }
952 return out, nil
953}
954
khenaidoo4c6543e2021-10-19 17:25:58 -0400955// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400956func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
957 out := new(common.OperationResp)
958 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
959 if err != nil {
960 return nil, err
961 }
962 return out, nil
963}
964
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100965func (c *volthaServiceClient) DownloadImageToDevice(ctx context.Context, in *DeviceImageDownloadRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
966 out := new(DeviceImageResponse)
967 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImageToDevice", in, out, opts...)
968 if err != nil {
969 return nil, err
970 }
971 return out, nil
972}
973
974func (c *volthaServiceClient) GetImageStatus(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
975 out := new(DeviceImageResponse)
976 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageStatus", in, out, opts...)
977 if err != nil {
978 return nil, err
979 }
980 return out, nil
981}
982
983func (c *volthaServiceClient) AbortImageUpgradeToDevice(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
984 out := new(DeviceImageResponse)
985 err := c.cc.Invoke(ctx, "/voltha.VolthaService/AbortImageUpgradeToDevice", in, out, opts...)
986 if err != nil {
987 return nil, err
988 }
989 return out, nil
990}
991
992func (c *volthaServiceClient) GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*OnuImages, error) {
993 out := new(OnuImages)
994 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetOnuImages", in, out, opts...)
995 if err != nil {
996 return nil, err
997 }
998 return out, nil
999}
1000
1001func (c *volthaServiceClient) ActivateImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
1002 out := new(DeviceImageResponse)
1003 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImage", in, out, opts...)
1004 if err != nil {
1005 return nil, err
1006 }
1007 return out, nil
1008}
1009
1010func (c *volthaServiceClient) CommitImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
1011 out := new(DeviceImageResponse)
1012 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CommitImage", in, out, opts...)
1013 if err != nil {
1014 return nil, err
1015 }
1016 return out, nil
1017}
1018
William Kurkian1b363f42019-03-12 15:28:12 -04001019func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
1020 out := new(Ports)
1021 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
1022 if err != nil {
1023 return nil, err
1024 }
1025 return out, nil
1026}
1027
1028func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
1029 out := new(PmConfigs)
1030 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
1031 if err != nil {
1032 return nil, err
1033 }
1034 return out, nil
1035}
1036
1037func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
1038 out := new(empty.Empty)
1039 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
1040 if err != nil {
1041 return nil, err
1042 }
1043 return out, nil
1044}
1045
1046func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
1047 out := new(openflow_13.Flows)
1048 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
1049 if err != nil {
1050 return nil, err
1051 }
1052 return out, nil
1053}
1054
1055func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
1056 out := new(openflow_13.FlowGroups)
1057 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
1058 if err != nil {
1059 return nil, err
1060 }
1061 return out, nil
1062}
1063
1064func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
1065 out := new(DeviceTypes)
1066 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
1067 if err != nil {
1068 return nil, err
1069 }
1070 return out, nil
1071}
1072
1073func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
1074 out := new(DeviceType)
1075 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
1076 if err != nil {
1077 return nil, err
1078 }
1079 return out, nil
1080}
1081
William Kurkian1b363f42019-03-12 15:28:12 -04001082func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
1083 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
1084 if err != nil {
1085 return nil, err
1086 }
1087 x := &volthaServiceStreamPacketsOutClient{stream}
1088 return x, nil
1089}
1090
1091type VolthaService_StreamPacketsOutClient interface {
1092 Send(*openflow_13.PacketOut) error
1093 CloseAndRecv() (*empty.Empty, error)
1094 grpc.ClientStream
1095}
1096
1097type volthaServiceStreamPacketsOutClient struct {
1098 grpc.ClientStream
1099}
1100
1101func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
1102 return x.ClientStream.SendMsg(m)
1103}
1104
1105func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
1106 if err := x.ClientStream.CloseSend(); err != nil {
1107 return nil, err
1108 }
1109 m := new(empty.Empty)
1110 if err := x.ClientStream.RecvMsg(m); err != nil {
1111 return nil, err
1112 }
1113 return m, nil
1114}
1115
1116func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
1117 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
1118 if err != nil {
1119 return nil, err
1120 }
1121 x := &volthaServiceReceivePacketsInClient{stream}
1122 if err := x.ClientStream.SendMsg(in); err != nil {
1123 return nil, err
1124 }
1125 if err := x.ClientStream.CloseSend(); err != nil {
1126 return nil, err
1127 }
1128 return x, nil
1129}
1130
1131type VolthaService_ReceivePacketsInClient interface {
1132 Recv() (*openflow_13.PacketIn, error)
1133 grpc.ClientStream
1134}
1135
1136type volthaServiceReceivePacketsInClient struct {
1137 grpc.ClientStream
1138}
1139
1140func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
1141 m := new(openflow_13.PacketIn)
1142 if err := x.ClientStream.RecvMsg(m); err != nil {
1143 return nil, err
1144 }
1145 return m, nil
1146}
1147
1148func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
1149 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
1150 if err != nil {
1151 return nil, err
1152 }
1153 x := &volthaServiceReceiveChangeEventsClient{stream}
1154 if err := x.ClientStream.SendMsg(in); err != nil {
1155 return nil, err
1156 }
1157 if err := x.ClientStream.CloseSend(); err != nil {
1158 return nil, err
1159 }
1160 return x, nil
1161}
1162
1163type VolthaService_ReceiveChangeEventsClient interface {
1164 Recv() (*openflow_13.ChangeEvent, error)
1165 grpc.ClientStream
1166}
1167
1168type volthaServiceReceiveChangeEventsClient struct {
1169 grpc.ClientStream
1170}
1171
1172func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
1173 m := new(openflow_13.ChangeEvent)
1174 if err := x.ClientStream.RecvMsg(m); err != nil {
1175 return nil, err
1176 }
1177 return m, nil
1178}
1179
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001180func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
1181 out := new(EventFilter)
1182 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001183 if err != nil {
1184 return nil, err
1185 }
1186 return out, nil
1187}
1188
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001189func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
1190 out := new(EventFilters)
1191 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001192 if err != nil {
1193 return nil, err
1194 }
1195 return out, nil
1196}
1197
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001198func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
1199 out := new(EventFilter)
1200 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001201 if err != nil {
1202 return nil, err
1203 }
1204 return out, nil
1205}
1206
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001207func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04001208 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001209 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001210 if err != nil {
1211 return nil, err
1212 }
1213 return out, nil
1214}
1215
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001216func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
1217 out := new(EventFilters)
1218 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001219 if err != nil {
1220 return nil, err
1221 }
1222 return out, nil
1223}
1224
1225func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
1226 out := new(Images)
1227 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
1228 if err != nil {
1229 return nil, err
1230 }
1231 return out, nil
1232}
1233
1234func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
1235 out := new(SelfTestResponse)
1236 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
1237 if err != nil {
1238 return nil, err
1239 }
1240 return out, nil
1241}
1242
1243func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
1244 out := new(omci.MibDeviceData)
1245 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
1246 if err != nil {
1247 return nil, err
1248 }
1249 return out, nil
1250}
1251
1252func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
1253 out := new(omci.AlarmDeviceData)
1254 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
1255 if err != nil {
1256 return nil, err
1257 }
1258 return out, nil
1259}
1260
1261func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
1262 out := new(common.OperationResp)
1263 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
1264 if err != nil {
1265 return nil, err
1266 }
1267 return out, nil
1268}
1269
kesavand4a002b02020-01-23 21:29:47 -05001270func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
1271 out := new(empty.Empty)
1272 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
1273 if err != nil {
1274 return nil, err
1275 }
1276 return out, nil
1277}
1278
1279func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
1280 out := new(empty.Empty)
1281 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
1282 if err != nil {
1283 return nil, err
1284 }
1285 return out, nil
1286}
1287
khenaidoo4c6543e2021-10-19 17:25:58 -04001288func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *extension.ValueSpecifier, opts ...grpc.CallOption) (*extension.ReturnValues, error) {
1289 out := new(extension.ReturnValues)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08001290 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
1291 if err != nil {
1292 return nil, err
1293 }
1294 return out, nil
1295}
1296
khenaidoo4c6543e2021-10-19 17:25:58 -04001297func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *extension.ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
dpaul2b52e712020-06-23 13:02:28 +05301298 out := new(empty.Empty)
1299 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
1300 if err != nil {
1301 return nil, err
1302 }
1303 return out, nil
1304}
1305
khenaidoo4c6543e2021-10-19 17:25:58 -04001306func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *omci.OmciTestRequest, opts ...grpc.CallOption) (*omci.TestResponse, error) {
1307 out := new(omci.TestResponse)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301308 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
1309 if err != nil {
1310 return nil, err
1311 }
1312 return out, nil
1313}
1314
yasin sapli2bbfbb42021-11-01 14:30:10 +00001315func (c *volthaServiceClient) PutVoipSystemProfile(ctx context.Context, in *voip_system_profile.VoipSystemProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1316 out := new(empty.Empty)
1317 err := c.cc.Invoke(ctx, "/voltha.VolthaService/PutVoipSystemProfile", in, out, opts...)
1318 if err != nil {
1319 return nil, err
1320 }
1321 return out, nil
1322}
1323
1324func (c *volthaServiceClient) DeleteVoipSystemProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error) {
1325 out := new(empty.Empty)
1326 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteVoipSystemProfile", in, out, opts...)
1327 if err != nil {
1328 return nil, err
1329 }
1330 return out, nil
1331}
1332
1333func (c *volthaServiceClient) PutVoipUserProfile(ctx context.Context, in *voip_user_profile.VoipUserProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1334 out := new(empty.Empty)
1335 err := c.cc.Invoke(ctx, "/voltha.VolthaService/PutVoipUserProfile", in, out, opts...)
1336 if err != nil {
1337 return nil, err
1338 }
1339 return out, nil
1340}
1341
1342func (c *volthaServiceClient) DeleteVoipUserProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error) {
1343 out := new(empty.Empty)
1344 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteVoipUserProfile", in, out, opts...)
1345 if err != nil {
1346 return nil, err
1347 }
1348 return out, nil
1349}
1350
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05301351func (c *volthaServiceClient) DisableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
1352 out := new(empty.Empty)
1353 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableOnuDevice", in, out, opts...)
1354 if err != nil {
1355 return nil, err
1356 }
1357 return out, nil
1358}
1359
1360func (c *volthaServiceClient) EnableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
1361 out := new(empty.Empty)
1362 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableOnuDevice", in, out, opts...)
1363 if err != nil {
1364 return nil, err
1365 }
1366 return out, nil
1367}
1368
1369func (c *volthaServiceClient) DisableOnuSerialNumber(ctx context.Context, in *OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*empty.Empty, error) {
1370 out := new(empty.Empty)
1371 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableOnuSerialNumber", in, out, opts...)
1372 if err != nil {
1373 return nil, err
1374 }
1375 return out, nil
1376}
1377
1378func (c *volthaServiceClient) EnableOnuSerialNumber(ctx context.Context, in *OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*empty.Empty, error) {
1379 out := new(empty.Empty)
1380 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableOnuSerialNumber", in, out, opts...)
1381 if err != nil {
1382 return nil, err
1383 }
1384 return out, nil
1385}
1386
William Kurkian1b363f42019-03-12 15:28:12 -04001387// VolthaServiceServer is the server API for VolthaService service.
1388type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04001389 // Get high level information on the Voltha cluster
1390 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
1391 // List all Voltha cluster core instances
1392 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
1393 // Get details on a Voltha cluster instance
1394 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
1395 // List all active adapters (plugins) in the Voltha cluster
1396 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
1397 // List all logical devices managed by the Voltha cluster
1398 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
1399 // Get additional information on a given logical device
1400 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
1401 // List ports of a logical device
1402 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
1403 // Gets a logical device port
1404 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
1405 // Enables a logical device port
1406 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
1407 // Disables a logical device port
1408 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
1409 // List all flows of a logical device
1410 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
1411 // Update flow table for logical device
1412 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
1413 // Update meter table for logical device
1414 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001415 // List all meters of a logical device
1416 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001417 // List all flow groups of a logical device
1418 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
1419 // Update group table for device
1420 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
1421 // List all physical devices controlled by the Voltha cluster
1422 ListDevices(context.Context, *empty.Empty) (*Devices, error)
1423 // List all physical devices IDs controlled by the Voltha cluster
1424 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
1425 // Request to a voltha Core to reconcile a set of devices based on their IDs
1426 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
1427 // Get more information on a given physical device
1428 GetDevice(context.Context, *common.ID) (*Device, error)
1429 // Pre-provision a new physical device
1430 CreateDevice(context.Context, *Device) (*Device, error)
1431 // Enable a device. If the device was in pre-provisioned state then it
1432 // will transition to ENABLED state. If it was is DISABLED state then it
1433 // will transition to ENABLED state as well.
1434 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
1435 // Disable a device
1436 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
1437 // Reboot a device
1438 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
1439 // Delete a device
1440 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05301441 // Forcefully delete a device
1442 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001443 // Request an image download to the standby partition
1444 // of a device.
1445 // Note that the call is expected to be non-blocking.
1446 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
1447 // Get image download status on a device
1448 // The request retrieves progress on device and updates db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001449 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001450 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
1451 // Get image download db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001452 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001453 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
1454 // List image download db records for a given device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001455 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001456 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
1457 // Cancel an existing image download process on a device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001458 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001459 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
1460 // Activate the specified image at a standby partition
1461 // to active partition.
1462 // Depending on the device implementation, this call
1463 // may or may not cause device reboot.
1464 // If no reboot, then a reboot is required to make the
1465 // activated image running on device
1466 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001467 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001468 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
1469 // Revert the specified image at standby partition
1470 // to active partition, and revert to previous image
1471 // Depending on the device implementation, this call
1472 // may or may not cause device reboot.
1473 // If no reboot, then a reboot is required to make the
1474 // previous image running on device
1475 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001476 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001477 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001478 // Downloads a certain image to the standby partition of the devices
1479 // Note that the call is expected to be non-blocking.
1480 DownloadImageToDevice(context.Context, *DeviceImageDownloadRequest) (*DeviceImageResponse, error)
1481 // Get image status on a number of devices devices
1482 // Polled from northbound systems to get state of download/activate/commit
1483 GetImageStatus(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1484 // Aborts the upgrade of an image on a device
1485 // To be used carefully, stops any further operations for the Image on the given devices
1486 // Might also stop if possible existing work, but no guarantees are given,
1487 // depends on implementation and procedure status.
1488 AbortImageUpgradeToDevice(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1489 // Get Both Active and Standby image for a given device
1490 GetOnuImages(context.Context, *common.ID) (*OnuImages, error)
1491 // Activate the specified image from a standby partition
1492 // to active partition.
1493 // Depending on the device implementation, this call
1494 // may or may not cause device reboot.
1495 // If no reboot, then a reboot is required to make the
1496 // activated image running on device
1497 // Note that the call is expected to be non-blocking.
1498 ActivateImage(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1499 // Commit the specified image to be default.
1500 // Depending on the device implementation, this call
1501 // may or may not cause device reboot.
1502 // If no reboot, then a reboot is required to make the
1503 // activated image running on device upon next reboot
1504 // Note that the call is expected to be non-blocking.
1505 CommitImage(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001506 // List ports of a device
1507 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
1508 // List pm config of a device
1509 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
1510 // Update the pm config of a device
1511 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
1512 // List all flows of a device
1513 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
1514 // List all flow groups of a device
1515 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
1516 // List device types known to Voltha
1517 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
1518 // Get additional information on a device type
1519 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001520 // Stream control packets to the dataplane
1521 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
1522 // Receive control packet stream
1523 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
1524 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001525 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
1526 // Get all filters present for a device
1527 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
1528 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
1529 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
1530 // Get all the filters present
1531 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001532 GetImages(context.Context, *common.ID) (*Images, error)
1533 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
1534 // OpenOMCI MIB information
1535 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
1536 // OpenOMCI ALARM information
1537 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
1538 // Simulate an Alarm
1539 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
kesavand4a002b02020-01-23 21:29:47 -05001540 EnablePort(context.Context, *Port) (*empty.Empty, error)
1541 DisablePort(context.Context, *Port) (*empty.Empty, error)
khenaidoo4c6543e2021-10-19 17:25:58 -04001542 GetExtValue(context.Context, *extension.ValueSpecifier) (*extension.ReturnValues, error)
1543 SetExtValue(context.Context, *extension.ValueSet) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301544 // omci start and stop cli implementation
khenaidoo4c6543e2021-10-19 17:25:58 -04001545 StartOmciTestAction(context.Context, *omci.OmciTestRequest) (*omci.TestResponse, error)
yasin sapli2bbfbb42021-11-01 14:30:10 +00001546 // Saves or updates system wide configuration into voltha KV
1547 PutVoipSystemProfile(context.Context, *voip_system_profile.VoipSystemProfileRequest) (*empty.Empty, error)
1548 // Deletes the given profile from voltha KV
1549 DeleteVoipSystemProfile(context.Context, *common.Key) (*empty.Empty, error)
1550 // Saves or updates a profile (VOIP) into voltha KV
1551 PutVoipUserProfile(context.Context, *voip_user_profile.VoipUserProfileRequest) (*empty.Empty, error)
1552 // Deletes the given profile from voltha KV
1553 DeleteVoipUserProfile(context.Context, *common.Key) (*empty.Empty, error)
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05301554 // Disables the ONU, stops it from participating in the ranging process. different from DisableDevice
1555 DisableOnuDevice(context.Context, *common.ID) (*empty.Empty, error)
1556 // Enables the ONU at the PLOAM , enables the ONU to participate in the ranging process. different from EnableDevice
1557 EnableOnuDevice(context.Context, *common.ID) (*empty.Empty, error)
1558 // Disables the ONU at the PLOAM , different from DisableDevice. This would be used if the Device is not present in the VOLTHA
1559 DisableOnuSerialNumber(context.Context, *OnuSerialNumberOnOLTPon) (*empty.Empty, error)
1560 // Disables the ONU at the PLOAM , different from EnableDevice. This would be used if the Device is not present in the VOLTHA
1561 EnableOnuSerialNumber(context.Context, *OnuSerialNumberOnOLTPon) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001562}
1563
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001564// UnimplementedVolthaServiceServer can be embedded to have forward compatible implementations.
1565type UnimplementedVolthaServiceServer struct {
1566}
1567
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001568func (*UnimplementedVolthaServiceServer) GetVoltha(ctx context.Context, req *empty.Empty) (*Voltha, error) {
1569 return nil, status.Errorf(codes.Unimplemented, "method GetVoltha not implemented")
1570}
1571func (*UnimplementedVolthaServiceServer) ListCoreInstances(ctx context.Context, req *empty.Empty) (*CoreInstances, error) {
1572 return nil, status.Errorf(codes.Unimplemented, "method ListCoreInstances not implemented")
1573}
1574func (*UnimplementedVolthaServiceServer) GetCoreInstance(ctx context.Context, req *common.ID) (*CoreInstance, error) {
1575 return nil, status.Errorf(codes.Unimplemented, "method GetCoreInstance not implemented")
1576}
1577func (*UnimplementedVolthaServiceServer) ListAdapters(ctx context.Context, req *empty.Empty) (*Adapters, error) {
1578 return nil, status.Errorf(codes.Unimplemented, "method ListAdapters not implemented")
1579}
1580func (*UnimplementedVolthaServiceServer) ListLogicalDevices(ctx context.Context, req *empty.Empty) (*LogicalDevices, error) {
1581 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevices not implemented")
1582}
1583func (*UnimplementedVolthaServiceServer) GetLogicalDevice(ctx context.Context, req *common.ID) (*LogicalDevice, error) {
1584 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevice not implemented")
1585}
1586func (*UnimplementedVolthaServiceServer) ListLogicalDevicePorts(ctx context.Context, req *common.ID) (*LogicalPorts, error) {
1587 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevicePorts not implemented")
1588}
1589func (*UnimplementedVolthaServiceServer) GetLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*LogicalPort, error) {
1590 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevicePort not implemented")
1591}
1592func (*UnimplementedVolthaServiceServer) EnableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
1593 return nil, status.Errorf(codes.Unimplemented, "method EnableLogicalDevicePort not implemented")
1594}
1595func (*UnimplementedVolthaServiceServer) DisableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
1596 return nil, status.Errorf(codes.Unimplemented, "method DisableLogicalDevicePort not implemented")
1597}
1598func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
1599 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlows not implemented")
1600}
1601func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowTable(ctx context.Context, req *openflow_13.FlowTableUpdate) (*empty.Empty, error) {
1602 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowTable not implemented")
1603}
1604func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceMeterTable(ctx context.Context, req *openflow_13.MeterModUpdate) (*empty.Empty, error) {
1605 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceMeterTable not implemented")
1606}
1607func (*UnimplementedVolthaServiceServer) ListLogicalDeviceMeters(ctx context.Context, req *common.ID) (*openflow_13.Meters, error) {
1608 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceMeters not implemented")
1609}
1610func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
1611 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlowGroups not implemented")
1612}
1613func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, req *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error) {
1614 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowGroupTable not implemented")
1615}
1616func (*UnimplementedVolthaServiceServer) ListDevices(ctx context.Context, req *empty.Empty) (*Devices, error) {
1617 return nil, status.Errorf(codes.Unimplemented, "method ListDevices not implemented")
1618}
1619func (*UnimplementedVolthaServiceServer) ListDeviceIds(ctx context.Context, req *empty.Empty) (*common.IDs, error) {
1620 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceIds not implemented")
1621}
1622func (*UnimplementedVolthaServiceServer) ReconcileDevices(ctx context.Context, req *common.IDs) (*empty.Empty, error) {
1623 return nil, status.Errorf(codes.Unimplemented, "method ReconcileDevices not implemented")
1624}
1625func (*UnimplementedVolthaServiceServer) GetDevice(ctx context.Context, req *common.ID) (*Device, error) {
1626 return nil, status.Errorf(codes.Unimplemented, "method GetDevice not implemented")
1627}
1628func (*UnimplementedVolthaServiceServer) CreateDevice(ctx context.Context, req *Device) (*Device, error) {
1629 return nil, status.Errorf(codes.Unimplemented, "method CreateDevice not implemented")
1630}
1631func (*UnimplementedVolthaServiceServer) EnableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1632 return nil, status.Errorf(codes.Unimplemented, "method EnableDevice not implemented")
1633}
1634func (*UnimplementedVolthaServiceServer) DisableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1635 return nil, status.Errorf(codes.Unimplemented, "method DisableDevice not implemented")
1636}
1637func (*UnimplementedVolthaServiceServer) RebootDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1638 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
1639}
1640func (*UnimplementedVolthaServiceServer) DeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1641 return nil, status.Errorf(codes.Unimplemented, "method DeleteDevice not implemented")
1642}
1643func (*UnimplementedVolthaServiceServer) ForceDeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1644 return nil, status.Errorf(codes.Unimplemented, "method ForceDeleteDevice not implemented")
1645}
1646func (*UnimplementedVolthaServiceServer) DownloadImage(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1647 return nil, status.Errorf(codes.Unimplemented, "method DownloadImage not implemented")
1648}
1649func (*UnimplementedVolthaServiceServer) GetImageDownloadStatus(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
1650 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownloadStatus not implemented")
1651}
1652func (*UnimplementedVolthaServiceServer) GetImageDownload(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
1653 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownload not implemented")
1654}
1655func (*UnimplementedVolthaServiceServer) ListImageDownloads(ctx context.Context, req *common.ID) (*ImageDownloads, error) {
1656 return nil, status.Errorf(codes.Unimplemented, "method ListImageDownloads not implemented")
1657}
1658func (*UnimplementedVolthaServiceServer) CancelImageDownload(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1659 return nil, status.Errorf(codes.Unimplemented, "method CancelImageDownload not implemented")
1660}
1661func (*UnimplementedVolthaServiceServer) ActivateImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1662 return nil, status.Errorf(codes.Unimplemented, "method ActivateImageUpdate not implemented")
1663}
1664func (*UnimplementedVolthaServiceServer) RevertImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1665 return nil, status.Errorf(codes.Unimplemented, "method RevertImageUpdate not implemented")
1666}
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001667func (*UnimplementedVolthaServiceServer) DownloadImageToDevice(ctx context.Context, req *DeviceImageDownloadRequest) (*DeviceImageResponse, error) {
1668 return nil, status.Errorf(codes.Unimplemented, "method DownloadImageToDevice not implemented")
1669}
1670func (*UnimplementedVolthaServiceServer) GetImageStatus(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1671 return nil, status.Errorf(codes.Unimplemented, "method GetImageStatus not implemented")
1672}
1673func (*UnimplementedVolthaServiceServer) AbortImageUpgradeToDevice(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1674 return nil, status.Errorf(codes.Unimplemented, "method AbortImageUpgradeToDevice not implemented")
1675}
1676func (*UnimplementedVolthaServiceServer) GetOnuImages(ctx context.Context, req *common.ID) (*OnuImages, error) {
1677 return nil, status.Errorf(codes.Unimplemented, "method GetOnuImages not implemented")
1678}
1679func (*UnimplementedVolthaServiceServer) ActivateImage(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1680 return nil, status.Errorf(codes.Unimplemented, "method ActivateImage not implemented")
1681}
1682func (*UnimplementedVolthaServiceServer) CommitImage(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1683 return nil, status.Errorf(codes.Unimplemented, "method CommitImage not implemented")
1684}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001685func (*UnimplementedVolthaServiceServer) ListDevicePorts(ctx context.Context, req *common.ID) (*Ports, error) {
1686 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePorts not implemented")
1687}
1688func (*UnimplementedVolthaServiceServer) ListDevicePmConfigs(ctx context.Context, req *common.ID) (*PmConfigs, error) {
1689 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePmConfigs not implemented")
1690}
1691func (*UnimplementedVolthaServiceServer) UpdateDevicePmConfigs(ctx context.Context, req *PmConfigs) (*empty.Empty, error) {
1692 return nil, status.Errorf(codes.Unimplemented, "method UpdateDevicePmConfigs not implemented")
1693}
1694func (*UnimplementedVolthaServiceServer) ListDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
1695 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlows not implemented")
1696}
1697func (*UnimplementedVolthaServiceServer) ListDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
1698 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlowGroups not implemented")
1699}
1700func (*UnimplementedVolthaServiceServer) ListDeviceTypes(ctx context.Context, req *empty.Empty) (*DeviceTypes, error) {
1701 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceTypes not implemented")
1702}
1703func (*UnimplementedVolthaServiceServer) GetDeviceType(ctx context.Context, req *common.ID) (*DeviceType, error) {
1704 return nil, status.Errorf(codes.Unimplemented, "method GetDeviceType not implemented")
1705}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001706func (*UnimplementedVolthaServiceServer) StreamPacketsOut(srv VolthaService_StreamPacketsOutServer) error {
1707 return status.Errorf(codes.Unimplemented, "method StreamPacketsOut not implemented")
1708}
1709func (*UnimplementedVolthaServiceServer) ReceivePacketsIn(req *empty.Empty, srv VolthaService_ReceivePacketsInServer) error {
1710 return status.Errorf(codes.Unimplemented, "method ReceivePacketsIn not implemented")
1711}
1712func (*UnimplementedVolthaServiceServer) ReceiveChangeEvents(req *empty.Empty, srv VolthaService_ReceiveChangeEventsServer) error {
1713 return status.Errorf(codes.Unimplemented, "method ReceiveChangeEvents not implemented")
1714}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001715func (*UnimplementedVolthaServiceServer) CreateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
1716 return nil, status.Errorf(codes.Unimplemented, "method CreateEventFilter not implemented")
1717}
1718func (*UnimplementedVolthaServiceServer) GetEventFilter(ctx context.Context, req *common.ID) (*EventFilters, error) {
1719 return nil, status.Errorf(codes.Unimplemented, "method GetEventFilter not implemented")
1720}
1721func (*UnimplementedVolthaServiceServer) UpdateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
1722 return nil, status.Errorf(codes.Unimplemented, "method UpdateEventFilter not implemented")
1723}
1724func (*UnimplementedVolthaServiceServer) DeleteEventFilter(ctx context.Context, req *EventFilter) (*empty.Empty, error) {
1725 return nil, status.Errorf(codes.Unimplemented, "method DeleteEventFilter not implemented")
1726}
1727func (*UnimplementedVolthaServiceServer) ListEventFilters(ctx context.Context, req *empty.Empty) (*EventFilters, error) {
1728 return nil, status.Errorf(codes.Unimplemented, "method ListEventFilters not implemented")
1729}
1730func (*UnimplementedVolthaServiceServer) GetImages(ctx context.Context, req *common.ID) (*Images, error) {
1731 return nil, status.Errorf(codes.Unimplemented, "method GetImages not implemented")
1732}
1733func (*UnimplementedVolthaServiceServer) SelfTest(ctx context.Context, req *common.ID) (*SelfTestResponse, error) {
1734 return nil, status.Errorf(codes.Unimplemented, "method SelfTest not implemented")
1735}
1736func (*UnimplementedVolthaServiceServer) GetMibDeviceData(ctx context.Context, req *common.ID) (*omci.MibDeviceData, error) {
1737 return nil, status.Errorf(codes.Unimplemented, "method GetMibDeviceData not implemented")
1738}
1739func (*UnimplementedVolthaServiceServer) GetAlarmDeviceData(ctx context.Context, req *common.ID) (*omci.AlarmDeviceData, error) {
1740 return nil, status.Errorf(codes.Unimplemented, "method GetAlarmDeviceData not implemented")
1741}
1742func (*UnimplementedVolthaServiceServer) SimulateAlarm(ctx context.Context, req *SimulateAlarmRequest) (*common.OperationResp, error) {
1743 return nil, status.Errorf(codes.Unimplemented, "method SimulateAlarm not implemented")
1744}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001745func (*UnimplementedVolthaServiceServer) EnablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
1746 return nil, status.Errorf(codes.Unimplemented, "method EnablePort not implemented")
1747}
1748func (*UnimplementedVolthaServiceServer) DisablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
1749 return nil, status.Errorf(codes.Unimplemented, "method DisablePort not implemented")
1750}
khenaidoo4c6543e2021-10-19 17:25:58 -04001751func (*UnimplementedVolthaServiceServer) GetExtValue(ctx context.Context, req *extension.ValueSpecifier) (*extension.ReturnValues, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001752 return nil, status.Errorf(codes.Unimplemented, "method GetExtValue not implemented")
1753}
khenaidoo4c6543e2021-10-19 17:25:58 -04001754func (*UnimplementedVolthaServiceServer) SetExtValue(ctx context.Context, req *extension.ValueSet) (*empty.Empty, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001755 return nil, status.Errorf(codes.Unimplemented, "method SetExtValue not implemented")
1756}
khenaidoo4c6543e2021-10-19 17:25:58 -04001757func (*UnimplementedVolthaServiceServer) StartOmciTestAction(ctx context.Context, req *omci.OmciTestRequest) (*omci.TestResponse, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001758 return nil, status.Errorf(codes.Unimplemented, "method StartOmciTestAction not implemented")
1759}
yasin sapli2bbfbb42021-11-01 14:30:10 +00001760func (*UnimplementedVolthaServiceServer) PutVoipSystemProfile(ctx context.Context, req *voip_system_profile.VoipSystemProfileRequest) (*empty.Empty, error) {
1761 return nil, status.Errorf(codes.Unimplemented, "method PutVoipSystemProfile not implemented")
1762}
1763func (*UnimplementedVolthaServiceServer) DeleteVoipSystemProfile(ctx context.Context, req *common.Key) (*empty.Empty, error) {
1764 return nil, status.Errorf(codes.Unimplemented, "method DeleteVoipSystemProfile not implemented")
1765}
1766func (*UnimplementedVolthaServiceServer) PutVoipUserProfile(ctx context.Context, req *voip_user_profile.VoipUserProfileRequest) (*empty.Empty, error) {
1767 return nil, status.Errorf(codes.Unimplemented, "method PutVoipUserProfile not implemented")
1768}
1769func (*UnimplementedVolthaServiceServer) DeleteVoipUserProfile(ctx context.Context, req *common.Key) (*empty.Empty, error) {
1770 return nil, status.Errorf(codes.Unimplemented, "method DeleteVoipUserProfile not implemented")
1771}
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05301772func (*UnimplementedVolthaServiceServer) DisableOnuDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1773 return nil, status.Errorf(codes.Unimplemented, "method DisableOnuDevice not implemented")
1774}
1775func (*UnimplementedVolthaServiceServer) EnableOnuDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1776 return nil, status.Errorf(codes.Unimplemented, "method EnableOnuDevice not implemented")
1777}
1778func (*UnimplementedVolthaServiceServer) DisableOnuSerialNumber(ctx context.Context, req *OnuSerialNumberOnOLTPon) (*empty.Empty, error) {
1779 return nil, status.Errorf(codes.Unimplemented, "method DisableOnuSerialNumber not implemented")
1780}
1781func (*UnimplementedVolthaServiceServer) EnableOnuSerialNumber(ctx context.Context, req *OnuSerialNumberOnOLTPon) (*empty.Empty, error) {
1782 return nil, status.Errorf(codes.Unimplemented, "method EnableOnuSerialNumber not implemented")
1783}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001784
William Kurkian1b363f42019-03-12 15:28:12 -04001785func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
1786 s.RegisterService(&_VolthaService_serviceDesc, srv)
1787}
1788
William Kurkian1b363f42019-03-12 15:28:12 -04001789func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1790 in := new(empty.Empty)
1791 if err := dec(in); err != nil {
1792 return nil, err
1793 }
1794 if interceptor == nil {
1795 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
1796 }
1797 info := &grpc.UnaryServerInfo{
1798 Server: srv,
1799 FullMethod: "/voltha.VolthaService/GetVoltha",
1800 }
1801 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1802 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
1803 }
1804 return interceptor(ctx, in, info, handler)
1805}
1806
1807func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1808 in := new(empty.Empty)
1809 if err := dec(in); err != nil {
1810 return nil, err
1811 }
1812 if interceptor == nil {
1813 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
1814 }
1815 info := &grpc.UnaryServerInfo{
1816 Server: srv,
1817 FullMethod: "/voltha.VolthaService/ListCoreInstances",
1818 }
1819 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1820 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
1821 }
1822 return interceptor(ctx, in, info, handler)
1823}
1824
1825func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1826 in := new(common.ID)
1827 if err := dec(in); err != nil {
1828 return nil, err
1829 }
1830 if interceptor == nil {
1831 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
1832 }
1833 info := &grpc.UnaryServerInfo{
1834 Server: srv,
1835 FullMethod: "/voltha.VolthaService/GetCoreInstance",
1836 }
1837 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1838 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
1839 }
1840 return interceptor(ctx, in, info, handler)
1841}
1842
1843func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1844 in := new(empty.Empty)
1845 if err := dec(in); err != nil {
1846 return nil, err
1847 }
1848 if interceptor == nil {
1849 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
1850 }
1851 info := &grpc.UnaryServerInfo{
1852 Server: srv,
1853 FullMethod: "/voltha.VolthaService/ListAdapters",
1854 }
1855 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1856 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
1857 }
1858 return interceptor(ctx, in, info, handler)
1859}
1860
1861func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1862 in := new(empty.Empty)
1863 if err := dec(in); err != nil {
1864 return nil, err
1865 }
1866 if interceptor == nil {
1867 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
1868 }
1869 info := &grpc.UnaryServerInfo{
1870 Server: srv,
1871 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
1872 }
1873 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1874 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
1875 }
1876 return interceptor(ctx, in, info, handler)
1877}
1878
1879func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1880 in := new(common.ID)
1881 if err := dec(in); err != nil {
1882 return nil, err
1883 }
1884 if interceptor == nil {
1885 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
1886 }
1887 info := &grpc.UnaryServerInfo{
1888 Server: srv,
1889 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
1890 }
1891 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1892 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
1893 }
1894 return interceptor(ctx, in, info, handler)
1895}
1896
1897func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1898 in := new(common.ID)
1899 if err := dec(in); err != nil {
1900 return nil, err
1901 }
1902 if interceptor == nil {
1903 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
1904 }
1905 info := &grpc.UnaryServerInfo{
1906 Server: srv,
1907 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
1908 }
1909 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1910 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
1911 }
1912 return interceptor(ctx, in, info, handler)
1913}
1914
1915func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1916 in := new(LogicalPortId)
1917 if err := dec(in); err != nil {
1918 return nil, err
1919 }
1920 if interceptor == nil {
1921 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
1922 }
1923 info := &grpc.UnaryServerInfo{
1924 Server: srv,
1925 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
1926 }
1927 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1928 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
1929 }
1930 return interceptor(ctx, in, info, handler)
1931}
1932
1933func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1934 in := new(LogicalPortId)
1935 if err := dec(in); err != nil {
1936 return nil, err
1937 }
1938 if interceptor == nil {
1939 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
1940 }
1941 info := &grpc.UnaryServerInfo{
1942 Server: srv,
1943 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
1944 }
1945 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1946 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
1947 }
1948 return interceptor(ctx, in, info, handler)
1949}
1950
1951func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1952 in := new(LogicalPortId)
1953 if err := dec(in); err != nil {
1954 return nil, err
1955 }
1956 if interceptor == nil {
1957 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
1958 }
1959 info := &grpc.UnaryServerInfo{
1960 Server: srv,
1961 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
1962 }
1963 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1964 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
1965 }
1966 return interceptor(ctx, in, info, handler)
1967}
1968
1969func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1970 in := new(common.ID)
1971 if err := dec(in); err != nil {
1972 return nil, err
1973 }
1974 if interceptor == nil {
1975 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
1976 }
1977 info := &grpc.UnaryServerInfo{
1978 Server: srv,
1979 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
1980 }
1981 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1982 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
1983 }
1984 return interceptor(ctx, in, info, handler)
1985}
1986
1987func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1988 in := new(openflow_13.FlowTableUpdate)
1989 if err := dec(in); err != nil {
1990 return nil, err
1991 }
1992 if interceptor == nil {
1993 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
1994 }
1995 info := &grpc.UnaryServerInfo{
1996 Server: srv,
1997 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
1998 }
1999 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2000 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
2001 }
2002 return interceptor(ctx, in, info, handler)
2003}
2004
2005func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2006 in := new(openflow_13.MeterModUpdate)
2007 if err := dec(in); err != nil {
2008 return nil, err
2009 }
2010 if interceptor == nil {
2011 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
2012 }
2013 info := &grpc.UnaryServerInfo{
2014 Server: srv,
2015 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
2016 }
2017 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2018 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
2019 }
2020 return interceptor(ctx, in, info, handler)
2021}
2022
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002023func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002024 in := new(common.ID)
2025 if err := dec(in); err != nil {
2026 return nil, err
2027 }
2028 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002029 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002030 }
2031 info := &grpc.UnaryServerInfo{
2032 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002033 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04002034 }
2035 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002036 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04002037 }
2038 return interceptor(ctx, in, info, handler)
2039}
2040
2041func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2042 in := new(common.ID)
2043 if err := dec(in); err != nil {
2044 return nil, err
2045 }
2046 if interceptor == nil {
2047 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
2048 }
2049 info := &grpc.UnaryServerInfo{
2050 Server: srv,
2051 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
2052 }
2053 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2054 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
2055 }
2056 return interceptor(ctx, in, info, handler)
2057}
2058
2059func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2060 in := new(openflow_13.FlowGroupTableUpdate)
2061 if err := dec(in); err != nil {
2062 return nil, err
2063 }
2064 if interceptor == nil {
2065 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
2066 }
2067 info := &grpc.UnaryServerInfo{
2068 Server: srv,
2069 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
2070 }
2071 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2072 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
2073 }
2074 return interceptor(ctx, in, info, handler)
2075}
2076
2077func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2078 in := new(empty.Empty)
2079 if err := dec(in); err != nil {
2080 return nil, err
2081 }
2082 if interceptor == nil {
2083 return srv.(VolthaServiceServer).ListDevices(ctx, in)
2084 }
2085 info := &grpc.UnaryServerInfo{
2086 Server: srv,
2087 FullMethod: "/voltha.VolthaService/ListDevices",
2088 }
2089 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2090 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
2091 }
2092 return interceptor(ctx, in, info, handler)
2093}
2094
2095func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2096 in := new(empty.Empty)
2097 if err := dec(in); err != nil {
2098 return nil, err
2099 }
2100 if interceptor == nil {
2101 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
2102 }
2103 info := &grpc.UnaryServerInfo{
2104 Server: srv,
2105 FullMethod: "/voltha.VolthaService/ListDeviceIds",
2106 }
2107 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2108 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
2109 }
2110 return interceptor(ctx, in, info, handler)
2111}
2112
2113func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2114 in := new(common.IDs)
2115 if err := dec(in); err != nil {
2116 return nil, err
2117 }
2118 if interceptor == nil {
2119 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
2120 }
2121 info := &grpc.UnaryServerInfo{
2122 Server: srv,
2123 FullMethod: "/voltha.VolthaService/ReconcileDevices",
2124 }
2125 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2126 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
2127 }
2128 return interceptor(ctx, in, info, handler)
2129}
2130
2131func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2132 in := new(common.ID)
2133 if err := dec(in); err != nil {
2134 return nil, err
2135 }
2136 if interceptor == nil {
2137 return srv.(VolthaServiceServer).GetDevice(ctx, in)
2138 }
2139 info := &grpc.UnaryServerInfo{
2140 Server: srv,
2141 FullMethod: "/voltha.VolthaService/GetDevice",
2142 }
2143 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2144 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
2145 }
2146 return interceptor(ctx, in, info, handler)
2147}
2148
2149func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2150 in := new(Device)
2151 if err := dec(in); err != nil {
2152 return nil, err
2153 }
2154 if interceptor == nil {
2155 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
2156 }
2157 info := &grpc.UnaryServerInfo{
2158 Server: srv,
2159 FullMethod: "/voltha.VolthaService/CreateDevice",
2160 }
2161 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2162 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
2163 }
2164 return interceptor(ctx, in, info, handler)
2165}
2166
2167func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2168 in := new(common.ID)
2169 if err := dec(in); err != nil {
2170 return nil, err
2171 }
2172 if interceptor == nil {
2173 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
2174 }
2175 info := &grpc.UnaryServerInfo{
2176 Server: srv,
2177 FullMethod: "/voltha.VolthaService/EnableDevice",
2178 }
2179 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2180 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
2181 }
2182 return interceptor(ctx, in, info, handler)
2183}
2184
2185func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2186 in := new(common.ID)
2187 if err := dec(in); err != nil {
2188 return nil, err
2189 }
2190 if interceptor == nil {
2191 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
2192 }
2193 info := &grpc.UnaryServerInfo{
2194 Server: srv,
2195 FullMethod: "/voltha.VolthaService/DisableDevice",
2196 }
2197 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2198 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
2199 }
2200 return interceptor(ctx, in, info, handler)
2201}
2202
2203func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2204 in := new(common.ID)
2205 if err := dec(in); err != nil {
2206 return nil, err
2207 }
2208 if interceptor == nil {
2209 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
2210 }
2211 info := &grpc.UnaryServerInfo{
2212 Server: srv,
2213 FullMethod: "/voltha.VolthaService/RebootDevice",
2214 }
2215 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2216 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
2217 }
2218 return interceptor(ctx, in, info, handler)
2219}
2220
2221func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2222 in := new(common.ID)
2223 if err := dec(in); err != nil {
2224 return nil, err
2225 }
2226 if interceptor == nil {
2227 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
2228 }
2229 info := &grpc.UnaryServerInfo{
2230 Server: srv,
2231 FullMethod: "/voltha.VolthaService/DeleteDevice",
2232 }
2233 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2234 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
2235 }
2236 return interceptor(ctx, in, info, handler)
2237}
2238
Himani Chawla503b7ce2020-10-07 13:20:03 +05302239func _VolthaService_ForceDeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2240 in := new(common.ID)
2241 if err := dec(in); err != nil {
2242 return nil, err
2243 }
2244 if interceptor == nil {
2245 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, in)
2246 }
2247 info := &grpc.UnaryServerInfo{
2248 Server: srv,
2249 FullMethod: "/voltha.VolthaService/ForceDeleteDevice",
2250 }
2251 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2252 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, req.(*common.ID))
2253 }
2254 return interceptor(ctx, in, info, handler)
2255}
2256
William Kurkian1b363f42019-03-12 15:28:12 -04002257func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2258 in := new(ImageDownload)
2259 if err := dec(in); err != nil {
2260 return nil, err
2261 }
2262 if interceptor == nil {
2263 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
2264 }
2265 info := &grpc.UnaryServerInfo{
2266 Server: srv,
2267 FullMethod: "/voltha.VolthaService/DownloadImage",
2268 }
2269 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2270 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
2271 }
2272 return interceptor(ctx, in, info, handler)
2273}
2274
2275func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2276 in := new(ImageDownload)
2277 if err := dec(in); err != nil {
2278 return nil, err
2279 }
2280 if interceptor == nil {
2281 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
2282 }
2283 info := &grpc.UnaryServerInfo{
2284 Server: srv,
2285 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
2286 }
2287 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2288 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
2289 }
2290 return interceptor(ctx, in, info, handler)
2291}
2292
2293func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2294 in := new(ImageDownload)
2295 if err := dec(in); err != nil {
2296 return nil, err
2297 }
2298 if interceptor == nil {
2299 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
2300 }
2301 info := &grpc.UnaryServerInfo{
2302 Server: srv,
2303 FullMethod: "/voltha.VolthaService/GetImageDownload",
2304 }
2305 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2306 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
2307 }
2308 return interceptor(ctx, in, info, handler)
2309}
2310
2311func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2312 in := new(common.ID)
2313 if err := dec(in); err != nil {
2314 return nil, err
2315 }
2316 if interceptor == nil {
2317 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
2318 }
2319 info := &grpc.UnaryServerInfo{
2320 Server: srv,
2321 FullMethod: "/voltha.VolthaService/ListImageDownloads",
2322 }
2323 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2324 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
2325 }
2326 return interceptor(ctx, in, info, handler)
2327}
2328
2329func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2330 in := new(ImageDownload)
2331 if err := dec(in); err != nil {
2332 return nil, err
2333 }
2334 if interceptor == nil {
2335 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
2336 }
2337 info := &grpc.UnaryServerInfo{
2338 Server: srv,
2339 FullMethod: "/voltha.VolthaService/CancelImageDownload",
2340 }
2341 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2342 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
2343 }
2344 return interceptor(ctx, in, info, handler)
2345}
2346
2347func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2348 in := new(ImageDownload)
2349 if err := dec(in); err != nil {
2350 return nil, err
2351 }
2352 if interceptor == nil {
2353 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
2354 }
2355 info := &grpc.UnaryServerInfo{
2356 Server: srv,
2357 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
2358 }
2359 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2360 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
2361 }
2362 return interceptor(ctx, in, info, handler)
2363}
2364
2365func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2366 in := new(ImageDownload)
2367 if err := dec(in); err != nil {
2368 return nil, err
2369 }
2370 if interceptor == nil {
2371 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
2372 }
2373 info := &grpc.UnaryServerInfo{
2374 Server: srv,
2375 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
2376 }
2377 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2378 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
2379 }
2380 return interceptor(ctx, in, info, handler)
2381}
2382
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01002383func _VolthaService_DownloadImageToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2384 in := new(DeviceImageDownloadRequest)
2385 if err := dec(in); err != nil {
2386 return nil, err
2387 }
2388 if interceptor == nil {
2389 return srv.(VolthaServiceServer).DownloadImageToDevice(ctx, in)
2390 }
2391 info := &grpc.UnaryServerInfo{
2392 Server: srv,
2393 FullMethod: "/voltha.VolthaService/DownloadImageToDevice",
2394 }
2395 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2396 return srv.(VolthaServiceServer).DownloadImageToDevice(ctx, req.(*DeviceImageDownloadRequest))
2397 }
2398 return interceptor(ctx, in, info, handler)
2399}
2400
2401func _VolthaService_GetImageStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2402 in := new(DeviceImageRequest)
2403 if err := dec(in); err != nil {
2404 return nil, err
2405 }
2406 if interceptor == nil {
2407 return srv.(VolthaServiceServer).GetImageStatus(ctx, in)
2408 }
2409 info := &grpc.UnaryServerInfo{
2410 Server: srv,
2411 FullMethod: "/voltha.VolthaService/GetImageStatus",
2412 }
2413 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2414 return srv.(VolthaServiceServer).GetImageStatus(ctx, req.(*DeviceImageRequest))
2415 }
2416 return interceptor(ctx, in, info, handler)
2417}
2418
2419func _VolthaService_AbortImageUpgradeToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2420 in := new(DeviceImageRequest)
2421 if err := dec(in); err != nil {
2422 return nil, err
2423 }
2424 if interceptor == nil {
2425 return srv.(VolthaServiceServer).AbortImageUpgradeToDevice(ctx, in)
2426 }
2427 info := &grpc.UnaryServerInfo{
2428 Server: srv,
2429 FullMethod: "/voltha.VolthaService/AbortImageUpgradeToDevice",
2430 }
2431 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2432 return srv.(VolthaServiceServer).AbortImageUpgradeToDevice(ctx, req.(*DeviceImageRequest))
2433 }
2434 return interceptor(ctx, in, info, handler)
2435}
2436
2437func _VolthaService_GetOnuImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2438 in := new(common.ID)
2439 if err := dec(in); err != nil {
2440 return nil, err
2441 }
2442 if interceptor == nil {
2443 return srv.(VolthaServiceServer).GetOnuImages(ctx, in)
2444 }
2445 info := &grpc.UnaryServerInfo{
2446 Server: srv,
2447 FullMethod: "/voltha.VolthaService/GetOnuImages",
2448 }
2449 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2450 return srv.(VolthaServiceServer).GetOnuImages(ctx, req.(*common.ID))
2451 }
2452 return interceptor(ctx, in, info, handler)
2453}
2454
2455func _VolthaService_ActivateImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2456 in := new(DeviceImageRequest)
2457 if err := dec(in); err != nil {
2458 return nil, err
2459 }
2460 if interceptor == nil {
2461 return srv.(VolthaServiceServer).ActivateImage(ctx, in)
2462 }
2463 info := &grpc.UnaryServerInfo{
2464 Server: srv,
2465 FullMethod: "/voltha.VolthaService/ActivateImage",
2466 }
2467 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2468 return srv.(VolthaServiceServer).ActivateImage(ctx, req.(*DeviceImageRequest))
2469 }
2470 return interceptor(ctx, in, info, handler)
2471}
2472
2473func _VolthaService_CommitImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2474 in := new(DeviceImageRequest)
2475 if err := dec(in); err != nil {
2476 return nil, err
2477 }
2478 if interceptor == nil {
2479 return srv.(VolthaServiceServer).CommitImage(ctx, in)
2480 }
2481 info := &grpc.UnaryServerInfo{
2482 Server: srv,
2483 FullMethod: "/voltha.VolthaService/CommitImage",
2484 }
2485 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2486 return srv.(VolthaServiceServer).CommitImage(ctx, req.(*DeviceImageRequest))
2487 }
2488 return interceptor(ctx, in, info, handler)
2489}
2490
William Kurkian1b363f42019-03-12 15:28:12 -04002491func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2492 in := new(common.ID)
2493 if err := dec(in); err != nil {
2494 return nil, err
2495 }
2496 if interceptor == nil {
2497 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
2498 }
2499 info := &grpc.UnaryServerInfo{
2500 Server: srv,
2501 FullMethod: "/voltha.VolthaService/ListDevicePorts",
2502 }
2503 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2504 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
2505 }
2506 return interceptor(ctx, in, info, handler)
2507}
2508
2509func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2510 in := new(common.ID)
2511 if err := dec(in); err != nil {
2512 return nil, err
2513 }
2514 if interceptor == nil {
2515 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
2516 }
2517 info := &grpc.UnaryServerInfo{
2518 Server: srv,
2519 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
2520 }
2521 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2522 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
2523 }
2524 return interceptor(ctx, in, info, handler)
2525}
2526
2527func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2528 in := new(PmConfigs)
2529 if err := dec(in); err != nil {
2530 return nil, err
2531 }
2532 if interceptor == nil {
2533 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
2534 }
2535 info := &grpc.UnaryServerInfo{
2536 Server: srv,
2537 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
2538 }
2539 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2540 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
2541 }
2542 return interceptor(ctx, in, info, handler)
2543}
2544
2545func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2546 in := new(common.ID)
2547 if err := dec(in); err != nil {
2548 return nil, err
2549 }
2550 if interceptor == nil {
2551 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
2552 }
2553 info := &grpc.UnaryServerInfo{
2554 Server: srv,
2555 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
2556 }
2557 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2558 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
2559 }
2560 return interceptor(ctx, in, info, handler)
2561}
2562
2563func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2564 in := new(common.ID)
2565 if err := dec(in); err != nil {
2566 return nil, err
2567 }
2568 if interceptor == nil {
2569 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
2570 }
2571 info := &grpc.UnaryServerInfo{
2572 Server: srv,
2573 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
2574 }
2575 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2576 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
2577 }
2578 return interceptor(ctx, in, info, handler)
2579}
2580
2581func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2582 in := new(empty.Empty)
2583 if err := dec(in); err != nil {
2584 return nil, err
2585 }
2586 if interceptor == nil {
2587 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
2588 }
2589 info := &grpc.UnaryServerInfo{
2590 Server: srv,
2591 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
2592 }
2593 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2594 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
2595 }
2596 return interceptor(ctx, in, info, handler)
2597}
2598
2599func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2600 in := new(common.ID)
2601 if err := dec(in); err != nil {
2602 return nil, err
2603 }
2604 if interceptor == nil {
2605 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
2606 }
2607 info := &grpc.UnaryServerInfo{
2608 Server: srv,
2609 FullMethod: "/voltha.VolthaService/GetDeviceType",
2610 }
2611 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2612 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
2613 }
2614 return interceptor(ctx, in, info, handler)
2615}
2616
William Kurkian1b363f42019-03-12 15:28:12 -04002617func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
2618 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
2619}
2620
2621type VolthaService_StreamPacketsOutServer interface {
2622 SendAndClose(*empty.Empty) error
2623 Recv() (*openflow_13.PacketOut, error)
2624 grpc.ServerStream
2625}
2626
2627type volthaServiceStreamPacketsOutServer struct {
2628 grpc.ServerStream
2629}
2630
2631func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
2632 return x.ServerStream.SendMsg(m)
2633}
2634
2635func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
2636 m := new(openflow_13.PacketOut)
2637 if err := x.ServerStream.RecvMsg(m); err != nil {
2638 return nil, err
2639 }
2640 return m, nil
2641}
2642
2643func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
2644 m := new(empty.Empty)
2645 if err := stream.RecvMsg(m); err != nil {
2646 return err
2647 }
2648 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
2649}
2650
2651type VolthaService_ReceivePacketsInServer interface {
2652 Send(*openflow_13.PacketIn) error
2653 grpc.ServerStream
2654}
2655
2656type volthaServiceReceivePacketsInServer struct {
2657 grpc.ServerStream
2658}
2659
2660func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
2661 return x.ServerStream.SendMsg(m)
2662}
2663
2664func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
2665 m := new(empty.Empty)
2666 if err := stream.RecvMsg(m); err != nil {
2667 return err
2668 }
2669 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
2670}
2671
2672type VolthaService_ReceiveChangeEventsServer interface {
2673 Send(*openflow_13.ChangeEvent) error
2674 grpc.ServerStream
2675}
2676
2677type volthaServiceReceiveChangeEventsServer struct {
2678 grpc.ServerStream
2679}
2680
2681func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
2682 return x.ServerStream.SendMsg(m)
2683}
2684
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002685func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2686 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04002687 if err := dec(in); err != nil {
2688 return nil, err
2689 }
2690 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002691 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002692 }
2693 info := &grpc.UnaryServerInfo{
2694 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002695 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04002696 }
2697 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002698 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04002699 }
2700 return interceptor(ctx, in, info, handler)
2701}
2702
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002703func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002704 in := new(common.ID)
2705 if err := dec(in); err != nil {
2706 return nil, err
2707 }
2708 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002709 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002710 }
2711 info := &grpc.UnaryServerInfo{
2712 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002713 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04002714 }
2715 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002716 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04002717 }
2718 return interceptor(ctx, in, info, handler)
2719}
2720
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002721func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2722 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04002723 if err := dec(in); err != nil {
2724 return nil, err
2725 }
2726 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002727 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002728 }
2729 info := &grpc.UnaryServerInfo{
2730 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002731 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04002732 }
2733 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002734 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04002735 }
2736 return interceptor(ctx, in, info, handler)
2737}
2738
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002739func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2740 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04002741 if err := dec(in); err != nil {
2742 return nil, err
2743 }
2744 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002745 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002746 }
2747 info := &grpc.UnaryServerInfo{
2748 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002749 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04002750 }
2751 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002752 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04002753 }
2754 return interceptor(ctx, in, info, handler)
2755}
2756
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002757func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002758 in := new(empty.Empty)
2759 if err := dec(in); err != nil {
2760 return nil, err
2761 }
2762 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002763 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002764 }
2765 info := &grpc.UnaryServerInfo{
2766 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002767 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04002768 }
2769 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002770 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04002771 }
2772 return interceptor(ctx, in, info, handler)
2773}
2774
2775func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2776 in := new(common.ID)
2777 if err := dec(in); err != nil {
2778 return nil, err
2779 }
2780 if interceptor == nil {
2781 return srv.(VolthaServiceServer).GetImages(ctx, in)
2782 }
2783 info := &grpc.UnaryServerInfo{
2784 Server: srv,
2785 FullMethod: "/voltha.VolthaService/GetImages",
2786 }
2787 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2788 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
2789 }
2790 return interceptor(ctx, in, info, handler)
2791}
2792
2793func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2794 in := new(common.ID)
2795 if err := dec(in); err != nil {
2796 return nil, err
2797 }
2798 if interceptor == nil {
2799 return srv.(VolthaServiceServer).SelfTest(ctx, in)
2800 }
2801 info := &grpc.UnaryServerInfo{
2802 Server: srv,
2803 FullMethod: "/voltha.VolthaService/SelfTest",
2804 }
2805 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2806 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
2807 }
2808 return interceptor(ctx, in, info, handler)
2809}
2810
2811func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2812 in := new(common.ID)
2813 if err := dec(in); err != nil {
2814 return nil, err
2815 }
2816 if interceptor == nil {
2817 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
2818 }
2819 info := &grpc.UnaryServerInfo{
2820 Server: srv,
2821 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
2822 }
2823 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2824 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
2825 }
2826 return interceptor(ctx, in, info, handler)
2827}
2828
2829func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2830 in := new(common.ID)
2831 if err := dec(in); err != nil {
2832 return nil, err
2833 }
2834 if interceptor == nil {
2835 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
2836 }
2837 info := &grpc.UnaryServerInfo{
2838 Server: srv,
2839 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
2840 }
2841 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2842 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
2843 }
2844 return interceptor(ctx, in, info, handler)
2845}
2846
2847func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2848 in := new(SimulateAlarmRequest)
2849 if err := dec(in); err != nil {
2850 return nil, err
2851 }
2852 if interceptor == nil {
2853 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
2854 }
2855 info := &grpc.UnaryServerInfo{
2856 Server: srv,
2857 FullMethod: "/voltha.VolthaService/SimulateAlarm",
2858 }
2859 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2860 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
2861 }
2862 return interceptor(ctx, in, info, handler)
2863}
2864
kesavand4a002b02020-01-23 21:29:47 -05002865func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2866 in := new(Port)
2867 if err := dec(in); err != nil {
2868 return nil, err
2869 }
2870 if interceptor == nil {
2871 return srv.(VolthaServiceServer).EnablePort(ctx, in)
2872 }
2873 info := &grpc.UnaryServerInfo{
2874 Server: srv,
2875 FullMethod: "/voltha.VolthaService/EnablePort",
2876 }
2877 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2878 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
2879 }
2880 return interceptor(ctx, in, info, handler)
2881}
2882
2883func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2884 in := new(Port)
2885 if err := dec(in); err != nil {
2886 return nil, err
2887 }
2888 if interceptor == nil {
2889 return srv.(VolthaServiceServer).DisablePort(ctx, in)
2890 }
2891 info := &grpc.UnaryServerInfo{
2892 Server: srv,
2893 FullMethod: "/voltha.VolthaService/DisablePort",
2894 }
2895 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2896 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
2897 }
2898 return interceptor(ctx, in, info, handler)
2899}
2900
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002901func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002902 in := new(extension.ValueSpecifier)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002903 if err := dec(in); err != nil {
2904 return nil, err
2905 }
2906 if interceptor == nil {
2907 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
2908 }
2909 info := &grpc.UnaryServerInfo{
2910 Server: srv,
2911 FullMethod: "/voltha.VolthaService/GetExtValue",
2912 }
2913 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002914 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*extension.ValueSpecifier))
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002915 }
2916 return interceptor(ctx, in, info, handler)
2917}
2918
dpaul2b52e712020-06-23 13:02:28 +05302919func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002920 in := new(extension.ValueSet)
dpaul2b52e712020-06-23 13:02:28 +05302921 if err := dec(in); err != nil {
2922 return nil, err
2923 }
2924 if interceptor == nil {
2925 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
2926 }
2927 info := &grpc.UnaryServerInfo{
2928 Server: srv,
2929 FullMethod: "/voltha.VolthaService/SetExtValue",
2930 }
2931 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002932 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*extension.ValueSet))
dpaul2b52e712020-06-23 13:02:28 +05302933 }
2934 return interceptor(ctx, in, info, handler)
2935}
2936
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302937func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002938 in := new(omci.OmciTestRequest)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302939 if err := dec(in); err != nil {
2940 return nil, err
2941 }
2942 if interceptor == nil {
2943 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
2944 }
2945 info := &grpc.UnaryServerInfo{
2946 Server: srv,
2947 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
2948 }
2949 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002950 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*omci.OmciTestRequest))
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302951 }
2952 return interceptor(ctx, in, info, handler)
2953}
2954
yasin sapli2bbfbb42021-11-01 14:30:10 +00002955func _VolthaService_PutVoipSystemProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2956 in := new(voip_system_profile.VoipSystemProfileRequest)
2957 if err := dec(in); err != nil {
2958 return nil, err
2959 }
2960 if interceptor == nil {
2961 return srv.(VolthaServiceServer).PutVoipSystemProfile(ctx, in)
2962 }
2963 info := &grpc.UnaryServerInfo{
2964 Server: srv,
2965 FullMethod: "/voltha.VolthaService/PutVoipSystemProfile",
2966 }
2967 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2968 return srv.(VolthaServiceServer).PutVoipSystemProfile(ctx, req.(*voip_system_profile.VoipSystemProfileRequest))
2969 }
2970 return interceptor(ctx, in, info, handler)
2971}
2972
2973func _VolthaService_DeleteVoipSystemProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2974 in := new(common.Key)
2975 if err := dec(in); err != nil {
2976 return nil, err
2977 }
2978 if interceptor == nil {
2979 return srv.(VolthaServiceServer).DeleteVoipSystemProfile(ctx, in)
2980 }
2981 info := &grpc.UnaryServerInfo{
2982 Server: srv,
2983 FullMethod: "/voltha.VolthaService/DeleteVoipSystemProfile",
2984 }
2985 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2986 return srv.(VolthaServiceServer).DeleteVoipSystemProfile(ctx, req.(*common.Key))
2987 }
2988 return interceptor(ctx, in, info, handler)
2989}
2990
2991func _VolthaService_PutVoipUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2992 in := new(voip_user_profile.VoipUserProfileRequest)
2993 if err := dec(in); err != nil {
2994 return nil, err
2995 }
2996 if interceptor == nil {
2997 return srv.(VolthaServiceServer).PutVoipUserProfile(ctx, in)
2998 }
2999 info := &grpc.UnaryServerInfo{
3000 Server: srv,
3001 FullMethod: "/voltha.VolthaService/PutVoipUserProfile",
3002 }
3003 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3004 return srv.(VolthaServiceServer).PutVoipUserProfile(ctx, req.(*voip_user_profile.VoipUserProfileRequest))
3005 }
3006 return interceptor(ctx, in, info, handler)
3007}
3008
3009func _VolthaService_DeleteVoipUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3010 in := new(common.Key)
3011 if err := dec(in); err != nil {
3012 return nil, err
3013 }
3014 if interceptor == nil {
3015 return srv.(VolthaServiceServer).DeleteVoipUserProfile(ctx, in)
3016 }
3017 info := &grpc.UnaryServerInfo{
3018 Server: srv,
3019 FullMethod: "/voltha.VolthaService/DeleteVoipUserProfile",
3020 }
3021 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3022 return srv.(VolthaServiceServer).DeleteVoipUserProfile(ctx, req.(*common.Key))
3023 }
3024 return interceptor(ctx, in, info, handler)
3025}
3026
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05303027func _VolthaService_DisableOnuDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3028 in := new(common.ID)
3029 if err := dec(in); err != nil {
3030 return nil, err
3031 }
3032 if interceptor == nil {
3033 return srv.(VolthaServiceServer).DisableOnuDevice(ctx, in)
3034 }
3035 info := &grpc.UnaryServerInfo{
3036 Server: srv,
3037 FullMethod: "/voltha.VolthaService/DisableOnuDevice",
3038 }
3039 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3040 return srv.(VolthaServiceServer).DisableOnuDevice(ctx, req.(*common.ID))
3041 }
3042 return interceptor(ctx, in, info, handler)
3043}
3044
3045func _VolthaService_EnableOnuDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3046 in := new(common.ID)
3047 if err := dec(in); err != nil {
3048 return nil, err
3049 }
3050 if interceptor == nil {
3051 return srv.(VolthaServiceServer).EnableOnuDevice(ctx, in)
3052 }
3053 info := &grpc.UnaryServerInfo{
3054 Server: srv,
3055 FullMethod: "/voltha.VolthaService/EnableOnuDevice",
3056 }
3057 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3058 return srv.(VolthaServiceServer).EnableOnuDevice(ctx, req.(*common.ID))
3059 }
3060 return interceptor(ctx, in, info, handler)
3061}
3062
3063func _VolthaService_DisableOnuSerialNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3064 in := new(OnuSerialNumberOnOLTPon)
3065 if err := dec(in); err != nil {
3066 return nil, err
3067 }
3068 if interceptor == nil {
3069 return srv.(VolthaServiceServer).DisableOnuSerialNumber(ctx, in)
3070 }
3071 info := &grpc.UnaryServerInfo{
3072 Server: srv,
3073 FullMethod: "/voltha.VolthaService/DisableOnuSerialNumber",
3074 }
3075 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3076 return srv.(VolthaServiceServer).DisableOnuSerialNumber(ctx, req.(*OnuSerialNumberOnOLTPon))
3077 }
3078 return interceptor(ctx, in, info, handler)
3079}
3080
3081func _VolthaService_EnableOnuSerialNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3082 in := new(OnuSerialNumberOnOLTPon)
3083 if err := dec(in); err != nil {
3084 return nil, err
3085 }
3086 if interceptor == nil {
3087 return srv.(VolthaServiceServer).EnableOnuSerialNumber(ctx, in)
3088 }
3089 info := &grpc.UnaryServerInfo{
3090 Server: srv,
3091 FullMethod: "/voltha.VolthaService/EnableOnuSerialNumber",
3092 }
3093 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3094 return srv.(VolthaServiceServer).EnableOnuSerialNumber(ctx, req.(*OnuSerialNumberOnOLTPon))
3095 }
3096 return interceptor(ctx, in, info, handler)
3097}
3098
William Kurkian1b363f42019-03-12 15:28:12 -04003099var _VolthaService_serviceDesc = grpc.ServiceDesc{
3100 ServiceName: "voltha.VolthaService",
3101 HandlerType: (*VolthaServiceServer)(nil),
3102 Methods: []grpc.MethodDesc{
3103 {
William Kurkian1b363f42019-03-12 15:28:12 -04003104 MethodName: "GetVoltha",
3105 Handler: _VolthaService_GetVoltha_Handler,
3106 },
3107 {
3108 MethodName: "ListCoreInstances",
3109 Handler: _VolthaService_ListCoreInstances_Handler,
3110 },
3111 {
3112 MethodName: "GetCoreInstance",
3113 Handler: _VolthaService_GetCoreInstance_Handler,
3114 },
3115 {
3116 MethodName: "ListAdapters",
3117 Handler: _VolthaService_ListAdapters_Handler,
3118 },
3119 {
3120 MethodName: "ListLogicalDevices",
3121 Handler: _VolthaService_ListLogicalDevices_Handler,
3122 },
3123 {
3124 MethodName: "GetLogicalDevice",
3125 Handler: _VolthaService_GetLogicalDevice_Handler,
3126 },
3127 {
3128 MethodName: "ListLogicalDevicePorts",
3129 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
3130 },
3131 {
3132 MethodName: "GetLogicalDevicePort",
3133 Handler: _VolthaService_GetLogicalDevicePort_Handler,
3134 },
3135 {
3136 MethodName: "EnableLogicalDevicePort",
3137 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
3138 },
3139 {
3140 MethodName: "DisableLogicalDevicePort",
3141 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
3142 },
3143 {
3144 MethodName: "ListLogicalDeviceFlows",
3145 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
3146 },
3147 {
3148 MethodName: "UpdateLogicalDeviceFlowTable",
3149 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
3150 },
3151 {
3152 MethodName: "UpdateLogicalDeviceMeterTable",
3153 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
3154 },
3155 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003156 MethodName: "ListLogicalDeviceMeters",
3157 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003158 },
3159 {
3160 MethodName: "ListLogicalDeviceFlowGroups",
3161 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
3162 },
3163 {
3164 MethodName: "UpdateLogicalDeviceFlowGroupTable",
3165 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
3166 },
3167 {
3168 MethodName: "ListDevices",
3169 Handler: _VolthaService_ListDevices_Handler,
3170 },
3171 {
3172 MethodName: "ListDeviceIds",
3173 Handler: _VolthaService_ListDeviceIds_Handler,
3174 },
3175 {
3176 MethodName: "ReconcileDevices",
3177 Handler: _VolthaService_ReconcileDevices_Handler,
3178 },
3179 {
3180 MethodName: "GetDevice",
3181 Handler: _VolthaService_GetDevice_Handler,
3182 },
3183 {
3184 MethodName: "CreateDevice",
3185 Handler: _VolthaService_CreateDevice_Handler,
3186 },
3187 {
3188 MethodName: "EnableDevice",
3189 Handler: _VolthaService_EnableDevice_Handler,
3190 },
3191 {
3192 MethodName: "DisableDevice",
3193 Handler: _VolthaService_DisableDevice_Handler,
3194 },
3195 {
3196 MethodName: "RebootDevice",
3197 Handler: _VolthaService_RebootDevice_Handler,
3198 },
3199 {
3200 MethodName: "DeleteDevice",
3201 Handler: _VolthaService_DeleteDevice_Handler,
3202 },
3203 {
Himani Chawla503b7ce2020-10-07 13:20:03 +05303204 MethodName: "ForceDeleteDevice",
3205 Handler: _VolthaService_ForceDeleteDevice_Handler,
3206 },
3207 {
William Kurkian1b363f42019-03-12 15:28:12 -04003208 MethodName: "DownloadImage",
3209 Handler: _VolthaService_DownloadImage_Handler,
3210 },
3211 {
3212 MethodName: "GetImageDownloadStatus",
3213 Handler: _VolthaService_GetImageDownloadStatus_Handler,
3214 },
3215 {
3216 MethodName: "GetImageDownload",
3217 Handler: _VolthaService_GetImageDownload_Handler,
3218 },
3219 {
3220 MethodName: "ListImageDownloads",
3221 Handler: _VolthaService_ListImageDownloads_Handler,
3222 },
3223 {
3224 MethodName: "CancelImageDownload",
3225 Handler: _VolthaService_CancelImageDownload_Handler,
3226 },
3227 {
3228 MethodName: "ActivateImageUpdate",
3229 Handler: _VolthaService_ActivateImageUpdate_Handler,
3230 },
3231 {
3232 MethodName: "RevertImageUpdate",
3233 Handler: _VolthaService_RevertImageUpdate_Handler,
3234 },
3235 {
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01003236 MethodName: "DownloadImageToDevice",
3237 Handler: _VolthaService_DownloadImageToDevice_Handler,
3238 },
3239 {
3240 MethodName: "GetImageStatus",
3241 Handler: _VolthaService_GetImageStatus_Handler,
3242 },
3243 {
3244 MethodName: "AbortImageUpgradeToDevice",
3245 Handler: _VolthaService_AbortImageUpgradeToDevice_Handler,
3246 },
3247 {
3248 MethodName: "GetOnuImages",
3249 Handler: _VolthaService_GetOnuImages_Handler,
3250 },
3251 {
3252 MethodName: "ActivateImage",
3253 Handler: _VolthaService_ActivateImage_Handler,
3254 },
3255 {
3256 MethodName: "CommitImage",
3257 Handler: _VolthaService_CommitImage_Handler,
3258 },
3259 {
William Kurkian1b363f42019-03-12 15:28:12 -04003260 MethodName: "ListDevicePorts",
3261 Handler: _VolthaService_ListDevicePorts_Handler,
3262 },
3263 {
3264 MethodName: "ListDevicePmConfigs",
3265 Handler: _VolthaService_ListDevicePmConfigs_Handler,
3266 },
3267 {
3268 MethodName: "UpdateDevicePmConfigs",
3269 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
3270 },
3271 {
3272 MethodName: "ListDeviceFlows",
3273 Handler: _VolthaService_ListDeviceFlows_Handler,
3274 },
3275 {
3276 MethodName: "ListDeviceFlowGroups",
3277 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
3278 },
3279 {
3280 MethodName: "ListDeviceTypes",
3281 Handler: _VolthaService_ListDeviceTypes_Handler,
3282 },
3283 {
3284 MethodName: "GetDeviceType",
3285 Handler: _VolthaService_GetDeviceType_Handler,
3286 },
3287 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003288 MethodName: "CreateEventFilter",
3289 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003290 },
3291 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003292 MethodName: "GetEventFilter",
3293 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003294 },
3295 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003296 MethodName: "UpdateEventFilter",
3297 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003298 },
3299 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003300 MethodName: "DeleteEventFilter",
3301 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003302 },
3303 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003304 MethodName: "ListEventFilters",
3305 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003306 },
3307 {
3308 MethodName: "GetImages",
3309 Handler: _VolthaService_GetImages_Handler,
3310 },
3311 {
3312 MethodName: "SelfTest",
3313 Handler: _VolthaService_SelfTest_Handler,
3314 },
3315 {
3316 MethodName: "GetMibDeviceData",
3317 Handler: _VolthaService_GetMibDeviceData_Handler,
3318 },
3319 {
3320 MethodName: "GetAlarmDeviceData",
3321 Handler: _VolthaService_GetAlarmDeviceData_Handler,
3322 },
3323 {
3324 MethodName: "SimulateAlarm",
3325 Handler: _VolthaService_SimulateAlarm_Handler,
3326 },
3327 {
kesavand4a002b02020-01-23 21:29:47 -05003328 MethodName: "EnablePort",
3329 Handler: _VolthaService_EnablePort_Handler,
3330 },
3331 {
3332 MethodName: "DisablePort",
3333 Handler: _VolthaService_DisablePort_Handler,
3334 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303335 {
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003336 MethodName: "GetExtValue",
3337 Handler: _VolthaService_GetExtValue_Handler,
3338 },
3339 {
dpaul2b52e712020-06-23 13:02:28 +05303340 MethodName: "SetExtValue",
3341 Handler: _VolthaService_SetExtValue_Handler,
3342 },
3343 {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303344 MethodName: "StartOmciTestAction",
3345 Handler: _VolthaService_StartOmciTestAction_Handler,
3346 },
yasin sapli2bbfbb42021-11-01 14:30:10 +00003347 {
3348 MethodName: "PutVoipSystemProfile",
3349 Handler: _VolthaService_PutVoipSystemProfile_Handler,
3350 },
3351 {
3352 MethodName: "DeleteVoipSystemProfile",
3353 Handler: _VolthaService_DeleteVoipSystemProfile_Handler,
3354 },
3355 {
3356 MethodName: "PutVoipUserProfile",
3357 Handler: _VolthaService_PutVoipUserProfile_Handler,
3358 },
3359 {
3360 MethodName: "DeleteVoipUserProfile",
3361 Handler: _VolthaService_DeleteVoipUserProfile_Handler,
3362 },
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05303363 {
3364 MethodName: "DisableOnuDevice",
3365 Handler: _VolthaService_DisableOnuDevice_Handler,
3366 },
3367 {
3368 MethodName: "EnableOnuDevice",
3369 Handler: _VolthaService_EnableOnuDevice_Handler,
3370 },
3371 {
3372 MethodName: "DisableOnuSerialNumber",
3373 Handler: _VolthaService_DisableOnuSerialNumber_Handler,
3374 },
3375 {
3376 MethodName: "EnableOnuSerialNumber",
3377 Handler: _VolthaService_EnableOnuSerialNumber_Handler,
3378 },
William Kurkian1b363f42019-03-12 15:28:12 -04003379 },
3380 Streams: []grpc.StreamDesc{
3381 {
3382 StreamName: "StreamPacketsOut",
3383 Handler: _VolthaService_StreamPacketsOut_Handler,
3384 ClientStreams: true,
3385 },
3386 {
3387 StreamName: "ReceivePacketsIn",
3388 Handler: _VolthaService_ReceivePacketsIn_Handler,
3389 ServerStreams: true,
3390 },
3391 {
3392 StreamName: "ReceiveChangeEvents",
3393 Handler: _VolthaService_ReceiveChangeEvents_Handler,
3394 ServerStreams: true,
3395 },
3396 },
3397 Metadata: "voltha_protos/voltha.proto",
3398}