blob: bdb6775a5c8e50d2976167105bbc981ec559d402 [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{
yasin sapli2bbfbb42021-11-01 14:30:10 +0000315 // 2265 bytes of a gzipped FileDescriptorProto
316 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xeb, 0x6e, 0x1b, 0xc7,
317 0x15, 0xce, 0x2a, 0x89, 0x2f, 0xa3, 0x2b, 0x87, 0xba, 0x50, 0x24, 0x65, 0x4b, 0xe3, 0x9b, 0x4c,
318 0xdb, 0x4b, 0x5f, 0x93, 0x36, 0x69, 0x50, 0x38, 0xba, 0x55, 0x89, 0x0d, 0x09, 0xa4, 0x2d, 0xb7,
319 0x45, 0x1c, 0x62, 0xc9, 0x1d, 0xd2, 0x8b, 0x2c, 0x77, 0xd9, 0x9d, 0xa1, 0x64, 0x41, 0xf0, 0x9f,
320 0xb6, 0x01, 0x5c, 0x14, 0x45, 0x7f, 0xe4, 0x2d, 0xfa, 0xa3, 0xcf, 0xd0, 0x77, 0xe8, 0x2b, 0xf4,
321 0x41, 0x8a, 0x39, 0x33, 0x43, 0xee, 0x95, 0x22, 0xdd, 0x00, 0xfd, 0x63, 0x6a, 0xe6, 0x9c, 0xf9,
322 0xbe, 0x6f, 0xce, 0x9c, 0xb9, 0xae, 0x51, 0xf1, 0xd8, 0x77, 0xf9, 0x1b, 0xab, 0xd1, 0x0b, 0x7c,
323 0xee, 0xb3, 0xaa, 0x2c, 0x99, 0x50, 0xc2, 0x17, 0x64, 0xa9, 0x58, 0xee, 0xf8, 0x7e, 0xc7, 0xa5,
324 0x55, 0xab, 0xe7, 0x54, 0x2d, 0xcf, 0xf3, 0xb9, 0xc5, 0x1d, 0xdf, 0x63, 0xd2, 0xab, 0x58, 0x52,
325 0x56, 0x28, 0x35, 0xfb, 0xed, 0x2a, 0xed, 0xf6, 0xf8, 0xa9, 0x32, 0xc6, 0xe0, 0x5b, 0x7e, 0xb7,
326 0xeb, 0x7b, 0xe9, 0xb6, 0x37, 0xd4, 0x72, 0xf9, 0x1b, 0x65, 0x23, 0x51, 0x9b, 0xeb, 0x77, 0x9c,
327 0x96, 0xe5, 0x36, 0x6c, 0x7a, 0xec, 0xb4, 0x68, 0x7a, 0xfb, 0x88, 0xad, 0x14, 0xb5, 0x59, 0xb6,
328 0xd5, 0xe3, 0x34, 0x50, 0xc6, 0xab, 0x51, 0xa3, 0xdf, 0xa3, 0x5e, 0xdb, 0xf5, 0x4f, 0x1a, 0x0f,
329 0x1e, 0xa5, 0x23, 0xd3, 0x63, 0xea, 0x71, 0xdd, 0xdd, 0x2b, 0x31, 0xdb, 0x5b, 0x4e, 0x3d, 0x16,
330 0x0a, 0xc7, 0xad, 0x78, 0x40, 0x9d, 0x5e, 0x83, 0x9d, 0x32, 0x4e, 0xbb, 0xa2, 0xaa, 0xed, 0xb8,
331 0x5a, 0xe2, 0x8d, 0x14, 0xc7, 0x3e, 0xa3, 0x41, 0xcc, 0x2d, 0x2e, 0xb6, 0xdb, 0x72, 0x1a, 0x5d,
332 0xa7, 0xd9, 0xb0, 0x9b, 0xca, 0x61, 0x23, 0xc5, 0xc1, 0x72, 0xad, 0xa0, 0x3b, 0x74, 0x59, 0x4b,
333 0x71, 0xe1, 0x94, 0x71, 0x69, 0x26, 0xaf, 0xd1, 0xcc, 0x96, 0x1f, 0xd0, 0x7d, 0x8f, 0x71, 0xcb,
334 0x6b, 0x51, 0x7c, 0x15, 0x4d, 0x3b, 0xea, 0xef, 0x86, 0x63, 0x17, 0x8c, 0x75, 0x63, 0xf3, 0x72,
335 0x0d, 0xe9, 0xaa, 0x7d, 0x1b, 0xdf, 0x45, 0x17, 0xe4, 0x68, 0x15, 0xa6, 0xd6, 0x8d, 0xcd, 0xe9,
336 0x87, 0x8b, 0xa6, 0x1a, 0xbc, 0xdf, 0xc0, 0x4f, 0x9d, 0x5b, 0xbc, 0xcf, 0x6a, 0xca, 0x87, 0x7c,
337 0x89, 0x66, 0xc3, 0xf0, 0x0c, 0x57, 0xd0, 0xa7, 0x0e, 0xa7, 0x5d, 0x56, 0x30, 0xd6, 0x3f, 0x86,
338 0xd6, 0x2a, 0xeb, 0xc2, 0x5e, 0x35, 0xe9, 0x42, 0xfe, 0xf5, 0x31, 0xba, 0x70, 0x04, 0x66, 0x5c,
339 0x40, 0x17, 0x8f, 0x69, 0x20, 0x62, 0xad, 0x24, 0xe9, 0x22, 0xbe, 0x8b, 0x2e, 0xa9, 0x11, 0x66,
340 0x85, 0x29, 0xc0, 0x5c, 0x30, 0xf5, 0x90, 0x3f, 0x95, 0xbf, 0xb5, 0x81, 0x07, 0xde, 0x45, 0xf3,
341 0xd1, 0x7c, 0x62, 0x85, 0x8f, 0xa1, 0xd1, 0x9a, 0x19, 0xcb, 0xb3, 0x67, 0xb2, 0xb8, 0x0d, 0xa5,
342 0xda, 0x9c, 0x1b, 0x2e, 0x32, 0xbc, 0x89, 0x2e, 0xea, 0xf6, 0x9f, 0x40, 0xfb, 0x39, 0x53, 0xb5,
343 0x53, 0x0d, 0xb4, 0x19, 0x3f, 0x41, 0x33, 0xf2, 0xcf, 0x06, 0x3f, 0xed, 0x51, 0x56, 0xf8, 0x14,
344 0xdc, 0x71, 0xd4, 0xfd, 0xc5, 0x69, 0x8f, 0xd6, 0xa6, 0xed, 0xc1, 0xdf, 0x0c, 0x7f, 0x8e, 0x66,
345 0x21, 0xf5, 0x1a, 0x6d, 0xc7, 0x85, 0xbe, 0x5d, 0x54, 0xed, 0xa0, 0xd6, 0xdc, 0x11, 0xff, 0xee,
346 0x82, 0xa9, 0x36, 0x43, 0x87, 0x05, 0x86, 0x7f, 0x8d, 0x72, 0xc3, 0x3c, 0xb1, 0xb8, 0xd5, 0xb4,
347 0x18, 0x2d, 0x94, 0xa1, 0x71, 0xde, 0x14, 0x16, 0xf3, 0xb9, 0xd3, 0x94, 0xac, 0xdb, 0x16, 0xb7,
348 0x6a, 0xf3, 0xa2, 0x4e, 0x54, 0x29, 0x5f, 0xbc, 0x83, 0xf2, 0xe1, 0x3c, 0xd2, 0x10, 0x6b, 0x00,
349 0xb1, 0x24, 0x21, 0x9e, 0x0a, 0x5b, 0x08, 0x04, 0x28, 0x65, 0xa5, 0xf2, 0xff, 0xe6, 0x93, 0x4b,
350 0x17, 0x16, 0x2e, 0x3e, 0xfc, 0xe7, 0xe7, 0x68, 0x56, 0x0e, 0x61, 0x9d, 0x06, 0xc2, 0x1d, 0x6f,
351 0xa3, 0xcb, 0x7b, 0x94, 0xab, 0x61, 0x5d, 0x36, 0xe5, 0x02, 0x62, 0xea, 0x05, 0xc4, 0xdc, 0x11,
352 0x0b, 0x48, 0x71, 0x4e, 0xa7, 0x85, 0xf4, 0x23, 0xf3, 0x7f, 0xfc, 0xf7, 0x7f, 0x7e, 0x9a, 0xba,
353 0x8c, 0x2f, 0xc2, 0x3a, 0x74, 0xfc, 0x00, 0xbf, 0x46, 0xb9, 0x67, 0x0e, 0xe3, 0xd1, 0xdc, 0xca,
354 0x42, 0x5b, 0x4a, 0x4b, 0x32, 0x46, 0x56, 0x01, 0x34, 0x8f, 0x73, 0x0a, 0xb4, 0xea, 0x0c, 0x90,
355 0xea, 0x68, 0x7e, 0x8f, 0x46, 0xd0, 0x31, 0x32, 0xd5, 0x02, 0xb6, 0xbf, 0x5d, 0x4c, 0xcd, 0x5a,
356 0x72, 0x05, 0xf0, 0x0a, 0x78, 0x39, 0x81, 0x57, 0x3d, 0x73, 0xec, 0x77, 0xb8, 0x8e, 0x66, 0x84,
357 0xe6, 0xa7, 0x3a, 0x17, 0xb3, 0xe4, 0xe6, 0xe2, 0xf9, 0xcb, 0x48, 0x01, 0xa0, 0x31, 0x5e, 0xd0,
358 0xd0, 0x83, 0x84, 0xee, 0x22, 0x2c, 0x40, 0x9f, 0x45, 0xd3, 0x33, 0x0b, 0xfa, 0xca, 0xc8, 0x2c,
359 0x67, 0xe4, 0x2a, 0xf0, 0xac, 0xe2, 0x15, 0xcd, 0x13, 0x9b, 0x2c, 0xb8, 0x85, 0x16, 0xf6, 0x68,
360 0x94, 0x2d, 0x12, 0x99, 0xd1, 0xd3, 0x88, 0x5c, 0x07, 0xfc, 0x2b, 0xb8, 0x9c, 0x81, 0x2f, 0x03,
361 0xe5, 0xa1, 0xe5, 0x44, 0x9f, 0x0e, 0xfd, 0x80, 0xb3, 0x08, 0x55, 0x39, 0x83, 0x0a, 0x3c, 0x49,
362 0x05, 0x98, 0xae, 0x63, 0x32, 0x8a, 0xa9, 0xda, 0x03, 0xd4, 0xf7, 0x06, 0x5a, 0x8c, 0xf7, 0x4a,
363 0xa0, 0xe0, 0xb5, 0x11, 0x14, 0xfb, 0x76, 0xb1, 0x34, 0xc2, 0x4c, 0x1e, 0x83, 0x00, 0x13, 0xdf,
364 0x3d, 0x5f, 0x40, 0xf5, 0x4c, 0xfc, 0x34, 0x44, 0xd7, 0xff, 0x66, 0xa0, 0x95, 0x1d, 0xcf, 0x6a,
365 0xba, 0x74, 0x62, 0x35, 0x19, 0x63, 0x4e, 0xbe, 0x04, 0x21, 0x4f, 0xc8, 0xa3, 0x49, 0x84, 0x54,
366 0x29, 0x88, 0xc0, 0x7f, 0x37, 0x50, 0x61, 0xdb, 0x61, 0x3f, 0xab, 0xa0, 0x5f, 0x81, 0xa0, 0xcf,
367 0xc8, 0xe3, 0x89, 0x04, 0xd9, 0x52, 0x05, 0xb6, 0x53, 0x92, 0x63, 0xd7, 0xf5, 0x4f, 0xa2, 0xc9,
368 0x81, 0xcd, 0xf0, 0xce, 0x0e, 0xf6, 0x31, 0x53, 0xa2, 0x0d, 0x58, 0x7f, 0x32, 0x50, 0xf9, 0x65,
369 0xcf, 0xb6, 0x38, 0x4d, 0x10, 0xbd, 0x00, 0x19, 0xe5, 0x04, 0x01, 0xd4, 0xcb, 0x36, 0x99, 0x5d,
370 0xbf, 0x07, 0x12, 0x6e, 0x91, 0x31, 0x24, 0x7c, 0x61, 0x54, 0xf0, 0x9f, 0x0d, 0xb4, 0x96, 0xa2,
371 0xe2, 0x39, 0xe5, 0x34, 0x90, 0x32, 0x4a, 0x11, 0x19, 0x60, 0x78, 0xee, 0xdb, 0xe7, 0xa8, 0x30,
372 0x41, 0xc5, 0x26, 0xb9, 0x36, 0x52, 0x45, 0x57, 0x80, 0x81, 0x8c, 0x0e, 0x5a, 0x49, 0x84, 0x1c,
373 0xa8, 0xa2, 0x31, 0xcf, 0x27, 0xb5, 0x30, 0x72, 0x07, 0xb8, 0x6e, 0xe0, 0x71, 0xb8, 0x30, 0x47,
374 0xa5, 0xd4, 0xb1, 0xdd, 0x0b, 0xfc, 0x7e, 0x2f, 0x4a, 0xb6, 0x92, 0x88, 0xbf, 0x74, 0x22, 0xf7,
375 0x81, 0xb0, 0x82, 0x37, 0xcf, 0x0d, 0x71, 0xa3, 0x23, 0x61, 0x7f, 0x32, 0xd0, 0x46, 0xc6, 0x58,
376 0x03, 0xa6, 0x8c, 0xf4, 0x46, 0x3a, 0xe1, 0x38, 0xa3, 0xfe, 0x08, 0x24, 0xdd, 0x23, 0x63, 0x4b,
377 0x12, 0x41, 0x3f, 0x40, 0xd3, 0x22, 0x16, 0xe7, 0xad, 0xe8, 0xf3, 0xd1, 0x83, 0x04, 0x23, 0x2b,
378 0x40, 0x96, 0xc3, 0xf3, 0x9a, 0x4c, 0x2f, 0xdd, 0x07, 0x68, 0x76, 0x08, 0xb8, 0x6f, 0x67, 0x43,
379 0x4e, 0x0f, 0xc3, 0x9c, 0xb2, 0x49, 0x4a, 0x38, 0xc7, 0x66, 0xf8, 0x25, 0x5a, 0xa8, 0xd1, 0x96,
380 0xef, 0xb5, 0x1c, 0x97, 0x6a, 0x99, 0xe1, 0xb6, 0x99, 0xf1, 0x28, 0x03, 0xe6, 0x32, 0x49, 0x62,
381 0x8a, 0x8e, 0xef, 0xc0, 0x01, 0x21, 0x65, 0x6f, 0x89, 0x1d, 0xb1, 0x34, 0x0c, 0x5e, 0x8c, 0xf5,
382 0x54, 0x6e, 0x22, 0xdf, 0xa0, 0x99, 0xad, 0x80, 0x5a, 0x5c, 0x49, 0xc3, 0xb1, 0xd6, 0x09, 0xb4,
383 0x22, 0xa0, 0x2d, 0x92, 0x78, 0xdc, 0x84, 0xa4, 0x57, 0x68, 0x46, 0x2e, 0xca, 0x29, 0xaa, 0xb2,
384 0x3a, 0x79, 0x0d, 0xf0, 0xd6, 0x48, 0x29, 0x4d, 0x9d, 0x5e, 0x5e, 0x7f, 0x87, 0x66, 0xd5, 0xea,
385 0x3a, 0x01, 0xb2, 0xda, 0x44, 0x49, 0x39, 0x15, 0x59, 0xaf, 0x93, 0xaf, 0xd0, 0x4c, 0x8d, 0x36,
386 0x7d, 0x9f, 0xff, 0x6c, 0x9a, 0x03, 0x80, 0x13, 0xc0, 0xdb, 0xd4, 0xa5, 0xfc, 0x03, 0x82, 0x51,
387 0x49, 0x07, 0xb6, 0x01, 0x0e, 0x37, 0x51, 0x6e, 0xd7, 0x0f, 0x5a, 0x74, 0x62, 0xf4, 0xdb, 0x80,
388 0x7e, 0xad, 0xb2, 0x91, 0x8a, 0xde, 0x16, 0x98, 0x0d, 0xc5, 0xf1, 0x16, 0xcd, 0x6e, 0xfb, 0x27,
389 0x9e, 0xeb, 0x5b, 0xf6, 0x7e, 0xd7, 0xea, 0x50, 0xbc, 0xa4, 0xd3, 0x00, 0x8a, 0xda, 0x56, 0x5c,
390 0xd2, 0xb4, 0x07, 0x3d, 0x1a, 0xc0, 0x95, 0xb7, 0x46, 0x59, 0x8f, 0xfc, 0x12, 0x98, 0xee, 0x93,
391 0x3b, 0xa9, 0x4c, 0x8e, 0x80, 0x68, 0xd8, 0x0a, 0x83, 0x55, 0xcf, 0x3c, 0xab, 0x4b, 0xdf, 0x7d,
392 0x61, 0x54, 0xde, 0x4f, 0x19, 0xf8, 0x47, 0x03, 0x2d, 0xef, 0x51, 0x1e, 0xa1, 0x91, 0x97, 0xa5,
393 0x6c, 0x0d, 0x69, 0xd5, 0xe4, 0x2b, 0xd0, 0xf0, 0x18, 0x3f, 0x9c, 0x40, 0x43, 0x95, 0x01, 0x93,
394 0xd0, 0xf1, 0x16, 0x4e, 0x70, 0x11, 0xc8, 0x09, 0x05, 0x7c, 0x26, 0x97, 0x33, 0x3c, 0x49, 0x10,
395 0x04, 0xb3, 0x23, 0x8f, 0xaa, 0x11, 0x30, 0x16, 0x1b, 0xe0, 0x34, 0x42, 0x46, 0xaa, 0xc0, 0x78,
396 0x13, 0x5f, 0x1f, 0x87, 0x51, 0x50, 0x9d, 0xa1, 0xfc, 0x96, 0x38, 0x79, 0xbb, 0x63, 0xf6, 0x33,
397 0x75, 0xb0, 0x55, 0x3f, 0x2b, 0x93, 0xf6, 0xf3, 0xaf, 0x06, 0xca, 0x3f, 0x6d, 0x71, 0xe7, 0xd8,
398 0xe2, 0x14, 0x88, 0xe4, 0xf6, 0x30, 0x21, 0xfb, 0x2e, 0xb0, 0x7f, 0x45, 0x7e, 0x31, 0xc9, 0x30,
399 0xcb, 0xea, 0x3e, 0xf0, 0xa9, 0xbc, 0xfb, 0x8b, 0x81, 0x72, 0x35, 0x7a, 0x4c, 0x03, 0xfe, 0x7f,
400 0xd1, 0x12, 0x00, 0xb5, 0xd2, 0xf2, 0xde, 0x40, 0x4b, 0x91, 0xe9, 0xf7, 0xc2, 0x57, 0xd3, 0x9c,
401 0x44, 0x57, 0xe3, 0x88, 0xaa, 0x1a, 0xfd, 0x43, 0x9f, 0x32, 0x5e, 0x2c, 0xa5, 0xf8, 0x08, 0x79,
402 0xbe, 0xc7, 0xa8, 0x3e, 0xd3, 0xe0, 0x9b, 0x71, 0x89, 0x20, 0x83, 0x55, 0xb5, 0xbc, 0x86, 0x2c,
403 0xe3, 0x13, 0x34, 0xa7, 0xa7, 0x81, 0x9a, 0x85, 0xc5, 0x54, 0xf8, 0x31, 0xa8, 0xef, 0x66, 0x65,
404 0xa7, 0xa2, 0x96, 0x3f, 0x0d, 0x39, 0x05, 0xc5, 0x78, 0xac, 0x3e, 0x6d, 0xfa, 0x83, 0xe1, 0xe8,
405 0x04, 0x96, 0x3d, 0x8c, 0xc3, 0x07, 0x8b, 0x78, 0x94, 0x35, 0x29, 0x95, 0x08, 0x4b, 0x50, 0x36,
406 0xfa, 0x92, 0x4e, 0x07, 0xe1, 0x08, 0xcd, 0xec, 0x51, 0x7e, 0xe0, 0xf5, 0xf7, 0x65, 0x39, 0x3c,
407 0x17, 0x73, 0x9a, 0x6d, 0x60, 0x26, 0xb7, 0x80, 0x63, 0x03, 0x5f, 0x4d, 0x4d, 0x03, 0xdf, 0xeb,
408 0x6b, 0xdc, 0x33, 0x34, 0x1b, 0x99, 0x00, 0x1f, 0xde, 0xad, 0x07, 0x40, 0x79, 0x87, 0x64, 0x0d,
409 0xab, 0xa5, 0x68, 0x14, 0xb3, 0xd8, 0xac, 0x4f, 0xd0, 0xf4, 0x96, 0xdf, 0xed, 0x3a, 0xfc, 0x7f,
410 0xa4, 0x96, 0x8b, 0xce, 0x6d, 0x92, 0x35, 0xac, 0x2d, 0x20, 0x09, 0x11, 0x1f, 0xa2, 0xf9, 0xe1,
411 0x01, 0x2b, 0x79, 0x5f, 0x9d, 0xd5, 0x64, 0xf2, 0x82, 0x4a, 0x00, 0xbe, 0x8c, 0x8b, 0xa9, 0xc1,
412 0x94, 0x17, 0xd3, 0xd7, 0x28, 0x1f, 0x42, 0xec, 0x6e, 0xf9, 0x5e, 0xdb, 0xe9, 0x64, 0x0c, 0xd3,
413 0xc0, 0x7c, 0xce, 0x30, 0xf5, 0xba, 0x8d, 0x96, 0xc2, 0xf1, 0xd0, 0x92, 0x5c, 0x0e, 0xe2, 0x04,
414 0x49, 0xd0, 0xcc, 0xbd, 0x57, 0x5d, 0xaa, 0xc8, 0x79, 0x64, 0x22, 0x40, 0x2f, 0xc3, 0x01, 0x1a,
415 0xef, 0xce, 0x36, 0x3a, 0x4a, 0xf2, 0xae, 0x46, 0xd1, 0x62, 0x14, 0x76, 0x92, 0xeb, 0xc2, 0x26,
416 0x10, 0x10, 0xbc, 0x9e, 0x49, 0xa0, 0xaf, 0x09, 0xdf, 0x85, 0xd5, 0xcb, 0x47, 0xba, 0xac, 0x13,
417 0x74, 0x3e, 0xf9, 0xba, 0xc7, 0xb2, 0x8e, 0xab, 0xf2, 0x59, 0x10, 0xd7, 0xd0, 0xec, 0xe0, 0xd4,
418 0x2b, 0xfc, 0x63, 0x91, 0x49, 0xe0, 0x91, 0x0d, 0x80, 0x2b, 0xe1, 0xd5, 0x34, 0x38, 0x79, 0x04,
419 0xde, 0x45, 0x0b, 0x75, 0x1e, 0x50, 0xab, 0x7b, 0x68, 0xb5, 0x7e, 0xa0, 0x9c, 0x1d, 0xf4, 0x39,
420 0x5e, 0x8e, 0x04, 0x42, 0x1a, 0x0e, 0xfa, 0x3c, 0x73, 0x7c, 0x3f, 0xda, 0x34, 0xf0, 0x0e, 0x1c,
421 0xf4, 0xa9, 0x73, 0x4c, 0x15, 0xd0, 0xbe, 0x37, 0xe2, 0xad, 0x2d, 0x89, 0xbf, 0xef, 0x91, 0x8f,
422 0xee, 0x1b, 0xf8, 0x5b, 0x94, 0x57, 0x30, 0x5b, 0x6f, 0x2c, 0xaf, 0x43, 0xe1, 0x0d, 0x33, 0x3b,
423 0x88, 0x85, 0x08, 0x52, 0xa8, 0x09, 0x80, 0xbd, 0x46, 0x39, 0x79, 0xbc, 0x0f, 0xbd, 0x84, 0xe2,
424 0x94, 0xd7, 0xd1, 0x62, 0x4a, 0x1d, 0x59, 0x87, 0xd8, 0x15, 0xc9, 0x92, 0x8e, 0x5d, 0xe4, 0xa9,
425 0x55, 0xa6, 0xaa, 0xd8, 0x1e, 0xc2, 0xd8, 0xd1, 0x9b, 0x6e, 0x02, 0x33, 0x25, 0x55, 0x23, 0xa0,
426 0x72, 0x44, 0x9a, 0x28, 0x27, 0x67, 0xdc, 0x87, 0xa8, 0xbe, 0x01, 0x04, 0x57, 0x8b, 0x23, 0x08,
427 0x84, 0xf4, 0x16, 0xca, 0xc9, 0x13, 0xf4, 0x79, 0x1c, 0x59, 0x43, 0xae, 0x3a, 0x52, 0x19, 0xd5,
428 0x91, 0xef, 0xd1, 0x82, 0x98, 0x0c, 0xe1, 0x00, 0x8c, 0x98, 0x0d, 0x29, 0xd1, 0x5a, 0x03, 0x92,
429 0x15, 0x9c, 0x3e, 0x04, 0xf8, 0x19, 0x5c, 0x02, 0x53, 0xb6, 0xa5, 0xb9, 0xc8, 0xc1, 0x85, 0xe9,
430 0x9b, 0x05, 0x2e, 0x65, 0x1f, 0x4d, 0x18, 0xfe, 0x2d, 0xba, 0x54, 0xa7, 0x6e, 0xfb, 0x05, 0x65,
431 0x3c, 0x02, 0x56, 0xd0, 0x60, 0xda, 0x3a, 0x58, 0xfc, 0x6f, 0x02, 0xec, 0x3a, 0xb9, 0x92, 0x0a,
432 0xcb, 0xa8, 0xdb, 0x86, 0x8f, 0x28, 0xf8, 0x08, 0x4e, 0xd3, 0x91, 0x17, 0xf5, 0xf8, 0x9b, 0x48,
433 0xe2, 0xc9, 0x3d, 0x39, 0x75, 0x45, 0xa2, 0x0b, 0x3f, 0xf5, 0x18, 0xe2, 0x34, 0xf1, 0x77, 0x08,
434 0xef, 0x51, 0x1e, 0x7b, 0x66, 0x8f, 0x20, 0xa7, 0xbf, 0xc4, 0x27, 0xe3, 0x11, 0xc5, 0x86, 0x47,
435 0x7d, 0xcc, 0xd0, 0x6c, 0xdd, 0xe9, 0xf6, 0x5d, 0x8b, 0x53, 0x68, 0x8f, 0xcb, 0x83, 0x40, 0x84,
436 0xab, 0xf5, 0x36, 0x99, 0x71, 0x2a, 0x4c, 0x3c, 0x66, 0x45, 0x63, 0xa4, 0x90, 0x1a, 0x02, 0x49,
437 0xe4, 0xe5, 0x73, 0x84, 0xe4, 0x25, 0x1a, 0xde, 0x0e, 0x67, 0xc2, 0xbb, 0x61, 0x66, 0x2a, 0xaa,
438 0xd7, 0x07, 0x32, 0x27, 0xe0, 0x87, 0xad, 0xd5, 0xfb, 0x88, 0xba, 0x3a, 0x4f, 0x80, 0x37, 0xbc,
439 0xe4, 0x1f, 0x3f, 0xa8, 0x86, 0x9a, 0x0b, 0xc0, 0xef, 0xd1, 0xb4, 0x98, 0xf2, 0x6f, 0xf9, 0x91,
440 0xe5, 0xf6, 0x29, 0x5e, 0x35, 0x07, 0x9f, 0xf7, 0x4c, 0xa8, 0xa9, 0xf7, 0x68, 0xcb, 0x69, 0x3b,
441 0x34, 0x28, 0xae, 0x84, 0x4c, 0x35, 0xca, 0xfb, 0x81, 0x07, 0x0e, 0x8c, 0x94, 0x00, 0x7e, 0x09,
442 0xe7, 0x75, 0x44, 0xc2, 0x80, 0xaf, 0xd0, 0x74, 0x3d, 0x54, 0xcc, 0x27, 0xf0, 0x69, 0xb6, 0xee,
443 0x04, 0x70, 0x18, 0xc9, 0x46, 0xf9, 0x3a, 0xb7, 0x02, 0x7e, 0xd0, 0x6d, 0x39, 0x22, 0x89, 0xc5,
444 0xd1, 0xcb, 0xf7, 0xb0, 0x4a, 0x10, 0x5d, 0xab, 0x07, 0x13, 0xcb, 0xea, 0x48, 0xb6, 0xab, 0x19,
445 0x4f, 0x06, 0xcf, 0xfe, 0x4c, 0xe0, 0x35, 0x06, 0xdf, 0x0a, 0x45, 0x78, 0x7e, 0x34, 0xd0, 0xe2,
446 0x61, 0x9f, 0x1f, 0xf9, 0x4e, 0xaf, 0x0e, 0x9f, 0x34, 0x0f, 0xe5, 0xa7, 0x4a, 0x7c, 0xcf, 0x4c,
447 0xfb, 0xce, 0x99, 0xf0, 0xd3, 0xfc, 0x59, 0x5d, 0xd4, 0x33, 0x6e, 0x90, 0xb8, 0x29, 0xa8, 0x42,
448 0x47, 0x0f, 0xad, 0xc8, 0xe5, 0x2d, 0xa9, 0x64, 0xf0, 0xf8, 0xf4, 0x2d, 0x3d, 0xcd, 0xe4, 0x51,
449 0xef, 0x83, 0x95, 0xcd, 0x11, 0x3c, 0xd5, 0xb3, 0x1f, 0xe8, 0xe9, 0xe0, 0x5d, 0xe2, 0x1d, 0xc2,
450 0xaa, 0xe3, 0x2f, 0x19, 0x0d, 0x34, 0xd9, 0x6d, 0x33, 0xf9, 0xd5, 0x36, 0xe6, 0x73, 0x5e, 0x97,
451 0xf5, 0x43, 0xce, 0x6a, 0x44, 0x4a, 0x18, 0x51, 0x74, 0xd8, 0x45, 0x4b, 0xc3, 0x0e, 0x87, 0x15,
452 0x8c, 0xd5, 0x5d, 0x75, 0x2f, 0xaa, 0xdc, 0xcc, 0xe4, 0x88, 0x74, 0xf6, 0x6b, 0x17, 0xe5, 0xfd,
453 0xa0, 0x03, 0x5b, 0x6f, 0xcb, 0x0f, 0x6c, 0xf5, 0xa1, 0xeb, 0xeb, 0x19, 0xf9, 0x21, 0xee, 0x10,
454 0x3e, 0x22, 0xff, 0xde, 0xec, 0x38, 0xfc, 0x4d, 0xbf, 0x29, 0xf8, 0xab, 0xda, 0x53, 0xfd, 0xf7,
455 0x81, 0x7b, 0xfa, 0x93, 0xf6, 0x93, 0x6a, 0xc7, 0x57, 0x75, 0xff, 0x98, 0x5a, 0x3e, 0xd0, 0x78,
456 0x47, 0xe1, 0xef, 0x7a, 0x87, 0x53, 0xcd, 0x0b, 0xe0, 0xff, 0xe8, 0xbf, 0x01, 0x00, 0x00, 0xff,
457 0xff, 0xda, 0x32, 0x13, 0xef, 0x8c, 0x20, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400458}
459
460// Reference imports to suppress errors if they are not otherwise used.
461var _ context.Context
462var _ grpc.ClientConn
463
464// This is a compile-time assertion to ensure that this generated file
465// is compatible with the grpc package it is being compiled against.
466const _ = grpc.SupportPackageIsVersion4
467
468// VolthaServiceClient is the client API for VolthaService service.
469//
470// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
471type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -0400472 // Get high level information on the Voltha cluster
473 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
474 // List all Voltha cluster core instances
475 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
476 // Get details on a Voltha cluster instance
477 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
478 // List all active adapters (plugins) in the Voltha cluster
479 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
480 // List all logical devices managed by the Voltha cluster
481 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
482 // Get additional information on a given logical device
483 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
484 // List ports of a logical device
485 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
486 // Gets a logical device port
487 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
488 // Enables a logical device port
489 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
490 // Disables a logical device port
491 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
492 // List all flows of a logical device
493 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
494 // Update flow table for logical device
495 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
496 // Update meter table for logical device
497 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400498 // List all meters of a logical device
499 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400500 // List all flow groups of a logical device
501 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
502 // Update group table for device
503 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
504 // List all physical devices controlled by the Voltha cluster
505 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
506 // List all physical devices IDs controlled by the Voltha cluster
507 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
508 // Request to a voltha Core to reconcile a set of devices based on their IDs
509 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
510 // Get more information on a given physical device
511 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
512 // Pre-provision a new physical device
513 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
514 // Enable a device. If the device was in pre-provisioned state then it
515 // will transition to ENABLED state. If it was is DISABLED state then it
516 // will transition to ENABLED state as well.
517 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
518 // Disable a device
519 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
520 // Reboot a device
521 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
522 // Delete a device
523 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +0530524 // Forcefully delete a device
525 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400526 // Request an image download to the standby partition
527 // of a device.
528 // Note that the call is expected to be non-blocking.
529 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
530 // Get image download status on a device
531 // The request retrieves progress on device and updates db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100532 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400533 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
534 // Get image download db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100535 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400536 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
537 // List image download db records for a given device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100538 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400539 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
540 // Cancel an existing image download process on a device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100541 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400542 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
543 // Activate the specified image at a standby partition
544 // to active partition.
545 // Depending on the device implementation, this call
546 // may or may not cause device reboot.
547 // If no reboot, then a reboot is required to make the
548 // activated image running on device
549 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100550 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400551 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
552 // Revert the specified image at standby partition
553 // to active partition, and revert to previous image
554 // Depending on the device implementation, this call
555 // may or may not cause device reboot.
556 // If no reboot, then a reboot is required to make the
557 // previous image running on device
558 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100559 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -0400560 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100561 // Downloads a certain image to the standby partition of the devices
562 // Note that the call is expected to be non-blocking.
563 DownloadImageToDevice(ctx context.Context, in *DeviceImageDownloadRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
564 // Get image status on a number of devices devices
565 // Polled from northbound systems to get state of download/activate/commit
566 GetImageStatus(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
567 // Aborts the upgrade of an image on a device
568 // To be used carefully, stops any further operations for the Image on the given devices
569 // Might also stop if possible existing work, but no guarantees are given,
570 // depends on implementation and procedure status.
571 AbortImageUpgradeToDevice(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
572 // Get Both Active and Standby image for a given device
573 GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*OnuImages, error)
574 // Activate the specified image from a standby partition
575 // to active partition.
576 // Depending on the device implementation, this call
577 // may or may not cause device reboot.
578 // If no reboot, then a reboot is required to make the
579 // activated image running on device
580 // Note that the call is expected to be non-blocking.
581 ActivateImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
582 // Commit the specified image to be default.
583 // Depending on the device implementation, this call
584 // may or may not cause device reboot.
585 // If no reboot, then a reboot is required to make the
586 // activated image running on device upon next reboot
587 // Note that the call is expected to be non-blocking.
588 CommitImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400589 // List ports of a device
590 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
591 // List pm config of a device
592 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
593 // Update the pm config of a device
594 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
595 // List all flows of a device
596 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
597 // List all flow groups of a device
598 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
599 // List device types known to Voltha
600 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
601 // Get additional information on a device type
602 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400603 // Stream control packets to the dataplane
604 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
605 // Receive control packet stream
606 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
607 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +0000608 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
609 // Get all filters present for a device
610 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
611 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
612 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
613 // Get all the filters present
614 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400615 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
616 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
617 // OpenOMCI MIB information
618 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
619 // OpenOMCI ALARM information
620 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
621 // Simulate an Alarm
622 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
kesavand4a002b02020-01-23 21:29:47 -0500623 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
624 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
khenaidoo4c6543e2021-10-19 17:25:58 -0400625 GetExtValue(ctx context.Context, in *extension.ValueSpecifier, opts ...grpc.CallOption) (*extension.ReturnValues, error)
626 SetExtValue(ctx context.Context, in *extension.ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +0530627 // omci start and stop cli implementation
khenaidoo4c6543e2021-10-19 17:25:58 -0400628 StartOmciTestAction(ctx context.Context, in *omci.OmciTestRequest, opts ...grpc.CallOption) (*omci.TestResponse, error)
yasin sapli2bbfbb42021-11-01 14:30:10 +0000629 // Saves or updates system wide configuration into voltha KV
630 PutVoipSystemProfile(ctx context.Context, in *voip_system_profile.VoipSystemProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error)
631 // Deletes the given profile from voltha KV
632 DeleteVoipSystemProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error)
633 // Saves or updates a profile (VOIP) into voltha KV
634 PutVoipUserProfile(ctx context.Context, in *voip_user_profile.VoipUserProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error)
635 // Deletes the given profile from voltha KV
636 DeleteVoipUserProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -0400637}
638
639type volthaServiceClient struct {
640 cc *grpc.ClientConn
641}
642
643func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
644 return &volthaServiceClient{cc}
645}
646
William Kurkian1b363f42019-03-12 15:28:12 -0400647func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
648 out := new(Voltha)
649 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
650 if err != nil {
651 return nil, err
652 }
653 return out, nil
654}
655
656func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
657 out := new(CoreInstances)
658 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
659 if err != nil {
660 return nil, err
661 }
662 return out, nil
663}
664
665func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
666 out := new(CoreInstance)
667 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
668 if err != nil {
669 return nil, err
670 }
671 return out, nil
672}
673
674func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
675 out := new(Adapters)
676 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
677 if err != nil {
678 return nil, err
679 }
680 return out, nil
681}
682
683func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
684 out := new(LogicalDevices)
685 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
686 if err != nil {
687 return nil, err
688 }
689 return out, nil
690}
691
692func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
693 out := new(LogicalDevice)
694 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
695 if err != nil {
696 return nil, err
697 }
698 return out, nil
699}
700
701func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
702 out := new(LogicalPorts)
703 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
704 if err != nil {
705 return nil, err
706 }
707 return out, nil
708}
709
710func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
711 out := new(LogicalPort)
712 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
713 if err != nil {
714 return nil, err
715 }
716 return out, nil
717}
718
719func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
720 out := new(empty.Empty)
721 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
722 if err != nil {
723 return nil, err
724 }
725 return out, nil
726}
727
728func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
729 out := new(empty.Empty)
730 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
731 if err != nil {
732 return nil, err
733 }
734 return out, nil
735}
736
737func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
738 out := new(openflow_13.Flows)
739 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
740 if err != nil {
741 return nil, err
742 }
743 return out, nil
744}
745
746func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
747 out := new(empty.Empty)
748 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
749 if err != nil {
750 return nil, err
751 }
752 return out, nil
753}
754
755func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
756 out := new(empty.Empty)
757 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
758 if err != nil {
759 return nil, err
760 }
761 return out, nil
762}
763
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400764func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
765 out := new(openflow_13.Meters)
766 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -0400767 if err != nil {
768 return nil, err
769 }
770 return out, nil
771}
772
773func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
774 out := new(openflow_13.FlowGroups)
775 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
776 if err != nil {
777 return nil, err
778 }
779 return out, nil
780}
781
782func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
783 out := new(empty.Empty)
784 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
785 if err != nil {
786 return nil, err
787 }
788 return out, nil
789}
790
791func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
792 out := new(Devices)
793 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
794 if err != nil {
795 return nil, err
796 }
797 return out, nil
798}
799
800func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
801 out := new(common.IDs)
802 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
803 if err != nil {
804 return nil, err
805 }
806 return out, nil
807}
808
809func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
810 out := new(empty.Empty)
811 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
812 if err != nil {
813 return nil, err
814 }
815 return out, nil
816}
817
818func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
819 out := new(Device)
820 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
821 if err != nil {
822 return nil, err
823 }
824 return out, nil
825}
826
827func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
828 out := new(Device)
829 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
830 if err != nil {
831 return nil, err
832 }
833 return out, nil
834}
835
836func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
837 out := new(empty.Empty)
838 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
839 if err != nil {
840 return nil, err
841 }
842 return out, nil
843}
844
845func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
846 out := new(empty.Empty)
847 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
848 if err != nil {
849 return nil, err
850 }
851 return out, nil
852}
853
854func (c *volthaServiceClient) RebootDevice(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/RebootDevice", in, out, opts...)
857 if err != nil {
858 return nil, err
859 }
860 return out, nil
861}
862
863func (c *volthaServiceClient) DeleteDevice(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/DeleteDevice", in, out, opts...)
866 if err != nil {
867 return nil, err
868 }
869 return out, nil
870}
871
Himani Chawla503b7ce2020-10-07 13:20:03 +0530872func (c *volthaServiceClient) ForceDeleteDevice(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/ForceDeleteDevice", in, out, opts...)
875 if err != nil {
876 return nil, err
877 }
878 return out, nil
879}
880
khenaidoo4c6543e2021-10-19 17:25:58 -0400881// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400882func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
883 out := new(common.OperationResp)
884 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
885 if err != nil {
886 return nil, err
887 }
888 return out, nil
889}
890
khenaidoo4c6543e2021-10-19 17:25:58 -0400891// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400892func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
893 out := new(ImageDownload)
894 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
895 if err != nil {
896 return nil, err
897 }
898 return out, nil
899}
900
khenaidoo4c6543e2021-10-19 17:25:58 -0400901// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400902func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
903 out := new(ImageDownload)
904 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
905 if err != nil {
906 return nil, err
907 }
908 return out, nil
909}
910
khenaidoo4c6543e2021-10-19 17:25:58 -0400911// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400912func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
913 out := new(ImageDownloads)
914 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
915 if err != nil {
916 return nil, err
917 }
918 return out, nil
919}
920
khenaidoo4c6543e2021-10-19 17:25:58 -0400921// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400922func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
923 out := new(common.OperationResp)
924 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
925 if err != nil {
926 return nil, err
927 }
928 return out, nil
929}
930
khenaidoo4c6543e2021-10-19 17:25:58 -0400931// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400932func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
933 out := new(common.OperationResp)
934 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
935 if err != nil {
936 return nil, err
937 }
938 return out, nil
939}
940
khenaidoo4c6543e2021-10-19 17:25:58 -0400941// Deprecated: Do not use.
William Kurkian1b363f42019-03-12 15:28:12 -0400942func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
943 out := new(common.OperationResp)
944 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
945 if err != nil {
946 return nil, err
947 }
948 return out, nil
949}
950
Andrea Campanella9e94e8a2021-01-19 15:21:25 +0100951func (c *volthaServiceClient) DownloadImageToDevice(ctx context.Context, in *DeviceImageDownloadRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
952 out := new(DeviceImageResponse)
953 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImageToDevice", in, out, opts...)
954 if err != nil {
955 return nil, err
956 }
957 return out, nil
958}
959
960func (c *volthaServiceClient) GetImageStatus(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
961 out := new(DeviceImageResponse)
962 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageStatus", in, out, opts...)
963 if err != nil {
964 return nil, err
965 }
966 return out, nil
967}
968
969func (c *volthaServiceClient) AbortImageUpgradeToDevice(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
970 out := new(DeviceImageResponse)
971 err := c.cc.Invoke(ctx, "/voltha.VolthaService/AbortImageUpgradeToDevice", in, out, opts...)
972 if err != nil {
973 return nil, err
974 }
975 return out, nil
976}
977
978func (c *volthaServiceClient) GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*OnuImages, error) {
979 out := new(OnuImages)
980 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetOnuImages", in, out, opts...)
981 if err != nil {
982 return nil, err
983 }
984 return out, nil
985}
986
987func (c *volthaServiceClient) ActivateImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
988 out := new(DeviceImageResponse)
989 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImage", in, out, opts...)
990 if err != nil {
991 return nil, err
992 }
993 return out, nil
994}
995
996func (c *volthaServiceClient) CommitImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
997 out := new(DeviceImageResponse)
998 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CommitImage", in, out, opts...)
999 if err != nil {
1000 return nil, err
1001 }
1002 return out, nil
1003}
1004
William Kurkian1b363f42019-03-12 15:28:12 -04001005func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
1006 out := new(Ports)
1007 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
1008 if err != nil {
1009 return nil, err
1010 }
1011 return out, nil
1012}
1013
1014func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
1015 out := new(PmConfigs)
1016 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
1017 if err != nil {
1018 return nil, err
1019 }
1020 return out, nil
1021}
1022
1023func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
1024 out := new(empty.Empty)
1025 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
1026 if err != nil {
1027 return nil, err
1028 }
1029 return out, nil
1030}
1031
1032func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
1033 out := new(openflow_13.Flows)
1034 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
1035 if err != nil {
1036 return nil, err
1037 }
1038 return out, nil
1039}
1040
1041func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
1042 out := new(openflow_13.FlowGroups)
1043 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
1044 if err != nil {
1045 return nil, err
1046 }
1047 return out, nil
1048}
1049
1050func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
1051 out := new(DeviceTypes)
1052 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
1053 if err != nil {
1054 return nil, err
1055 }
1056 return out, nil
1057}
1058
1059func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
1060 out := new(DeviceType)
1061 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
1062 if err != nil {
1063 return nil, err
1064 }
1065 return out, nil
1066}
1067
William Kurkian1b363f42019-03-12 15:28:12 -04001068func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
1069 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
1070 if err != nil {
1071 return nil, err
1072 }
1073 x := &volthaServiceStreamPacketsOutClient{stream}
1074 return x, nil
1075}
1076
1077type VolthaService_StreamPacketsOutClient interface {
1078 Send(*openflow_13.PacketOut) error
1079 CloseAndRecv() (*empty.Empty, error)
1080 grpc.ClientStream
1081}
1082
1083type volthaServiceStreamPacketsOutClient struct {
1084 grpc.ClientStream
1085}
1086
1087func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
1088 return x.ClientStream.SendMsg(m)
1089}
1090
1091func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
1092 if err := x.ClientStream.CloseSend(); err != nil {
1093 return nil, err
1094 }
1095 m := new(empty.Empty)
1096 if err := x.ClientStream.RecvMsg(m); err != nil {
1097 return nil, err
1098 }
1099 return m, nil
1100}
1101
1102func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
1103 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
1104 if err != nil {
1105 return nil, err
1106 }
1107 x := &volthaServiceReceivePacketsInClient{stream}
1108 if err := x.ClientStream.SendMsg(in); err != nil {
1109 return nil, err
1110 }
1111 if err := x.ClientStream.CloseSend(); err != nil {
1112 return nil, err
1113 }
1114 return x, nil
1115}
1116
1117type VolthaService_ReceivePacketsInClient interface {
1118 Recv() (*openflow_13.PacketIn, error)
1119 grpc.ClientStream
1120}
1121
1122type volthaServiceReceivePacketsInClient struct {
1123 grpc.ClientStream
1124}
1125
1126func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
1127 m := new(openflow_13.PacketIn)
1128 if err := x.ClientStream.RecvMsg(m); err != nil {
1129 return nil, err
1130 }
1131 return m, nil
1132}
1133
1134func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
1135 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
1136 if err != nil {
1137 return nil, err
1138 }
1139 x := &volthaServiceReceiveChangeEventsClient{stream}
1140 if err := x.ClientStream.SendMsg(in); err != nil {
1141 return nil, err
1142 }
1143 if err := x.ClientStream.CloseSend(); err != nil {
1144 return nil, err
1145 }
1146 return x, nil
1147}
1148
1149type VolthaService_ReceiveChangeEventsClient interface {
1150 Recv() (*openflow_13.ChangeEvent, error)
1151 grpc.ClientStream
1152}
1153
1154type volthaServiceReceiveChangeEventsClient struct {
1155 grpc.ClientStream
1156}
1157
1158func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
1159 m := new(openflow_13.ChangeEvent)
1160 if err := x.ClientStream.RecvMsg(m); err != nil {
1161 return nil, err
1162 }
1163 return m, nil
1164}
1165
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001166func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
1167 out := new(EventFilter)
1168 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001169 if err != nil {
1170 return nil, err
1171 }
1172 return out, nil
1173}
1174
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001175func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
1176 out := new(EventFilters)
1177 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04001178 if err != nil {
1179 return nil, err
1180 }
1181 return out, nil
1182}
1183
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001184func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
1185 out := new(EventFilter)
1186 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", 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) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04001194 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001195 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", 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) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
1203 out := new(EventFilters)
1204 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", 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
1211func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
1212 out := new(Images)
1213 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
1214 if err != nil {
1215 return nil, err
1216 }
1217 return out, nil
1218}
1219
1220func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
1221 out := new(SelfTestResponse)
1222 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
1223 if err != nil {
1224 return nil, err
1225 }
1226 return out, nil
1227}
1228
1229func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
1230 out := new(omci.MibDeviceData)
1231 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
1232 if err != nil {
1233 return nil, err
1234 }
1235 return out, nil
1236}
1237
1238func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
1239 out := new(omci.AlarmDeviceData)
1240 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
1241 if err != nil {
1242 return nil, err
1243 }
1244 return out, nil
1245}
1246
1247func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
1248 out := new(common.OperationResp)
1249 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
1250 if err != nil {
1251 return nil, err
1252 }
1253 return out, nil
1254}
1255
kesavand4a002b02020-01-23 21:29:47 -05001256func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
1257 out := new(empty.Empty)
1258 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
1259 if err != nil {
1260 return nil, err
1261 }
1262 return out, nil
1263}
1264
1265func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
1266 out := new(empty.Empty)
1267 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
1268 if err != nil {
1269 return nil, err
1270 }
1271 return out, nil
1272}
1273
khenaidoo4c6543e2021-10-19 17:25:58 -04001274func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *extension.ValueSpecifier, opts ...grpc.CallOption) (*extension.ReturnValues, error) {
1275 out := new(extension.ReturnValues)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08001276 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
1277 if err != nil {
1278 return nil, err
1279 }
1280 return out, nil
1281}
1282
khenaidoo4c6543e2021-10-19 17:25:58 -04001283func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *extension.ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
dpaul2b52e712020-06-23 13:02:28 +05301284 out := new(empty.Empty)
1285 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", 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) StartOmciTestAction(ctx context.Context, in *omci.OmciTestRequest, opts ...grpc.CallOption) (*omci.TestResponse, error) {
1293 out := new(omci.TestResponse)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301294 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
1295 if err != nil {
1296 return nil, err
1297 }
1298 return out, nil
1299}
1300
yasin sapli2bbfbb42021-11-01 14:30:10 +00001301func (c *volthaServiceClient) PutVoipSystemProfile(ctx context.Context, in *voip_system_profile.VoipSystemProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1302 out := new(empty.Empty)
1303 err := c.cc.Invoke(ctx, "/voltha.VolthaService/PutVoipSystemProfile", in, out, opts...)
1304 if err != nil {
1305 return nil, err
1306 }
1307 return out, nil
1308}
1309
1310func (c *volthaServiceClient) DeleteVoipSystemProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*empty.Empty, error) {
1311 out := new(empty.Empty)
1312 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteVoipSystemProfile", in, out, opts...)
1313 if err != nil {
1314 return nil, err
1315 }
1316 return out, nil
1317}
1318
1319func (c *volthaServiceClient) PutVoipUserProfile(ctx context.Context, in *voip_user_profile.VoipUserProfileRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1320 out := new(empty.Empty)
1321 err := c.cc.Invoke(ctx, "/voltha.VolthaService/PutVoipUserProfile", in, out, opts...)
1322 if err != nil {
1323 return nil, err
1324 }
1325 return out, nil
1326}
1327
1328func (c *volthaServiceClient) DeleteVoipUserProfile(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/DeleteVoipUserProfile", in, out, opts...)
1331 if err != nil {
1332 return nil, err
1333 }
1334 return out, nil
1335}
1336
William Kurkian1b363f42019-03-12 15:28:12 -04001337// VolthaServiceServer is the server API for VolthaService service.
1338type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04001339 // Get high level information on the Voltha cluster
1340 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
1341 // List all Voltha cluster core instances
1342 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
1343 // Get details on a Voltha cluster instance
1344 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
1345 // List all active adapters (plugins) in the Voltha cluster
1346 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
1347 // List all logical devices managed by the Voltha cluster
1348 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
1349 // Get additional information on a given logical device
1350 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
1351 // List ports of a logical device
1352 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
1353 // Gets a logical device port
1354 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
1355 // Enables a logical device port
1356 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
1357 // Disables a logical device port
1358 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
1359 // List all flows of a logical device
1360 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
1361 // Update flow table for logical device
1362 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
1363 // Update meter table for logical device
1364 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001365 // List all meters of a logical device
1366 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001367 // List all flow groups of a logical device
1368 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
1369 // Update group table for device
1370 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
1371 // List all physical devices controlled by the Voltha cluster
1372 ListDevices(context.Context, *empty.Empty) (*Devices, error)
1373 // List all physical devices IDs controlled by the Voltha cluster
1374 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
1375 // Request to a voltha Core to reconcile a set of devices based on their IDs
1376 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
1377 // Get more information on a given physical device
1378 GetDevice(context.Context, *common.ID) (*Device, error)
1379 // Pre-provision a new physical device
1380 CreateDevice(context.Context, *Device) (*Device, error)
1381 // Enable a device. If the device was in pre-provisioned state then it
1382 // will transition to ENABLED state. If it was is DISABLED state then it
1383 // will transition to ENABLED state as well.
1384 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
1385 // Disable a device
1386 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
1387 // Reboot a device
1388 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
1389 // Delete a device
1390 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05301391 // Forcefully delete a device
1392 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001393 // Request an image download to the standby partition
1394 // of a device.
1395 // Note that the call is expected to be non-blocking.
1396 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
1397 // Get image download status on a device
1398 // The request retrieves progress on device and updates db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001399 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001400 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
1401 // Get image download db record
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001402 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001403 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
1404 // List image download db records for a given device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001405 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001406 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
1407 // Cancel an existing image download process on a device
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001408 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001409 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
1410 // Activate the specified image at a standby partition
1411 // to active partition.
1412 // Depending on the device implementation, this call
1413 // may or may not cause device reboot.
1414 // If no reboot, then a reboot is required to make the
1415 // activated image running on device
1416 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001417 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001418 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
1419 // Revert the specified image at standby partition
1420 // to active partition, and revert to previous image
1421 // Depending on the device implementation, this call
1422 // may or may not cause device reboot.
1423 // If no reboot, then a reboot is required to make the
1424 // previous image running on device
1425 // Note that the call is expected to be non-blocking.
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001426 // Deprecated in voltha 2.8, will be removed
William Kurkian1b363f42019-03-12 15:28:12 -04001427 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001428 // Downloads a certain image to the standby partition of the devices
1429 // Note that the call is expected to be non-blocking.
1430 DownloadImageToDevice(context.Context, *DeviceImageDownloadRequest) (*DeviceImageResponse, error)
1431 // Get image status on a number of devices devices
1432 // Polled from northbound systems to get state of download/activate/commit
1433 GetImageStatus(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1434 // Aborts the upgrade of an image on a device
1435 // To be used carefully, stops any further operations for the Image on the given devices
1436 // Might also stop if possible existing work, but no guarantees are given,
1437 // depends on implementation and procedure status.
1438 AbortImageUpgradeToDevice(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1439 // Get Both Active and Standby image for a given device
1440 GetOnuImages(context.Context, *common.ID) (*OnuImages, error)
1441 // Activate the specified image from a standby partition
1442 // to active partition.
1443 // Depending on the device implementation, this call
1444 // may or may not cause device reboot.
1445 // If no reboot, then a reboot is required to make the
1446 // activated image running on device
1447 // Note that the call is expected to be non-blocking.
1448 ActivateImage(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
1449 // Commit the specified image to be default.
1450 // Depending on the device implementation, this call
1451 // may or may not cause device reboot.
1452 // If no reboot, then a reboot is required to make the
1453 // activated image running on device upon next reboot
1454 // Note that the call is expected to be non-blocking.
1455 CommitImage(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001456 // List ports of a device
1457 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
1458 // List pm config of a device
1459 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
1460 // Update the pm config of a device
1461 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
1462 // List all flows of a device
1463 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
1464 // List all flow groups of a device
1465 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
1466 // List device types known to Voltha
1467 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
1468 // Get additional information on a device type
1469 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001470 // Stream control packets to the dataplane
1471 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
1472 // Receive control packet stream
1473 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
1474 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001475 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
1476 // Get all filters present for a device
1477 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
1478 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
1479 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
1480 // Get all the filters present
1481 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001482 GetImages(context.Context, *common.ID) (*Images, error)
1483 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
1484 // OpenOMCI MIB information
1485 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
1486 // OpenOMCI ALARM information
1487 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
1488 // Simulate an Alarm
1489 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
kesavand4a002b02020-01-23 21:29:47 -05001490 EnablePort(context.Context, *Port) (*empty.Empty, error)
1491 DisablePort(context.Context, *Port) (*empty.Empty, error)
khenaidoo4c6543e2021-10-19 17:25:58 -04001492 GetExtValue(context.Context, *extension.ValueSpecifier) (*extension.ReturnValues, error)
1493 SetExtValue(context.Context, *extension.ValueSet) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301494 // omci start and stop cli implementation
khenaidoo4c6543e2021-10-19 17:25:58 -04001495 StartOmciTestAction(context.Context, *omci.OmciTestRequest) (*omci.TestResponse, error)
yasin sapli2bbfbb42021-11-01 14:30:10 +00001496 // Saves or updates system wide configuration into voltha KV
1497 PutVoipSystemProfile(context.Context, *voip_system_profile.VoipSystemProfileRequest) (*empty.Empty, error)
1498 // Deletes the given profile from voltha KV
1499 DeleteVoipSystemProfile(context.Context, *common.Key) (*empty.Empty, error)
1500 // Saves or updates a profile (VOIP) into voltha KV
1501 PutVoipUserProfile(context.Context, *voip_user_profile.VoipUserProfileRequest) (*empty.Empty, error)
1502 // Deletes the given profile from voltha KV
1503 DeleteVoipUserProfile(context.Context, *common.Key) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04001504}
1505
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001506// UnimplementedVolthaServiceServer can be embedded to have forward compatible implementations.
1507type UnimplementedVolthaServiceServer struct {
1508}
1509
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001510func (*UnimplementedVolthaServiceServer) GetVoltha(ctx context.Context, req *empty.Empty) (*Voltha, error) {
1511 return nil, status.Errorf(codes.Unimplemented, "method GetVoltha not implemented")
1512}
1513func (*UnimplementedVolthaServiceServer) ListCoreInstances(ctx context.Context, req *empty.Empty) (*CoreInstances, error) {
1514 return nil, status.Errorf(codes.Unimplemented, "method ListCoreInstances not implemented")
1515}
1516func (*UnimplementedVolthaServiceServer) GetCoreInstance(ctx context.Context, req *common.ID) (*CoreInstance, error) {
1517 return nil, status.Errorf(codes.Unimplemented, "method GetCoreInstance not implemented")
1518}
1519func (*UnimplementedVolthaServiceServer) ListAdapters(ctx context.Context, req *empty.Empty) (*Adapters, error) {
1520 return nil, status.Errorf(codes.Unimplemented, "method ListAdapters not implemented")
1521}
1522func (*UnimplementedVolthaServiceServer) ListLogicalDevices(ctx context.Context, req *empty.Empty) (*LogicalDevices, error) {
1523 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevices not implemented")
1524}
1525func (*UnimplementedVolthaServiceServer) GetLogicalDevice(ctx context.Context, req *common.ID) (*LogicalDevice, error) {
1526 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevice not implemented")
1527}
1528func (*UnimplementedVolthaServiceServer) ListLogicalDevicePorts(ctx context.Context, req *common.ID) (*LogicalPorts, error) {
1529 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevicePorts not implemented")
1530}
1531func (*UnimplementedVolthaServiceServer) GetLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*LogicalPort, error) {
1532 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevicePort not implemented")
1533}
1534func (*UnimplementedVolthaServiceServer) EnableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
1535 return nil, status.Errorf(codes.Unimplemented, "method EnableLogicalDevicePort not implemented")
1536}
1537func (*UnimplementedVolthaServiceServer) DisableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
1538 return nil, status.Errorf(codes.Unimplemented, "method DisableLogicalDevicePort not implemented")
1539}
1540func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
1541 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlows not implemented")
1542}
1543func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowTable(ctx context.Context, req *openflow_13.FlowTableUpdate) (*empty.Empty, error) {
1544 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowTable not implemented")
1545}
1546func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceMeterTable(ctx context.Context, req *openflow_13.MeterModUpdate) (*empty.Empty, error) {
1547 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceMeterTable not implemented")
1548}
1549func (*UnimplementedVolthaServiceServer) ListLogicalDeviceMeters(ctx context.Context, req *common.ID) (*openflow_13.Meters, error) {
1550 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceMeters not implemented")
1551}
1552func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
1553 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlowGroups not implemented")
1554}
1555func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, req *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error) {
1556 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowGroupTable not implemented")
1557}
1558func (*UnimplementedVolthaServiceServer) ListDevices(ctx context.Context, req *empty.Empty) (*Devices, error) {
1559 return nil, status.Errorf(codes.Unimplemented, "method ListDevices not implemented")
1560}
1561func (*UnimplementedVolthaServiceServer) ListDeviceIds(ctx context.Context, req *empty.Empty) (*common.IDs, error) {
1562 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceIds not implemented")
1563}
1564func (*UnimplementedVolthaServiceServer) ReconcileDevices(ctx context.Context, req *common.IDs) (*empty.Empty, error) {
1565 return nil, status.Errorf(codes.Unimplemented, "method ReconcileDevices not implemented")
1566}
1567func (*UnimplementedVolthaServiceServer) GetDevice(ctx context.Context, req *common.ID) (*Device, error) {
1568 return nil, status.Errorf(codes.Unimplemented, "method GetDevice not implemented")
1569}
1570func (*UnimplementedVolthaServiceServer) CreateDevice(ctx context.Context, req *Device) (*Device, error) {
1571 return nil, status.Errorf(codes.Unimplemented, "method CreateDevice not implemented")
1572}
1573func (*UnimplementedVolthaServiceServer) EnableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1574 return nil, status.Errorf(codes.Unimplemented, "method EnableDevice not implemented")
1575}
1576func (*UnimplementedVolthaServiceServer) DisableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1577 return nil, status.Errorf(codes.Unimplemented, "method DisableDevice not implemented")
1578}
1579func (*UnimplementedVolthaServiceServer) RebootDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1580 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
1581}
1582func (*UnimplementedVolthaServiceServer) DeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1583 return nil, status.Errorf(codes.Unimplemented, "method DeleteDevice not implemented")
1584}
1585func (*UnimplementedVolthaServiceServer) ForceDeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
1586 return nil, status.Errorf(codes.Unimplemented, "method ForceDeleteDevice not implemented")
1587}
1588func (*UnimplementedVolthaServiceServer) DownloadImage(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1589 return nil, status.Errorf(codes.Unimplemented, "method DownloadImage not implemented")
1590}
1591func (*UnimplementedVolthaServiceServer) GetImageDownloadStatus(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
1592 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownloadStatus not implemented")
1593}
1594func (*UnimplementedVolthaServiceServer) GetImageDownload(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
1595 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownload not implemented")
1596}
1597func (*UnimplementedVolthaServiceServer) ListImageDownloads(ctx context.Context, req *common.ID) (*ImageDownloads, error) {
1598 return nil, status.Errorf(codes.Unimplemented, "method ListImageDownloads not implemented")
1599}
1600func (*UnimplementedVolthaServiceServer) CancelImageDownload(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1601 return nil, status.Errorf(codes.Unimplemented, "method CancelImageDownload not implemented")
1602}
1603func (*UnimplementedVolthaServiceServer) ActivateImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1604 return nil, status.Errorf(codes.Unimplemented, "method ActivateImageUpdate not implemented")
1605}
1606func (*UnimplementedVolthaServiceServer) RevertImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
1607 return nil, status.Errorf(codes.Unimplemented, "method RevertImageUpdate not implemented")
1608}
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01001609func (*UnimplementedVolthaServiceServer) DownloadImageToDevice(ctx context.Context, req *DeviceImageDownloadRequest) (*DeviceImageResponse, error) {
1610 return nil, status.Errorf(codes.Unimplemented, "method DownloadImageToDevice not implemented")
1611}
1612func (*UnimplementedVolthaServiceServer) GetImageStatus(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1613 return nil, status.Errorf(codes.Unimplemented, "method GetImageStatus not implemented")
1614}
1615func (*UnimplementedVolthaServiceServer) AbortImageUpgradeToDevice(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1616 return nil, status.Errorf(codes.Unimplemented, "method AbortImageUpgradeToDevice not implemented")
1617}
1618func (*UnimplementedVolthaServiceServer) GetOnuImages(ctx context.Context, req *common.ID) (*OnuImages, error) {
1619 return nil, status.Errorf(codes.Unimplemented, "method GetOnuImages not implemented")
1620}
1621func (*UnimplementedVolthaServiceServer) ActivateImage(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1622 return nil, status.Errorf(codes.Unimplemented, "method ActivateImage not implemented")
1623}
1624func (*UnimplementedVolthaServiceServer) CommitImage(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
1625 return nil, status.Errorf(codes.Unimplemented, "method CommitImage not implemented")
1626}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001627func (*UnimplementedVolthaServiceServer) ListDevicePorts(ctx context.Context, req *common.ID) (*Ports, error) {
1628 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePorts not implemented")
1629}
1630func (*UnimplementedVolthaServiceServer) ListDevicePmConfigs(ctx context.Context, req *common.ID) (*PmConfigs, error) {
1631 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePmConfigs not implemented")
1632}
1633func (*UnimplementedVolthaServiceServer) UpdateDevicePmConfigs(ctx context.Context, req *PmConfigs) (*empty.Empty, error) {
1634 return nil, status.Errorf(codes.Unimplemented, "method UpdateDevicePmConfigs not implemented")
1635}
1636func (*UnimplementedVolthaServiceServer) ListDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
1637 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlows not implemented")
1638}
1639func (*UnimplementedVolthaServiceServer) ListDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
1640 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlowGroups not implemented")
1641}
1642func (*UnimplementedVolthaServiceServer) ListDeviceTypes(ctx context.Context, req *empty.Empty) (*DeviceTypes, error) {
1643 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceTypes not implemented")
1644}
1645func (*UnimplementedVolthaServiceServer) GetDeviceType(ctx context.Context, req *common.ID) (*DeviceType, error) {
1646 return nil, status.Errorf(codes.Unimplemented, "method GetDeviceType not implemented")
1647}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001648func (*UnimplementedVolthaServiceServer) StreamPacketsOut(srv VolthaService_StreamPacketsOutServer) error {
1649 return status.Errorf(codes.Unimplemented, "method StreamPacketsOut not implemented")
1650}
1651func (*UnimplementedVolthaServiceServer) ReceivePacketsIn(req *empty.Empty, srv VolthaService_ReceivePacketsInServer) error {
1652 return status.Errorf(codes.Unimplemented, "method ReceivePacketsIn not implemented")
1653}
1654func (*UnimplementedVolthaServiceServer) ReceiveChangeEvents(req *empty.Empty, srv VolthaService_ReceiveChangeEventsServer) error {
1655 return status.Errorf(codes.Unimplemented, "method ReceiveChangeEvents not implemented")
1656}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001657func (*UnimplementedVolthaServiceServer) CreateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
1658 return nil, status.Errorf(codes.Unimplemented, "method CreateEventFilter not implemented")
1659}
1660func (*UnimplementedVolthaServiceServer) GetEventFilter(ctx context.Context, req *common.ID) (*EventFilters, error) {
1661 return nil, status.Errorf(codes.Unimplemented, "method GetEventFilter not implemented")
1662}
1663func (*UnimplementedVolthaServiceServer) UpdateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
1664 return nil, status.Errorf(codes.Unimplemented, "method UpdateEventFilter not implemented")
1665}
1666func (*UnimplementedVolthaServiceServer) DeleteEventFilter(ctx context.Context, req *EventFilter) (*empty.Empty, error) {
1667 return nil, status.Errorf(codes.Unimplemented, "method DeleteEventFilter not implemented")
1668}
1669func (*UnimplementedVolthaServiceServer) ListEventFilters(ctx context.Context, req *empty.Empty) (*EventFilters, error) {
1670 return nil, status.Errorf(codes.Unimplemented, "method ListEventFilters not implemented")
1671}
1672func (*UnimplementedVolthaServiceServer) GetImages(ctx context.Context, req *common.ID) (*Images, error) {
1673 return nil, status.Errorf(codes.Unimplemented, "method GetImages not implemented")
1674}
1675func (*UnimplementedVolthaServiceServer) SelfTest(ctx context.Context, req *common.ID) (*SelfTestResponse, error) {
1676 return nil, status.Errorf(codes.Unimplemented, "method SelfTest not implemented")
1677}
1678func (*UnimplementedVolthaServiceServer) GetMibDeviceData(ctx context.Context, req *common.ID) (*omci.MibDeviceData, error) {
1679 return nil, status.Errorf(codes.Unimplemented, "method GetMibDeviceData not implemented")
1680}
1681func (*UnimplementedVolthaServiceServer) GetAlarmDeviceData(ctx context.Context, req *common.ID) (*omci.AlarmDeviceData, error) {
1682 return nil, status.Errorf(codes.Unimplemented, "method GetAlarmDeviceData not implemented")
1683}
1684func (*UnimplementedVolthaServiceServer) SimulateAlarm(ctx context.Context, req *SimulateAlarmRequest) (*common.OperationResp, error) {
1685 return nil, status.Errorf(codes.Unimplemented, "method SimulateAlarm not implemented")
1686}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001687func (*UnimplementedVolthaServiceServer) EnablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
1688 return nil, status.Errorf(codes.Unimplemented, "method EnablePort not implemented")
1689}
1690func (*UnimplementedVolthaServiceServer) DisablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
1691 return nil, status.Errorf(codes.Unimplemented, "method DisablePort not implemented")
1692}
khenaidoo4c6543e2021-10-19 17:25:58 -04001693func (*UnimplementedVolthaServiceServer) GetExtValue(ctx context.Context, req *extension.ValueSpecifier) (*extension.ReturnValues, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001694 return nil, status.Errorf(codes.Unimplemented, "method GetExtValue not implemented")
1695}
khenaidoo4c6543e2021-10-19 17:25:58 -04001696func (*UnimplementedVolthaServiceServer) SetExtValue(ctx context.Context, req *extension.ValueSet) (*empty.Empty, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001697 return nil, status.Errorf(codes.Unimplemented, "method SetExtValue not implemented")
1698}
khenaidoo4c6543e2021-10-19 17:25:58 -04001699func (*UnimplementedVolthaServiceServer) StartOmciTestAction(ctx context.Context, req *omci.OmciTestRequest) (*omci.TestResponse, error) {
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001700 return nil, status.Errorf(codes.Unimplemented, "method StartOmciTestAction not implemented")
1701}
yasin sapli2bbfbb42021-11-01 14:30:10 +00001702func (*UnimplementedVolthaServiceServer) PutVoipSystemProfile(ctx context.Context, req *voip_system_profile.VoipSystemProfileRequest) (*empty.Empty, error) {
1703 return nil, status.Errorf(codes.Unimplemented, "method PutVoipSystemProfile not implemented")
1704}
1705func (*UnimplementedVolthaServiceServer) DeleteVoipSystemProfile(ctx context.Context, req *common.Key) (*empty.Empty, error) {
1706 return nil, status.Errorf(codes.Unimplemented, "method DeleteVoipSystemProfile not implemented")
1707}
1708func (*UnimplementedVolthaServiceServer) PutVoipUserProfile(ctx context.Context, req *voip_user_profile.VoipUserProfileRequest) (*empty.Empty, error) {
1709 return nil, status.Errorf(codes.Unimplemented, "method PutVoipUserProfile not implemented")
1710}
1711func (*UnimplementedVolthaServiceServer) DeleteVoipUserProfile(ctx context.Context, req *common.Key) (*empty.Empty, error) {
1712 return nil, status.Errorf(codes.Unimplemented, "method DeleteVoipUserProfile not implemented")
1713}
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001714
William Kurkian1b363f42019-03-12 15:28:12 -04001715func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
1716 s.RegisterService(&_VolthaService_serviceDesc, srv)
1717}
1718
William Kurkian1b363f42019-03-12 15:28:12 -04001719func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1720 in := new(empty.Empty)
1721 if err := dec(in); err != nil {
1722 return nil, err
1723 }
1724 if interceptor == nil {
1725 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
1726 }
1727 info := &grpc.UnaryServerInfo{
1728 Server: srv,
1729 FullMethod: "/voltha.VolthaService/GetVoltha",
1730 }
1731 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1732 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
1733 }
1734 return interceptor(ctx, in, info, handler)
1735}
1736
1737func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1738 in := new(empty.Empty)
1739 if err := dec(in); err != nil {
1740 return nil, err
1741 }
1742 if interceptor == nil {
1743 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
1744 }
1745 info := &grpc.UnaryServerInfo{
1746 Server: srv,
1747 FullMethod: "/voltha.VolthaService/ListCoreInstances",
1748 }
1749 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1750 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
1751 }
1752 return interceptor(ctx, in, info, handler)
1753}
1754
1755func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1756 in := new(common.ID)
1757 if err := dec(in); err != nil {
1758 return nil, err
1759 }
1760 if interceptor == nil {
1761 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
1762 }
1763 info := &grpc.UnaryServerInfo{
1764 Server: srv,
1765 FullMethod: "/voltha.VolthaService/GetCoreInstance",
1766 }
1767 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1768 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
1769 }
1770 return interceptor(ctx, in, info, handler)
1771}
1772
1773func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1774 in := new(empty.Empty)
1775 if err := dec(in); err != nil {
1776 return nil, err
1777 }
1778 if interceptor == nil {
1779 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
1780 }
1781 info := &grpc.UnaryServerInfo{
1782 Server: srv,
1783 FullMethod: "/voltha.VolthaService/ListAdapters",
1784 }
1785 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1786 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
1787 }
1788 return interceptor(ctx, in, info, handler)
1789}
1790
1791func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1792 in := new(empty.Empty)
1793 if err := dec(in); err != nil {
1794 return nil, err
1795 }
1796 if interceptor == nil {
1797 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
1798 }
1799 info := &grpc.UnaryServerInfo{
1800 Server: srv,
1801 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
1802 }
1803 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1804 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
1805 }
1806 return interceptor(ctx, in, info, handler)
1807}
1808
1809func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1810 in := new(common.ID)
1811 if err := dec(in); err != nil {
1812 return nil, err
1813 }
1814 if interceptor == nil {
1815 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
1816 }
1817 info := &grpc.UnaryServerInfo{
1818 Server: srv,
1819 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
1820 }
1821 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1822 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
1823 }
1824 return interceptor(ctx, in, info, handler)
1825}
1826
1827func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1828 in := new(common.ID)
1829 if err := dec(in); err != nil {
1830 return nil, err
1831 }
1832 if interceptor == nil {
1833 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
1834 }
1835 info := &grpc.UnaryServerInfo{
1836 Server: srv,
1837 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
1838 }
1839 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1840 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
1841 }
1842 return interceptor(ctx, in, info, handler)
1843}
1844
1845func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1846 in := new(LogicalPortId)
1847 if err := dec(in); err != nil {
1848 return nil, err
1849 }
1850 if interceptor == nil {
1851 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
1852 }
1853 info := &grpc.UnaryServerInfo{
1854 Server: srv,
1855 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
1856 }
1857 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1858 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
1859 }
1860 return interceptor(ctx, in, info, handler)
1861}
1862
1863func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1864 in := new(LogicalPortId)
1865 if err := dec(in); err != nil {
1866 return nil, err
1867 }
1868 if interceptor == nil {
1869 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
1870 }
1871 info := &grpc.UnaryServerInfo{
1872 Server: srv,
1873 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
1874 }
1875 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1876 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
1877 }
1878 return interceptor(ctx, in, info, handler)
1879}
1880
1881func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1882 in := new(LogicalPortId)
1883 if err := dec(in); err != nil {
1884 return nil, err
1885 }
1886 if interceptor == nil {
1887 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
1888 }
1889 info := &grpc.UnaryServerInfo{
1890 Server: srv,
1891 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
1892 }
1893 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1894 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
1895 }
1896 return interceptor(ctx, in, info, handler)
1897}
1898
1899func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1900 in := new(common.ID)
1901 if err := dec(in); err != nil {
1902 return nil, err
1903 }
1904 if interceptor == nil {
1905 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
1906 }
1907 info := &grpc.UnaryServerInfo{
1908 Server: srv,
1909 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
1910 }
1911 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1912 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
1913 }
1914 return interceptor(ctx, in, info, handler)
1915}
1916
1917func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1918 in := new(openflow_13.FlowTableUpdate)
1919 if err := dec(in); err != nil {
1920 return nil, err
1921 }
1922 if interceptor == nil {
1923 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
1924 }
1925 info := &grpc.UnaryServerInfo{
1926 Server: srv,
1927 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
1928 }
1929 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1930 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
1931 }
1932 return interceptor(ctx, in, info, handler)
1933}
1934
1935func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1936 in := new(openflow_13.MeterModUpdate)
1937 if err := dec(in); err != nil {
1938 return nil, err
1939 }
1940 if interceptor == nil {
1941 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
1942 }
1943 info := &grpc.UnaryServerInfo{
1944 Server: srv,
1945 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
1946 }
1947 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1948 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
1949 }
1950 return interceptor(ctx, in, info, handler)
1951}
1952
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001953func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04001954 in := new(common.ID)
1955 if err := dec(in); err != nil {
1956 return nil, err
1957 }
1958 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001959 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04001960 }
1961 info := &grpc.UnaryServerInfo{
1962 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001963 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04001964 }
1965 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001966 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04001967 }
1968 return interceptor(ctx, in, info, handler)
1969}
1970
1971func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1972 in := new(common.ID)
1973 if err := dec(in); err != nil {
1974 return nil, err
1975 }
1976 if interceptor == nil {
1977 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
1978 }
1979 info := &grpc.UnaryServerInfo{
1980 Server: srv,
1981 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
1982 }
1983 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1984 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
1985 }
1986 return interceptor(ctx, in, info, handler)
1987}
1988
1989func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1990 in := new(openflow_13.FlowGroupTableUpdate)
1991 if err := dec(in); err != nil {
1992 return nil, err
1993 }
1994 if interceptor == nil {
1995 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
1996 }
1997 info := &grpc.UnaryServerInfo{
1998 Server: srv,
1999 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
2000 }
2001 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2002 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
2003 }
2004 return interceptor(ctx, in, info, handler)
2005}
2006
2007func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2008 in := new(empty.Empty)
2009 if err := dec(in); err != nil {
2010 return nil, err
2011 }
2012 if interceptor == nil {
2013 return srv.(VolthaServiceServer).ListDevices(ctx, in)
2014 }
2015 info := &grpc.UnaryServerInfo{
2016 Server: srv,
2017 FullMethod: "/voltha.VolthaService/ListDevices",
2018 }
2019 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
2021 }
2022 return interceptor(ctx, in, info, handler)
2023}
2024
2025func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2026 in := new(empty.Empty)
2027 if err := dec(in); err != nil {
2028 return nil, err
2029 }
2030 if interceptor == nil {
2031 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
2032 }
2033 info := &grpc.UnaryServerInfo{
2034 Server: srv,
2035 FullMethod: "/voltha.VolthaService/ListDeviceIds",
2036 }
2037 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2038 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
2039 }
2040 return interceptor(ctx, in, info, handler)
2041}
2042
2043func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2044 in := new(common.IDs)
2045 if err := dec(in); err != nil {
2046 return nil, err
2047 }
2048 if interceptor == nil {
2049 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
2050 }
2051 info := &grpc.UnaryServerInfo{
2052 Server: srv,
2053 FullMethod: "/voltha.VolthaService/ReconcileDevices",
2054 }
2055 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2056 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
2057 }
2058 return interceptor(ctx, in, info, handler)
2059}
2060
2061func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2062 in := new(common.ID)
2063 if err := dec(in); err != nil {
2064 return nil, err
2065 }
2066 if interceptor == nil {
2067 return srv.(VolthaServiceServer).GetDevice(ctx, in)
2068 }
2069 info := &grpc.UnaryServerInfo{
2070 Server: srv,
2071 FullMethod: "/voltha.VolthaService/GetDevice",
2072 }
2073 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2074 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
2075 }
2076 return interceptor(ctx, in, info, handler)
2077}
2078
2079func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2080 in := new(Device)
2081 if err := dec(in); err != nil {
2082 return nil, err
2083 }
2084 if interceptor == nil {
2085 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
2086 }
2087 info := &grpc.UnaryServerInfo{
2088 Server: srv,
2089 FullMethod: "/voltha.VolthaService/CreateDevice",
2090 }
2091 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2092 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
2093 }
2094 return interceptor(ctx, in, info, handler)
2095}
2096
2097func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2098 in := new(common.ID)
2099 if err := dec(in); err != nil {
2100 return nil, err
2101 }
2102 if interceptor == nil {
2103 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
2104 }
2105 info := &grpc.UnaryServerInfo{
2106 Server: srv,
2107 FullMethod: "/voltha.VolthaService/EnableDevice",
2108 }
2109 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2110 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
2111 }
2112 return interceptor(ctx, in, info, handler)
2113}
2114
2115func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2116 in := new(common.ID)
2117 if err := dec(in); err != nil {
2118 return nil, err
2119 }
2120 if interceptor == nil {
2121 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
2122 }
2123 info := &grpc.UnaryServerInfo{
2124 Server: srv,
2125 FullMethod: "/voltha.VolthaService/DisableDevice",
2126 }
2127 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2128 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
2129 }
2130 return interceptor(ctx, in, info, handler)
2131}
2132
2133func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2134 in := new(common.ID)
2135 if err := dec(in); err != nil {
2136 return nil, err
2137 }
2138 if interceptor == nil {
2139 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
2140 }
2141 info := &grpc.UnaryServerInfo{
2142 Server: srv,
2143 FullMethod: "/voltha.VolthaService/RebootDevice",
2144 }
2145 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2146 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
2147 }
2148 return interceptor(ctx, in, info, handler)
2149}
2150
2151func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2152 in := new(common.ID)
2153 if err := dec(in); err != nil {
2154 return nil, err
2155 }
2156 if interceptor == nil {
2157 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
2158 }
2159 info := &grpc.UnaryServerInfo{
2160 Server: srv,
2161 FullMethod: "/voltha.VolthaService/DeleteDevice",
2162 }
2163 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2164 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
2165 }
2166 return interceptor(ctx, in, info, handler)
2167}
2168
Himani Chawla503b7ce2020-10-07 13:20:03 +05302169func _VolthaService_ForceDeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2170 in := new(common.ID)
2171 if err := dec(in); err != nil {
2172 return nil, err
2173 }
2174 if interceptor == nil {
2175 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, in)
2176 }
2177 info := &grpc.UnaryServerInfo{
2178 Server: srv,
2179 FullMethod: "/voltha.VolthaService/ForceDeleteDevice",
2180 }
2181 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2182 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, req.(*common.ID))
2183 }
2184 return interceptor(ctx, in, info, handler)
2185}
2186
William Kurkian1b363f42019-03-12 15:28:12 -04002187func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2188 in := new(ImageDownload)
2189 if err := dec(in); err != nil {
2190 return nil, err
2191 }
2192 if interceptor == nil {
2193 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
2194 }
2195 info := &grpc.UnaryServerInfo{
2196 Server: srv,
2197 FullMethod: "/voltha.VolthaService/DownloadImage",
2198 }
2199 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2200 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
2201 }
2202 return interceptor(ctx, in, info, handler)
2203}
2204
2205func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2206 in := new(ImageDownload)
2207 if err := dec(in); err != nil {
2208 return nil, err
2209 }
2210 if interceptor == nil {
2211 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
2212 }
2213 info := &grpc.UnaryServerInfo{
2214 Server: srv,
2215 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
2216 }
2217 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2218 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
2219 }
2220 return interceptor(ctx, in, info, handler)
2221}
2222
2223func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2224 in := new(ImageDownload)
2225 if err := dec(in); err != nil {
2226 return nil, err
2227 }
2228 if interceptor == nil {
2229 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
2230 }
2231 info := &grpc.UnaryServerInfo{
2232 Server: srv,
2233 FullMethod: "/voltha.VolthaService/GetImageDownload",
2234 }
2235 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2236 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
2237 }
2238 return interceptor(ctx, in, info, handler)
2239}
2240
2241func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2242 in := new(common.ID)
2243 if err := dec(in); err != nil {
2244 return nil, err
2245 }
2246 if interceptor == nil {
2247 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
2248 }
2249 info := &grpc.UnaryServerInfo{
2250 Server: srv,
2251 FullMethod: "/voltha.VolthaService/ListImageDownloads",
2252 }
2253 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2254 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
2255 }
2256 return interceptor(ctx, in, info, handler)
2257}
2258
2259func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2260 in := new(ImageDownload)
2261 if err := dec(in); err != nil {
2262 return nil, err
2263 }
2264 if interceptor == nil {
2265 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
2266 }
2267 info := &grpc.UnaryServerInfo{
2268 Server: srv,
2269 FullMethod: "/voltha.VolthaService/CancelImageDownload",
2270 }
2271 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2272 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
2273 }
2274 return interceptor(ctx, in, info, handler)
2275}
2276
2277func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2278 in := new(ImageDownload)
2279 if err := dec(in); err != nil {
2280 return nil, err
2281 }
2282 if interceptor == nil {
2283 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
2284 }
2285 info := &grpc.UnaryServerInfo{
2286 Server: srv,
2287 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
2288 }
2289 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2290 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
2291 }
2292 return interceptor(ctx, in, info, handler)
2293}
2294
2295func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2296 in := new(ImageDownload)
2297 if err := dec(in); err != nil {
2298 return nil, err
2299 }
2300 if interceptor == nil {
2301 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
2302 }
2303 info := &grpc.UnaryServerInfo{
2304 Server: srv,
2305 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
2306 }
2307 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2308 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
2309 }
2310 return interceptor(ctx, in, info, handler)
2311}
2312
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01002313func _VolthaService_DownloadImageToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2314 in := new(DeviceImageDownloadRequest)
2315 if err := dec(in); err != nil {
2316 return nil, err
2317 }
2318 if interceptor == nil {
2319 return srv.(VolthaServiceServer).DownloadImageToDevice(ctx, in)
2320 }
2321 info := &grpc.UnaryServerInfo{
2322 Server: srv,
2323 FullMethod: "/voltha.VolthaService/DownloadImageToDevice",
2324 }
2325 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2326 return srv.(VolthaServiceServer).DownloadImageToDevice(ctx, req.(*DeviceImageDownloadRequest))
2327 }
2328 return interceptor(ctx, in, info, handler)
2329}
2330
2331func _VolthaService_GetImageStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2332 in := new(DeviceImageRequest)
2333 if err := dec(in); err != nil {
2334 return nil, err
2335 }
2336 if interceptor == nil {
2337 return srv.(VolthaServiceServer).GetImageStatus(ctx, in)
2338 }
2339 info := &grpc.UnaryServerInfo{
2340 Server: srv,
2341 FullMethod: "/voltha.VolthaService/GetImageStatus",
2342 }
2343 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2344 return srv.(VolthaServiceServer).GetImageStatus(ctx, req.(*DeviceImageRequest))
2345 }
2346 return interceptor(ctx, in, info, handler)
2347}
2348
2349func _VolthaService_AbortImageUpgradeToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2350 in := new(DeviceImageRequest)
2351 if err := dec(in); err != nil {
2352 return nil, err
2353 }
2354 if interceptor == nil {
2355 return srv.(VolthaServiceServer).AbortImageUpgradeToDevice(ctx, in)
2356 }
2357 info := &grpc.UnaryServerInfo{
2358 Server: srv,
2359 FullMethod: "/voltha.VolthaService/AbortImageUpgradeToDevice",
2360 }
2361 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2362 return srv.(VolthaServiceServer).AbortImageUpgradeToDevice(ctx, req.(*DeviceImageRequest))
2363 }
2364 return interceptor(ctx, in, info, handler)
2365}
2366
2367func _VolthaService_GetOnuImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2368 in := new(common.ID)
2369 if err := dec(in); err != nil {
2370 return nil, err
2371 }
2372 if interceptor == nil {
2373 return srv.(VolthaServiceServer).GetOnuImages(ctx, in)
2374 }
2375 info := &grpc.UnaryServerInfo{
2376 Server: srv,
2377 FullMethod: "/voltha.VolthaService/GetOnuImages",
2378 }
2379 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2380 return srv.(VolthaServiceServer).GetOnuImages(ctx, req.(*common.ID))
2381 }
2382 return interceptor(ctx, in, info, handler)
2383}
2384
2385func _VolthaService_ActivateImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2386 in := new(DeviceImageRequest)
2387 if err := dec(in); err != nil {
2388 return nil, err
2389 }
2390 if interceptor == nil {
2391 return srv.(VolthaServiceServer).ActivateImage(ctx, in)
2392 }
2393 info := &grpc.UnaryServerInfo{
2394 Server: srv,
2395 FullMethod: "/voltha.VolthaService/ActivateImage",
2396 }
2397 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2398 return srv.(VolthaServiceServer).ActivateImage(ctx, req.(*DeviceImageRequest))
2399 }
2400 return interceptor(ctx, in, info, handler)
2401}
2402
2403func _VolthaService_CommitImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2404 in := new(DeviceImageRequest)
2405 if err := dec(in); err != nil {
2406 return nil, err
2407 }
2408 if interceptor == nil {
2409 return srv.(VolthaServiceServer).CommitImage(ctx, in)
2410 }
2411 info := &grpc.UnaryServerInfo{
2412 Server: srv,
2413 FullMethod: "/voltha.VolthaService/CommitImage",
2414 }
2415 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2416 return srv.(VolthaServiceServer).CommitImage(ctx, req.(*DeviceImageRequest))
2417 }
2418 return interceptor(ctx, in, info, handler)
2419}
2420
William Kurkian1b363f42019-03-12 15:28:12 -04002421func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2422 in := new(common.ID)
2423 if err := dec(in); err != nil {
2424 return nil, err
2425 }
2426 if interceptor == nil {
2427 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
2428 }
2429 info := &grpc.UnaryServerInfo{
2430 Server: srv,
2431 FullMethod: "/voltha.VolthaService/ListDevicePorts",
2432 }
2433 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2434 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
2435 }
2436 return interceptor(ctx, in, info, handler)
2437}
2438
2439func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2440 in := new(common.ID)
2441 if err := dec(in); err != nil {
2442 return nil, err
2443 }
2444 if interceptor == nil {
2445 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
2446 }
2447 info := &grpc.UnaryServerInfo{
2448 Server: srv,
2449 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
2450 }
2451 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2452 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
2453 }
2454 return interceptor(ctx, in, info, handler)
2455}
2456
2457func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2458 in := new(PmConfigs)
2459 if err := dec(in); err != nil {
2460 return nil, err
2461 }
2462 if interceptor == nil {
2463 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
2464 }
2465 info := &grpc.UnaryServerInfo{
2466 Server: srv,
2467 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
2468 }
2469 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2470 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
2471 }
2472 return interceptor(ctx, in, info, handler)
2473}
2474
2475func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2476 in := new(common.ID)
2477 if err := dec(in); err != nil {
2478 return nil, err
2479 }
2480 if interceptor == nil {
2481 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
2482 }
2483 info := &grpc.UnaryServerInfo{
2484 Server: srv,
2485 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
2486 }
2487 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2488 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
2489 }
2490 return interceptor(ctx, in, info, handler)
2491}
2492
2493func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2494 in := new(common.ID)
2495 if err := dec(in); err != nil {
2496 return nil, err
2497 }
2498 if interceptor == nil {
2499 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
2500 }
2501 info := &grpc.UnaryServerInfo{
2502 Server: srv,
2503 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
2504 }
2505 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2506 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
2507 }
2508 return interceptor(ctx, in, info, handler)
2509}
2510
2511func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2512 in := new(empty.Empty)
2513 if err := dec(in); err != nil {
2514 return nil, err
2515 }
2516 if interceptor == nil {
2517 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
2518 }
2519 info := &grpc.UnaryServerInfo{
2520 Server: srv,
2521 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
2522 }
2523 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2524 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
2525 }
2526 return interceptor(ctx, in, info, handler)
2527}
2528
2529func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2530 in := new(common.ID)
2531 if err := dec(in); err != nil {
2532 return nil, err
2533 }
2534 if interceptor == nil {
2535 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
2536 }
2537 info := &grpc.UnaryServerInfo{
2538 Server: srv,
2539 FullMethod: "/voltha.VolthaService/GetDeviceType",
2540 }
2541 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2542 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
2543 }
2544 return interceptor(ctx, in, info, handler)
2545}
2546
William Kurkian1b363f42019-03-12 15:28:12 -04002547func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
2548 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
2549}
2550
2551type VolthaService_StreamPacketsOutServer interface {
2552 SendAndClose(*empty.Empty) error
2553 Recv() (*openflow_13.PacketOut, error)
2554 grpc.ServerStream
2555}
2556
2557type volthaServiceStreamPacketsOutServer struct {
2558 grpc.ServerStream
2559}
2560
2561func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
2562 return x.ServerStream.SendMsg(m)
2563}
2564
2565func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
2566 m := new(openflow_13.PacketOut)
2567 if err := x.ServerStream.RecvMsg(m); err != nil {
2568 return nil, err
2569 }
2570 return m, nil
2571}
2572
2573func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
2574 m := new(empty.Empty)
2575 if err := stream.RecvMsg(m); err != nil {
2576 return err
2577 }
2578 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
2579}
2580
2581type VolthaService_ReceivePacketsInServer interface {
2582 Send(*openflow_13.PacketIn) error
2583 grpc.ServerStream
2584}
2585
2586type volthaServiceReceivePacketsInServer struct {
2587 grpc.ServerStream
2588}
2589
2590func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
2591 return x.ServerStream.SendMsg(m)
2592}
2593
2594func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
2595 m := new(empty.Empty)
2596 if err := stream.RecvMsg(m); err != nil {
2597 return err
2598 }
2599 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
2600}
2601
2602type VolthaService_ReceiveChangeEventsServer interface {
2603 Send(*openflow_13.ChangeEvent) error
2604 grpc.ServerStream
2605}
2606
2607type volthaServiceReceiveChangeEventsServer struct {
2608 grpc.ServerStream
2609}
2610
2611func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
2612 return x.ServerStream.SendMsg(m)
2613}
2614
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002615func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2616 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04002617 if err := dec(in); err != nil {
2618 return nil, err
2619 }
2620 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002621 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002622 }
2623 info := &grpc.UnaryServerInfo{
2624 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002625 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04002626 }
2627 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002628 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04002629 }
2630 return interceptor(ctx, in, info, handler)
2631}
2632
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002633func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002634 in := new(common.ID)
2635 if err := dec(in); err != nil {
2636 return nil, err
2637 }
2638 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002639 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002640 }
2641 info := &grpc.UnaryServerInfo{
2642 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002643 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04002644 }
2645 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002646 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04002647 }
2648 return interceptor(ctx, in, info, handler)
2649}
2650
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002651func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2652 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04002653 if err := dec(in); err != nil {
2654 return nil, err
2655 }
2656 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002657 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002658 }
2659 info := &grpc.UnaryServerInfo{
2660 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002661 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04002662 }
2663 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002664 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04002665 }
2666 return interceptor(ctx, in, info, handler)
2667}
2668
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002669func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2670 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04002671 if err := dec(in); err != nil {
2672 return nil, err
2673 }
2674 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002675 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002676 }
2677 info := &grpc.UnaryServerInfo{
2678 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002679 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04002680 }
2681 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002682 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04002683 }
2684 return interceptor(ctx, in, info, handler)
2685}
2686
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002687func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002688 in := new(empty.Empty)
2689 if err := dec(in); err != nil {
2690 return nil, err
2691 }
2692 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002693 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04002694 }
2695 info := &grpc.UnaryServerInfo{
2696 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002697 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04002698 }
2699 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002700 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04002701 }
2702 return interceptor(ctx, in, info, handler)
2703}
2704
2705func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2706 in := new(common.ID)
2707 if err := dec(in); err != nil {
2708 return nil, err
2709 }
2710 if interceptor == nil {
2711 return srv.(VolthaServiceServer).GetImages(ctx, in)
2712 }
2713 info := &grpc.UnaryServerInfo{
2714 Server: srv,
2715 FullMethod: "/voltha.VolthaService/GetImages",
2716 }
2717 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2718 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
2719 }
2720 return interceptor(ctx, in, info, handler)
2721}
2722
2723func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2724 in := new(common.ID)
2725 if err := dec(in); err != nil {
2726 return nil, err
2727 }
2728 if interceptor == nil {
2729 return srv.(VolthaServiceServer).SelfTest(ctx, in)
2730 }
2731 info := &grpc.UnaryServerInfo{
2732 Server: srv,
2733 FullMethod: "/voltha.VolthaService/SelfTest",
2734 }
2735 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2736 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
2737 }
2738 return interceptor(ctx, in, info, handler)
2739}
2740
2741func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2742 in := new(common.ID)
2743 if err := dec(in); err != nil {
2744 return nil, err
2745 }
2746 if interceptor == nil {
2747 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
2748 }
2749 info := &grpc.UnaryServerInfo{
2750 Server: srv,
2751 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
2752 }
2753 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2754 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
2755 }
2756 return interceptor(ctx, in, info, handler)
2757}
2758
2759func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2760 in := new(common.ID)
2761 if err := dec(in); err != nil {
2762 return nil, err
2763 }
2764 if interceptor == nil {
2765 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
2766 }
2767 info := &grpc.UnaryServerInfo{
2768 Server: srv,
2769 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
2770 }
2771 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2772 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
2773 }
2774 return interceptor(ctx, in, info, handler)
2775}
2776
2777func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2778 in := new(SimulateAlarmRequest)
2779 if err := dec(in); err != nil {
2780 return nil, err
2781 }
2782 if interceptor == nil {
2783 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
2784 }
2785 info := &grpc.UnaryServerInfo{
2786 Server: srv,
2787 FullMethod: "/voltha.VolthaService/SimulateAlarm",
2788 }
2789 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2790 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
2791 }
2792 return interceptor(ctx, in, info, handler)
2793}
2794
kesavand4a002b02020-01-23 21:29:47 -05002795func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2796 in := new(Port)
2797 if err := dec(in); err != nil {
2798 return nil, err
2799 }
2800 if interceptor == nil {
2801 return srv.(VolthaServiceServer).EnablePort(ctx, in)
2802 }
2803 info := &grpc.UnaryServerInfo{
2804 Server: srv,
2805 FullMethod: "/voltha.VolthaService/EnablePort",
2806 }
2807 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2808 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
2809 }
2810 return interceptor(ctx, in, info, handler)
2811}
2812
2813func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2814 in := new(Port)
2815 if err := dec(in); err != nil {
2816 return nil, err
2817 }
2818 if interceptor == nil {
2819 return srv.(VolthaServiceServer).DisablePort(ctx, in)
2820 }
2821 info := &grpc.UnaryServerInfo{
2822 Server: srv,
2823 FullMethod: "/voltha.VolthaService/DisablePort",
2824 }
2825 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2826 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
2827 }
2828 return interceptor(ctx, in, info, handler)
2829}
2830
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002831func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002832 in := new(extension.ValueSpecifier)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002833 if err := dec(in); err != nil {
2834 return nil, err
2835 }
2836 if interceptor == nil {
2837 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
2838 }
2839 info := &grpc.UnaryServerInfo{
2840 Server: srv,
2841 FullMethod: "/voltha.VolthaService/GetExtValue",
2842 }
2843 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002844 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*extension.ValueSpecifier))
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002845 }
2846 return interceptor(ctx, in, info, handler)
2847}
2848
dpaul2b52e712020-06-23 13:02:28 +05302849func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002850 in := new(extension.ValueSet)
dpaul2b52e712020-06-23 13:02:28 +05302851 if err := dec(in); err != nil {
2852 return nil, err
2853 }
2854 if interceptor == nil {
2855 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
2856 }
2857 info := &grpc.UnaryServerInfo{
2858 Server: srv,
2859 FullMethod: "/voltha.VolthaService/SetExtValue",
2860 }
2861 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002862 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*extension.ValueSet))
dpaul2b52e712020-06-23 13:02:28 +05302863 }
2864 return interceptor(ctx, in, info, handler)
2865}
2866
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302867func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002868 in := new(omci.OmciTestRequest)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302869 if err := dec(in); err != nil {
2870 return nil, err
2871 }
2872 if interceptor == nil {
2873 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
2874 }
2875 info := &grpc.UnaryServerInfo{
2876 Server: srv,
2877 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
2878 }
2879 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
khenaidoo4c6543e2021-10-19 17:25:58 -04002880 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*omci.OmciTestRequest))
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302881 }
2882 return interceptor(ctx, in, info, handler)
2883}
2884
yasin sapli2bbfbb42021-11-01 14:30:10 +00002885func _VolthaService_PutVoipSystemProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2886 in := new(voip_system_profile.VoipSystemProfileRequest)
2887 if err := dec(in); err != nil {
2888 return nil, err
2889 }
2890 if interceptor == nil {
2891 return srv.(VolthaServiceServer).PutVoipSystemProfile(ctx, in)
2892 }
2893 info := &grpc.UnaryServerInfo{
2894 Server: srv,
2895 FullMethod: "/voltha.VolthaService/PutVoipSystemProfile",
2896 }
2897 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2898 return srv.(VolthaServiceServer).PutVoipSystemProfile(ctx, req.(*voip_system_profile.VoipSystemProfileRequest))
2899 }
2900 return interceptor(ctx, in, info, handler)
2901}
2902
2903func _VolthaService_DeleteVoipSystemProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2904 in := new(common.Key)
2905 if err := dec(in); err != nil {
2906 return nil, err
2907 }
2908 if interceptor == nil {
2909 return srv.(VolthaServiceServer).DeleteVoipSystemProfile(ctx, in)
2910 }
2911 info := &grpc.UnaryServerInfo{
2912 Server: srv,
2913 FullMethod: "/voltha.VolthaService/DeleteVoipSystemProfile",
2914 }
2915 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2916 return srv.(VolthaServiceServer).DeleteVoipSystemProfile(ctx, req.(*common.Key))
2917 }
2918 return interceptor(ctx, in, info, handler)
2919}
2920
2921func _VolthaService_PutVoipUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2922 in := new(voip_user_profile.VoipUserProfileRequest)
2923 if err := dec(in); err != nil {
2924 return nil, err
2925 }
2926 if interceptor == nil {
2927 return srv.(VolthaServiceServer).PutVoipUserProfile(ctx, in)
2928 }
2929 info := &grpc.UnaryServerInfo{
2930 Server: srv,
2931 FullMethod: "/voltha.VolthaService/PutVoipUserProfile",
2932 }
2933 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2934 return srv.(VolthaServiceServer).PutVoipUserProfile(ctx, req.(*voip_user_profile.VoipUserProfileRequest))
2935 }
2936 return interceptor(ctx, in, info, handler)
2937}
2938
2939func _VolthaService_DeleteVoipUserProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2940 in := new(common.Key)
2941 if err := dec(in); err != nil {
2942 return nil, err
2943 }
2944 if interceptor == nil {
2945 return srv.(VolthaServiceServer).DeleteVoipUserProfile(ctx, in)
2946 }
2947 info := &grpc.UnaryServerInfo{
2948 Server: srv,
2949 FullMethod: "/voltha.VolthaService/DeleteVoipUserProfile",
2950 }
2951 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2952 return srv.(VolthaServiceServer).DeleteVoipUserProfile(ctx, req.(*common.Key))
2953 }
2954 return interceptor(ctx, in, info, handler)
2955}
2956
William Kurkian1b363f42019-03-12 15:28:12 -04002957var _VolthaService_serviceDesc = grpc.ServiceDesc{
2958 ServiceName: "voltha.VolthaService",
2959 HandlerType: (*VolthaServiceServer)(nil),
2960 Methods: []grpc.MethodDesc{
2961 {
William Kurkian1b363f42019-03-12 15:28:12 -04002962 MethodName: "GetVoltha",
2963 Handler: _VolthaService_GetVoltha_Handler,
2964 },
2965 {
2966 MethodName: "ListCoreInstances",
2967 Handler: _VolthaService_ListCoreInstances_Handler,
2968 },
2969 {
2970 MethodName: "GetCoreInstance",
2971 Handler: _VolthaService_GetCoreInstance_Handler,
2972 },
2973 {
2974 MethodName: "ListAdapters",
2975 Handler: _VolthaService_ListAdapters_Handler,
2976 },
2977 {
2978 MethodName: "ListLogicalDevices",
2979 Handler: _VolthaService_ListLogicalDevices_Handler,
2980 },
2981 {
2982 MethodName: "GetLogicalDevice",
2983 Handler: _VolthaService_GetLogicalDevice_Handler,
2984 },
2985 {
2986 MethodName: "ListLogicalDevicePorts",
2987 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
2988 },
2989 {
2990 MethodName: "GetLogicalDevicePort",
2991 Handler: _VolthaService_GetLogicalDevicePort_Handler,
2992 },
2993 {
2994 MethodName: "EnableLogicalDevicePort",
2995 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
2996 },
2997 {
2998 MethodName: "DisableLogicalDevicePort",
2999 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
3000 },
3001 {
3002 MethodName: "ListLogicalDeviceFlows",
3003 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
3004 },
3005 {
3006 MethodName: "UpdateLogicalDeviceFlowTable",
3007 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
3008 },
3009 {
3010 MethodName: "UpdateLogicalDeviceMeterTable",
3011 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
3012 },
3013 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003014 MethodName: "ListLogicalDeviceMeters",
3015 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003016 },
3017 {
3018 MethodName: "ListLogicalDeviceFlowGroups",
3019 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
3020 },
3021 {
3022 MethodName: "UpdateLogicalDeviceFlowGroupTable",
3023 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
3024 },
3025 {
3026 MethodName: "ListDevices",
3027 Handler: _VolthaService_ListDevices_Handler,
3028 },
3029 {
3030 MethodName: "ListDeviceIds",
3031 Handler: _VolthaService_ListDeviceIds_Handler,
3032 },
3033 {
3034 MethodName: "ReconcileDevices",
3035 Handler: _VolthaService_ReconcileDevices_Handler,
3036 },
3037 {
3038 MethodName: "GetDevice",
3039 Handler: _VolthaService_GetDevice_Handler,
3040 },
3041 {
3042 MethodName: "CreateDevice",
3043 Handler: _VolthaService_CreateDevice_Handler,
3044 },
3045 {
3046 MethodName: "EnableDevice",
3047 Handler: _VolthaService_EnableDevice_Handler,
3048 },
3049 {
3050 MethodName: "DisableDevice",
3051 Handler: _VolthaService_DisableDevice_Handler,
3052 },
3053 {
3054 MethodName: "RebootDevice",
3055 Handler: _VolthaService_RebootDevice_Handler,
3056 },
3057 {
3058 MethodName: "DeleteDevice",
3059 Handler: _VolthaService_DeleteDevice_Handler,
3060 },
3061 {
Himani Chawla503b7ce2020-10-07 13:20:03 +05303062 MethodName: "ForceDeleteDevice",
3063 Handler: _VolthaService_ForceDeleteDevice_Handler,
3064 },
3065 {
William Kurkian1b363f42019-03-12 15:28:12 -04003066 MethodName: "DownloadImage",
3067 Handler: _VolthaService_DownloadImage_Handler,
3068 },
3069 {
3070 MethodName: "GetImageDownloadStatus",
3071 Handler: _VolthaService_GetImageDownloadStatus_Handler,
3072 },
3073 {
3074 MethodName: "GetImageDownload",
3075 Handler: _VolthaService_GetImageDownload_Handler,
3076 },
3077 {
3078 MethodName: "ListImageDownloads",
3079 Handler: _VolthaService_ListImageDownloads_Handler,
3080 },
3081 {
3082 MethodName: "CancelImageDownload",
3083 Handler: _VolthaService_CancelImageDownload_Handler,
3084 },
3085 {
3086 MethodName: "ActivateImageUpdate",
3087 Handler: _VolthaService_ActivateImageUpdate_Handler,
3088 },
3089 {
3090 MethodName: "RevertImageUpdate",
3091 Handler: _VolthaService_RevertImageUpdate_Handler,
3092 },
3093 {
Andrea Campanella9e94e8a2021-01-19 15:21:25 +01003094 MethodName: "DownloadImageToDevice",
3095 Handler: _VolthaService_DownloadImageToDevice_Handler,
3096 },
3097 {
3098 MethodName: "GetImageStatus",
3099 Handler: _VolthaService_GetImageStatus_Handler,
3100 },
3101 {
3102 MethodName: "AbortImageUpgradeToDevice",
3103 Handler: _VolthaService_AbortImageUpgradeToDevice_Handler,
3104 },
3105 {
3106 MethodName: "GetOnuImages",
3107 Handler: _VolthaService_GetOnuImages_Handler,
3108 },
3109 {
3110 MethodName: "ActivateImage",
3111 Handler: _VolthaService_ActivateImage_Handler,
3112 },
3113 {
3114 MethodName: "CommitImage",
3115 Handler: _VolthaService_CommitImage_Handler,
3116 },
3117 {
William Kurkian1b363f42019-03-12 15:28:12 -04003118 MethodName: "ListDevicePorts",
3119 Handler: _VolthaService_ListDevicePorts_Handler,
3120 },
3121 {
3122 MethodName: "ListDevicePmConfigs",
3123 Handler: _VolthaService_ListDevicePmConfigs_Handler,
3124 },
3125 {
3126 MethodName: "UpdateDevicePmConfigs",
3127 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
3128 },
3129 {
3130 MethodName: "ListDeviceFlows",
3131 Handler: _VolthaService_ListDeviceFlows_Handler,
3132 },
3133 {
3134 MethodName: "ListDeviceFlowGroups",
3135 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
3136 },
3137 {
3138 MethodName: "ListDeviceTypes",
3139 Handler: _VolthaService_ListDeviceTypes_Handler,
3140 },
3141 {
3142 MethodName: "GetDeviceType",
3143 Handler: _VolthaService_GetDeviceType_Handler,
3144 },
3145 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003146 MethodName: "CreateEventFilter",
3147 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003148 },
3149 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003150 MethodName: "GetEventFilter",
3151 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003152 },
3153 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003154 MethodName: "UpdateEventFilter",
3155 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003156 },
3157 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003158 MethodName: "DeleteEventFilter",
3159 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003160 },
3161 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003162 MethodName: "ListEventFilters",
3163 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04003164 },
3165 {
3166 MethodName: "GetImages",
3167 Handler: _VolthaService_GetImages_Handler,
3168 },
3169 {
3170 MethodName: "SelfTest",
3171 Handler: _VolthaService_SelfTest_Handler,
3172 },
3173 {
3174 MethodName: "GetMibDeviceData",
3175 Handler: _VolthaService_GetMibDeviceData_Handler,
3176 },
3177 {
3178 MethodName: "GetAlarmDeviceData",
3179 Handler: _VolthaService_GetAlarmDeviceData_Handler,
3180 },
3181 {
3182 MethodName: "SimulateAlarm",
3183 Handler: _VolthaService_SimulateAlarm_Handler,
3184 },
3185 {
kesavand4a002b02020-01-23 21:29:47 -05003186 MethodName: "EnablePort",
3187 Handler: _VolthaService_EnablePort_Handler,
3188 },
3189 {
3190 MethodName: "DisablePort",
3191 Handler: _VolthaService_DisablePort_Handler,
3192 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303193 {
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003194 MethodName: "GetExtValue",
3195 Handler: _VolthaService_GetExtValue_Handler,
3196 },
3197 {
dpaul2b52e712020-06-23 13:02:28 +05303198 MethodName: "SetExtValue",
3199 Handler: _VolthaService_SetExtValue_Handler,
3200 },
3201 {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303202 MethodName: "StartOmciTestAction",
3203 Handler: _VolthaService_StartOmciTestAction_Handler,
3204 },
yasin sapli2bbfbb42021-11-01 14:30:10 +00003205 {
3206 MethodName: "PutVoipSystemProfile",
3207 Handler: _VolthaService_PutVoipSystemProfile_Handler,
3208 },
3209 {
3210 MethodName: "DeleteVoipSystemProfile",
3211 Handler: _VolthaService_DeleteVoipSystemProfile_Handler,
3212 },
3213 {
3214 MethodName: "PutVoipUserProfile",
3215 Handler: _VolthaService_PutVoipUserProfile_Handler,
3216 },
3217 {
3218 MethodName: "DeleteVoipUserProfile",
3219 Handler: _VolthaService_DeleteVoipUserProfile_Handler,
3220 },
William Kurkian1b363f42019-03-12 15:28:12 -04003221 },
3222 Streams: []grpc.StreamDesc{
3223 {
3224 StreamName: "StreamPacketsOut",
3225 Handler: _VolthaService_StreamPacketsOut_Handler,
3226 ClientStreams: true,
3227 },
3228 {
3229 StreamName: "ReceivePacketsIn",
3230 Handler: _VolthaService_ReceivePacketsIn_Handler,
3231 ServerStreams: true,
3232 },
3233 {
3234 StreamName: "ReceiveChangeEvents",
3235 Handler: _VolthaService_ReceiveChangeEvents_Handler,
3236 ServerStreams: true,
3237 },
3238 },
3239 Metadata: "voltha_protos/voltha.proto",
3240}