blob: 9870cc47b55b3e4d04d12caee6e4649b4b115c42 [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 laxmeshwar62bb7ed2025-09-30 12:49:32 +0530315 // 2389 bytes of a gzipped FileDescriptorProto
316 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xeb, 0x72, 0x1b, 0xb7,
317 0x15, 0x0e, 0xe5, 0xc4, 0x17, 0x88, 0xba, 0x10, 0xd4, 0x85, 0xa2, 0x24, 0x4b, 0x82, 0x6f, 0x32,
318 0x6d, 0x93, 0xbe, 0xa6, 0x6d, 0xdc, 0x4c, 0xc7, 0xd1, 0xad, 0x4a, 0xec, 0x52, 0x43, 0xda, 0x72,
319 0x9a, 0xc6, 0xd9, 0x59, 0x92, 0x10, 0xbd, 0x93, 0xe5, 0x2e, 0xbb, 0x00, 0x25, 0xab, 0xaa, 0xff,
320 0xb4, 0xcd, 0x8c, 0x3b, 0x9d, 0x4e, 0x7f, 0xe4, 0x2d, 0xfa, 0x0a, 0xfd, 0xd3, 0x77, 0xe8, 0x2b,
321 0xf4, 0x41, 0x3a, 0x38, 0x00, 0xc8, 0xbd, 0x60, 0x29, 0xd1, 0xf5, 0x4c, 0xfe, 0x98, 0x5e, 0x9c,
322 0x83, 0xef, 0xfb, 0x70, 0x70, 0x80, 0x05, 0xce, 0x0a, 0x15, 0x0f, 0x7d, 0x97, 0xbf, 0xb6, 0xad,
323 0x6e, 0xe0, 0x73, 0x9f, 0x55, 0xe4, 0x53, 0x19, 0x9e, 0xf0, 0x79, 0xf9, 0x54, 0x5c, 0x6a, 0xfb,
324 0x7e, 0xdb, 0xa5, 0x15, 0xbb, 0xeb, 0x54, 0x6c, 0xcf, 0xf3, 0xb9, 0xcd, 0x1d, 0xdf, 0x63, 0xd2,
325 0xab, 0xb8, 0xa8, 0xac, 0xf0, 0xd4, 0xe8, 0x1d, 0x54, 0x68, 0xa7, 0xcb, 0x8f, 0x95, 0x31, 0x06,
326 0xdf, 0xf4, 0x3b, 0x1d, 0xdf, 0x33, 0xdb, 0x5e, 0x53, 0xdb, 0xe5, 0xaf, 0x95, 0x8d, 0x44, 0x6d,
327 0xae, 0xdf, 0x76, 0x9a, 0xb6, 0x6b, 0xb5, 0xe8, 0xa1, 0xd3, 0xa4, 0xe6, 0xfe, 0x11, 0xdb, 0x62,
328 0xd4, 0x66, 0xb7, 0xec, 0x2e, 0xa7, 0x81, 0x32, 0xae, 0x44, 0x8d, 0x7e, 0x97, 0x7a, 0x07, 0xae,
329 0x7f, 0x64, 0xdd, 0x7b, 0x60, 0x46, 0xa6, 0x87, 0xd4, 0xe3, 0x7a, 0xb8, 0x97, 0x63, 0xb6, 0x37,
330 0x9c, 0x7a, 0x2c, 0x14, 0x8e, 0x1b, 0xf1, 0x80, 0x3a, 0x5d, 0x8b, 0x1d, 0x33, 0x4e, 0x3b, 0xa2,
331 0xe9, 0xc0, 0x71, 0xb5, 0xc4, 0x6b, 0x06, 0xc7, 0x1e, 0xa3, 0x41, 0xcc, 0x2d, 0x2e, 0xb6, 0xd3,
332 0x74, 0xac, 0x8e, 0xd3, 0xb0, 0x5a, 0x0d, 0xe5, 0xb0, 0x66, 0x70, 0xb0, 0x5d, 0x3b, 0xe8, 0x0c,
333 0x5c, 0x96, 0x0d, 0x2e, 0x9c, 0x32, 0x2e, 0xcd, 0xe4, 0x15, 0xca, 0x6e, 0xf8, 0x01, 0xdd, 0xf5,
334 0x18, 0xb7, 0xbd, 0x26, 0xc5, 0x2b, 0x68, 0xdc, 0x51, 0xff, 0xb7, 0x9c, 0x56, 0x21, 0xb3, 0x9a,
335 0x59, 0xbf, 0x54, 0x43, 0xba, 0x69, 0xb7, 0x85, 0x6f, 0xa3, 0xf3, 0x72, 0xb6, 0x0a, 0x63, 0xab,
336 0x99, 0xf5, 0xf1, 0xfb, 0x33, 0x65, 0x35, 0x79, 0xbf, 0x86, 0x9f, 0x3a, 0xb7, 0x79, 0x8f, 0xd5,
337 0x94, 0x0f, 0x79, 0x8c, 0x26, 0xc2, 0xf0, 0x0c, 0x97, 0xd0, 0x27, 0x0e, 0xa7, 0x1d, 0x56, 0xc8,
338 0xac, 0x9e, 0x83, 0xde, 0x2a, 0xeb, 0xc2, 0x5e, 0x35, 0xe9, 0x42, 0xfe, 0x7d, 0x0e, 0x9d, 0xdf,
339 0x07, 0x33, 0x2e, 0xa0, 0x0b, 0x87, 0x34, 0x10, 0xb1, 0x56, 0x92, 0xf4, 0x23, 0xbe, 0x8d, 0x2e,
340 0xaa, 0x19, 0x66, 0x85, 0x31, 0xc0, 0x9c, 0x2e, 0xeb, 0x29, 0x7f, 0x22, 0x7f, 0x6b, 0x7d, 0x0f,
341 0xbc, 0x8d, 0xa6, 0xa2, 0xf9, 0xc4, 0x0a, 0xe7, 0xa0, 0xd3, 0x72, 0x39, 0x96, 0x67, 0x4f, 0xe5,
342 0xe3, 0x26, 0x3c, 0xd5, 0x26, 0xdd, 0xf0, 0x23, 0xc3, 0xeb, 0xe8, 0x82, 0xee, 0xff, 0x31, 0xf4,
343 0x9f, 0x2c, 0xab, 0x7e, 0xaa, 0x83, 0x36, 0xe3, 0x47, 0x28, 0x2b, 0xff, 0x6b, 0xf1, 0xe3, 0x2e,
344 0x65, 0x85, 0x4f, 0xc0, 0x1d, 0x47, 0xdd, 0x9f, 0x1f, 0x77, 0x69, 0x6d, 0xbc, 0xd5, 0xff, 0x3f,
345 0xc3, 0x3f, 0x43, 0x13, 0x90, 0x7a, 0xd6, 0x81, 0xe3, 0xc2, 0xd8, 0x2e, 0xa8, 0x7e, 0xd0, 0x5a,
346 0xde, 0x12, 0xff, 0x6e, 0x83, 0xa9, 0x96, 0xa5, 0x83, 0x07, 0x86, 0x7f, 0x85, 0x72, 0x83, 0x3c,
347 0xb1, 0xb9, 0xdd, 0xb0, 0x19, 0x2d, 0x2c, 0x41, 0xe7, 0x7c, 0x59, 0x58, 0xca, 0xcf, 0x9c, 0x86,
348 0x64, 0xdd, 0xb4, 0xb9, 0x5d, 0x9b, 0x12, 0x6d, 0xa2, 0x49, 0xf9, 0xe2, 0x2d, 0x94, 0x0f, 0xe7,
349 0x91, 0x86, 0x58, 0x06, 0x88, 0x59, 0x09, 0xf1, 0x44, 0xd8, 0x42, 0x20, 0x40, 0x29, 0x1b, 0x95,
350 0xff, 0x97, 0x1f, 0x5f, 0x3c, 0x3f, 0x7d, 0xe1, 0xfe, 0xbf, 0x1e, 0xa3, 0x09, 0x39, 0x85, 0x75,
351 0x1a, 0x08, 0x77, 0xbc, 0x89, 0x2e, 0xed, 0x50, 0xae, 0xa6, 0x75, 0xae, 0x2c, 0x37, 0x90, 0xb2,
352 0xde, 0x40, 0xca, 0x5b, 0x62, 0x03, 0x29, 0x4e, 0xea, 0xb4, 0x90, 0x7e, 0x64, 0xea, 0x4f, 0xff,
353 0xf9, 0xef, 0x8f, 0x63, 0x97, 0xf0, 0x05, 0xd8, 0x87, 0x0e, 0xef, 0xe1, 0x57, 0x28, 0xf7, 0xd4,
354 0x61, 0x3c, 0x9a, 0x5b, 0x69, 0x68, 0xb3, 0xa6, 0x24, 0x63, 0x64, 0x01, 0x40, 0xf3, 0x38, 0xa7,
355 0x40, 0x2b, 0x4e, 0x1f, 0xa9, 0x8e, 0xa6, 0x76, 0x68, 0x04, 0x1d, 0xa3, 0xb2, 0xda, 0xc0, 0x76,
356 0x37, 0x8b, 0xc6, 0xac, 0x25, 0x97, 0x01, 0xaf, 0x80, 0xe7, 0x12, 0x78, 0x95, 0x13, 0xa7, 0xf5,
357 0x16, 0xd7, 0x51, 0x56, 0x68, 0x7e, 0xa2, 0x73, 0x31, 0x4d, 0x6e, 0x2e, 0x9e, 0xbf, 0x8c, 0x14,
358 0x00, 0x1a, 0xe3, 0x69, 0x0d, 0xdd, 0x4f, 0xe8, 0x0e, 0xc2, 0x02, 0xf4, 0x69, 0x34, 0x3d, 0xd3,
359 0xa0, 0x2f, 0x0f, 0xcd, 0x72, 0x46, 0x56, 0x80, 0x67, 0x01, 0xcf, 0x6b, 0x9e, 0xd8, 0x62, 0xc1,
360 0x4d, 0x34, 0xbd, 0x43, 0xa3, 0x6c, 0x91, 0xc8, 0x0c, 0x5f, 0x46, 0xe4, 0x2a, 0xe0, 0x5f, 0xc6,
361 0x4b, 0x29, 0xf8, 0x32, 0x50, 0x1e, 0x9a, 0x4b, 0x8c, 0x69, 0xcf, 0x0f, 0x38, 0x8b, 0x50, 0x2d,
362 0xa5, 0x50, 0x81, 0x27, 0x29, 0x01, 0xd3, 0x55, 0x4c, 0x86, 0x31, 0x55, 0xba, 0x80, 0xfa, 0x2e,
363 0x83, 0x66, 0xe2, 0xa3, 0x12, 0x28, 0x78, 0x79, 0x08, 0xc5, 0x6e, 0xab, 0xb8, 0x38, 0xc4, 0x4c,
364 0x1e, 0x82, 0x80, 0x32, 0xbe, 0x7d, 0xba, 0x80, 0xca, 0x89, 0xf8, 0xb1, 0xc4, 0xd0, 0xff, 0x9e,
365 0x41, 0xf3, 0x5b, 0x9e, 0xdd, 0x70, 0xe9, 0xc8, 0x6a, 0x52, 0xe6, 0x9c, 0x3c, 0x06, 0x21, 0x8f,
366 0xc8, 0x83, 0x51, 0x84, 0x54, 0x28, 0x88, 0xc0, 0xff, 0xc8, 0xa0, 0xc2, 0xa6, 0xc3, 0x3e, 0xa8,
367 0xa0, 0x5f, 0x82, 0xa0, 0x4f, 0xc9, 0xc3, 0x91, 0x04, 0xb5, 0xa4, 0x0a, 0xdc, 0x32, 0x24, 0xc7,
368 0xb6, 0xeb, 0x1f, 0x45, 0x93, 0x03, 0x97, 0xc3, 0x6f, 0x76, 0xb0, 0x9f, 0x31, 0x25, 0x0e, 0x00,
369 0xeb, 0xcf, 0x19, 0xb4, 0xf4, 0xa2, 0xdb, 0xb2, 0x39, 0x4d, 0x10, 0x3d, 0x07, 0x19, 0x4b, 0x09,
370 0x02, 0x68, 0x97, 0x7d, 0x52, 0x87, 0x7e, 0x07, 0x24, 0xdc, 0x20, 0x67, 0x90, 0xf0, 0x59, 0xa6,
371 0x84, 0xff, 0x92, 0x41, 0xcb, 0x06, 0x15, 0xcf, 0x28, 0xa7, 0x81, 0x94, 0xb1, 0x18, 0x91, 0x01,
372 0x86, 0x67, 0x7e, 0xeb, 0x14, 0x15, 0x65, 0x50, 0xb1, 0x4e, 0xae, 0x0c, 0x55, 0xd1, 0x11, 0x60,
373 0x20, 0xa3, 0x8d, 0xe6, 0x13, 0x21, 0x07, 0xaa, 0x68, 0xcc, 0xf3, 0x49, 0x2d, 0x8c, 0xdc, 0x02,
374 0xae, 0x6b, 0xf8, 0x2c, 0x5c, 0x98, 0xa3, 0x45, 0xe3, 0xdc, 0xee, 0x04, 0x7e, 0xaf, 0x1b, 0x25,
375 0x9b, 0x4f, 0xc4, 0x5f, 0x3a, 0x91, 0xbb, 0x40, 0x58, 0xc2, 0xeb, 0xa7, 0x86, 0xd8, 0x6a, 0x4b,
376 0xd8, 0x1f, 0x33, 0x68, 0x2d, 0x65, 0xae, 0x01, 0x53, 0x46, 0x7a, 0xcd, 0x4c, 0x78, 0x96, 0x59,
377 0x7f, 0x00, 0x92, 0xee, 0x90, 0x33, 0x4b, 0x12, 0x41, 0xaf, 0xa2, 0x71, 0x11, 0x8b, 0xd3, 0x76,
378 0xf4, 0xa9, 0xe8, 0x41, 0x82, 0x91, 0x79, 0x20, 0xcb, 0xe1, 0x29, 0x4d, 0xa6, 0xb7, 0xee, 0x2a,
379 0x9a, 0x18, 0x00, 0xee, 0xb6, 0xd2, 0x21, 0xc7, 0x07, 0x61, 0x36, 0xbc, 0x24, 0x25, 0x9c, 0xd3,
380 0x62, 0xf8, 0x05, 0x9a, 0xae, 0xd1, 0xa6, 0xef, 0x35, 0x1d, 0x97, 0x6a, 0x99, 0xe1, 0xbe, 0xa9,
381 0xf1, 0x58, 0x02, 0xcc, 0x39, 0x92, 0xc4, 0x14, 0x03, 0xdf, 0x82, 0x03, 0x82, 0xe1, 0xdd, 0x12,
382 0x3b, 0x62, 0x69, 0x18, 0x3c, 0x13, 0x1b, 0xa9, 0x7c, 0x89, 0x7c, 0x89, 0xb2, 0x1b, 0x01, 0xb5,
383 0xb9, 0x92, 0x86, 0x63, 0xbd, 0x13, 0x68, 0x45, 0x40, 0x9b, 0x21, 0xf1, 0xb8, 0x09, 0x49, 0x2f,
384 0x51, 0x56, 0x6e, 0xca, 0x06, 0x55, 0x69, 0x83, 0xbc, 0x02, 0x78, 0xcb, 0x64, 0xd1, 0xa4, 0x4e,
385 0x6f, 0xaf, 0xbf, 0x45, 0x13, 0x6a, 0x77, 0x1d, 0x01, 0x59, 0xbd, 0x44, 0xc9, 0x92, 0x11, 0x59,
386 0xef, 0x93, 0x2f, 0x51, 0xb6, 0x46, 0x1b, 0xbe, 0xcf, 0x3f, 0x98, 0xe6, 0x00, 0xe0, 0x04, 0xf0,
387 0x26, 0x75, 0x29, 0x7f, 0x8f, 0x60, 0x94, 0xcc, 0xc0, 0x2d, 0x80, 0xc3, 0x0d, 0x94, 0xdb, 0xf6,
388 0x83, 0x26, 0x1d, 0x19, 0xfd, 0x26, 0xa0, 0x5f, 0x29, 0xad, 0x19, 0xd1, 0x0f, 0x04, 0xa6, 0xa5,
389 0x38, 0xde, 0xa0, 0x89, 0x4d, 0xff, 0xc8, 0x73, 0x7d, 0xbb, 0xb5, 0xdb, 0xb1, 0xdb, 0x14, 0xcf,
390 0xea, 0x34, 0x80, 0x47, 0x6d, 0x2b, 0xce, 0x6a, 0xda, 0x6a, 0x97, 0x06, 0x70, 0xe5, 0xad, 0x51,
391 0xd6, 0x25, 0xbf, 0x00, 0xa6, 0xbb, 0xe4, 0x96, 0x91, 0xc9, 0x11, 0x10, 0x56, 0x4b, 0x61, 0xb0,
392 0xca, 0x89, 0x67, 0x77, 0xe8, 0xdb, 0xcf, 0x32, 0xa5, 0x77, 0x63, 0x19, 0xfc, 0x43, 0x06, 0xcd,
393 0xed, 0x50, 0x1e, 0xa1, 0x91, 0x97, 0xa5, 0x74, 0x0d, 0xa6, 0x66, 0xf2, 0x39, 0x68, 0x78, 0x88,
394 0xef, 0x8f, 0xa0, 0xa1, 0xc2, 0x80, 0x49, 0xe8, 0x78, 0x03, 0x27, 0xb8, 0x08, 0xe4, 0x88, 0x02,
395 0x3e, 0x95, 0xdb, 0x19, 0x1e, 0x25, 0x08, 0x82, 0xd9, 0x91, 0x47, 0xd5, 0x08, 0x18, 0x8b, 0x4d,
396 0xb0, 0x89, 0x90, 0x91, 0x0a, 0x30, 0x5e, 0xc7, 0x57, 0xcf, 0xc2, 0x28, 0xa8, 0x4e, 0x50, 0x7e,
397 0x43, 0x9c, 0xbc, 0xdd, 0x33, 0x8e, 0xd3, 0x38, 0xd9, 0x6a, 0x9c, 0xa5, 0x51, 0xc7, 0xf9, 0xb7,
398 0x0c, 0xca, 0x3f, 0x69, 0x72, 0xe7, 0xd0, 0xe6, 0x14, 0x88, 0xe4, 0xeb, 0x61, 0x44, 0xf6, 0x6d,
399 0x60, 0xff, 0x9c, 0xfc, 0x7c, 0x94, 0x69, 0x96, 0xcd, 0x3d, 0xe0, 0x53, 0x79, 0xf7, 0xd7, 0x0c,
400 0xca, 0xd5, 0xe8, 0x21, 0x0d, 0xf8, 0x4f, 0xa2, 0x25, 0x00, 0x6a, 0xa5, 0xe5, 0x5d, 0x06, 0xcd,
401 0x46, 0x96, 0xdf, 0x73, 0x5f, 0x2d, 0x73, 0x12, 0xdd, 0x8d, 0x23, 0xaa, 0x6a, 0xf4, 0xf7, 0x3d,
402 0xca, 0x78, 0x71, 0xd1, 0xe0, 0x23, 0xe4, 0xf9, 0x1e, 0xa3, 0xfa, 0x4c, 0x83, 0xaf, 0xc7, 0x25,
403 0x82, 0x0c, 0x56, 0xd1, 0xf2, 0x2c, 0xf9, 0x8c, 0x8f, 0xd0, 0xa4, 0x5e, 0x06, 0x6a, 0x15, 0x16,
404 0x8d, 0xf0, 0x67, 0xa0, 0xbe, 0x9d, 0x96, 0x9d, 0x8a, 0x5a, 0xfe, 0x58, 0x72, 0x09, 0x8a, 0xf9,
405 0x58, 0x78, 0xd2, 0xf0, 0xfb, 0xd3, 0xd1, 0x0e, 0xec, 0xd6, 0x20, 0x0e, 0xef, 0x2d, 0xe2, 0x41,
406 0xda, 0xa2, 0x54, 0x22, 0x6c, 0x41, 0x69, 0xf5, 0x24, 0x9d, 0x0e, 0xc2, 0x3e, 0xca, 0xee, 0x50,
407 0x5e, 0xf5, 0x7a, 0xbb, 0xf2, 0x39, 0xbc, 0x16, 0x73, 0x9a, 0xad, 0x6f, 0x26, 0x37, 0x80, 0x63,
408 0x0d, 0xaf, 0x18, 0xd3, 0xc0, 0xf7, 0x7a, 0x1a, 0xf7, 0x04, 0x4d, 0x44, 0x16, 0xc0, 0xfb, 0x0f,
409 0xeb, 0x1e, 0x50, 0xde, 0x22, 0x69, 0xd3, 0x6a, 0x2b, 0x1a, 0xc5, 0x2c, 0x5e, 0xd6, 0x47, 0x68,
410 0x7c, 0xc3, 0xef, 0x74, 0x1c, 0xfe, 0x7f, 0x52, 0xcb, 0x4d, 0xe7, 0x26, 0x49, 0x9b, 0xd6, 0x26,
411 0x90, 0x84, 0x88, 0xf7, 0xd0, 0xd4, 0xe0, 0x80, 0x95, 0xbc, 0xaf, 0x4e, 0x68, 0x32, 0x79, 0x41,
412 0x25, 0x00, 0xbf, 0x84, 0x8b, 0xc6, 0x60, 0xca, 0x8b, 0xe9, 0x2b, 0x94, 0x0f, 0x21, 0x76, 0x36,
413 0x7c, 0xef, 0xc0, 0x69, 0xa7, 0x4c, 0x53, 0xdf, 0x7c, 0xca, 0x34, 0x75, 0x3b, 0x56, 0x53, 0xe1,
414 0x78, 0x68, 0x56, 0x6e, 0x07, 0x71, 0x82, 0x24, 0x68, 0xea, 0xbb, 0x57, 0x5d, 0xaa, 0xc8, 0x69,
415 0x64, 0x22, 0x40, 0x2f, 0xc2, 0x01, 0x3a, 0xdb, 0x9d, 0x6d, 0x78, 0x94, 0xe4, 0x5d, 0x8d, 0xa2,
416 0x99, 0x28, 0xec, 0x28, 0xd7, 0x85, 0x75, 0x20, 0x20, 0x78, 0x35, 0x95, 0x40, 0x5f, 0x13, 0xbe,
417 0x0d, 0xab, 0x97, 0x45, 0xba, 0xb4, 0x13, 0x74, 0x3e, 0x59, 0xdd, 0x63, 0x69, 0xc7, 0x55, 0x59,
418 0x16, 0xc4, 0x35, 0x34, 0xd1, 0x3f, 0xf5, 0x0a, 0xff, 0x58, 0x64, 0x12, 0x78, 0x64, 0x0d, 0xe0,
419 0x16, 0xf1, 0x82, 0x09, 0x4e, 0x1e, 0x81, 0xb7, 0xd1, 0x74, 0x9d, 0x07, 0xd4, 0xee, 0xec, 0xd9,
420 0xcd, 0xef, 0x29, 0x67, 0xd5, 0x1e, 0xc7, 0x73, 0x91, 0x40, 0x48, 0x43, 0xb5, 0xc7, 0x53, 0xe7,
421 0xf7, 0xa3, 0xf5, 0x0c, 0xde, 0x82, 0x83, 0x3e, 0x75, 0x0e, 0xa9, 0x02, 0xda, 0xf5, 0x86, 0xd4,
422 0xda, 0x92, 0xf8, 0xbb, 0x1e, 0xf9, 0xe8, 0x6e, 0x06, 0x7f, 0x85, 0xf2, 0x0a, 0x66, 0xe3, 0xb5,
423 0xed, 0xb5, 0x29, 0xd4, 0x30, 0xd3, 0x83, 0x58, 0x88, 0x20, 0x85, 0xba, 0x00, 0xd8, 0x2b, 0x94,
424 0x93, 0xc7, 0xfb, 0x50, 0x25, 0x14, 0x1b, 0xaa, 0xa3, 0x45, 0x43, 0x1b, 0x59, 0x85, 0xd8, 0x15,
425 0xc9, 0xac, 0x8e, 0x5d, 0xa4, 0xd4, 0x2a, 0x53, 0x55, 0xbc, 0x1e, 0xc2, 0xd8, 0xd1, 0x9b, 0x6e,
426 0x02, 0xd3, 0x90, 0xaa, 0x11, 0x50, 0x39, 0x23, 0x0d, 0x94, 0x93, 0x2b, 0xee, 0x7d, 0x54, 0x5f,
427 0x03, 0x82, 0x95, 0xe2, 0x10, 0x02, 0x21, 0xbd, 0x89, 0x72, 0xf2, 0x04, 0x7d, 0x1a, 0x47, 0xda,
428 0x94, 0xab, 0x81, 0x94, 0x86, 0x0d, 0xe4, 0x3b, 0x34, 0x2d, 0x16, 0x43, 0x38, 0x00, 0x43, 0x56,
429 0x83, 0x21, 0x5a, 0xcb, 0x40, 0x32, 0x8f, 0xcd, 0x53, 0x80, 0x9f, 0xc2, 0x25, 0xd0, 0xf0, 0x5a,
430 0x9a, 0x8c, 0x1c, 0x5c, 0x98, 0xbe, 0x59, 0xe0, 0xc5, 0xf4, 0xa3, 0x09, 0xc3, 0x5f, 0xa3, 0x8b,
431 0x75, 0xea, 0x1e, 0x3c, 0xa7, 0x8c, 0x47, 0xc0, 0x0a, 0x1a, 0x4c, 0x5b, 0xfb, 0x9b, 0xff, 0x75,
432 0x80, 0x5d, 0x25, 0x97, 0x8d, 0xb0, 0x8c, 0xba, 0x07, 0xf0, 0x11, 0x05, 0xef, 0xc3, 0x69, 0x3a,
433 0x52, 0x51, 0x8f, 0xd7, 0x44, 0x12, 0x25, 0xf7, 0xe4, 0xd2, 0x15, 0x89, 0x2e, 0xfc, 0x54, 0x31,
434 0xc4, 0x69, 0xe0, 0x6f, 0x11, 0xde, 0xa1, 0x3c, 0x56, 0x66, 0x8f, 0x20, 0x9b, 0x2b, 0xf1, 0xc9,
435 0x78, 0x44, 0xb1, 0xa1, 0xa8, 0x8f, 0x19, 0x9a, 0xa8, 0x3b, 0x9d, 0x9e, 0x6b, 0x73, 0x0a, 0xfd,
436 0xf1, 0x52, 0x3f, 0x10, 0xe1, 0x66, 0xfd, 0x9a, 0x4c, 0x39, 0x15, 0x26, 0x8a, 0x59, 0xd1, 0x18,
437 0x29, 0x24, 0x4b, 0x20, 0x89, 0xbc, 0x7c, 0x86, 0x90, 0xbc, 0x44, 0x43, 0xed, 0x30, 0x1b, 0x7e,
438 0x1b, 0xa6, 0xa6, 0xa2, 0xaa, 0x3e, 0x90, 0x49, 0x01, 0x3f, 0xe8, 0xad, 0xea, 0x23, 0xea, 0xea,
439 0x3c, 0x02, 0xde, 0xe0, 0x92, 0x7f, 0x78, 0xaf, 0x12, 0xea, 0x2e, 0x00, 0xbf, 0x43, 0xe3, 0x62,
440 0xc9, 0xbf, 0xe1, 0xfb, 0xb6, 0xdb, 0xa3, 0x78, 0xa1, 0xdc, 0xff, 0xbc, 0x57, 0x86, 0x96, 0x7a,
441 0x97, 0x36, 0x9d, 0x03, 0x87, 0x06, 0xc5, 0xf9, 0x90, 0xa9, 0x46, 0x79, 0x2f, 0xf0, 0xc0, 0x81,
442 0x91, 0x45, 0x80, 0x9f, 0xc5, 0x79, 0x1d, 0x91, 0x30, 0xe0, 0x4b, 0x34, 0x5e, 0x0f, 0x3d, 0xe6,
443 0x13, 0xf8, 0x34, 0x5d, 0x77, 0x02, 0x38, 0x8c, 0xd4, 0x42, 0xf9, 0x3a, 0xb7, 0x03, 0x5e, 0xed,
444 0x34, 0x1d, 0x91, 0xc4, 0xe2, 0xe8, 0xe5, 0x7b, 0x58, 0x25, 0x88, 0x6e, 0xd5, 0x93, 0x89, 0x65,
445 0x73, 0x24, 0xdb, 0xd5, 0x8a, 0x27, 0xfd, 0xb2, 0x3f, 0x13, 0x78, 0x56, 0xff, 0x5b, 0xa1, 0x08,
446 0xcf, 0x0f, 0x19, 0x34, 0xb3, 0xd7, 0xe3, 0xfb, 0xbe, 0xd3, 0xad, 0xc3, 0x27, 0xcd, 0x3d, 0xf9,
447 0xa9, 0x12, 0xdf, 0x29, 0x9b, 0xbe, 0x73, 0x26, 0xfc, 0x34, 0x7f, 0xda, 0x10, 0xf5, 0x8a, 0xeb,
448 0x27, 0xae, 0x01, 0x55, 0xe8, 0xe8, 0xa2, 0x79, 0xb9, 0xbd, 0x25, 0x95, 0xf4, 0x8b, 0x4f, 0x5f,
449 0xd1, 0xe3, 0x54, 0x1e, 0x55, 0x1f, 0x2c, 0xad, 0x0f, 0xe1, 0xa9, 0x9c, 0x7c, 0x4f, 0x8f, 0xfb,
450 0x75, 0x89, 0xb7, 0x08, 0xab, 0x81, 0xbf, 0x60, 0x34, 0xd0, 0x64, 0x37, 0xcb, 0xc9, 0xaf, 0xb6,
451 0x31, 0x9f, 0xd3, 0x86, 0xac, 0x0b, 0x39, 0x0b, 0x11, 0x29, 0x61, 0x44, 0x31, 0x60, 0x17, 0xcd,
452 0x0e, 0x06, 0x1c, 0x56, 0x70, 0xa6, 0xe1, 0xaa, 0x7b, 0x51, 0xe9, 0x7a, 0x2a, 0x47, 0x74, 0xb0,
453 0xdf, 0xa0, 0x69, 0xb5, 0x2e, 0xaa, 0x5e, 0x6f, 0x84, 0x1a, 0x8c, 0x4e, 0xa1, 0xc1, 0x41, 0x4d,
454 0xa2, 0x58, 0xe2, 0x5a, 0x20, 0x97, 0x26, 0xfe, 0x1a, 0x4d, 0xc9, 0x35, 0x3c, 0x1a, 0xb4, 0xda,
455 0x2e, 0x07, 0x61, 0x92, 0xc5, 0xb3, 0x30, 0xf2, 0x1f, 0xd1, 0xdc, 0x40, 0x75, 0x9d, 0x06, 0x8e,
456 0xed, 0xfe, 0xa6, 0xd7, 0x69, 0xd0, 0x00, 0xaf, 0x84, 0xae, 0x31, 0x61, 0x43, 0xd5, 0xab, 0x3e,
457 0x7d, 0xbe, 0xe7, 0x7b, 0xa7, 0x15, 0x95, 0xc8, 0x9a, 0x69, 0x40, 0x0c, 0x90, 0x2c, 0x4f, 0x72,
458 0xfc, 0x01, 0xcd, 0xf6, 0xc7, 0xf5, 0x61, 0xc8, 0xd5, 0xa9, 0x94, 0xac, 0x1a, 0x86, 0x1c, 0xe5,
459 0xfe, 0x1d, 0xca, 0x86, 0xcf, 0xf0, 0x78, 0x46, 0x53, 0x86, 0x5b, 0x53, 0x79, 0xd4, 0x5b, 0x78,
460 0x70, 0x10, 0x92, 0xa5, 0x03, 0x15, 0xd6, 0x2f, 0x5c, 0x94, 0xf7, 0x83, 0x36, 0x9c, 0xc3, 0x9a,
461 0x7e, 0xd0, 0x52, 0x5f, 0x3d, 0xbf, 0xc8, 0xca, 0xaf, 0xb2, 0x7b, 0xf0, 0x17, 0x05, 0xdf, 0x94,
462 0xdb, 0x0e, 0x7f, 0xdd, 0x6b, 0x88, 0x89, 0xac, 0x68, 0x4f, 0xf5, 0xb7, 0x24, 0x77, 0xf4, 0xdf,
463 0x37, 0x3c, 0xaa, 0xb4, 0x7d, 0xd5, 0xf6, 0xcf, 0xb1, 0xb9, 0xaa, 0xc6, 0xdb, 0x0f, 0x7f, 0xe4,
464 0xdd, 0x1b, 0x6b, 0x9c, 0x07, 0xff, 0x07, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x88, 0xec, 0xd4,
465 0x9c, 0x99, 0x22, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400466}
467
468// Reference imports to suppress errors if they are not otherwise used.
469var _ context.Context
470var _ grpc.ClientConn
471
472// This is a compile-time assertion to ensure that this generated file
473// is compatible with the grpc package it is being compiled against.
474const _ = grpc.SupportPackageIsVersion4
475
476// VolthaServiceClient is the client API for VolthaService service.
477//
478// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
479type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -0400480 // Get high level information on the Voltha cluster
481 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
482 // List all Voltha cluster core instances
483 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
484 // Get details on a Voltha cluster instance
485 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
486 // List all active adapters (plugins) in the Voltha cluster
487 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
488 // List all logical devices managed by the Voltha cluster
489 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
490 // Get additional information on a given logical device
491 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
492 // List ports of a logical device
493 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
494 // Gets a logical device port
495 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
496 // Enables a logical device port
497 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
498 // Disables a logical device port
499 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
500 // List all flows of a logical device
501 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
502 // Update flow table for logical device
503 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
504 // Update meter table for logical device
505 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400506 // List all meters of a logical device
507 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400508 // List all flow groups of a logical device
509 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
510 // Update group table for device
511 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
512 // List all physical devices controlled by the Voltha cluster
513 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
514 // List all physical devices IDs controlled by the Voltha cluster
515 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
516 // Request to a voltha Core to reconcile a set of devices based on their IDs
517 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
518 // Get more information on a given physical device
519 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
520 // Pre-provision a new physical device
521 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
522 // Enable a device. If the device was in pre-provisioned state then it
523 // will transition to ENABLED state. If it was is DISABLED state then it
524 // will transition to ENABLED state as well.
525 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
526 // Disable a device
527 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
528 // Reboot a device
529 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
530 // Delete a device
531 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +0530532 // Forcefully delete a device
533 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400534 // Request an image download to the standby partition
535 // of a device.
536 // Note that the call is expected to be non-blocking.
537 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
538 // Get image download status on a device
539 // The request retrieves progress on device and updates db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100540 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400541 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
542 // Get image download db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100543 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400544 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
545 // List image download db records for a given device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100546 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400547 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
548 // Cancel an existing image download process on a device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100549 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400550 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
551 // Activate the specified image at a standby partition
552 // to active partition.
553 // Depending on the device implementation, this call
554 // may or may not cause device reboot.
555 // If no reboot, then a reboot is required to make the
556 // activated image running on device
557 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100558 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400559 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
560 // Revert the specified image at standby partition
561 // to active partition, and revert to previous image
562 // Depending on the device implementation, this call
563 // may or may not cause device reboot.
564 // If no reboot, then a reboot is required to make the
565 // previous image running on device
566 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100567 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400568 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100569 // Downloads a certain image to the standby partition of the devices
570 // Note that the call is expected to be non-blocking.
571 DownloadImageToDevice(ctx context.Context, in *DeviceImageDownloadRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
572 // Get image status on a number of devices devices
573 // Polled from northbound systems to get state of download/activate/commit
574 GetImageStatus(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
575 // Aborts the upgrade of an image on a device
576 // To be used carefully, stops any further operations for the Image on the given devices
577 // Might also stop if possible existing work, but no guarantees are given,
578 // depends on implementation and procedure status.
579 AbortImageUpgradeToDevice(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
580 // Get Both Active and Standby image for a given device
581 GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*OnuImages, error)
582 // Activate the specified image from a standby partition
583 // to active partition.
584 // Depending on the device implementation, this call
585 // may or may not cause device reboot.
586 // If no reboot, then a reboot is required to make the
587 // activated image running on device
588 // Note that the call is expected to be non-blocking.
589 ActivateImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
590 // Commit the specified image to be default.
591 // Depending on the device implementation, this call
592 // may or may not cause device reboot.
593 // If no reboot, then a reboot is required to make the
594 // activated image running on device upon next reboot
595 // Note that the call is expected to be non-blocking.
596 CommitImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400597 // List ports of a device
598 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
599 // List pm config of a device
600 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
601 // Update the pm config of a device
602 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
603 // List all flows of a device
604 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
605 // List all flow groups of a device
606 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
607 // List device types known to Voltha
608 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
609 // Get additional information on a device type
610 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400611 // Stream control packets to the dataplane
612 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
613 // Receive control packet stream
614 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
615 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +0000616 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
617 // Get all filters present for a device
618 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
619 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
620 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
621 // Get all the filters present
622 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400623 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
624 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
625 // OpenOMCI MIB information
626 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
627 // OpenOMCI ALARM information
628 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
629 // Simulate an Alarm
630 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
kesavand4a002b02020-01-23 21:29:47 -0500631 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
632 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
khenaidoo4c6543e2021-10-19 17:25:58 -0400633 GetExtValue(ctx context.Context, in *extension.ValueSpecifier, opts ...grpc.CallOption) (*extension.ReturnValues, error)
634 SetExtValue(ctx context.Context, in *extension.ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +0530635 // omci start and stop cli implementation
khenaidoo4c6543e2021-10-19 17:25:58 -0400636 StartOmciTestAction(ctx context.Context, in *omci.OmciTestRequest, opts ...grpc.CallOption) (*omci.TestResponse, error)
yasin sapli2bbfbb42021-11-01 14:30:10 +0000637 // Saves or updates system wide configuration into voltha KV
638 PutVoipSystemProfile(ctx context.Context, in *voip_system_profile.VoipSystemProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error)
639 // Deletes the given profile from voltha KV
640 DeleteVoipSystemProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error)
641 // Saves or updates a profile (VOIP) into voltha KV
642 PutVoipUserProfile(ctx context.Context, in *voip_user_profile.VoipUserProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error)
643 // Deletes the given profile from voltha KV
644 DeleteVoipUserProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +0530645 // Disables the ONU, stops it from participating in the ranging process. different from DisableDevice
646 DisableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
647 // Enables the ONU at the PLOAM , enables the ONU to participate in the ranging process. different from EnableDevice
648 EnableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
649 // Disables the ONU at the PLOAM , different from DisableDevice. This would be used if the Device is not present in the VOLTHA
650 DisableOnuSerialNumber(ctx context.Context, in *OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*empty.Empty, error)
651 // Disables the ONU at the PLOAM , different from EnableDevice. This would be used if the Device is not present in the VOLTHA
652 EnableOnuSerialNumber(ctx context.Context, in *OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash laxmeshwar62bb7ed2025-09-30 12:49:32 +0530653 // Update the Device configuration, for now only ip address updation is supported
654 UpdateDevice(ctx context.Context, in *UpdateDevice, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400655}
656
657type volthaServiceClient struct {
658 cc *grpc.ClientConn
659}
660
661func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
662 return &volthaServiceClient{cc}
663}
664
William Kurkian1b363f42019-03-12 15:28:12 -0400665func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
666 out := new(Voltha)
667 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
668 if err != nil {
669 return nil, err
670 }
671 return out, nil
672}
673
674func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
675 out := new(CoreInstances)
676 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
677 if err != nil {
678 return nil, err
679 }
680 return out, nil
681}
682
683func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
684 out := new(CoreInstance)
685 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
686 if err != nil {
687 return nil, err
688 }
689 return out, nil
690}
691
692func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
693 out := new(Adapters)
694 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
695 if err != nil {
696 return nil, err
697 }
698 return out, nil
699}
700
701func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
702 out := new(LogicalDevices)
703 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
704 if err != nil {
705 return nil, err
706 }
707 return out, nil
708}
709
710func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
711 out := new(LogicalDevice)
712 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
713 if err != nil {
714 return nil, err
715 }
716 return out, nil
717}
718
719func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
720 out := new(LogicalPorts)
721 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
722 if err != nil {
723 return nil, err
724 }
725 return out, nil
726}
727
728func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
729 out := new(LogicalPort)
730 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
731 if err != nil {
732 return nil, err
733 }
734 return out, nil
735}
736
737func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
738 out := new(empty.Empty)
739 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
740 if err != nil {
741 return nil, err
742 }
743 return out, nil
744}
745
746func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
747 out := new(empty.Empty)
748 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
749 if err != nil {
750 return nil, err
751 }
752 return out, nil
753}
754
755func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
756 out := new(openflow_13.Flows)
757 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
758 if err != nil {
759 return nil, err
760 }
761 return out, nil
762}
763
764func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
765 out := new(empty.Empty)
766 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
767 if err != nil {
768 return nil, err
769 }
770 return out, nil
771}
772
773func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
774 out := new(empty.Empty)
775 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
776 if err != nil {
777 return nil, err
778 }
779 return out, nil
780}
781
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400782func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
783 out := new(openflow_13.Meters)
784 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -0400785 if err != nil {
786 return nil, err
787 }
788 return out, nil
789}
790
791func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
792 out := new(openflow_13.FlowGroups)
793 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
794 if err != nil {
795 return nil, err
796 }
797 return out, nil
798}
799
800func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
801 out := new(empty.Empty)
802 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
803 if err != nil {
804 return nil, err
805 }
806 return out, nil
807}
808
809func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
810 out := new(Devices)
811 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
812 if err != nil {
813 return nil, err
814 }
815 return out, nil
816}
817
818func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
819 out := new(common.IDs)
820 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
821 if err != nil {
822 return nil, err
823 }
824 return out, nil
825}
826
827func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
828 out := new(empty.Empty)
829 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
830 if err != nil {
831 return nil, err
832 }
833 return out, nil
834}
835
836func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
837 out := new(Device)
838 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
839 if err != nil {
840 return nil, err
841 }
842 return out, nil
843}
844
845func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
846 out := new(Device)
847 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
848 if err != nil {
849 return nil, err
850 }
851 return out, nil
852}
853
854func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
855 out := new(empty.Empty)
856 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
857 if err != nil {
858 return nil, err
859 }
860 return out, nil
861}
862
863func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
864 out := new(empty.Empty)
865 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
866 if err != nil {
867 return nil, err
868 }
869 return out, nil
870}
871
872func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
873 out := new(empty.Empty)
874 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
875 if err != nil {
876 return nil, err
877 }
878 return out, nil
879}
880
881func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
882 out := new(empty.Empty)
883 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
884 if err != nil {
885 return nil, err
886 }
887 return out, nil
888}
889
Himani Chawla503b7ce2020-10-07 13:20:03 +0530890func (c *volthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
891 out := new(empty.Empty)
892 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ForceDeleteDevice", in, out, opts...)
893 if err != nil {
894 return nil, err
895 }
896 return out, nil
897}
898
khenaidoo4c6543e2021-10-19 17:25:58 -0400899// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400900func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
901 out := new(common.OperationResp)
902 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
903 if err != nil {
904 return nil, err
905 }
906 return out, nil
907}
908
khenaidoo4c6543e2021-10-19 17:25:58 -0400909// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400910func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
911 out := new(ImageDownload)
912 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
913 if err != nil {
914 return nil, err
915 }
916 return out, nil
917}
918
khenaidoo4c6543e2021-10-19 17:25:58 -0400919// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400920func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
921 out := new(ImageDownload)
922 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
923 if err != nil {
924 return nil, err
925 }
926 return out, nil
927}
928
khenaidoo4c6543e2021-10-19 17:25:58 -0400929// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400930func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
931 out := new(ImageDownloads)
932 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
933 if err != nil {
934 return nil, err
935 }
936 return out, nil
937}
938
khenaidoo4c6543e2021-10-19 17:25:58 -0400939// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400940func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
941 out := new(common.OperationResp)
942 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
943 if err != nil {
944 return nil, err
945 }
946 return out, nil
947}
948
khenaidoo4c6543e2021-10-19 17:25:58 -0400949// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400950func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
951 out := new(common.OperationResp)
952 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
953 if err != nil {
954 return nil, err
955 }
956 return out, nil
957}
958
khenaidoo4c6543e2021-10-19 17:25:58 -0400959// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400960func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
961 out := new(common.OperationResp)
962 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
963 if err != nil {
964 return nil, err
965 }
966 return out, nil
967}
968
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100969func (c *volthaServiceClient) DownloadImageToDevice(ctx context.Context, in *DeviceImageDownloadRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
970 out := new(DeviceImageResponse)
971 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImageToDevice", in, out, opts...)
972 if err != nil {
973 return nil, err
974 }
975 return out, nil
976}
977
978func (c *volthaServiceClient) GetImageStatus(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
979 out := new(DeviceImageResponse)
980 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageStatus", in, out, opts...)
981 if err != nil {
982 return nil, err
983 }
984 return out, nil
985}
986
987func (c *volthaServiceClient) AbortImageUpgradeToDevice(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
988 out := new(DeviceImageResponse)
989 err := c.cc.Invoke(ctx, "/voltha.VolthaService/AbortImageUpgradeToDevice", in, out, opts...)
990 if err != nil {
991 return nil, err
992 }
993 return out, nil
994}
995
996func (c *volthaServiceClient) GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*OnuImages, error) {
997 out := new(OnuImages)
998 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetOnuImages", in, out, opts...)
999 if err != nil {
1000 return nil, err
1001 }
1002 return out, nil
1003}
1004
1005func (c *volthaServiceClient) ActivateImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
1006 out := new(DeviceImageResponse)
1007 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImage", in, out, opts...)
1008 if err != nil {
1009 return nil, err
1010 }
1011 return out, nil
1012}
1013
1014func (c *volthaServiceClient) CommitImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
1015 out := new(DeviceImageResponse)
1016 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CommitImage", in, out, opts...)
1017 if err != nil {
1018 return nil, err
1019 }
1020 return out, nil
1021}
1022
William Kurkian1b363f42019-03-12 15:28:12 -04001023func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
1024 out := new(Ports)
1025 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
1026 if err != nil {
1027 return nil, err
1028 }
1029 return out, nil
1030}
1031
1032func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
1033 out := new(PmConfigs)
1034 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
1035 if err != nil {
1036 return nil, err
1037 }
1038 return out, nil
1039}
1040
1041func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
1042 out := new(empty.Empty)
1043 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
1044 if err != nil {
1045 return nil, err
1046 }
1047 return out, nil
1048}
1049
1050func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
1051 out := new(openflow_13.Flows)
1052 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
1053 if err != nil {
1054 return nil, err
1055 }
1056 return out, nil
1057}
1058
1059func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
1060 out := new(openflow_13.FlowGroups)
1061 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
1062 if err != nil {
1063 return nil, err
1064 }
1065 return out, nil
1066}
1067
1068func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
1069 out := new(DeviceTypes)
1070 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
1071 if err != nil {
1072 return nil, err
1073 }
1074 return out, nil
1075}
1076
1077func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
1078 out := new(DeviceType)
1079 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
1080 if err != nil {
1081 return nil, err
1082 }
1083 return out, nil
1084}
1085
William Kurkian1b363f42019-03-12 15:28:12 -04001086func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
1087 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
1088 if err != nil {
1089 return nil, err
1090 }
1091 x := &volthaServiceStreamPacketsOutClient{stream}
1092 return x, nil
1093}
1094
1095type VolthaService_StreamPacketsOutClient interface {
1096 Send(*openflow_13.PacketOut) error
1097 CloseAndRecv() (*empty.Empty, error)
1098 grpc.ClientStream
1099}
1100
1101type volthaServiceStreamPacketsOutClient struct {
1102 grpc.ClientStream
1103}
1104
1105func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
1106 return x.ClientStream.SendMsg(m)
1107}
1108
1109func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
1110 if err := x.ClientStream.CloseSend(); err != nil {
1111 return nil, err
1112 }
1113 m := new(empty.Empty)
1114 if err := x.ClientStream.RecvMsg(m); err != nil {
1115 return nil, err
1116 }
1117 return m, nil
1118}
1119
1120func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
1121 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
1122 if err != nil {
1123 return nil, err
1124 }
1125 x := &volthaServiceReceivePacketsInClient{stream}
1126 if err := x.ClientStream.SendMsg(in); err != nil {
1127 return nil, err
1128 }
1129 if err := x.ClientStream.CloseSend(); err != nil {
1130 return nil, err
1131 }
1132 return x, nil
1133}
1134
1135type VolthaService_ReceivePacketsInClient interface {
1136 Recv() (*openflow_13.PacketIn, error)
1137 grpc.ClientStream
1138}
1139
1140type volthaServiceReceivePacketsInClient struct {
1141 grpc.ClientStream
1142}
1143
1144func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
1145 m := new(openflow_13.PacketIn)
1146 if err := x.ClientStream.RecvMsg(m); err != nil {
1147 return nil, err
1148 }
1149 return m, nil
1150}
1151
1152func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
1153 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
1154 if err != nil {
1155 return nil, err
1156 }
1157 x := &volthaServiceReceiveChangeEventsClient{stream}
1158 if err := x.ClientStream.SendMsg(in); err != nil {
1159 return nil, err
1160 }
1161 if err := x.ClientStream.CloseSend(); err != nil {
1162 return nil, err
1163 }
1164 return x, nil
1165}
1166
1167type VolthaService_ReceiveChangeEventsClient interface {
1168 Recv() (*openflow_13.ChangeEvent, error)
1169 grpc.ClientStream
1170}
1171
1172type volthaServiceReceiveChangeEventsClient struct {
1173 grpc.ClientStream
1174}
1175
1176func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
1177 m := new(openflow_13.ChangeEvent)
1178 if err := x.ClientStream.RecvMsg(m); err != nil {
1179 return nil, err
1180 }
1181 return m, nil
1182}
1183
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001184func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
1185 out := new(EventFilter)
1186 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001187 if err != nil {
1188 return nil, err
1189 }
1190 return out, nil
1191}
1192
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001193func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
1194 out := new(EventFilters)
1195 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001196 if err != nil {
1197 return nil, err
1198 }
1199 return out, nil
1200}
1201
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001202func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
1203 out := new(EventFilter)
1204 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001205 if err != nil {
1206 return nil, err
1207 }
1208 return out, nil
1209}
1210
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001211func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04001212 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001213 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001214 if err != nil {
1215 return nil, err
1216 }
1217 return out, nil
1218}
1219
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001220func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
1221 out := new(EventFilters)
1222 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001223 if err != nil {
1224 return nil, err
1225 }
1226 return out, nil
1227}
1228
1229func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
1230 out := new(Images)
1231 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
1232 if err != nil {
1233 return nil, err
1234 }
1235 return out, nil
1236}
1237
1238func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
1239 out := new(SelfTestResponse)
1240 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
1241 if err != nil {
1242 return nil, err
1243 }
1244 return out, nil
1245}
1246
1247func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
1248 out := new(omci.MibDeviceData)
1249 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
1250 if err != nil {
1251 return nil, err
1252 }
1253 return out, nil
1254}
1255
1256func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
1257 out := new(omci.AlarmDeviceData)
1258 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
1259 if err != nil {
1260 return nil, err
1261 }
1262 return out, nil
1263}
1264
1265func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
1266 out := new(common.OperationResp)
1267 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
1268 if err != nil {
1269 return nil, err
1270 }
1271 return out, nil
1272}
1273
kesavand4a002b02020-01-23 21:29:47 -05001274func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
1275 out := new(empty.Empty)
1276 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
1277 if err != nil {
1278 return nil, err
1279 }
1280 return out, nil
1281}
1282
1283func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
1284 out := new(empty.Empty)
1285 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
1286 if err != nil {
1287 return nil, err
1288 }
1289 return out, nil
1290}
1291
khenaidoo4c6543e2021-10-19 17:25:58 -04001292func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *extension.ValueSpecifier, opts ...grpc.CallOption) (*extension.ReturnValues, error) {
1293 out := new(extension.ReturnValues)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08001294 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
1295 if err != nil {
1296 return nil, err
1297 }
1298 return out, nil
1299}
1300
khenaidoo4c6543e2021-10-19 17:25:58 -04001301func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *extension.ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
dpaul2b52e712020-06-23 13:02:28 +05301302 out := new(empty.Empty)
1303 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
1304 if err != nil {
1305 return nil, err
1306 }
1307 return out, nil
1308}
1309
khenaidoo4c6543e2021-10-19 17:25:58 -04001310func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *omci.OmciTestRequest, opts ...grpc.CallOption) (*omci.TestResponse, error) {
1311 out := new(omci.TestResponse)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301312 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
1313 if err != nil {
1314 return nil, err
1315 }
1316 return out, nil
1317}
1318
yasin sapli2bbfbb42021-11-01 14:30:10 +00001319func (c *volthaServiceClient) PutVoipSystemProfile(ctx context.Context, in *voip_system_profile.VoipSystemProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1320 out := new(empty.Empty)
1321 err := c.cc.Invoke(ctx, "/voltha.VolthaService/PutVoipSystemProfile", in, out, opts...)
1322 if err != nil {
1323 return nil, err
1324 }
1325 return out, nil
1326}
1327
1328func (c *volthaServiceClient) DeleteVoipSystemProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error) {
1329 out := new(empty.Empty)
1330 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteVoipSystemProfile", in, out, opts...)
1331 if err != nil {
1332 return nil, err
1333 }
1334 return out, nil
1335}
1336
1337func (c *volthaServiceClient) PutVoipUserProfile(ctx context.Context, in *voip_user_profile.VoipUserProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1338 out := new(empty.Empty)
1339 err := c.cc.Invoke(ctx, "/voltha.VolthaService/PutVoipUserProfile", in, out, opts...)
1340 if err != nil {
1341 return nil, err
1342 }
1343 return out, nil
1344}
1345
1346func (c *volthaServiceClient) DeleteVoipUserProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error) {
1347 out := new(empty.Empty)
1348 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteVoipUserProfile", in, out, opts...)
1349 if err != nil {
1350 return nil, err
1351 }
1352 return out, nil
1353}
1354
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05301355func (c *volthaServiceClient) DisableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
1356 out := new(empty.Empty)
1357 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableOnuDevice", in, out, opts...)
1358 if err != nil {
1359 return nil, err
1360 }
1361 return out, nil
1362}
1363
1364func (c *volthaServiceClient) EnableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
1365 out := new(empty.Empty)
1366 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableOnuDevice", in, out, opts...)
1367 if err != nil {
1368 return nil, err
1369 }
1370 return out, nil
1371}
1372
1373func (c *volthaServiceClient) DisableOnuSerialNumber(ctx context.Context, in *OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*empty.Empty, error) {
1374 out := new(empty.Empty)
1375 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableOnuSerialNumber", in, out, opts...)
1376 if err != nil {
1377 return nil, err
1378 }
1379 return out, nil
1380}
1381
1382func (c *volthaServiceClient) EnableOnuSerialNumber(ctx context.Context, in *OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*empty.Empty, error) {
1383 out := new(empty.Empty)
1384 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableOnuSerialNumber", in, out, opts...)
1385 if err != nil {
1386 return nil, err
1387 }
1388 return out, nil
1389}
1390
Abhilash laxmeshwar62bb7ed2025-09-30 12:49:32 +05301391func (c *volthaServiceClient) UpdateDevice(ctx context.Context, in *UpdateDevice, opts ...grpc.CallOption) (*empty.Empty, error) {
1392 out := new(empty.Empty)
1393 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevice", in, out, opts...)
1394 if err != nil {
1395 return nil, err
1396 }
1397 return out, nil
1398}
1399
William Kurkian1b363f42019-03-12 15:28:12 -04001400// VolthaServiceServer is the server API for VolthaService service.
1401type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04001402 // Get high level information on the Voltha cluster
1403 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
1404 // List all Voltha cluster core instances
1405 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
1406 // Get details on a Voltha cluster instance
1407 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
1408 // List all active adapters (plugins) in the Voltha cluster
1409 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
1410 // List all logical devices managed by the Voltha cluster
1411 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
1412 // Get additional information on a given logical device
1413 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
1414 // List ports of a logical device
1415 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
1416 // Gets a logical device port
1417 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
1418 // Enables a logical device port
1419 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
1420 // Disables a logical device port
1421 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
1422 // List all flows of a logical device
1423 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
1424 // Update flow table for logical device
1425 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
1426 // Update meter table for logical device
1427 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001428 // List all meters of a logical device
1429 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001430 // List all flow groups of a logical device
1431 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
1432 // Update group table for device
1433 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
1434 // List all physical devices controlled by the Voltha cluster
1435 ListDevices(context.Context, *empty.Empty) (*Devices, error)
1436 // List all physical devices IDs controlled by the Voltha cluster
1437 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
1438 // Request to a voltha Core to reconcile a set of devices based on their IDs
1439 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
1440 // Get more information on a given physical device
1441 GetDevice(context.Context, *common.ID) (*Device, error)
1442 // Pre-provision a new physical device
1443 CreateDevice(context.Context, *Device) (*Device, error)
1444 // Enable a device. If the device was in pre-provisioned state then it
1445 // will transition to ENABLED state. If it was is DISABLED state then it
1446 // will transition to ENABLED state as well.
1447 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
1448 // Disable a device
1449 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
1450 // Reboot a device
1451 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
1452 // Delete a device
1453 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05301454 // Forcefully delete a device
1455 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001456 // Request an image download to the standby partition
1457 // of a device.
1458 // Note that the call is expected to be non-blocking.
1459 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
1460 // Get image download status on a device
1461 // The request retrieves progress on device and updates db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001462 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001463 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
1464 // Get image download db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001465 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001466 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
1467 // List image download db records for a given device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001468 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001469 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
1470 // Cancel an existing image download process on a device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001471 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001472 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
1473 // Activate the specified image at a standby partition
1474 // to active partition.
1475 // Depending on the device implementation, this call
1476 // may or may not cause device reboot.
1477 // If no reboot, then a reboot is required to make the
1478 // activated image running on device
1479 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001480 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001481 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
1482 // Revert the specified image at standby partition
1483 // to active partition, and revert to previous image
1484 // Depending on the device implementation, this call
1485 // may or may not cause device reboot.
1486 // If no reboot, then a reboot is required to make the
1487 // previous image running on device
1488 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001489 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001490 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001491 // Downloads a certain image to the standby partition of the devices
1492 // Note that the call is expected to be non-blocking.
1493 DownloadImageToDevice(context.Context, *DeviceImageDownloadRequest) (*DeviceImageResponse, error)
1494 // Get image status on a number of devices devices
1495 // Polled from northbound systems to get state of download/activate/commit
1496 GetImageStatus(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1497 // Aborts the upgrade of an image on a device
1498 // To be used carefully, stops any further operations for the Image on the given devices
1499 // Might also stop if possible existing work, but no guarantees are given,
1500 // depends on implementation and procedure status.
1501 AbortImageUpgradeToDevice(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1502 // Get Both Active and Standby image for a given device
1503 GetOnuImages(context.Context, *common.ID) (*OnuImages, error)
1504 // Activate the specified image from a standby partition
1505 // to active partition.
1506 // Depending on the device implementation, this call
1507 // may or may not cause device reboot.
1508 // If no reboot, then a reboot is required to make the
1509 // activated image running on device
1510 // Note that the call is expected to be non-blocking.
1511 ActivateImage(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1512 // Commit the specified image to be default.
1513 // Depending on the device implementation, this call
1514 // may or may not cause device reboot.
1515 // If no reboot, then a reboot is required to make the
1516 // activated image running on device upon next reboot
1517 // Note that the call is expected to be non-blocking.
1518 CommitImage(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001519 // List ports of a device
1520 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
1521 // List pm config of a device
1522 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
1523 // Update the pm config of a device
1524 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
1525 // List all flows of a device
1526 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
1527 // List all flow groups of a device
1528 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
1529 // List device types known to Voltha
1530 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
1531 // Get additional information on a device type
1532 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001533 // Stream control packets to the dataplane
1534 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
1535 // Receive control packet stream
1536 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
1537 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001538 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
1539 // Get all filters present for a device
1540 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
1541 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
1542 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
1543 // Get all the filters present
1544 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001545 GetImages(context.Context, *common.ID) (*Images, error)
1546 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
1547 // OpenOMCI MIB information
1548 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
1549 // OpenOMCI ALARM information
1550 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
1551 // Simulate an Alarm
1552 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
kesavand4a002b02020-01-23 21:29:47 -05001553 EnablePort(context.Context, *Port) (*empty.Empty, error)
1554 DisablePort(context.Context, *Port) (*empty.Empty, error)
khenaidoo4c6543e2021-10-19 17:25:58 -04001555 GetExtValue(context.Context, *extension.ValueSpecifier) (*extension.ReturnValues, error)
1556 SetExtValue(context.Context, *extension.ValueSet) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301557 // omci start and stop cli implementation
khenaidoo4c6543e2021-10-19 17:25:58 -04001558 StartOmciTestAction(context.Context, *omci.OmciTestRequest) (*omci.TestResponse, error)
yasin sapli2bbfbb42021-11-01 14:30:10 +00001559 // Saves or updates system wide configuration into voltha KV
1560 PutVoipSystemProfile(context.Context, *voip_system_profile.VoipSystemProfileRequest) (*empty.Empty, error)
1561 // Deletes the given profile from voltha KV
1562 DeleteVoipSystemProfile(context.Context, *common.Key) (*empty.Empty, error)
1563 // Saves or updates a profile (VOIP) into voltha KV
1564 PutVoipUserProfile(context.Context, *voip_user_profile.VoipUserProfileRequest) (*empty.Empty, error)
1565 // Deletes the given profile from voltha KV
1566 DeleteVoipUserProfile(context.Context, *common.Key) (*empty.Empty, error)
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05301567 // Disables the ONU, stops it from participating in the ranging process. different from DisableDevice
1568 DisableOnuDevice(context.Context, *common.ID) (*empty.Empty, error)
1569 // Enables the ONU at the PLOAM , enables the ONU to participate in the ranging process. different from EnableDevice
1570 EnableOnuDevice(context.Context, *common.ID) (*empty.Empty, error)
1571 // Disables the ONU at the PLOAM , different from DisableDevice. This would be used if the Device is not present in the VOLTHA
1572 DisableOnuSerialNumber(context.Context, *OnuSerialNumberOnOLTPon) (*empty.Empty, error)
1573 // Disables the ONU at the PLOAM , different from EnableDevice. This would be used if the Device is not present in the VOLTHA
1574 EnableOnuSerialNumber(context.Context, *OnuSerialNumberOnOLTPon) (*empty.Empty, error)
Abhilash laxmeshwar62bb7ed2025-09-30 12:49:32 +05301575 // Update the Device configuration, for now only ip address updation is supported
1576 UpdateDevice(context.Context, *UpdateDevice) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001577}
1578
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001579// UnimplementedVolthaServiceServer can be embedded to have forward compatible implementations.
1580type UnimplementedVolthaServiceServer struct {
1581}
1582
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001583func (*UnimplementedVolthaServiceServer) GetVoltha(ctx context.Context, req *empty.Empty) (*Voltha, error) {
1584 return nil, status.Errorf(codes.Unimplemented, "method GetVoltha not implemented")
1585}
1586func (*UnimplementedVolthaServiceServer) ListCoreInstances(ctx context.Context, req *empty.Empty) (*CoreInstances, error) {
1587 return nil, status.Errorf(codes.Unimplemented, "method ListCoreInstances not implemented")
1588}
1589func (*UnimplementedVolthaServiceServer) GetCoreInstance(ctx context.Context, req *common.ID) (*CoreInstance, error) {
1590 return nil, status.Errorf(codes.Unimplemented, "method GetCoreInstance not implemented")
1591}
1592func (*UnimplementedVolthaServiceServer) ListAdapters(ctx context.Context, req *empty.Empty) (*Adapters, error) {
1593 return nil, status.Errorf(codes.Unimplemented, "method ListAdapters not implemented")
1594}
1595func (*UnimplementedVolthaServiceServer) ListLogicalDevices(ctx context.Context, req *empty.Empty) (*LogicalDevices, error) {
1596 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevices not implemented")
1597}
1598func (*UnimplementedVolthaServiceServer) GetLogicalDevice(ctx context.Context, req *common.ID) (*LogicalDevice, error) {
1599 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevice not implemented")
1600}
1601func (*UnimplementedVolthaServiceServer) ListLogicalDevicePorts(ctx context.Context, req *common.ID) (*LogicalPorts, error) {
1602 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevicePorts not implemented")
1603}
1604func (*UnimplementedVolthaServiceServer) GetLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*LogicalPort, error) {
1605 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevicePort not implemented")
1606}
1607func (*UnimplementedVolthaServiceServer) EnableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
1608 return nil, status.Errorf(codes.Unimplemented, "method EnableLogicalDevicePort not implemented")
1609}
1610func (*UnimplementedVolthaServiceServer) DisableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
1611 return nil, status.Errorf(codes.Unimplemented, "method DisableLogicalDevicePort not implemented")
1612}
1613func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
1614 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlows not implemented")
1615}
1616func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowTable(ctx context.Context, req *openflow_13.FlowTableUpdate) (*empty.Empty, error) {
1617 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowTable not implemented")
1618}
1619func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceMeterTable(ctx context.Context, req *openflow_13.MeterModUpdate) (*empty.Empty, error) {
1620 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceMeterTable not implemented")
1621}
1622func (*UnimplementedVolthaServiceServer) ListLogicalDeviceMeters(ctx context.Context, req *common.ID) (*openflow_13.Meters, error) {
1623 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceMeters not implemented")
1624}
1625func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
1626 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlowGroups not implemented")
1627}
1628func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, req *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error) {
1629 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowGroupTable not implemented")
1630}
1631func (*UnimplementedVolthaServiceServer) ListDevices(ctx context.Context, req *empty.Empty) (*Devices, error) {
1632 return nil, status.Errorf(codes.Unimplemented, "method ListDevices not implemented")
1633}
1634func (*UnimplementedVolthaServiceServer) ListDeviceIds(ctx context.Context, req *empty.Empty) (*common.IDs, error) {
1635 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceIds not implemented")
1636}
1637func (*UnimplementedVolthaServiceServer) ReconcileDevices(ctx context.Context, req *common.IDs) (*empty.Empty, error) {
1638 return nil, status.Errorf(codes.Unimplemented, "method ReconcileDevices not implemented")
1639}
1640func (*UnimplementedVolthaServiceServer) GetDevice(ctx context.Context, req *common.ID) (*Device, error) {
1641 return nil, status.Errorf(codes.Unimplemented, "method GetDevice not implemented")
1642}
1643func (*UnimplementedVolthaServiceServer) CreateDevice(ctx context.Context, req *Device) (*Device, error) {
1644 return nil, status.Errorf(codes.Unimplemented, "method CreateDevice not implemented")
1645}
1646func (*UnimplementedVolthaServiceServer) EnableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1647 return nil, status.Errorf(codes.Unimplemented, "method EnableDevice not implemented")
1648}
1649func (*UnimplementedVolthaServiceServer) DisableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1650 return nil, status.Errorf(codes.Unimplemented, "method DisableDevice not implemented")
1651}
1652func (*UnimplementedVolthaServiceServer) RebootDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1653 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
1654}
1655func (*UnimplementedVolthaServiceServer) DeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1656 return nil, status.Errorf(codes.Unimplemented, "method DeleteDevice not implemented")
1657}
1658func (*UnimplementedVolthaServiceServer) ForceDeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1659 return nil, status.Errorf(codes.Unimplemented, "method ForceDeleteDevice not implemented")
1660}
1661func (*UnimplementedVolthaServiceServer) DownloadImage(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1662 return nil, status.Errorf(codes.Unimplemented, "method DownloadImage not implemented")
1663}
1664func (*UnimplementedVolthaServiceServer) GetImageDownloadStatus(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
1665 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownloadStatus not implemented")
1666}
1667func (*UnimplementedVolthaServiceServer) GetImageDownload(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
1668 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownload not implemented")
1669}
1670func (*UnimplementedVolthaServiceServer) ListImageDownloads(ctx context.Context, req *common.ID) (*ImageDownloads, error) {
1671 return nil, status.Errorf(codes.Unimplemented, "method ListImageDownloads not implemented")
1672}
1673func (*UnimplementedVolthaServiceServer) CancelImageDownload(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1674 return nil, status.Errorf(codes.Unimplemented, "method CancelImageDownload not implemented")
1675}
1676func (*UnimplementedVolthaServiceServer) ActivateImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1677 return nil, status.Errorf(codes.Unimplemented, "method ActivateImageUpdate not implemented")
1678}
1679func (*UnimplementedVolthaServiceServer) RevertImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1680 return nil, status.Errorf(codes.Unimplemented, "method RevertImageUpdate not implemented")
1681}
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001682func (*UnimplementedVolthaServiceServer) DownloadImageToDevice(ctx context.Context, req *DeviceImageDownloadRequest) (*DeviceImageResponse, error) {
1683 return nil, status.Errorf(codes.Unimplemented, "method DownloadImageToDevice not implemented")
1684}
1685func (*UnimplementedVolthaServiceServer) GetImageStatus(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1686 return nil, status.Errorf(codes.Unimplemented, "method GetImageStatus not implemented")
1687}
1688func (*UnimplementedVolthaServiceServer) AbortImageUpgradeToDevice(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1689 return nil, status.Errorf(codes.Unimplemented, "method AbortImageUpgradeToDevice not implemented")
1690}
1691func (*UnimplementedVolthaServiceServer) GetOnuImages(ctx context.Context, req *common.ID) (*OnuImages, error) {
1692 return nil, status.Errorf(codes.Unimplemented, "method GetOnuImages not implemented")
1693}
1694func (*UnimplementedVolthaServiceServer) ActivateImage(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1695 return nil, status.Errorf(codes.Unimplemented, "method ActivateImage not implemented")
1696}
1697func (*UnimplementedVolthaServiceServer) CommitImage(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1698 return nil, status.Errorf(codes.Unimplemented, "method CommitImage not implemented")
1699}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001700func (*UnimplementedVolthaServiceServer) ListDevicePorts(ctx context.Context, req *common.ID) (*Ports, error) {
1701 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePorts not implemented")
1702}
1703func (*UnimplementedVolthaServiceServer) ListDevicePmConfigs(ctx context.Context, req *common.ID) (*PmConfigs, error) {
1704 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePmConfigs not implemented")
1705}
1706func (*UnimplementedVolthaServiceServer) UpdateDevicePmConfigs(ctx context.Context, req *PmConfigs) (*empty.Empty, error) {
1707 return nil, status.Errorf(codes.Unimplemented, "method UpdateDevicePmConfigs not implemented")
1708}
1709func (*UnimplementedVolthaServiceServer) ListDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
1710 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlows not implemented")
1711}
1712func (*UnimplementedVolthaServiceServer) ListDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
1713 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlowGroups not implemented")
1714}
1715func (*UnimplementedVolthaServiceServer) ListDeviceTypes(ctx context.Context, req *empty.Empty) (*DeviceTypes, error) {
1716 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceTypes not implemented")
1717}
1718func (*UnimplementedVolthaServiceServer) GetDeviceType(ctx context.Context, req *common.ID) (*DeviceType, error) {
1719 return nil, status.Errorf(codes.Unimplemented, "method GetDeviceType not implemented")
1720}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001721func (*UnimplementedVolthaServiceServer) StreamPacketsOut(srv VolthaService_StreamPacketsOutServer) error {
1722 return status.Errorf(codes.Unimplemented, "method StreamPacketsOut not implemented")
1723}
1724func (*UnimplementedVolthaServiceServer) ReceivePacketsIn(req *empty.Empty, srv VolthaService_ReceivePacketsInServer) error {
1725 return status.Errorf(codes.Unimplemented, "method ReceivePacketsIn not implemented")
1726}
1727func (*UnimplementedVolthaServiceServer) ReceiveChangeEvents(req *empty.Empty, srv VolthaService_ReceiveChangeEventsServer) error {
1728 return status.Errorf(codes.Unimplemented, "method ReceiveChangeEvents not implemented")
1729}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001730func (*UnimplementedVolthaServiceServer) CreateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
1731 return nil, status.Errorf(codes.Unimplemented, "method CreateEventFilter not implemented")
1732}
1733func (*UnimplementedVolthaServiceServer) GetEventFilter(ctx context.Context, req *common.ID) (*EventFilters, error) {
1734 return nil, status.Errorf(codes.Unimplemented, "method GetEventFilter not implemented")
1735}
1736func (*UnimplementedVolthaServiceServer) UpdateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
1737 return nil, status.Errorf(codes.Unimplemented, "method UpdateEventFilter not implemented")
1738}
1739func (*UnimplementedVolthaServiceServer) DeleteEventFilter(ctx context.Context, req *EventFilter) (*empty.Empty, error) {
1740 return nil, status.Errorf(codes.Unimplemented, "method DeleteEventFilter not implemented")
1741}
1742func (*UnimplementedVolthaServiceServer) ListEventFilters(ctx context.Context, req *empty.Empty) (*EventFilters, error) {
1743 return nil, status.Errorf(codes.Unimplemented, "method ListEventFilters not implemented")
1744}
1745func (*UnimplementedVolthaServiceServer) GetImages(ctx context.Context, req *common.ID) (*Images, error) {
1746 return nil, status.Errorf(codes.Unimplemented, "method GetImages not implemented")
1747}
1748func (*UnimplementedVolthaServiceServer) SelfTest(ctx context.Context, req *common.ID) (*SelfTestResponse, error) {
1749 return nil, status.Errorf(codes.Unimplemented, "method SelfTest not implemented")
1750}
1751func (*UnimplementedVolthaServiceServer) GetMibDeviceData(ctx context.Context, req *common.ID) (*omci.MibDeviceData, error) {
1752 return nil, status.Errorf(codes.Unimplemented, "method GetMibDeviceData not implemented")
1753}
1754func (*UnimplementedVolthaServiceServer) GetAlarmDeviceData(ctx context.Context, req *common.ID) (*omci.AlarmDeviceData, error) {
1755 return nil, status.Errorf(codes.Unimplemented, "method GetAlarmDeviceData not implemented")
1756}
1757func (*UnimplementedVolthaServiceServer) SimulateAlarm(ctx context.Context, req *SimulateAlarmRequest) (*common.OperationResp, error) {
1758 return nil, status.Errorf(codes.Unimplemented, "method SimulateAlarm not implemented")
1759}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001760func (*UnimplementedVolthaServiceServer) EnablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
1761 return nil, status.Errorf(codes.Unimplemented, "method EnablePort not implemented")
1762}
1763func (*UnimplementedVolthaServiceServer) DisablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
1764 return nil, status.Errorf(codes.Unimplemented, "method DisablePort not implemented")
1765}
khenaidoo4c6543e2021-10-19 17:25:58 -04001766func (*UnimplementedVolthaServiceServer) GetExtValue(ctx context.Context, req *extension.ValueSpecifier) (*extension.ReturnValues, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001767 return nil, status.Errorf(codes.Unimplemented, "method GetExtValue not implemented")
1768}
khenaidoo4c6543e2021-10-19 17:25:58 -04001769func (*UnimplementedVolthaServiceServer) SetExtValue(ctx context.Context, req *extension.ValueSet) (*empty.Empty, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001770 return nil, status.Errorf(codes.Unimplemented, "method SetExtValue not implemented")
1771}
khenaidoo4c6543e2021-10-19 17:25:58 -04001772func (*UnimplementedVolthaServiceServer) StartOmciTestAction(ctx context.Context, req *omci.OmciTestRequest) (*omci.TestResponse, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001773 return nil, status.Errorf(codes.Unimplemented, "method StartOmciTestAction not implemented")
1774}
yasin sapli2bbfbb42021-11-01 14:30:10 +00001775func (*UnimplementedVolthaServiceServer) PutVoipSystemProfile(ctx context.Context, req *voip_system_profile.VoipSystemProfileRequest) (*empty.Empty, error) {
1776 return nil, status.Errorf(codes.Unimplemented, "method PutVoipSystemProfile not implemented")
1777}
1778func (*UnimplementedVolthaServiceServer) DeleteVoipSystemProfile(ctx context.Context, req *common.Key) (*empty.Empty, error) {
1779 return nil, status.Errorf(codes.Unimplemented, "method DeleteVoipSystemProfile not implemented")
1780}
1781func (*UnimplementedVolthaServiceServer) PutVoipUserProfile(ctx context.Context, req *voip_user_profile.VoipUserProfileRequest) (*empty.Empty, error) {
1782 return nil, status.Errorf(codes.Unimplemented, "method PutVoipUserProfile not implemented")
1783}
1784func (*UnimplementedVolthaServiceServer) DeleteVoipUserProfile(ctx context.Context, req *common.Key) (*empty.Empty, error) {
1785 return nil, status.Errorf(codes.Unimplemented, "method DeleteVoipUserProfile not implemented")
1786}
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05301787func (*UnimplementedVolthaServiceServer) DisableOnuDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1788 return nil, status.Errorf(codes.Unimplemented, "method DisableOnuDevice not implemented")
1789}
1790func (*UnimplementedVolthaServiceServer) EnableOnuDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1791 return nil, status.Errorf(codes.Unimplemented, "method EnableOnuDevice not implemented")
1792}
1793func (*UnimplementedVolthaServiceServer) DisableOnuSerialNumber(ctx context.Context, req *OnuSerialNumberOnOLTPon) (*empty.Empty, error) {
1794 return nil, status.Errorf(codes.Unimplemented, "method DisableOnuSerialNumber not implemented")
1795}
1796func (*UnimplementedVolthaServiceServer) EnableOnuSerialNumber(ctx context.Context, req *OnuSerialNumberOnOLTPon) (*empty.Empty, error) {
1797 return nil, status.Errorf(codes.Unimplemented, "method EnableOnuSerialNumber not implemented")
1798}
Abhilash laxmeshwar62bb7ed2025-09-30 12:49:32 +05301799func (*UnimplementedVolthaServiceServer) UpdateDevice(ctx context.Context, req *UpdateDevice) (*empty.Empty, error) {
1800 return nil, status.Errorf(codes.Unimplemented, "method UpdateDevice not implemented")
1801}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001802
William Kurkian1b363f42019-03-12 15:28:12 -04001803func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
1804 s.RegisterService(&_VolthaService_serviceDesc, srv)
1805}
1806
William Kurkian1b363f42019-03-12 15:28:12 -04001807func _VolthaService_GetVoltha_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).GetVoltha(ctx, in)
1814 }
1815 info := &grpc.UnaryServerInfo{
1816 Server: srv,
1817 FullMethod: "/voltha.VolthaService/GetVoltha",
1818 }
1819 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1820 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
1821 }
1822 return interceptor(ctx, in, info, handler)
1823}
1824
1825func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1826 in := new(empty.Empty)
1827 if err := dec(in); err != nil {
1828 return nil, err
1829 }
1830 if interceptor == nil {
1831 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
1832 }
1833 info := &grpc.UnaryServerInfo{
1834 Server: srv,
1835 FullMethod: "/voltha.VolthaService/ListCoreInstances",
1836 }
1837 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1838 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
1839 }
1840 return interceptor(ctx, in, info, handler)
1841}
1842
1843func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1844 in := new(common.ID)
1845 if err := dec(in); err != nil {
1846 return nil, err
1847 }
1848 if interceptor == nil {
1849 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
1850 }
1851 info := &grpc.UnaryServerInfo{
1852 Server: srv,
1853 FullMethod: "/voltha.VolthaService/GetCoreInstance",
1854 }
1855 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1856 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
1857 }
1858 return interceptor(ctx, in, info, handler)
1859}
1860
1861func _VolthaService_ListAdapters_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).ListAdapters(ctx, in)
1868 }
1869 info := &grpc.UnaryServerInfo{
1870 Server: srv,
1871 FullMethod: "/voltha.VolthaService/ListAdapters",
1872 }
1873 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1874 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
1875 }
1876 return interceptor(ctx, in, info, handler)
1877}
1878
1879func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1880 in := new(empty.Empty)
1881 if err := dec(in); err != nil {
1882 return nil, err
1883 }
1884 if interceptor == nil {
1885 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
1886 }
1887 info := &grpc.UnaryServerInfo{
1888 Server: srv,
1889 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
1890 }
1891 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1892 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
1893 }
1894 return interceptor(ctx, in, info, handler)
1895}
1896
1897func _VolthaService_GetLogicalDevice_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).GetLogicalDevice(ctx, in)
1904 }
1905 info := &grpc.UnaryServerInfo{
1906 Server: srv,
1907 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
1908 }
1909 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1910 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
1911 }
1912 return interceptor(ctx, in, info, handler)
1913}
1914
1915func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1916 in := new(common.ID)
1917 if err := dec(in); err != nil {
1918 return nil, err
1919 }
1920 if interceptor == nil {
1921 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
1922 }
1923 info := &grpc.UnaryServerInfo{
1924 Server: srv,
1925 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
1926 }
1927 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1928 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
1929 }
1930 return interceptor(ctx, in, info, handler)
1931}
1932
1933func _VolthaService_GetLogicalDevicePort_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).GetLogicalDevicePort(ctx, in)
1940 }
1941 info := &grpc.UnaryServerInfo{
1942 Server: srv,
1943 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
1944 }
1945 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1946 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
1947 }
1948 return interceptor(ctx, in, info, handler)
1949}
1950
1951func _VolthaService_EnableLogicalDevicePort_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).EnableLogicalDevicePort(ctx, in)
1958 }
1959 info := &grpc.UnaryServerInfo{
1960 Server: srv,
1961 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
1962 }
1963 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1964 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
1965 }
1966 return interceptor(ctx, in, info, handler)
1967}
1968
1969func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1970 in := new(LogicalPortId)
1971 if err := dec(in); err != nil {
1972 return nil, err
1973 }
1974 if interceptor == nil {
1975 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
1976 }
1977 info := &grpc.UnaryServerInfo{
1978 Server: srv,
1979 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
1980 }
1981 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1982 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
1983 }
1984 return interceptor(ctx, in, info, handler)
1985}
1986
1987func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1988 in := new(common.ID)
1989 if err := dec(in); err != nil {
1990 return nil, err
1991 }
1992 if interceptor == nil {
1993 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
1994 }
1995 info := &grpc.UnaryServerInfo{
1996 Server: srv,
1997 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
1998 }
1999 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2000 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
2001 }
2002 return interceptor(ctx, in, info, handler)
2003}
2004
2005func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2006 in := new(openflow_13.FlowTableUpdate)
2007 if err := dec(in); err != nil {
2008 return nil, err
2009 }
2010 if interceptor == nil {
2011 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
2012 }
2013 info := &grpc.UnaryServerInfo{
2014 Server: srv,
2015 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
2016 }
2017 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2018 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
2019 }
2020 return interceptor(ctx, in, info, handler)
2021}
2022
2023func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2024 in := new(openflow_13.MeterModUpdate)
2025 if err := dec(in); err != nil {
2026 return nil, err
2027 }
2028 if interceptor == nil {
2029 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
2030 }
2031 info := &grpc.UnaryServerInfo{
2032 Server: srv,
2033 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
2034 }
2035 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2036 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
2037 }
2038 return interceptor(ctx, in, info, handler)
2039}
2040
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002041func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002042 in := new(common.ID)
2043 if err := dec(in); err != nil {
2044 return nil, err
2045 }
2046 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002047 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002048 }
2049 info := &grpc.UnaryServerInfo{
2050 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002051 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04002052 }
2053 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002054 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04002055 }
2056 return interceptor(ctx, in, info, handler)
2057}
2058
2059func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2060 in := new(common.ID)
2061 if err := dec(in); err != nil {
2062 return nil, err
2063 }
2064 if interceptor == nil {
2065 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
2066 }
2067 info := &grpc.UnaryServerInfo{
2068 Server: srv,
2069 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
2070 }
2071 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2072 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
2073 }
2074 return interceptor(ctx, in, info, handler)
2075}
2076
2077func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2078 in := new(openflow_13.FlowGroupTableUpdate)
2079 if err := dec(in); err != nil {
2080 return nil, err
2081 }
2082 if interceptor == nil {
2083 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
2084 }
2085 info := &grpc.UnaryServerInfo{
2086 Server: srv,
2087 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
2088 }
2089 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2090 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
2091 }
2092 return interceptor(ctx, in, info, handler)
2093}
2094
2095func _VolthaService_ListDevices_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).ListDevices(ctx, in)
2102 }
2103 info := &grpc.UnaryServerInfo{
2104 Server: srv,
2105 FullMethod: "/voltha.VolthaService/ListDevices",
2106 }
2107 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2108 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
2109 }
2110 return interceptor(ctx, in, info, handler)
2111}
2112
2113func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2114 in := new(empty.Empty)
2115 if err := dec(in); err != nil {
2116 return nil, err
2117 }
2118 if interceptor == nil {
2119 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
2120 }
2121 info := &grpc.UnaryServerInfo{
2122 Server: srv,
2123 FullMethod: "/voltha.VolthaService/ListDeviceIds",
2124 }
2125 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2126 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
2127 }
2128 return interceptor(ctx, in, info, handler)
2129}
2130
2131func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2132 in := new(common.IDs)
2133 if err := dec(in); err != nil {
2134 return nil, err
2135 }
2136 if interceptor == nil {
2137 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
2138 }
2139 info := &grpc.UnaryServerInfo{
2140 Server: srv,
2141 FullMethod: "/voltha.VolthaService/ReconcileDevices",
2142 }
2143 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2144 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
2145 }
2146 return interceptor(ctx, in, info, handler)
2147}
2148
2149func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2150 in := new(common.ID)
2151 if err := dec(in); err != nil {
2152 return nil, err
2153 }
2154 if interceptor == nil {
2155 return srv.(VolthaServiceServer).GetDevice(ctx, in)
2156 }
2157 info := &grpc.UnaryServerInfo{
2158 Server: srv,
2159 FullMethod: "/voltha.VolthaService/GetDevice",
2160 }
2161 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2162 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
2163 }
2164 return interceptor(ctx, in, info, handler)
2165}
2166
2167func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2168 in := new(Device)
2169 if err := dec(in); err != nil {
2170 return nil, err
2171 }
2172 if interceptor == nil {
2173 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
2174 }
2175 info := &grpc.UnaryServerInfo{
2176 Server: srv,
2177 FullMethod: "/voltha.VolthaService/CreateDevice",
2178 }
2179 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2180 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
2181 }
2182 return interceptor(ctx, in, info, handler)
2183}
2184
2185func _VolthaService_EnableDevice_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).EnableDevice(ctx, in)
2192 }
2193 info := &grpc.UnaryServerInfo{
2194 Server: srv,
2195 FullMethod: "/voltha.VolthaService/EnableDevice",
2196 }
2197 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2198 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
2199 }
2200 return interceptor(ctx, in, info, handler)
2201}
2202
2203func _VolthaService_DisableDevice_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).DisableDevice(ctx, in)
2210 }
2211 info := &grpc.UnaryServerInfo{
2212 Server: srv,
2213 FullMethod: "/voltha.VolthaService/DisableDevice",
2214 }
2215 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2216 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
2217 }
2218 return interceptor(ctx, in, info, handler)
2219}
2220
2221func _VolthaService_RebootDevice_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).RebootDevice(ctx, in)
2228 }
2229 info := &grpc.UnaryServerInfo{
2230 Server: srv,
2231 FullMethod: "/voltha.VolthaService/RebootDevice",
2232 }
2233 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2234 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
2235 }
2236 return interceptor(ctx, in, info, handler)
2237}
2238
2239func _VolthaService_DeleteDevice_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).DeleteDevice(ctx, in)
2246 }
2247 info := &grpc.UnaryServerInfo{
2248 Server: srv,
2249 FullMethod: "/voltha.VolthaService/DeleteDevice",
2250 }
2251 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2252 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
2253 }
2254 return interceptor(ctx, in, info, handler)
2255}
2256
Himani Chawla503b7ce2020-10-07 13:20:03 +05302257func _VolthaService_ForceDeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2258 in := new(common.ID)
2259 if err := dec(in); err != nil {
2260 return nil, err
2261 }
2262 if interceptor == nil {
2263 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, in)
2264 }
2265 info := &grpc.UnaryServerInfo{
2266 Server: srv,
2267 FullMethod: "/voltha.VolthaService/ForceDeleteDevice",
2268 }
2269 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2270 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, req.(*common.ID))
2271 }
2272 return interceptor(ctx, in, info, handler)
2273}
2274
William Kurkian1b363f42019-03-12 15:28:12 -04002275func _VolthaService_DownloadImage_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).DownloadImage(ctx, in)
2282 }
2283 info := &grpc.UnaryServerInfo{
2284 Server: srv,
2285 FullMethod: "/voltha.VolthaService/DownloadImage",
2286 }
2287 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2288 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
2289 }
2290 return interceptor(ctx, in, info, handler)
2291}
2292
2293func _VolthaService_GetImageDownloadStatus_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).GetImageDownloadStatus(ctx, in)
2300 }
2301 info := &grpc.UnaryServerInfo{
2302 Server: srv,
2303 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
2304 }
2305 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2306 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
2307 }
2308 return interceptor(ctx, in, info, handler)
2309}
2310
2311func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2312 in := new(ImageDownload)
2313 if err := dec(in); err != nil {
2314 return nil, err
2315 }
2316 if interceptor == nil {
2317 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
2318 }
2319 info := &grpc.UnaryServerInfo{
2320 Server: srv,
2321 FullMethod: "/voltha.VolthaService/GetImageDownload",
2322 }
2323 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2324 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
2325 }
2326 return interceptor(ctx, in, info, handler)
2327}
2328
2329func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2330 in := new(common.ID)
2331 if err := dec(in); err != nil {
2332 return nil, err
2333 }
2334 if interceptor == nil {
2335 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
2336 }
2337 info := &grpc.UnaryServerInfo{
2338 Server: srv,
2339 FullMethod: "/voltha.VolthaService/ListImageDownloads",
2340 }
2341 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2342 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
2343 }
2344 return interceptor(ctx, in, info, handler)
2345}
2346
2347func _VolthaService_CancelImageDownload_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).CancelImageDownload(ctx, in)
2354 }
2355 info := &grpc.UnaryServerInfo{
2356 Server: srv,
2357 FullMethod: "/voltha.VolthaService/CancelImageDownload",
2358 }
2359 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2360 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
2361 }
2362 return interceptor(ctx, in, info, handler)
2363}
2364
2365func _VolthaService_ActivateImageUpdate_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).ActivateImageUpdate(ctx, in)
2372 }
2373 info := &grpc.UnaryServerInfo{
2374 Server: srv,
2375 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
2376 }
2377 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2378 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
2379 }
2380 return interceptor(ctx, in, info, handler)
2381}
2382
2383func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2384 in := new(ImageDownload)
2385 if err := dec(in); err != nil {
2386 return nil, err
2387 }
2388 if interceptor == nil {
2389 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
2390 }
2391 info := &grpc.UnaryServerInfo{
2392 Server: srv,
2393 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
2394 }
2395 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2396 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
2397 }
2398 return interceptor(ctx, in, info, handler)
2399}
2400
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01002401func _VolthaService_DownloadImageToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2402 in := new(DeviceImageDownloadRequest)
2403 if err := dec(in); err != nil {
2404 return nil, err
2405 }
2406 if interceptor == nil {
2407 return srv.(VolthaServiceServer).DownloadImageToDevice(ctx, in)
2408 }
2409 info := &grpc.UnaryServerInfo{
2410 Server: srv,
2411 FullMethod: "/voltha.VolthaService/DownloadImageToDevice",
2412 }
2413 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2414 return srv.(VolthaServiceServer).DownloadImageToDevice(ctx, req.(*DeviceImageDownloadRequest))
2415 }
2416 return interceptor(ctx, in, info, handler)
2417}
2418
2419func _VolthaService_GetImageStatus_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).GetImageStatus(ctx, in)
2426 }
2427 info := &grpc.UnaryServerInfo{
2428 Server: srv,
2429 FullMethod: "/voltha.VolthaService/GetImageStatus",
2430 }
2431 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2432 return srv.(VolthaServiceServer).GetImageStatus(ctx, req.(*DeviceImageRequest))
2433 }
2434 return interceptor(ctx, in, info, handler)
2435}
2436
2437func _VolthaService_AbortImageUpgradeToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2438 in := new(DeviceImageRequest)
2439 if err := dec(in); err != nil {
2440 return nil, err
2441 }
2442 if interceptor == nil {
2443 return srv.(VolthaServiceServer).AbortImageUpgradeToDevice(ctx, in)
2444 }
2445 info := &grpc.UnaryServerInfo{
2446 Server: srv,
2447 FullMethod: "/voltha.VolthaService/AbortImageUpgradeToDevice",
2448 }
2449 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2450 return srv.(VolthaServiceServer).AbortImageUpgradeToDevice(ctx, req.(*DeviceImageRequest))
2451 }
2452 return interceptor(ctx, in, info, handler)
2453}
2454
2455func _VolthaService_GetOnuImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2456 in := new(common.ID)
2457 if err := dec(in); err != nil {
2458 return nil, err
2459 }
2460 if interceptor == nil {
2461 return srv.(VolthaServiceServer).GetOnuImages(ctx, in)
2462 }
2463 info := &grpc.UnaryServerInfo{
2464 Server: srv,
2465 FullMethod: "/voltha.VolthaService/GetOnuImages",
2466 }
2467 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2468 return srv.(VolthaServiceServer).GetOnuImages(ctx, req.(*common.ID))
2469 }
2470 return interceptor(ctx, in, info, handler)
2471}
2472
2473func _VolthaService_ActivateImage_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).ActivateImage(ctx, in)
2480 }
2481 info := &grpc.UnaryServerInfo{
2482 Server: srv,
2483 FullMethod: "/voltha.VolthaService/ActivateImage",
2484 }
2485 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2486 return srv.(VolthaServiceServer).ActivateImage(ctx, req.(*DeviceImageRequest))
2487 }
2488 return interceptor(ctx, in, info, handler)
2489}
2490
2491func _VolthaService_CommitImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2492 in := new(DeviceImageRequest)
2493 if err := dec(in); err != nil {
2494 return nil, err
2495 }
2496 if interceptor == nil {
2497 return srv.(VolthaServiceServer).CommitImage(ctx, in)
2498 }
2499 info := &grpc.UnaryServerInfo{
2500 Server: srv,
2501 FullMethod: "/voltha.VolthaService/CommitImage",
2502 }
2503 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2504 return srv.(VolthaServiceServer).CommitImage(ctx, req.(*DeviceImageRequest))
2505 }
2506 return interceptor(ctx, in, info, handler)
2507}
2508
William Kurkian1b363f42019-03-12 15:28:12 -04002509func _VolthaService_ListDevicePorts_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).ListDevicePorts(ctx, in)
2516 }
2517 info := &grpc.UnaryServerInfo{
2518 Server: srv,
2519 FullMethod: "/voltha.VolthaService/ListDevicePorts",
2520 }
2521 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2522 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
2523 }
2524 return interceptor(ctx, in, info, handler)
2525}
2526
2527func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2528 in := new(common.ID)
2529 if err := dec(in); err != nil {
2530 return nil, err
2531 }
2532 if interceptor == nil {
2533 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
2534 }
2535 info := &grpc.UnaryServerInfo{
2536 Server: srv,
2537 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
2538 }
2539 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2540 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
2541 }
2542 return interceptor(ctx, in, info, handler)
2543}
2544
2545func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2546 in := new(PmConfigs)
2547 if err := dec(in); err != nil {
2548 return nil, err
2549 }
2550 if interceptor == nil {
2551 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
2552 }
2553 info := &grpc.UnaryServerInfo{
2554 Server: srv,
2555 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
2556 }
2557 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2558 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
2559 }
2560 return interceptor(ctx, in, info, handler)
2561}
2562
2563func _VolthaService_ListDeviceFlows_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).ListDeviceFlows(ctx, in)
2570 }
2571 info := &grpc.UnaryServerInfo{
2572 Server: srv,
2573 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
2574 }
2575 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2576 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
2577 }
2578 return interceptor(ctx, in, info, handler)
2579}
2580
2581func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2582 in := new(common.ID)
2583 if err := dec(in); err != nil {
2584 return nil, err
2585 }
2586 if interceptor == nil {
2587 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
2588 }
2589 info := &grpc.UnaryServerInfo{
2590 Server: srv,
2591 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
2592 }
2593 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2594 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
2595 }
2596 return interceptor(ctx, in, info, handler)
2597}
2598
2599func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2600 in := new(empty.Empty)
2601 if err := dec(in); err != nil {
2602 return nil, err
2603 }
2604 if interceptor == nil {
2605 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
2606 }
2607 info := &grpc.UnaryServerInfo{
2608 Server: srv,
2609 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
2610 }
2611 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2612 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
2613 }
2614 return interceptor(ctx, in, info, handler)
2615}
2616
2617func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2618 in := new(common.ID)
2619 if err := dec(in); err != nil {
2620 return nil, err
2621 }
2622 if interceptor == nil {
2623 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
2624 }
2625 info := &grpc.UnaryServerInfo{
2626 Server: srv,
2627 FullMethod: "/voltha.VolthaService/GetDeviceType",
2628 }
2629 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2630 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
2631 }
2632 return interceptor(ctx, in, info, handler)
2633}
2634
William Kurkian1b363f42019-03-12 15:28:12 -04002635func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
2636 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
2637}
2638
2639type VolthaService_StreamPacketsOutServer interface {
2640 SendAndClose(*empty.Empty) error
2641 Recv() (*openflow_13.PacketOut, error)
2642 grpc.ServerStream
2643}
2644
2645type volthaServiceStreamPacketsOutServer struct {
2646 grpc.ServerStream
2647}
2648
2649func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
2650 return x.ServerStream.SendMsg(m)
2651}
2652
2653func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
2654 m := new(openflow_13.PacketOut)
2655 if err := x.ServerStream.RecvMsg(m); err != nil {
2656 return nil, err
2657 }
2658 return m, nil
2659}
2660
2661func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
2662 m := new(empty.Empty)
2663 if err := stream.RecvMsg(m); err != nil {
2664 return err
2665 }
2666 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
2667}
2668
2669type VolthaService_ReceivePacketsInServer interface {
2670 Send(*openflow_13.PacketIn) error
2671 grpc.ServerStream
2672}
2673
2674type volthaServiceReceivePacketsInServer struct {
2675 grpc.ServerStream
2676}
2677
2678func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
2679 return x.ServerStream.SendMsg(m)
2680}
2681
2682func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
2683 m := new(empty.Empty)
2684 if err := stream.RecvMsg(m); err != nil {
2685 return err
2686 }
2687 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
2688}
2689
2690type VolthaService_ReceiveChangeEventsServer interface {
2691 Send(*openflow_13.ChangeEvent) error
2692 grpc.ServerStream
2693}
2694
2695type volthaServiceReceiveChangeEventsServer struct {
2696 grpc.ServerStream
2697}
2698
2699func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
2700 return x.ServerStream.SendMsg(m)
2701}
2702
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002703func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2704 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04002705 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).CreateEventFilter(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/CreateEventFilter",
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).CreateEventFilter(ctx, req.(*EventFilter))
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_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002722 in := new(common.ID)
2723 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).GetEventFilter(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/GetEventFilter",
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).GetEventFilter(ctx, req.(*common.ID))
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_UpdateEventFilter_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).UpdateEventFilter(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/UpdateEventFilter",
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).UpdateEventFilter(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_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2758 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04002759 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).DeleteEventFilter(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/DeleteEventFilter",
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).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04002771 }
2772 return interceptor(ctx, in, info, handler)
2773}
2774
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002775func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002776 in := new(empty.Empty)
2777 if err := dec(in); err != nil {
2778 return nil, err
2779 }
2780 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002781 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002782 }
2783 info := &grpc.UnaryServerInfo{
2784 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002785 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04002786 }
2787 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002788 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04002789 }
2790 return interceptor(ctx, in, info, handler)
2791}
2792
2793func _VolthaService_GetImages_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).GetImages(ctx, in)
2800 }
2801 info := &grpc.UnaryServerInfo{
2802 Server: srv,
2803 FullMethod: "/voltha.VolthaService/GetImages",
2804 }
2805 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2806 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
2807 }
2808 return interceptor(ctx, in, info, handler)
2809}
2810
2811func _VolthaService_SelfTest_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).SelfTest(ctx, in)
2818 }
2819 info := &grpc.UnaryServerInfo{
2820 Server: srv,
2821 FullMethod: "/voltha.VolthaService/SelfTest",
2822 }
2823 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2824 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
2825 }
2826 return interceptor(ctx, in, info, handler)
2827}
2828
2829func _VolthaService_GetMibDeviceData_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).GetMibDeviceData(ctx, in)
2836 }
2837 info := &grpc.UnaryServerInfo{
2838 Server: srv,
2839 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
2840 }
2841 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2842 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
2843 }
2844 return interceptor(ctx, in, info, handler)
2845}
2846
2847func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2848 in := new(common.ID)
2849 if err := dec(in); err != nil {
2850 return nil, err
2851 }
2852 if interceptor == nil {
2853 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
2854 }
2855 info := &grpc.UnaryServerInfo{
2856 Server: srv,
2857 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
2858 }
2859 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2860 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
2861 }
2862 return interceptor(ctx, in, info, handler)
2863}
2864
2865func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2866 in := new(SimulateAlarmRequest)
2867 if err := dec(in); err != nil {
2868 return nil, err
2869 }
2870 if interceptor == nil {
2871 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
2872 }
2873 info := &grpc.UnaryServerInfo{
2874 Server: srv,
2875 FullMethod: "/voltha.VolthaService/SimulateAlarm",
2876 }
2877 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2878 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
2879 }
2880 return interceptor(ctx, in, info, handler)
2881}
2882
kesavand4a002b02020-01-23 21:29:47 -05002883func _VolthaService_EnablePort_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).EnablePort(ctx, in)
2890 }
2891 info := &grpc.UnaryServerInfo{
2892 Server: srv,
2893 FullMethod: "/voltha.VolthaService/EnablePort",
2894 }
2895 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2896 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
2897 }
2898 return interceptor(ctx, in, info, handler)
2899}
2900
2901func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2902 in := new(Port)
2903 if err := dec(in); err != nil {
2904 return nil, err
2905 }
2906 if interceptor == nil {
2907 return srv.(VolthaServiceServer).DisablePort(ctx, in)
2908 }
2909 info := &grpc.UnaryServerInfo{
2910 Server: srv,
2911 FullMethod: "/voltha.VolthaService/DisablePort",
2912 }
2913 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2914 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
2915 }
2916 return interceptor(ctx, in, info, handler)
2917}
2918
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002919func _VolthaService_GetExtValue_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.ValueSpecifier)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002921 if err := dec(in); err != nil {
2922 return nil, err
2923 }
2924 if interceptor == nil {
2925 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
2926 }
2927 info := &grpc.UnaryServerInfo{
2928 Server: srv,
2929 FullMethod: "/voltha.VolthaService/GetExtValue",
2930 }
2931 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002932 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*extension.ValueSpecifier))
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002933 }
2934 return interceptor(ctx, in, info, handler)
2935}
2936
dpaul2b52e712020-06-23 13:02:28 +05302937func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002938 in := new(extension.ValueSet)
dpaul2b52e712020-06-23 13:02:28 +05302939 if err := dec(in); err != nil {
2940 return nil, err
2941 }
2942 if interceptor == nil {
2943 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
2944 }
2945 info := &grpc.UnaryServerInfo{
2946 Server: srv,
2947 FullMethod: "/voltha.VolthaService/SetExtValue",
2948 }
2949 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002950 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*extension.ValueSet))
dpaul2b52e712020-06-23 13:02:28 +05302951 }
2952 return interceptor(ctx, in, info, handler)
2953}
2954
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302955func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002956 in := new(omci.OmciTestRequest)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302957 if err := dec(in); err != nil {
2958 return nil, err
2959 }
2960 if interceptor == nil {
2961 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
2962 }
2963 info := &grpc.UnaryServerInfo{
2964 Server: srv,
2965 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
2966 }
2967 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002968 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*omci.OmciTestRequest))
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302969 }
2970 return interceptor(ctx, in, info, handler)
2971}
2972
yasin sapli2bbfbb42021-11-01 14:30:10 +00002973func _VolthaService_PutVoipSystemProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2974 in := new(voip_system_profile.VoipSystemProfileRequest)
2975 if err := dec(in); err != nil {
2976 return nil, err
2977 }
2978 if interceptor == nil {
2979 return srv.(VolthaServiceServer).PutVoipSystemProfile(ctx, in)
2980 }
2981 info := &grpc.UnaryServerInfo{
2982 Server: srv,
2983 FullMethod: "/voltha.VolthaService/PutVoipSystemProfile",
2984 }
2985 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2986 return srv.(VolthaServiceServer).PutVoipSystemProfile(ctx, req.(*voip_system_profile.VoipSystemProfileRequest))
2987 }
2988 return interceptor(ctx, in, info, handler)
2989}
2990
2991func _VolthaService_DeleteVoipSystemProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2992 in := new(common.Key)
2993 if err := dec(in); err != nil {
2994 return nil, err
2995 }
2996 if interceptor == nil {
2997 return srv.(VolthaServiceServer).DeleteVoipSystemProfile(ctx, in)
2998 }
2999 info := &grpc.UnaryServerInfo{
3000 Server: srv,
3001 FullMethod: "/voltha.VolthaService/DeleteVoipSystemProfile",
3002 }
3003 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3004 return srv.(VolthaServiceServer).DeleteVoipSystemProfile(ctx, req.(*common.Key))
3005 }
3006 return interceptor(ctx, in, info, handler)
3007}
3008
3009func _VolthaService_PutVoipUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3010 in := new(voip_user_profile.VoipUserProfileRequest)
3011 if err := dec(in); err != nil {
3012 return nil, err
3013 }
3014 if interceptor == nil {
3015 return srv.(VolthaServiceServer).PutVoipUserProfile(ctx, in)
3016 }
3017 info := &grpc.UnaryServerInfo{
3018 Server: srv,
3019 FullMethod: "/voltha.VolthaService/PutVoipUserProfile",
3020 }
3021 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3022 return srv.(VolthaServiceServer).PutVoipUserProfile(ctx, req.(*voip_user_profile.VoipUserProfileRequest))
3023 }
3024 return interceptor(ctx, in, info, handler)
3025}
3026
3027func _VolthaService_DeleteVoipUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3028 in := new(common.Key)
3029 if err := dec(in); err != nil {
3030 return nil, err
3031 }
3032 if interceptor == nil {
3033 return srv.(VolthaServiceServer).DeleteVoipUserProfile(ctx, in)
3034 }
3035 info := &grpc.UnaryServerInfo{
3036 Server: srv,
3037 FullMethod: "/voltha.VolthaService/DeleteVoipUserProfile",
3038 }
3039 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3040 return srv.(VolthaServiceServer).DeleteVoipUserProfile(ctx, req.(*common.Key))
3041 }
3042 return interceptor(ctx, in, info, handler)
3043}
3044
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05303045func _VolthaService_DisableOnuDevice_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).DisableOnuDevice(ctx, in)
3052 }
3053 info := &grpc.UnaryServerInfo{
3054 Server: srv,
3055 FullMethod: "/voltha.VolthaService/DisableOnuDevice",
3056 }
3057 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3058 return srv.(VolthaServiceServer).DisableOnuDevice(ctx, req.(*common.ID))
3059 }
3060 return interceptor(ctx, in, info, handler)
3061}
3062
3063func _VolthaService_EnableOnuDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3064 in := new(common.ID)
3065 if err := dec(in); err != nil {
3066 return nil, err
3067 }
3068 if interceptor == nil {
3069 return srv.(VolthaServiceServer).EnableOnuDevice(ctx, in)
3070 }
3071 info := &grpc.UnaryServerInfo{
3072 Server: srv,
3073 FullMethod: "/voltha.VolthaService/EnableOnuDevice",
3074 }
3075 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3076 return srv.(VolthaServiceServer).EnableOnuDevice(ctx, req.(*common.ID))
3077 }
3078 return interceptor(ctx, in, info, handler)
3079}
3080
3081func _VolthaService_DisableOnuSerialNumber_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).DisableOnuSerialNumber(ctx, in)
3088 }
3089 info := &grpc.UnaryServerInfo{
3090 Server: srv,
3091 FullMethod: "/voltha.VolthaService/DisableOnuSerialNumber",
3092 }
3093 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3094 return srv.(VolthaServiceServer).DisableOnuSerialNumber(ctx, req.(*OnuSerialNumberOnOLTPon))
3095 }
3096 return interceptor(ctx, in, info, handler)
3097}
3098
3099func _VolthaService_EnableOnuSerialNumber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3100 in := new(OnuSerialNumberOnOLTPon)
3101 if err := dec(in); err != nil {
3102 return nil, err
3103 }
3104 if interceptor == nil {
3105 return srv.(VolthaServiceServer).EnableOnuSerialNumber(ctx, in)
3106 }
3107 info := &grpc.UnaryServerInfo{
3108 Server: srv,
3109 FullMethod: "/voltha.VolthaService/EnableOnuSerialNumber",
3110 }
3111 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3112 return srv.(VolthaServiceServer).EnableOnuSerialNumber(ctx, req.(*OnuSerialNumberOnOLTPon))
3113 }
3114 return interceptor(ctx, in, info, handler)
3115}
3116
Abhilash laxmeshwar62bb7ed2025-09-30 12:49:32 +05303117func _VolthaService_UpdateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3118 in := new(UpdateDevice)
3119 if err := dec(in); err != nil {
3120 return nil, err
3121 }
3122 if interceptor == nil {
3123 return srv.(VolthaServiceServer).UpdateDevice(ctx, in)
3124 }
3125 info := &grpc.UnaryServerInfo{
3126 Server: srv,
3127 FullMethod: "/voltha.VolthaService/UpdateDevice",
3128 }
3129 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3130 return srv.(VolthaServiceServer).UpdateDevice(ctx, req.(*UpdateDevice))
3131 }
3132 return interceptor(ctx, in, info, handler)
3133}
3134
William Kurkian1b363f42019-03-12 15:28:12 -04003135var _VolthaService_serviceDesc = grpc.ServiceDesc{
3136 ServiceName: "voltha.VolthaService",
3137 HandlerType: (*VolthaServiceServer)(nil),
3138 Methods: []grpc.MethodDesc{
3139 {
William Kurkian1b363f42019-03-12 15:28:12 -04003140 MethodName: "GetVoltha",
3141 Handler: _VolthaService_GetVoltha_Handler,
3142 },
3143 {
3144 MethodName: "ListCoreInstances",
3145 Handler: _VolthaService_ListCoreInstances_Handler,
3146 },
3147 {
3148 MethodName: "GetCoreInstance",
3149 Handler: _VolthaService_GetCoreInstance_Handler,
3150 },
3151 {
3152 MethodName: "ListAdapters",
3153 Handler: _VolthaService_ListAdapters_Handler,
3154 },
3155 {
3156 MethodName: "ListLogicalDevices",
3157 Handler: _VolthaService_ListLogicalDevices_Handler,
3158 },
3159 {
3160 MethodName: "GetLogicalDevice",
3161 Handler: _VolthaService_GetLogicalDevice_Handler,
3162 },
3163 {
3164 MethodName: "ListLogicalDevicePorts",
3165 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
3166 },
3167 {
3168 MethodName: "GetLogicalDevicePort",
3169 Handler: _VolthaService_GetLogicalDevicePort_Handler,
3170 },
3171 {
3172 MethodName: "EnableLogicalDevicePort",
3173 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
3174 },
3175 {
3176 MethodName: "DisableLogicalDevicePort",
3177 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
3178 },
3179 {
3180 MethodName: "ListLogicalDeviceFlows",
3181 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
3182 },
3183 {
3184 MethodName: "UpdateLogicalDeviceFlowTable",
3185 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
3186 },
3187 {
3188 MethodName: "UpdateLogicalDeviceMeterTable",
3189 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
3190 },
3191 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003192 MethodName: "ListLogicalDeviceMeters",
3193 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003194 },
3195 {
3196 MethodName: "ListLogicalDeviceFlowGroups",
3197 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
3198 },
3199 {
3200 MethodName: "UpdateLogicalDeviceFlowGroupTable",
3201 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
3202 },
3203 {
3204 MethodName: "ListDevices",
3205 Handler: _VolthaService_ListDevices_Handler,
3206 },
3207 {
3208 MethodName: "ListDeviceIds",
3209 Handler: _VolthaService_ListDeviceIds_Handler,
3210 },
3211 {
3212 MethodName: "ReconcileDevices",
3213 Handler: _VolthaService_ReconcileDevices_Handler,
3214 },
3215 {
3216 MethodName: "GetDevice",
3217 Handler: _VolthaService_GetDevice_Handler,
3218 },
3219 {
3220 MethodName: "CreateDevice",
3221 Handler: _VolthaService_CreateDevice_Handler,
3222 },
3223 {
3224 MethodName: "EnableDevice",
3225 Handler: _VolthaService_EnableDevice_Handler,
3226 },
3227 {
3228 MethodName: "DisableDevice",
3229 Handler: _VolthaService_DisableDevice_Handler,
3230 },
3231 {
3232 MethodName: "RebootDevice",
3233 Handler: _VolthaService_RebootDevice_Handler,
3234 },
3235 {
3236 MethodName: "DeleteDevice",
3237 Handler: _VolthaService_DeleteDevice_Handler,
3238 },
3239 {
Himani Chawla503b7ce2020-10-07 13:20:03 +05303240 MethodName: "ForceDeleteDevice",
3241 Handler: _VolthaService_ForceDeleteDevice_Handler,
3242 },
3243 {
William Kurkian1b363f42019-03-12 15:28:12 -04003244 MethodName: "DownloadImage",
3245 Handler: _VolthaService_DownloadImage_Handler,
3246 },
3247 {
3248 MethodName: "GetImageDownloadStatus",
3249 Handler: _VolthaService_GetImageDownloadStatus_Handler,
3250 },
3251 {
3252 MethodName: "GetImageDownload",
3253 Handler: _VolthaService_GetImageDownload_Handler,
3254 },
3255 {
3256 MethodName: "ListImageDownloads",
3257 Handler: _VolthaService_ListImageDownloads_Handler,
3258 },
3259 {
3260 MethodName: "CancelImageDownload",
3261 Handler: _VolthaService_CancelImageDownload_Handler,
3262 },
3263 {
3264 MethodName: "ActivateImageUpdate",
3265 Handler: _VolthaService_ActivateImageUpdate_Handler,
3266 },
3267 {
3268 MethodName: "RevertImageUpdate",
3269 Handler: _VolthaService_RevertImageUpdate_Handler,
3270 },
3271 {
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01003272 MethodName: "DownloadImageToDevice",
3273 Handler: _VolthaService_DownloadImageToDevice_Handler,
3274 },
3275 {
3276 MethodName: "GetImageStatus",
3277 Handler: _VolthaService_GetImageStatus_Handler,
3278 },
3279 {
3280 MethodName: "AbortImageUpgradeToDevice",
3281 Handler: _VolthaService_AbortImageUpgradeToDevice_Handler,
3282 },
3283 {
3284 MethodName: "GetOnuImages",
3285 Handler: _VolthaService_GetOnuImages_Handler,
3286 },
3287 {
3288 MethodName: "ActivateImage",
3289 Handler: _VolthaService_ActivateImage_Handler,
3290 },
3291 {
3292 MethodName: "CommitImage",
3293 Handler: _VolthaService_CommitImage_Handler,
3294 },
3295 {
William Kurkian1b363f42019-03-12 15:28:12 -04003296 MethodName: "ListDevicePorts",
3297 Handler: _VolthaService_ListDevicePorts_Handler,
3298 },
3299 {
3300 MethodName: "ListDevicePmConfigs",
3301 Handler: _VolthaService_ListDevicePmConfigs_Handler,
3302 },
3303 {
3304 MethodName: "UpdateDevicePmConfigs",
3305 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
3306 },
3307 {
3308 MethodName: "ListDeviceFlows",
3309 Handler: _VolthaService_ListDeviceFlows_Handler,
3310 },
3311 {
3312 MethodName: "ListDeviceFlowGroups",
3313 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
3314 },
3315 {
3316 MethodName: "ListDeviceTypes",
3317 Handler: _VolthaService_ListDeviceTypes_Handler,
3318 },
3319 {
3320 MethodName: "GetDeviceType",
3321 Handler: _VolthaService_GetDeviceType_Handler,
3322 },
3323 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003324 MethodName: "CreateEventFilter",
3325 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003326 },
3327 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003328 MethodName: "GetEventFilter",
3329 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003330 },
3331 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003332 MethodName: "UpdateEventFilter",
3333 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003334 },
3335 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003336 MethodName: "DeleteEventFilter",
3337 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003338 },
3339 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003340 MethodName: "ListEventFilters",
3341 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003342 },
3343 {
3344 MethodName: "GetImages",
3345 Handler: _VolthaService_GetImages_Handler,
3346 },
3347 {
3348 MethodName: "SelfTest",
3349 Handler: _VolthaService_SelfTest_Handler,
3350 },
3351 {
3352 MethodName: "GetMibDeviceData",
3353 Handler: _VolthaService_GetMibDeviceData_Handler,
3354 },
3355 {
3356 MethodName: "GetAlarmDeviceData",
3357 Handler: _VolthaService_GetAlarmDeviceData_Handler,
3358 },
3359 {
3360 MethodName: "SimulateAlarm",
3361 Handler: _VolthaService_SimulateAlarm_Handler,
3362 },
3363 {
kesavand4a002b02020-01-23 21:29:47 -05003364 MethodName: "EnablePort",
3365 Handler: _VolthaService_EnablePort_Handler,
3366 },
3367 {
3368 MethodName: "DisablePort",
3369 Handler: _VolthaService_DisablePort_Handler,
3370 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303371 {
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003372 MethodName: "GetExtValue",
3373 Handler: _VolthaService_GetExtValue_Handler,
3374 },
3375 {
dpaul2b52e712020-06-23 13:02:28 +05303376 MethodName: "SetExtValue",
3377 Handler: _VolthaService_SetExtValue_Handler,
3378 },
3379 {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303380 MethodName: "StartOmciTestAction",
3381 Handler: _VolthaService_StartOmciTestAction_Handler,
3382 },
yasin sapli2bbfbb42021-11-01 14:30:10 +00003383 {
3384 MethodName: "PutVoipSystemProfile",
3385 Handler: _VolthaService_PutVoipSystemProfile_Handler,
3386 },
3387 {
3388 MethodName: "DeleteVoipSystemProfile",
3389 Handler: _VolthaService_DeleteVoipSystemProfile_Handler,
3390 },
3391 {
3392 MethodName: "PutVoipUserProfile",
3393 Handler: _VolthaService_PutVoipUserProfile_Handler,
3394 },
3395 {
3396 MethodName: "DeleteVoipUserProfile",
3397 Handler: _VolthaService_DeleteVoipUserProfile_Handler,
3398 },
Abhilash laxmeshware46f98e2025-06-23 20:33:29 +05303399 {
3400 MethodName: "DisableOnuDevice",
3401 Handler: _VolthaService_DisableOnuDevice_Handler,
3402 },
3403 {
3404 MethodName: "EnableOnuDevice",
3405 Handler: _VolthaService_EnableOnuDevice_Handler,
3406 },
3407 {
3408 MethodName: "DisableOnuSerialNumber",
3409 Handler: _VolthaService_DisableOnuSerialNumber_Handler,
3410 },
3411 {
3412 MethodName: "EnableOnuSerialNumber",
3413 Handler: _VolthaService_EnableOnuSerialNumber_Handler,
3414 },
Abhilash laxmeshwar62bb7ed2025-09-30 12:49:32 +05303415 {
3416 MethodName: "UpdateDevice",
3417 Handler: _VolthaService_UpdateDevice_Handler,
3418 },
William Kurkian1b363f42019-03-12 15:28:12 -04003419 },
3420 Streams: []grpc.StreamDesc{
3421 {
3422 StreamName: "StreamPacketsOut",
3423 Handler: _VolthaService_StreamPacketsOut_Handler,
3424 ClientStreams: true,
3425 },
3426 {
3427 StreamName: "ReceivePacketsIn",
3428 Handler: _VolthaService_ReceivePacketsIn_Handler,
3429 ServerStreams: true,
3430 },
3431 {
3432 StreamName: "ReceiveChangeEvents",
3433 Handler: _VolthaService_ReceiveChangeEvents_Handler,
3434 ServerStreams: true,
3435 },
3436 },
3437 Metadata: "voltha_protos/voltha.proto",
3438}