blob: cc7717b31198c22c4b7b65c3aeefd26676c6d2ef [file] [log] [blame]
Don Newton98fd8812019-09-23 15:15:02 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/voltha.proto
3
4package voltha
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
10 empty "github.com/golang/protobuf/ptypes/empty"
Maninder12b909f2020-10-23 14:23:36 +053011 common "github.com/opencord/voltha-protos/v4/go/common"
12 config "github.com/opencord/voltha-protos/v4/go/ext/config"
13 omci "github.com/opencord/voltha-protos/v4/go/omci"
14 openflow_13 "github.com/opencord/voltha-protos/v4/go/openflow_13"
Don Newton98fd8812019-09-23 15:15:02 -040015 _ "google.golang.org/genproto/googleapis/api/annotations"
16 grpc "google.golang.org/grpc"
David K. Bainbridge595b6702021-04-09 16:10:58 +000017 codes "google.golang.org/grpc/codes"
18 status "google.golang.org/grpc/status"
Don Newton98fd8812019-09-23 15:15:02 -040019 math "math"
20)
21
22// Reference imports to suppress errors if they are not otherwise used.
23var _ = proto.Marshal
24var _ = fmt.Errorf
25var _ = math.Inf
26
27// This is a compile-time assertion to ensure that this generated file
28// is compatible with the proto package it is being compiled against.
29// A compilation error at this line likely means your copy of the
30// proto package needs to be updated.
31const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
32
33// ChildNode from public import voltha_protos/meta.proto
34type ChildNode = common.ChildNode
35
36// Access from public import voltha_protos/meta.proto
37type Access = common.Access
38
39var Access_name = common.Access_name
40var Access_value = common.Access_value
41
42const Access_CONFIG = Access(common.Access_CONFIG)
43const Access_READ_ONLY = Access(common.Access_READ_ONLY)
44const Access_REAL_TIME = Access(common.Access_REAL_TIME)
45
46var E_ChildNode = common.E_ChildNode
47
48var E_Access = common.E_Access
49
50// ID from public import voltha_protos/common.proto
51type ID = common.ID
52
53// IDs from public import voltha_protos/common.proto
54type IDs = common.IDs
55
Don Newton98fd8812019-09-23 15:15:02 -040056// AdminState from public import voltha_protos/common.proto
57type AdminState = common.AdminState
58
59// OperStatus from public import voltha_protos/common.proto
60type OperStatus = common.OperStatus
61
62// ConnectStatus from public import voltha_protos/common.proto
63type ConnectStatus = common.ConnectStatus
64
65// OperationResp from public import voltha_protos/common.proto
66type OperationResp = common.OperationResp
67
Neha Sharma87d43d72020-04-08 14:10:40 +000068// ValueType from public import voltha_protos/common.proto
69type ValueType = common.ValueType
70
71// ValueSpecifier from public import voltha_protos/common.proto
72type ValueSpecifier = common.ValueSpecifier
73
74// ReturnValues from public import voltha_protos/common.proto
75type ReturnValues = common.ReturnValues
76
Don Newton98fd8812019-09-23 15:15:02 -040077// TestModeKeys from public import voltha_protos/common.proto
78type TestModeKeys = common.TestModeKeys
79
80var TestModeKeys_name = common.TestModeKeys_name
81var TestModeKeys_value = common.TestModeKeys_value
82
83const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
84
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080085// AdminState_Types from public import voltha_protos/common.proto
86type AdminState_Types = common.AdminState_Types
Don Newton98fd8812019-09-23 15:15:02 -040087
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080088var AdminState_Types_name = common.AdminState_Types_name
89var AdminState_Types_value = common.AdminState_Types_value
Don Newton98fd8812019-09-23 15:15:02 -040090
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080091const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
92const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
93const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
94const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
95const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
Don Newton98fd8812019-09-23 15:15:02 -040096
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080097// OperStatus_Types from public import voltha_protos/common.proto
98type OperStatus_Types = common.OperStatus_Types
Don Newton98fd8812019-09-23 15:15:02 -040099
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800100var OperStatus_Types_name = common.OperStatus_Types_name
101var OperStatus_Types_value = common.OperStatus_Types_value
Don Newton98fd8812019-09-23 15:15:02 -0400102
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800103const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
104const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
105const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
106const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
107const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
108const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
David K. Bainbridge595b6702021-04-09 16:10:58 +0000109const OperStatus_RECONCILING = OperStatus_Types(common.OperStatus_RECONCILING)
Andrea Campanella18448bc2021-07-08 18:47:22 +0200110const OperStatus_RECONCILING_FAILED = OperStatus_Types(common.OperStatus_RECONCILING_FAILED)
Don Newton98fd8812019-09-23 15:15:02 -0400111
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800112// ConnectStatus_Types from public import voltha_protos/common.proto
113type ConnectStatus_Types = common.ConnectStatus_Types
Don Newton98fd8812019-09-23 15:15:02 -0400114
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800115var ConnectStatus_Types_name = common.ConnectStatus_Types_name
116var ConnectStatus_Types_value = common.ConnectStatus_Types_value
Don Newton98fd8812019-09-23 15:15:02 -0400117
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800118const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
119const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
120const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
Don Newton98fd8812019-09-23 15:15:02 -0400121
122// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
123type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
124
125var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
126var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
127
128const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
129const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
130const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
David K. Bainbridge595b6702021-04-09 16:10:58 +0000131const OperationResp_OPERATION_IN_PROGRESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_IN_PROGRESS)
Don Newton98fd8812019-09-23 15:15:02 -0400132
Neha Sharma87d43d72020-04-08 14:10:40 +0000133// ValueType_Type from public import voltha_protos/common.proto
134type ValueType_Type = common.ValueType_Type
135
136var ValueType_Type_name = common.ValueType_Type_name
137var ValueType_Type_value = common.ValueType_Type_value
138
139const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY)
140const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE)
141
Don Newton98fd8812019-09-23 15:15:02 -0400142// OfpHeader from public import voltha_protos/openflow_13.proto
143type OfpHeader = openflow_13.OfpHeader
144
145// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
146type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
147type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
148
149// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
150type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
151
152// OfpHello from public import voltha_protos/openflow_13.proto
153type OfpHello = openflow_13.OfpHello
154
155// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
156type OfpSwitchConfig = openflow_13.OfpSwitchConfig
157
158// OfpTableMod from public import voltha_protos/openflow_13.proto
159type OfpTableMod = openflow_13.OfpTableMod
160
161// OfpPort from public import voltha_protos/openflow_13.proto
162type OfpPort = openflow_13.OfpPort
163
164// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
165type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
166
167// OfpPortStatus from public import voltha_protos/openflow_13.proto
168type OfpPortStatus = openflow_13.OfpPortStatus
169
170// OfpPortMod from public import voltha_protos/openflow_13.proto
171type OfpPortMod = openflow_13.OfpPortMod
172
173// OfpMatch from public import voltha_protos/openflow_13.proto
174type OfpMatch = openflow_13.OfpMatch
175
176// OfpOxmField from public import voltha_protos/openflow_13.proto
177type OfpOxmField = openflow_13.OfpOxmField
178type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
179type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
180
181// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
182type OfpOxmOfbField = openflow_13.OfpOxmOfbField
183type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
184type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
185type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
186type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
187type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
188type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
189type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
190type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
191type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
192type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
193type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
194type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
195type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
196type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
197type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
198type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
199type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
200type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
201type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
202type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
203type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
204type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
205type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
206type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
207type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
208type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
209type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
210type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
211type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
212type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
213type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
214type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
215type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
216type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
217type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
218type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
219type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
220type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
221type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
222type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
223type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
224type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
225type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
226type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
227type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
228type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
229type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
230type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
231type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
232type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
233type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
234type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
235type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
236type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
237
238// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
239type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
240
241// OfpAction from public import voltha_protos/openflow_13.proto
242type OfpAction = openflow_13.OfpAction
243type OfpAction_Output = openflow_13.OfpAction_Output
244type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
245type OfpAction_Push = openflow_13.OfpAction_Push
246type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
247type OfpAction_Group = openflow_13.OfpAction_Group
248type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
249type OfpAction_SetField = openflow_13.OfpAction_SetField
250type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
251
252// OfpActionOutput from public import voltha_protos/openflow_13.proto
253type OfpActionOutput = openflow_13.OfpActionOutput
254
255// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
256type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
257
258// OfpActionPush from public import voltha_protos/openflow_13.proto
259type OfpActionPush = openflow_13.OfpActionPush
260
261// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
262type OfpActionPopMpls = openflow_13.OfpActionPopMpls
263
264// OfpActionGroup from public import voltha_protos/openflow_13.proto
265type OfpActionGroup = openflow_13.OfpActionGroup
266
267// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
268type OfpActionNwTtl = openflow_13.OfpActionNwTtl
269
270// OfpActionSetField from public import voltha_protos/openflow_13.proto
271type OfpActionSetField = openflow_13.OfpActionSetField
272
273// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
274type OfpActionExperimenter = openflow_13.OfpActionExperimenter
275
276// OfpInstruction from public import voltha_protos/openflow_13.proto
277type OfpInstruction = openflow_13.OfpInstruction
278type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
279type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
280type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
281type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
282type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
283
284// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
285type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
286
287// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
288type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
289
290// OfpInstructionActions from public import voltha_protos/openflow_13.proto
291type OfpInstructionActions = openflow_13.OfpInstructionActions
292
293// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
294type OfpInstructionMeter = openflow_13.OfpInstructionMeter
295
296// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
297type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
298
299// OfpFlowMod from public import voltha_protos/openflow_13.proto
300type OfpFlowMod = openflow_13.OfpFlowMod
301
302// OfpBucket from public import voltha_protos/openflow_13.proto
303type OfpBucket = openflow_13.OfpBucket
304
305// OfpGroupMod from public import voltha_protos/openflow_13.proto
306type OfpGroupMod = openflow_13.OfpGroupMod
307
308// OfpPacketOut from public import voltha_protos/openflow_13.proto
309type OfpPacketOut = openflow_13.OfpPacketOut
310
311// OfpPacketIn from public import voltha_protos/openflow_13.proto
312type OfpPacketIn = openflow_13.OfpPacketIn
313
314// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
315type OfpFlowRemoved = openflow_13.OfpFlowRemoved
316
317// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
318type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
319type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
320type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
321type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
322
323// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
324type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
325
326// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
327type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
328
329// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
330type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
331
332// OfpMeterMod from public import voltha_protos/openflow_13.proto
333type OfpMeterMod = openflow_13.OfpMeterMod
334
335// OfpErrorMsg from public import voltha_protos/openflow_13.proto
336type OfpErrorMsg = openflow_13.OfpErrorMsg
337
338// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
339type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
340
341// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
342type OfpMultipartRequest = openflow_13.OfpMultipartRequest
343
344// OfpMultipartReply from public import voltha_protos/openflow_13.proto
345type OfpMultipartReply = openflow_13.OfpMultipartReply
346
347// OfpDesc from public import voltha_protos/openflow_13.proto
348type OfpDesc = openflow_13.OfpDesc
349
350// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
351type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
352
353// OfpFlowStats from public import voltha_protos/openflow_13.proto
354type OfpFlowStats = openflow_13.OfpFlowStats
355
356// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
357type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
358
359// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
360type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
361
362// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
363type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
364type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
365type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
366type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
367type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
368type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
369
370// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
371type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
372
373// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
374type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
375
376// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
377type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
378
379// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
380type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
381
382// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
383type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
384
385// OfpTableFeatures from public import voltha_protos/openflow_13.proto
386type OfpTableFeatures = openflow_13.OfpTableFeatures
387
388// OfpTableStats from public import voltha_protos/openflow_13.proto
389type OfpTableStats = openflow_13.OfpTableStats
390
391// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
392type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
393
394// OfpPortStats from public import voltha_protos/openflow_13.proto
395type OfpPortStats = openflow_13.OfpPortStats
396
397// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
398type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
399
400// OfpBucketCounter from public import voltha_protos/openflow_13.proto
401type OfpBucketCounter = openflow_13.OfpBucketCounter
402
403// OfpGroupStats from public import voltha_protos/openflow_13.proto
404type OfpGroupStats = openflow_13.OfpGroupStats
405
406// OfpGroupDesc from public import voltha_protos/openflow_13.proto
407type OfpGroupDesc = openflow_13.OfpGroupDesc
408
409// OfpGroupEntry from public import voltha_protos/openflow_13.proto
410type OfpGroupEntry = openflow_13.OfpGroupEntry
411
412// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
413type OfpGroupFeatures = openflow_13.OfpGroupFeatures
414
415// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
416type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
417
418// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
419type OfpMeterBandStats = openflow_13.OfpMeterBandStats
420
421// OfpMeterStats from public import voltha_protos/openflow_13.proto
422type OfpMeterStats = openflow_13.OfpMeterStats
423
424// OfpMeterConfig from public import voltha_protos/openflow_13.proto
425type OfpMeterConfig = openflow_13.OfpMeterConfig
426
427// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
428type OfpMeterFeatures = openflow_13.OfpMeterFeatures
429
430// OfpMeterEntry from public import voltha_protos/openflow_13.proto
431type OfpMeterEntry = openflow_13.OfpMeterEntry
432
433// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
434type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
435
436// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
437type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
438
439// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
440type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
441
442// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
443type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
444
445// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
446type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
447
448// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
449type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
450
451// OfpPacketQueue from public import voltha_protos/openflow_13.proto
452type OfpPacketQueue = openflow_13.OfpPacketQueue
453
454// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
455type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
456
457// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
458type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
459
460// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
461type OfpActionSetQueue = openflow_13.OfpActionSetQueue
462
463// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
464type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
465
466// OfpQueueStats from public import voltha_protos/openflow_13.proto
467type OfpQueueStats = openflow_13.OfpQueueStats
468
469// OfpRoleRequest from public import voltha_protos/openflow_13.proto
470type OfpRoleRequest = openflow_13.OfpRoleRequest
471
472// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
473type OfpAsyncConfig = openflow_13.OfpAsyncConfig
474
475// MeterModUpdate from public import voltha_protos/openflow_13.proto
476type MeterModUpdate = openflow_13.MeterModUpdate
477
478// MeterStatsReply from public import voltha_protos/openflow_13.proto
479type MeterStatsReply = openflow_13.MeterStatsReply
480
481// FlowTableUpdate from public import voltha_protos/openflow_13.proto
482type FlowTableUpdate = openflow_13.FlowTableUpdate
483
484// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
485type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
486
487// Flows from public import voltha_protos/openflow_13.proto
488type Flows = openflow_13.Flows
489
490// Meters from public import voltha_protos/openflow_13.proto
491type Meters = openflow_13.Meters
492
493// FlowGroups from public import voltha_protos/openflow_13.proto
494type FlowGroups = openflow_13.FlowGroups
495
496// FlowChanges from public import voltha_protos/openflow_13.proto
497type FlowChanges = openflow_13.FlowChanges
498
499// FlowGroupChanges from public import voltha_protos/openflow_13.proto
500type FlowGroupChanges = openflow_13.FlowGroupChanges
501
502// PacketIn from public import voltha_protos/openflow_13.proto
503type PacketIn = openflow_13.PacketIn
504
505// PacketOut from public import voltha_protos/openflow_13.proto
506type PacketOut = openflow_13.PacketOut
507
508// ChangeEvent from public import voltha_protos/openflow_13.proto
509type ChangeEvent = openflow_13.ChangeEvent
510type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
Manindere2af7e42020-12-04 11:46:26 +0530511type ChangeEvent_Error = openflow_13.ChangeEvent_Error
Don Newton98fd8812019-09-23 15:15:02 -0400512
513// OfpPortNo from public import voltha_protos/openflow_13.proto
514type OfpPortNo = openflow_13.OfpPortNo
515
516var OfpPortNo_name = openflow_13.OfpPortNo_name
517var OfpPortNo_value = openflow_13.OfpPortNo_value
518
519const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
520const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
521const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
522const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
523const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
524const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
525const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
526const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
527const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
528const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
529
530// OfpType from public import voltha_protos/openflow_13.proto
531type OfpType = openflow_13.OfpType
532
533var OfpType_name = openflow_13.OfpType_name
534var OfpType_value = openflow_13.OfpType_value
535
536const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
537const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
538const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
539const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
540const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
541const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
542const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
543const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
544const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
545const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
546const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
547const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
548const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
549const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
550const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
551const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
552const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
553const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
554const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
555const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
556const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
557const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
558const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
559const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
560const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
561const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
562const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
563const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
564const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
565const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
566
567// OfpHelloElemType from public import voltha_protos/openflow_13.proto
568type OfpHelloElemType = openflow_13.OfpHelloElemType
569
570var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
571var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
572
573const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
574const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
575
576// OfpConfigFlags from public import voltha_protos/openflow_13.proto
577type OfpConfigFlags = openflow_13.OfpConfigFlags
578
579var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
580var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
581
582const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
583const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
584const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
585const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
586
587// OfpTableConfig from public import voltha_protos/openflow_13.proto
588type OfpTableConfig = openflow_13.OfpTableConfig
589
590var OfpTableConfig_name = openflow_13.OfpTableConfig_name
591var OfpTableConfig_value = openflow_13.OfpTableConfig_value
592
593const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
594const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
595
596// OfpTable from public import voltha_protos/openflow_13.proto
597type OfpTable = openflow_13.OfpTable
598
599var OfpTable_name = openflow_13.OfpTable_name
600var OfpTable_value = openflow_13.OfpTable_value
601
602const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
603const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
604const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
605
606// OfpCapabilities from public import voltha_protos/openflow_13.proto
607type OfpCapabilities = openflow_13.OfpCapabilities
608
609var OfpCapabilities_name = openflow_13.OfpCapabilities_name
610var OfpCapabilities_value = openflow_13.OfpCapabilities_value
611
612const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
613const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
614const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
615const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
616const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
617const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
618const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
619const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
620
621// OfpPortConfig from public import voltha_protos/openflow_13.proto
622type OfpPortConfig = openflow_13.OfpPortConfig
623
624var OfpPortConfig_name = openflow_13.OfpPortConfig_name
625var OfpPortConfig_value = openflow_13.OfpPortConfig_value
626
627const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
628const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
629const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
630const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
631const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
632
633// OfpPortState from public import voltha_protos/openflow_13.proto
634type OfpPortState = openflow_13.OfpPortState
635
636var OfpPortState_name = openflow_13.OfpPortState_name
637var OfpPortState_value = openflow_13.OfpPortState_value
638
639const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
640const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
641const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
642const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
643
644// OfpPortFeatures from public import voltha_protos/openflow_13.proto
645type OfpPortFeatures = openflow_13.OfpPortFeatures
646
647var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
648var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
649
650const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
651const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
652const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
653const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
654const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
655const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
656const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
657const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
658const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
659const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
660const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
661const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
662const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
663const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
664const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
665const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
666const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
667
668// OfpPortReason from public import voltha_protos/openflow_13.proto
669type OfpPortReason = openflow_13.OfpPortReason
670
671var OfpPortReason_name = openflow_13.OfpPortReason_name
672var OfpPortReason_value = openflow_13.OfpPortReason_value
673
674const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
675const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
676const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
677
678// OfpMatchType from public import voltha_protos/openflow_13.proto
679type OfpMatchType = openflow_13.OfpMatchType
680
681var OfpMatchType_name = openflow_13.OfpMatchType_name
682var OfpMatchType_value = openflow_13.OfpMatchType_value
683
684const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
685const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
686
687// OfpOxmClass from public import voltha_protos/openflow_13.proto
688type OfpOxmClass = openflow_13.OfpOxmClass
689
690var OfpOxmClass_name = openflow_13.OfpOxmClass_name
691var OfpOxmClass_value = openflow_13.OfpOxmClass_value
692
693const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
694const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
695const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
696const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
697
698// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
699type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
700
701var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
702var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
703
704const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
705const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
706const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
707const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
708const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
709const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
710const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
711const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
712const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
713const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
714const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
715const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
716const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
717const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
718const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
719const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
720const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
721const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
722const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
723const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
724const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
725const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
726const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
727const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
728const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
729const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
730const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
731const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
732const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
733const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
734const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
735const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
736const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
737const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
738const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
739const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
740const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
741const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
742const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
743const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
744
745// OfpVlanId from public import voltha_protos/openflow_13.proto
746type OfpVlanId = openflow_13.OfpVlanId
747
748var OfpVlanId_name = openflow_13.OfpVlanId_name
749var OfpVlanId_value = openflow_13.OfpVlanId_value
750
751const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
752const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
753
754// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
755type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
756
757var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
758var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
759
760const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
761const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
762const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
763const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
764const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
765const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
766const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
767const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
768const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
769const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
770
771// OfpActionType from public import voltha_protos/openflow_13.proto
772type OfpActionType = openflow_13.OfpActionType
773
774var OfpActionType_name = openflow_13.OfpActionType_name
775var OfpActionType_value = openflow_13.OfpActionType_value
776
777const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
778const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
779const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
780const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
781const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
782const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
783const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
784const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
785const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
786const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
787const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
788const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
789const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
790const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
791const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
792const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
793const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
794
795// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
796type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
797
798var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
799var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
800
801const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
802const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
803const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
804
805// OfpInstructionType from public import voltha_protos/openflow_13.proto
806type OfpInstructionType = openflow_13.OfpInstructionType
807
808var OfpInstructionType_name = openflow_13.OfpInstructionType_name
809var OfpInstructionType_value = openflow_13.OfpInstructionType_value
810
811const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
812const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
813const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
814const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
815const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
816const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
817const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
818const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
819
820// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
821type OfpFlowModCommand = openflow_13.OfpFlowModCommand
822
823var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
824var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
825
826const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
827const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
828const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
829const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
830const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
831
832// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
833type OfpFlowModFlags = openflow_13.OfpFlowModFlags
834
835var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
836var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
837
838const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
839const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
840const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
841const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
842const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
843const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
844
845// OfpGroup from public import voltha_protos/openflow_13.proto
846type OfpGroup = openflow_13.OfpGroup
847
848var OfpGroup_name = openflow_13.OfpGroup_name
849var OfpGroup_value = openflow_13.OfpGroup_value
850
851const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
852const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
853const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
854const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
855
856// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
857type OfpGroupModCommand = openflow_13.OfpGroupModCommand
858
859var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
860var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
861
862const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
863const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
864const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
865
866// OfpGroupType from public import voltha_protos/openflow_13.proto
867type OfpGroupType = openflow_13.OfpGroupType
868
869var OfpGroupType_name = openflow_13.OfpGroupType_name
870var OfpGroupType_value = openflow_13.OfpGroupType_value
871
872const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
873const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
874const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
875const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
876
877// OfpPacketInReason from public import voltha_protos/openflow_13.proto
878type OfpPacketInReason = openflow_13.OfpPacketInReason
879
880var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
881var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
882
883const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
884const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
885const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
886
887// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
888type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
889
890var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
891var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
892
893const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
894const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
895const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
896const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
897const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
898
899// OfpMeter from public import voltha_protos/openflow_13.proto
900type OfpMeter = openflow_13.OfpMeter
901
902var OfpMeter_name = openflow_13.OfpMeter_name
903var OfpMeter_value = openflow_13.OfpMeter_value
904
905const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
906const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
907const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
908const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
909const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
910
911// OfpMeterBandType from public import voltha_protos/openflow_13.proto
912type OfpMeterBandType = openflow_13.OfpMeterBandType
913
914var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
915var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
916
917const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
918const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
919const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
920const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
921
922// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
923type OfpMeterModCommand = openflow_13.OfpMeterModCommand
924
925var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
926var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
927
928const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
929const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
930const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
931
932// OfpMeterFlags from public import voltha_protos/openflow_13.proto
933type OfpMeterFlags = openflow_13.OfpMeterFlags
934
935var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
936var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
937
938const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
939const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
940const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
941const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
942const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
943
944// OfpErrorType from public import voltha_protos/openflow_13.proto
945type OfpErrorType = openflow_13.OfpErrorType
946
947var OfpErrorType_name = openflow_13.OfpErrorType_name
948var OfpErrorType_value = openflow_13.OfpErrorType_value
949
950const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
951const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
952const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
953const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
954const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
955const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
956const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
957const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
958const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
959const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
960const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
961const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
962const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
963const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
964const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
965
966// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
967type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
968
969var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
970var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
971
972const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
973const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
974
975// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
976type OfpBadRequestCode = openflow_13.OfpBadRequestCode
977
978var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
979var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
980
981const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
982const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
983const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
984const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
985const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
986const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
987const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
988const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
989const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
990const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
991const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
992const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
993const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
994const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
995
996// OfpBadActionCode from public import voltha_protos/openflow_13.proto
997type OfpBadActionCode = openflow_13.OfpBadActionCode
998
999var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
1000var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
1001
1002const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
1003const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
1004const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
1005const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
1006const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
1007const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
1008const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
1009const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
1010const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
1011const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
1012const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
1013const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
1014const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
1015const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
1016const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
1017const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
1018
1019// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
1020type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
1021
1022var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
1023var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1024
1025const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1026const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1027const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1028const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1029const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1030const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1031const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1032const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1033const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1034
1035// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
1036type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1037
1038var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1039var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1040
1041const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1042const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1043const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1044const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1045const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1046const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1047const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1048const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1049const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1050const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1051const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1052const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1053
1054// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
1055type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1056
1057var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1058var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1059
1060const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1061const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1062const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1063const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1064const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1065const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1066const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1067const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1068
1069// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
1070type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1071
1072var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1073var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1074
1075const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1076const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1077const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1078const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1079const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1080const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1081const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1082const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1083const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1084const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1085const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1086const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1087const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1088const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1089const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1090
1091// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
1092type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1093
1094var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1095var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1096
1097const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1098const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1099const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1100const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1101const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1102
1103// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
1104type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1105
1106var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1107var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1108
1109const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1110const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1111const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1112
1113// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
1114type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1115
1116var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1117var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1118
1119const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1120const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1121const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1122
1123// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
1124type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1125
1126var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1127var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1128
1129const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1130const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1131const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1132
1133// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
1134type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1135
1136var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1137var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1138
1139const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1140const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1141const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1142
1143// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
1144type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1145
1146var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1147var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1148
1149const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1150const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1151const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1152const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1153const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1154const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1155const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1156const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1157const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001158const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
Don Newton98fd8812019-09-23 15:15:02 -04001159const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1160const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1161
1162// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
1163type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1164
1165var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1166var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1167
1168const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1169const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1170const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1171const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1172const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1173const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1174
1175// OfpMultipartType from public import voltha_protos/openflow_13.proto
1176type OfpMultipartType = openflow_13.OfpMultipartType
1177
1178var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1179var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1180
1181const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1182const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1183const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1184const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1185const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1186const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1187const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1188const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1189const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1190const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1191const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1192const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1193const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1194const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1195const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1196
1197// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
1198type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1199
1200var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1201var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1202
1203const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1204const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1205
1206// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
1207type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1208
1209var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1210var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1211
1212const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1213const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1214
1215// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
1216type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1217
1218var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1219var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1220
1221const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1222const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1223const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1224const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1225const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1226const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1227const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1228const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1229const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1230const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1231const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1232const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1233const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1234const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1235const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1236const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1237
1238// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
1239type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1240
1241var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1242var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1243
1244const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1245const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1246const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1247const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1248const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1249
1250// OfpQueueProperties from public import voltha_protos/openflow_13.proto
1251type OfpQueueProperties = openflow_13.OfpQueueProperties
1252
1253var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1254var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1255
1256const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1257const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1258const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1259const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1260
1261// OfpControllerRole from public import voltha_protos/openflow_13.proto
1262type OfpControllerRole = openflow_13.OfpControllerRole
1263
1264var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1265var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1266
1267const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1268const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1269const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1270const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1271
Don Newtonb437c6f2019-12-18 11:51:57 -05001272type EventFilterRuleKey_EventFilterRuleType int32
Don Newton98fd8812019-09-23 15:15:02 -04001273
1274const (
Don Newtonb437c6f2019-12-18 11:51:57 -05001275 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1276 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1277 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1278 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1279 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1280 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
Don Newton98fd8812019-09-23 15:15:02 -04001281)
1282
Don Newtonb437c6f2019-12-18 11:51:57 -05001283var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1284 0: "filter_all",
1285 1: "category",
1286 2: "sub_category",
1287 3: "kpi_event_type",
1288 4: "config_event_type",
1289 5: "device_event_type",
Don Newton98fd8812019-09-23 15:15:02 -04001290}
1291
Don Newtonb437c6f2019-12-18 11:51:57 -05001292var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1293 "filter_all": 0,
1294 "category": 1,
1295 "sub_category": 2,
1296 "kpi_event_type": 3,
1297 "config_event_type": 4,
1298 "device_event_type": 5,
Don Newton98fd8812019-09-23 15:15:02 -04001299}
1300
Don Newtonb437c6f2019-12-18 11:51:57 -05001301func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1302 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -04001303}
1304
Don Newtonb437c6f2019-12-18 11:51:57 -05001305func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001306 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
1307}
1308
Rohan Agrawal00d3a412020-04-22 10:51:39 +00001309type TestResponse_TestResponseResult int32
1310
1311const (
1312 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
1313 TestResponse_FAILURE TestResponse_TestResponseResult = 1
1314)
1315
1316var TestResponse_TestResponseResult_name = map[int32]string{
1317 0: "SUCCESS",
1318 1: "FAILURE",
1319}
1320
1321var TestResponse_TestResponseResult_value = map[string]int32{
1322 "SUCCESS": 0,
1323 "FAILURE": 1,
1324}
1325
1326func (x TestResponse_TestResponseResult) String() string {
1327 return proto.EnumName(TestResponse_TestResponseResult_name, int32(x))
1328}
1329
1330func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
1331 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
1332}
1333
Don Newton98fd8812019-09-23 15:15:02 -04001334type SelfTestResponse_SelfTestResult int32
1335
1336const (
1337 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1338 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1339 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1340 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1341)
1342
1343var SelfTestResponse_SelfTestResult_name = map[int32]string{
1344 0: "SUCCESS",
1345 1: "FAILURE",
1346 2: "NOT_SUPPORTED",
1347 3: "UNKNOWN_ERROR",
1348}
1349
1350var SelfTestResponse_SelfTestResult_value = map[string]int32{
1351 "SUCCESS": 0,
1352 "FAILURE": 1,
1353 "NOT_SUPPORTED": 2,
1354 "UNKNOWN_ERROR": 3,
1355}
1356
1357func (x SelfTestResponse_SelfTestResult) String() string {
1358 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1359}
1360
1361func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
Maninder12b909f2020-10-23 14:23:36 +05301362 return fileDescriptor_e084f1a60ce7016c, []int{12, 0}
Don Newton98fd8812019-09-23 15:15:02 -04001363}
1364
1365type DeviceGroup struct {
1366 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1367 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1368 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1369 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1370 XXX_unrecognized []byte `json:"-"`
1371 XXX_sizecache int32 `json:"-"`
1372}
1373
1374func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1375func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1376func (*DeviceGroup) ProtoMessage() {}
1377func (*DeviceGroup) Descriptor() ([]byte, []int) {
1378 return fileDescriptor_e084f1a60ce7016c, []int{0}
1379}
1380
1381func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1382 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1383}
1384func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1385 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1386}
1387func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1388 xxx_messageInfo_DeviceGroup.Merge(m, src)
1389}
1390func (m *DeviceGroup) XXX_Size() int {
1391 return xxx_messageInfo_DeviceGroup.Size(m)
1392}
1393func (m *DeviceGroup) XXX_DiscardUnknown() {
1394 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1395}
1396
1397var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1398
1399func (m *DeviceGroup) GetId() string {
1400 if m != nil {
1401 return m.Id
1402 }
1403 return ""
1404}
1405
1406func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1407 if m != nil {
1408 return m.LogicalDevices
1409 }
1410 return nil
1411}
1412
1413func (m *DeviceGroup) GetDevices() []*Device {
1414 if m != nil {
1415 return m.Devices
1416 }
1417 return nil
1418}
1419
1420type DeviceGroups struct {
1421 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1422 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1423 XXX_unrecognized []byte `json:"-"`
1424 XXX_sizecache int32 `json:"-"`
1425}
1426
1427func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1428func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1429func (*DeviceGroups) ProtoMessage() {}
1430func (*DeviceGroups) Descriptor() ([]byte, []int) {
1431 return fileDescriptor_e084f1a60ce7016c, []int{1}
1432}
1433
1434func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1435 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1436}
1437func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1438 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1439}
1440func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1441 xxx_messageInfo_DeviceGroups.Merge(m, src)
1442}
1443func (m *DeviceGroups) XXX_Size() int {
1444 return xxx_messageInfo_DeviceGroups.Size(m)
1445}
1446func (m *DeviceGroups) XXX_DiscardUnknown() {
1447 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1448}
1449
1450var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1451
1452func (m *DeviceGroups) GetItems() []*DeviceGroup {
1453 if m != nil {
1454 return m.Items
1455 }
1456 return nil
1457}
1458
Don Newtonb437c6f2019-12-18 11:51:57 -05001459type EventFilterRuleKey struct {
Don Newton98fd8812019-09-23 15:15:02 -04001460 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1461 XXX_unrecognized []byte `json:"-"`
1462 XXX_sizecache int32 `json:"-"`
1463}
1464
Don Newtonb437c6f2019-12-18 11:51:57 -05001465func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1466func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1467func (*EventFilterRuleKey) ProtoMessage() {}
1468func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001469 return fileDescriptor_e084f1a60ce7016c, []int{2}
1470}
1471
Don Newtonb437c6f2019-12-18 11:51:57 -05001472func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1473 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
Don Newton98fd8812019-09-23 15:15:02 -04001474}
Don Newtonb437c6f2019-12-18 11:51:57 -05001475func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1476 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
Don Newton98fd8812019-09-23 15:15:02 -04001477}
Don Newtonb437c6f2019-12-18 11:51:57 -05001478func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1479 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
Don Newton98fd8812019-09-23 15:15:02 -04001480}
Don Newtonb437c6f2019-12-18 11:51:57 -05001481func (m *EventFilterRuleKey) XXX_Size() int {
1482 return xxx_messageInfo_EventFilterRuleKey.Size(m)
Don Newton98fd8812019-09-23 15:15:02 -04001483}
Don Newtonb437c6f2019-12-18 11:51:57 -05001484func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1485 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
Don Newton98fd8812019-09-23 15:15:02 -04001486}
1487
Don Newtonb437c6f2019-12-18 11:51:57 -05001488var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
Don Newton98fd8812019-09-23 15:15:02 -04001489
Don Newtonb437c6f2019-12-18 11:51:57 -05001490type EventFilterRule struct {
1491 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1492 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1493 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1494 XXX_unrecognized []byte `json:"-"`
1495 XXX_sizecache int32 `json:"-"`
Don Newton98fd8812019-09-23 15:15:02 -04001496}
1497
Don Newtonb437c6f2019-12-18 11:51:57 -05001498func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1499func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1500func (*EventFilterRule) ProtoMessage() {}
1501func (*EventFilterRule) Descriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001502 return fileDescriptor_e084f1a60ce7016c, []int{3}
1503}
1504
Don Newtonb437c6f2019-12-18 11:51:57 -05001505func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1506 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
Don Newton98fd8812019-09-23 15:15:02 -04001507}
Don Newtonb437c6f2019-12-18 11:51:57 -05001508func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1509 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
Don Newton98fd8812019-09-23 15:15:02 -04001510}
Don Newtonb437c6f2019-12-18 11:51:57 -05001511func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1512 xxx_messageInfo_EventFilterRule.Merge(m, src)
Don Newton98fd8812019-09-23 15:15:02 -04001513}
Don Newtonb437c6f2019-12-18 11:51:57 -05001514func (m *EventFilterRule) XXX_Size() int {
1515 return xxx_messageInfo_EventFilterRule.Size(m)
Don Newton98fd8812019-09-23 15:15:02 -04001516}
Don Newtonb437c6f2019-12-18 11:51:57 -05001517func (m *EventFilterRule) XXX_DiscardUnknown() {
1518 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
Don Newton98fd8812019-09-23 15:15:02 -04001519}
1520
Don Newtonb437c6f2019-12-18 11:51:57 -05001521var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
Don Newton98fd8812019-09-23 15:15:02 -04001522
Don Newtonb437c6f2019-12-18 11:51:57 -05001523func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
Don Newton98fd8812019-09-23 15:15:02 -04001524 if m != nil {
1525 return m.Key
1526 }
Don Newtonb437c6f2019-12-18 11:51:57 -05001527 return EventFilterRuleKey_filter_all
Don Newton98fd8812019-09-23 15:15:02 -04001528}
1529
Don Newtonb437c6f2019-12-18 11:51:57 -05001530func (m *EventFilterRule) GetValue() string {
Don Newton98fd8812019-09-23 15:15:02 -04001531 if m != nil {
1532 return m.Value
1533 }
1534 return ""
1535}
1536
Don Newtonb437c6f2019-12-18 11:51:57 -05001537type EventFilter struct {
Don Newton98fd8812019-09-23 15:15:02 -04001538 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Don Newtonb437c6f2019-12-18 11:51:57 -05001539 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1540 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1541 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1542 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -04001543 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1544 XXX_unrecognized []byte `json:"-"`
1545 XXX_sizecache int32 `json:"-"`
1546}
1547
Don Newtonb437c6f2019-12-18 11:51:57 -05001548func (m *EventFilter) Reset() { *m = EventFilter{} }
1549func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1550func (*EventFilter) ProtoMessage() {}
1551func (*EventFilter) Descriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001552 return fileDescriptor_e084f1a60ce7016c, []int{4}
1553}
1554
Don Newtonb437c6f2019-12-18 11:51:57 -05001555func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1556 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
Don Newton98fd8812019-09-23 15:15:02 -04001557}
Don Newtonb437c6f2019-12-18 11:51:57 -05001558func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1559 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
Don Newton98fd8812019-09-23 15:15:02 -04001560}
Don Newtonb437c6f2019-12-18 11:51:57 -05001561func (m *EventFilter) XXX_Merge(src proto.Message) {
1562 xxx_messageInfo_EventFilter.Merge(m, src)
Don Newton98fd8812019-09-23 15:15:02 -04001563}
Don Newtonb437c6f2019-12-18 11:51:57 -05001564func (m *EventFilter) XXX_Size() int {
1565 return xxx_messageInfo_EventFilter.Size(m)
Don Newton98fd8812019-09-23 15:15:02 -04001566}
Don Newtonb437c6f2019-12-18 11:51:57 -05001567func (m *EventFilter) XXX_DiscardUnknown() {
1568 xxx_messageInfo_EventFilter.DiscardUnknown(m)
Don Newton98fd8812019-09-23 15:15:02 -04001569}
1570
Don Newtonb437c6f2019-12-18 11:51:57 -05001571var xxx_messageInfo_EventFilter proto.InternalMessageInfo
Don Newton98fd8812019-09-23 15:15:02 -04001572
Don Newtonb437c6f2019-12-18 11:51:57 -05001573func (m *EventFilter) GetId() string {
Don Newton98fd8812019-09-23 15:15:02 -04001574 if m != nil {
1575 return m.Id
1576 }
1577 return ""
1578}
1579
Don Newtonb437c6f2019-12-18 11:51:57 -05001580func (m *EventFilter) GetEnable() bool {
1581 if m != nil {
1582 return m.Enable
1583 }
1584 return false
1585}
1586
1587func (m *EventFilter) GetDeviceId() string {
1588 if m != nil {
1589 return m.DeviceId
1590 }
1591 return ""
1592}
1593
1594func (m *EventFilter) GetEventType() string {
1595 if m != nil {
1596 return m.EventType
1597 }
1598 return ""
1599}
1600
1601func (m *EventFilter) GetRules() []*EventFilterRule {
Don Newton98fd8812019-09-23 15:15:02 -04001602 if m != nil {
1603 return m.Rules
1604 }
1605 return nil
1606}
1607
Don Newtonb437c6f2019-12-18 11:51:57 -05001608type EventFilters struct {
1609 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -04001610 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1611 XXX_unrecognized []byte `json:"-"`
1612 XXX_sizecache int32 `json:"-"`
1613}
1614
Don Newtonb437c6f2019-12-18 11:51:57 -05001615func (m *EventFilters) Reset() { *m = EventFilters{} }
1616func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1617func (*EventFilters) ProtoMessage() {}
1618func (*EventFilters) Descriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001619 return fileDescriptor_e084f1a60ce7016c, []int{5}
1620}
1621
Don Newtonb437c6f2019-12-18 11:51:57 -05001622func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1623 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
Don Newton98fd8812019-09-23 15:15:02 -04001624}
Don Newtonb437c6f2019-12-18 11:51:57 -05001625func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1626 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
Don Newton98fd8812019-09-23 15:15:02 -04001627}
Don Newtonb437c6f2019-12-18 11:51:57 -05001628func (m *EventFilters) XXX_Merge(src proto.Message) {
1629 xxx_messageInfo_EventFilters.Merge(m, src)
Don Newton98fd8812019-09-23 15:15:02 -04001630}
Don Newtonb437c6f2019-12-18 11:51:57 -05001631func (m *EventFilters) XXX_Size() int {
1632 return xxx_messageInfo_EventFilters.Size(m)
Don Newton98fd8812019-09-23 15:15:02 -04001633}
Don Newtonb437c6f2019-12-18 11:51:57 -05001634func (m *EventFilters) XXX_DiscardUnknown() {
1635 xxx_messageInfo_EventFilters.DiscardUnknown(m)
Don Newton98fd8812019-09-23 15:15:02 -04001636}
1637
Don Newtonb437c6f2019-12-18 11:51:57 -05001638var xxx_messageInfo_EventFilters proto.InternalMessageInfo
Don Newton98fd8812019-09-23 15:15:02 -04001639
Don Newtonb437c6f2019-12-18 11:51:57 -05001640func (m *EventFilters) GetFilters() []*EventFilter {
Don Newton98fd8812019-09-23 15:15:02 -04001641 if m != nil {
1642 return m.Filters
1643 }
1644 return nil
1645}
1646
1647// CoreInstance represents a core instance. It is data held in memory when a core
1648// is running. This data is not persistent.
1649type CoreInstance struct {
1650 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1651 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1652 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1653 XXX_unrecognized []byte `json:"-"`
1654 XXX_sizecache int32 `json:"-"`
1655}
1656
1657func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1658func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1659func (*CoreInstance) ProtoMessage() {}
1660func (*CoreInstance) Descriptor() ([]byte, []int) {
1661 return fileDescriptor_e084f1a60ce7016c, []int{6}
1662}
1663
1664func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1665 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1666}
1667func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1668 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1669}
1670func (m *CoreInstance) XXX_Merge(src proto.Message) {
1671 xxx_messageInfo_CoreInstance.Merge(m, src)
1672}
1673func (m *CoreInstance) XXX_Size() int {
1674 return xxx_messageInfo_CoreInstance.Size(m)
1675}
1676func (m *CoreInstance) XXX_DiscardUnknown() {
1677 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1678}
1679
1680var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1681
1682func (m *CoreInstance) GetInstanceId() string {
1683 if m != nil {
1684 return m.InstanceId
1685 }
1686 return ""
1687}
1688
1689func (m *CoreInstance) GetHealth() *HealthStatus {
1690 if m != nil {
1691 return m.Health
1692 }
1693 return nil
1694}
1695
1696type CoreInstances struct {
1697 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1698 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1699 XXX_unrecognized []byte `json:"-"`
1700 XXX_sizecache int32 `json:"-"`
1701}
1702
1703func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1704func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1705func (*CoreInstances) ProtoMessage() {}
1706func (*CoreInstances) Descriptor() ([]byte, []int) {
1707 return fileDescriptor_e084f1a60ce7016c, []int{7}
1708}
1709
1710func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1711 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1712}
1713func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1714 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1715}
1716func (m *CoreInstances) XXX_Merge(src proto.Message) {
1717 xxx_messageInfo_CoreInstances.Merge(m, src)
1718}
1719func (m *CoreInstances) XXX_Size() int {
1720 return xxx_messageInfo_CoreInstances.Size(m)
1721}
1722func (m *CoreInstances) XXX_DiscardUnknown() {
1723 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1724}
1725
1726var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1727
1728func (m *CoreInstances) GetItems() []*CoreInstance {
1729 if m != nil {
1730 return m.Items
1731 }
1732 return nil
1733}
1734
Rohan Agrawal00d3a412020-04-22 10:51:39 +00001735type OmciTestRequest struct {
1736 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1737 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
1738 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1739 XXX_unrecognized []byte `json:"-"`
1740 XXX_sizecache int32 `json:"-"`
1741}
1742
1743func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} }
1744func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) }
1745func (*OmciTestRequest) ProtoMessage() {}
1746func (*OmciTestRequest) Descriptor() ([]byte, []int) {
1747 return fileDescriptor_e084f1a60ce7016c, []int{8}
1748}
1749
1750func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error {
1751 return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b)
1752}
1753func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1754 return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic)
1755}
1756func (m *OmciTestRequest) XXX_Merge(src proto.Message) {
1757 xxx_messageInfo_OmciTestRequest.Merge(m, src)
1758}
1759func (m *OmciTestRequest) XXX_Size() int {
1760 return xxx_messageInfo_OmciTestRequest.Size(m)
1761}
1762func (m *OmciTestRequest) XXX_DiscardUnknown() {
1763 xxx_messageInfo_OmciTestRequest.DiscardUnknown(m)
1764}
1765
1766var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo
1767
1768func (m *OmciTestRequest) GetId() string {
1769 if m != nil {
1770 return m.Id
1771 }
1772 return ""
1773}
1774
1775func (m *OmciTestRequest) GetUuid() string {
1776 if m != nil {
1777 return m.Uuid
1778 }
1779 return ""
1780}
1781
1782type TestResponse struct {
1783 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.TestResponse_TestResponseResult" json:"result,omitempty"`
1784 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1785 XXX_unrecognized []byte `json:"-"`
1786 XXX_sizecache int32 `json:"-"`
1787}
1788
1789func (m *TestResponse) Reset() { *m = TestResponse{} }
1790func (m *TestResponse) String() string { return proto.CompactTextString(m) }
1791func (*TestResponse) ProtoMessage() {}
1792func (*TestResponse) Descriptor() ([]byte, []int) {
1793 return fileDescriptor_e084f1a60ce7016c, []int{9}
1794}
1795
1796func (m *TestResponse) XXX_Unmarshal(b []byte) error {
1797 return xxx_messageInfo_TestResponse.Unmarshal(m, b)
1798}
1799func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1800 return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic)
1801}
1802func (m *TestResponse) XXX_Merge(src proto.Message) {
1803 xxx_messageInfo_TestResponse.Merge(m, src)
1804}
1805func (m *TestResponse) XXX_Size() int {
1806 return xxx_messageInfo_TestResponse.Size(m)
1807}
1808func (m *TestResponse) XXX_DiscardUnknown() {
1809 xxx_messageInfo_TestResponse.DiscardUnknown(m)
1810}
1811
1812var xxx_messageInfo_TestResponse proto.InternalMessageInfo
1813
1814func (m *TestResponse) GetResult() TestResponse_TestResponseResult {
1815 if m != nil {
1816 return m.Result
1817 }
1818 return TestResponse_SUCCESS
1819}
1820
Maninder12b909f2020-10-23 14:23:36 +05301821type ValueSet struct {
1822 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1823 // Types that are valid to be assigned to Value:
1824 // *ValueSet_AlarmConfig
1825 Value isValueSet_Value `protobuf_oneof:"value"`
1826 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1827 XXX_unrecognized []byte `json:"-"`
1828 XXX_sizecache int32 `json:"-"`
1829}
1830
1831func (m *ValueSet) Reset() { *m = ValueSet{} }
1832func (m *ValueSet) String() string { return proto.CompactTextString(m) }
1833func (*ValueSet) ProtoMessage() {}
1834func (*ValueSet) Descriptor() ([]byte, []int) {
1835 return fileDescriptor_e084f1a60ce7016c, []int{10}
1836}
1837
1838func (m *ValueSet) XXX_Unmarshal(b []byte) error {
1839 return xxx_messageInfo_ValueSet.Unmarshal(m, b)
1840}
1841func (m *ValueSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1842 return xxx_messageInfo_ValueSet.Marshal(b, m, deterministic)
1843}
1844func (m *ValueSet) XXX_Merge(src proto.Message) {
1845 xxx_messageInfo_ValueSet.Merge(m, src)
1846}
1847func (m *ValueSet) XXX_Size() int {
1848 return xxx_messageInfo_ValueSet.Size(m)
1849}
1850func (m *ValueSet) XXX_DiscardUnknown() {
1851 xxx_messageInfo_ValueSet.DiscardUnknown(m)
1852}
1853
1854var xxx_messageInfo_ValueSet proto.InternalMessageInfo
1855
1856func (m *ValueSet) GetId() string {
1857 if m != nil {
1858 return m.Id
1859 }
1860 return ""
1861}
1862
1863type isValueSet_Value interface {
1864 isValueSet_Value()
1865}
1866
1867type ValueSet_AlarmConfig struct {
1868 AlarmConfig *config.AlarmConfig `protobuf:"bytes,2,opt,name=alarm_config,json=alarmConfig,proto3,oneof"`
1869}
1870
1871func (*ValueSet_AlarmConfig) isValueSet_Value() {}
1872
1873func (m *ValueSet) GetValue() isValueSet_Value {
1874 if m != nil {
1875 return m.Value
1876 }
1877 return nil
1878}
1879
1880func (m *ValueSet) GetAlarmConfig() *config.AlarmConfig {
1881 if x, ok := m.GetValue().(*ValueSet_AlarmConfig); ok {
1882 return x.AlarmConfig
1883 }
1884 return nil
1885}
1886
1887// XXX_OneofWrappers is for the internal use of the proto package.
1888func (*ValueSet) XXX_OneofWrappers() []interface{} {
1889 return []interface{}{
1890 (*ValueSet_AlarmConfig)(nil),
1891 }
1892}
1893
Don Newton98fd8812019-09-23 15:15:02 -04001894// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1895// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1896// for better performance
1897type Voltha struct {
1898 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1899 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1900 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1901 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1902 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1903 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Don Newtonb437c6f2019-12-18 11:51:57 -05001904 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -04001905 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1906 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1907 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1908 XXX_unrecognized []byte `json:"-"`
1909 XXX_sizecache int32 `json:"-"`
1910}
1911
1912func (m *Voltha) Reset() { *m = Voltha{} }
1913func (m *Voltha) String() string { return proto.CompactTextString(m) }
1914func (*Voltha) ProtoMessage() {}
1915func (*Voltha) Descriptor() ([]byte, []int) {
Maninder12b909f2020-10-23 14:23:36 +05301916 return fileDescriptor_e084f1a60ce7016c, []int{11}
Don Newton98fd8812019-09-23 15:15:02 -04001917}
1918
1919func (m *Voltha) XXX_Unmarshal(b []byte) error {
1920 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1921}
1922func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1923 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1924}
1925func (m *Voltha) XXX_Merge(src proto.Message) {
1926 xxx_messageInfo_Voltha.Merge(m, src)
1927}
1928func (m *Voltha) XXX_Size() int {
1929 return xxx_messageInfo_Voltha.Size(m)
1930}
1931func (m *Voltha) XXX_DiscardUnknown() {
1932 xxx_messageInfo_Voltha.DiscardUnknown(m)
1933}
1934
1935var xxx_messageInfo_Voltha proto.InternalMessageInfo
1936
1937func (m *Voltha) GetVersion() string {
1938 if m != nil {
1939 return m.Version
1940 }
1941 return ""
1942}
1943
1944func (m *Voltha) GetAdapters() []*Adapter {
1945 if m != nil {
1946 return m.Adapters
1947 }
1948 return nil
1949}
1950
1951func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1952 if m != nil {
1953 return m.LogicalDevices
1954 }
1955 return nil
1956}
1957
1958func (m *Voltha) GetDevices() []*Device {
1959 if m != nil {
1960 return m.Devices
1961 }
1962 return nil
1963}
1964
1965func (m *Voltha) GetDeviceTypes() []*DeviceType {
1966 if m != nil {
1967 return m.DeviceTypes
1968 }
1969 return nil
1970}
1971
1972func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1973 if m != nil {
1974 return m.DeviceGroups
1975 }
1976 return nil
1977}
1978
Don Newtonb437c6f2019-12-18 11:51:57 -05001979func (m *Voltha) GetEventFilters() []*EventFilter {
Don Newton98fd8812019-09-23 15:15:02 -04001980 if m != nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05001981 return m.EventFilters
Don Newton98fd8812019-09-23 15:15:02 -04001982 }
1983 return nil
1984}
1985
1986func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1987 if m != nil {
1988 return m.OmciMibDatabase
1989 }
1990 return nil
1991}
1992
1993func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1994 if m != nil {
1995 return m.OmciAlarmDatabase
1996 }
1997 return nil
1998}
1999
2000// Device Self Test Response
2001type SelfTestResponse struct {
2002 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
2003 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2004 XXX_unrecognized []byte `json:"-"`
2005 XXX_sizecache int32 `json:"-"`
2006}
2007
2008func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
2009func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
2010func (*SelfTestResponse) ProtoMessage() {}
2011func (*SelfTestResponse) Descriptor() ([]byte, []int) {
Maninder12b909f2020-10-23 14:23:36 +05302012 return fileDescriptor_e084f1a60ce7016c, []int{12}
Don Newton98fd8812019-09-23 15:15:02 -04002013}
2014
2015func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
2016 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
2017}
2018func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2019 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
2020}
2021func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
2022 xxx_messageInfo_SelfTestResponse.Merge(m, src)
2023}
2024func (m *SelfTestResponse) XXX_Size() int {
2025 return xxx_messageInfo_SelfTestResponse.Size(m)
2026}
2027func (m *SelfTestResponse) XXX_DiscardUnknown() {
2028 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
2029}
2030
2031var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
2032
2033func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
2034 if m != nil {
2035 return m.Result
2036 }
2037 return SelfTestResponse_SUCCESS
2038}
2039
2040type OfAgentSubscriber struct {
2041 // ID of ofagent instance
2042 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
2043 // ID of voltha instance to which the ofagent is subscribed
2044 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
2045 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2046 XXX_unrecognized []byte `json:"-"`
2047 XXX_sizecache int32 `json:"-"`
2048}
2049
2050func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
2051func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
2052func (*OfAgentSubscriber) ProtoMessage() {}
2053func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
Maninder12b909f2020-10-23 14:23:36 +05302054 return fileDescriptor_e084f1a60ce7016c, []int{13}
Don Newton98fd8812019-09-23 15:15:02 -04002055}
2056
2057func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
2058 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
2059}
2060func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2061 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
2062}
2063func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
2064 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
2065}
2066func (m *OfAgentSubscriber) XXX_Size() int {
2067 return xxx_messageInfo_OfAgentSubscriber.Size(m)
2068}
2069func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
2070 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
2071}
2072
2073var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
2074
2075func (m *OfAgentSubscriber) GetOfagentId() string {
2076 if m != nil {
2077 return m.OfagentId
2078 }
2079 return ""
2080}
2081
2082func (m *OfAgentSubscriber) GetVolthaId() string {
2083 if m != nil {
2084 return m.VolthaId
2085 }
2086 return ""
2087}
2088
2089// Identifies a membership group a Core belongs to
2090type Membership struct {
2091 // Group name
2092 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
2093 // Unique ID of a container within that group
2094 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
2095 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2096 XXX_unrecognized []byte `json:"-"`
2097 XXX_sizecache int32 `json:"-"`
2098}
2099
2100func (m *Membership) Reset() { *m = Membership{} }
2101func (m *Membership) String() string { return proto.CompactTextString(m) }
2102func (*Membership) ProtoMessage() {}
2103func (*Membership) Descriptor() ([]byte, []int) {
Maninder12b909f2020-10-23 14:23:36 +05302104 return fileDescriptor_e084f1a60ce7016c, []int{14}
Don Newton98fd8812019-09-23 15:15:02 -04002105}
2106
2107func (m *Membership) XXX_Unmarshal(b []byte) error {
2108 return xxx_messageInfo_Membership.Unmarshal(m, b)
2109}
2110func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2111 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
2112}
2113func (m *Membership) XXX_Merge(src proto.Message) {
2114 xxx_messageInfo_Membership.Merge(m, src)
2115}
2116func (m *Membership) XXX_Size() int {
2117 return xxx_messageInfo_Membership.Size(m)
2118}
2119func (m *Membership) XXX_DiscardUnknown() {
2120 xxx_messageInfo_Membership.DiscardUnknown(m)
2121}
2122
2123var xxx_messageInfo_Membership proto.InternalMessageInfo
2124
2125func (m *Membership) GetGroupName() string {
2126 if m != nil {
2127 return m.GroupName
2128 }
2129 return ""
2130}
2131
2132func (m *Membership) GetId() string {
2133 if m != nil {
2134 return m.Id
2135 }
2136 return ""
2137}
2138
Andrea Campanella18448bc2021-07-08 18:47:22 +02002139type DeviceImageDownloadRequest struct {
2140 // Device Id
2141 // allows for operations on multiple devices.
2142 DeviceId []*common.ID `protobuf:"bytes,1,rep,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
2143 //The image for the device containing all the information
2144 Image *Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
2145 //Activate the image if the download to the device is successful
2146 ActivateOnSuccess bool `protobuf:"varint,3,opt,name=activateOnSuccess,proto3" json:"activateOnSuccess,omitempty"`
2147 //Automatically commit the image if the activation on the device is successful
2148 CommitOnSuccess bool `protobuf:"varint,4,opt,name=commitOnSuccess,proto3" json:"commitOnSuccess,omitempty"`
2149 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2150 XXX_unrecognized []byte `json:"-"`
2151 XXX_sizecache int32 `json:"-"`
2152}
2153
2154func (m *DeviceImageDownloadRequest) Reset() { *m = DeviceImageDownloadRequest{} }
2155func (m *DeviceImageDownloadRequest) String() string { return proto.CompactTextString(m) }
2156func (*DeviceImageDownloadRequest) ProtoMessage() {}
2157func (*DeviceImageDownloadRequest) Descriptor() ([]byte, []int) {
2158 return fileDescriptor_e084f1a60ce7016c, []int{15}
2159}
2160
2161func (m *DeviceImageDownloadRequest) XXX_Unmarshal(b []byte) error {
2162 return xxx_messageInfo_DeviceImageDownloadRequest.Unmarshal(m, b)
2163}
2164func (m *DeviceImageDownloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2165 return xxx_messageInfo_DeviceImageDownloadRequest.Marshal(b, m, deterministic)
2166}
2167func (m *DeviceImageDownloadRequest) XXX_Merge(src proto.Message) {
2168 xxx_messageInfo_DeviceImageDownloadRequest.Merge(m, src)
2169}
2170func (m *DeviceImageDownloadRequest) XXX_Size() int {
2171 return xxx_messageInfo_DeviceImageDownloadRequest.Size(m)
2172}
2173func (m *DeviceImageDownloadRequest) XXX_DiscardUnknown() {
2174 xxx_messageInfo_DeviceImageDownloadRequest.DiscardUnknown(m)
2175}
2176
2177var xxx_messageInfo_DeviceImageDownloadRequest proto.InternalMessageInfo
2178
2179func (m *DeviceImageDownloadRequest) GetDeviceId() []*common.ID {
2180 if m != nil {
2181 return m.DeviceId
2182 }
2183 return nil
2184}
2185
2186func (m *DeviceImageDownloadRequest) GetImage() *Image {
2187 if m != nil {
2188 return m.Image
2189 }
2190 return nil
2191}
2192
2193func (m *DeviceImageDownloadRequest) GetActivateOnSuccess() bool {
2194 if m != nil {
2195 return m.ActivateOnSuccess
2196 }
2197 return false
2198}
2199
2200func (m *DeviceImageDownloadRequest) GetCommitOnSuccess() bool {
2201 if m != nil {
2202 return m.CommitOnSuccess
2203 }
2204 return false
2205}
2206
2207type DeviceImageRequest struct {
2208 //Device Id
2209 //allows for operations on multiple adapters.
2210 DeviceId []*common.ID `protobuf:"bytes,1,rep,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
2211 // Image Version, this is the sole identifier of the image. it's the vendor specified OMCI version
2212 // must be known at the time of initiating a download, activate, commit image on an onu.
2213 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
2214 //Automatically commit the image if the activation on the device is successful
2215 CommitOnSuccess bool `protobuf:"varint,3,opt,name=commitOnSuccess,proto3" json:"commitOnSuccess,omitempty"`
2216 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2217 XXX_unrecognized []byte `json:"-"`
2218 XXX_sizecache int32 `json:"-"`
2219}
2220
2221func (m *DeviceImageRequest) Reset() { *m = DeviceImageRequest{} }
2222func (m *DeviceImageRequest) String() string { return proto.CompactTextString(m) }
2223func (*DeviceImageRequest) ProtoMessage() {}
2224func (*DeviceImageRequest) Descriptor() ([]byte, []int) {
2225 return fileDescriptor_e084f1a60ce7016c, []int{16}
2226}
2227
2228func (m *DeviceImageRequest) XXX_Unmarshal(b []byte) error {
2229 return xxx_messageInfo_DeviceImageRequest.Unmarshal(m, b)
2230}
2231func (m *DeviceImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2232 return xxx_messageInfo_DeviceImageRequest.Marshal(b, m, deterministic)
2233}
2234func (m *DeviceImageRequest) XXX_Merge(src proto.Message) {
2235 xxx_messageInfo_DeviceImageRequest.Merge(m, src)
2236}
2237func (m *DeviceImageRequest) XXX_Size() int {
2238 return xxx_messageInfo_DeviceImageRequest.Size(m)
2239}
2240func (m *DeviceImageRequest) XXX_DiscardUnknown() {
2241 xxx_messageInfo_DeviceImageRequest.DiscardUnknown(m)
2242}
2243
2244var xxx_messageInfo_DeviceImageRequest proto.InternalMessageInfo
2245
2246func (m *DeviceImageRequest) GetDeviceId() []*common.ID {
2247 if m != nil {
2248 return m.DeviceId
2249 }
2250 return nil
2251}
2252
2253func (m *DeviceImageRequest) GetVersion() string {
2254 if m != nil {
2255 return m.Version
2256 }
2257 return ""
2258}
2259
2260func (m *DeviceImageRequest) GetCommitOnSuccess() bool {
2261 if m != nil {
2262 return m.CommitOnSuccess
2263 }
2264 return false
2265}
2266
2267type DeviceImageResponse struct {
2268 //Image state for the different devices
2269 DeviceImageStates []*DeviceImageState `protobuf:"bytes,1,rep,name=device_image_states,json=deviceImageStates,proto3" json:"device_image_states,omitempty"`
2270 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2271 XXX_unrecognized []byte `json:"-"`
2272 XXX_sizecache int32 `json:"-"`
2273}
2274
2275func (m *DeviceImageResponse) Reset() { *m = DeviceImageResponse{} }
2276func (m *DeviceImageResponse) String() string { return proto.CompactTextString(m) }
2277func (*DeviceImageResponse) ProtoMessage() {}
2278func (*DeviceImageResponse) Descriptor() ([]byte, []int) {
2279 return fileDescriptor_e084f1a60ce7016c, []int{17}
2280}
2281
2282func (m *DeviceImageResponse) XXX_Unmarshal(b []byte) error {
2283 return xxx_messageInfo_DeviceImageResponse.Unmarshal(m, b)
2284}
2285func (m *DeviceImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2286 return xxx_messageInfo_DeviceImageResponse.Marshal(b, m, deterministic)
2287}
2288func (m *DeviceImageResponse) XXX_Merge(src proto.Message) {
2289 xxx_messageInfo_DeviceImageResponse.Merge(m, src)
2290}
2291func (m *DeviceImageResponse) XXX_Size() int {
2292 return xxx_messageInfo_DeviceImageResponse.Size(m)
2293}
2294func (m *DeviceImageResponse) XXX_DiscardUnknown() {
2295 xxx_messageInfo_DeviceImageResponse.DiscardUnknown(m)
2296}
2297
2298var xxx_messageInfo_DeviceImageResponse proto.InternalMessageInfo
2299
2300func (m *DeviceImageResponse) GetDeviceImageStates() []*DeviceImageState {
2301 if m != nil {
2302 return m.DeviceImageStates
2303 }
2304 return nil
2305}
2306
Don Newton98fd8812019-09-23 15:15:02 -04002307// Additional information required to process flow at device adapters
2308type FlowMetadata struct {
2309 // Meters associated with flow-update to adapter
2310 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
2311 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2312 XXX_unrecognized []byte `json:"-"`
2313 XXX_sizecache int32 `json:"-"`
2314}
2315
2316func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
2317func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
2318func (*FlowMetadata) ProtoMessage() {}
2319func (*FlowMetadata) Descriptor() ([]byte, []int) {
Andrea Campanella18448bc2021-07-08 18:47:22 +02002320 return fileDescriptor_e084f1a60ce7016c, []int{18}
Don Newton98fd8812019-09-23 15:15:02 -04002321}
2322
2323func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
2324 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
2325}
2326func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2327 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
2328}
2329func (m *FlowMetadata) XXX_Merge(src proto.Message) {
2330 xxx_messageInfo_FlowMetadata.Merge(m, src)
2331}
2332func (m *FlowMetadata) XXX_Size() int {
2333 return xxx_messageInfo_FlowMetadata.Size(m)
2334}
2335func (m *FlowMetadata) XXX_DiscardUnknown() {
2336 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
2337}
2338
2339var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
2340
2341func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
2342 if m != nil {
2343 return m.Meters
2344 }
2345 return nil
2346}
2347
2348func init() {
Don Newtonb437c6f2019-12-18 11:51:57 -05002349 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
Rohan Agrawal00d3a412020-04-22 10:51:39 +00002350 proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
Don Newton98fd8812019-09-23 15:15:02 -04002351 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
2352 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2353 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Don Newtonb437c6f2019-12-18 11:51:57 -05002354 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2355 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2356 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2357 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
Don Newton98fd8812019-09-23 15:15:02 -04002358 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2359 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
Rohan Agrawal00d3a412020-04-22 10:51:39 +00002360 proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest")
2361 proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse")
Maninder12b909f2020-10-23 14:23:36 +05302362 proto.RegisterType((*ValueSet)(nil), "voltha.ValueSet")
Don Newton98fd8812019-09-23 15:15:02 -04002363 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2364 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2365 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2366 proto.RegisterType((*Membership)(nil), "voltha.Membership")
Andrea Campanella18448bc2021-07-08 18:47:22 +02002367 proto.RegisterType((*DeviceImageDownloadRequest)(nil), "voltha.DeviceImageDownloadRequest")
2368 proto.RegisterType((*DeviceImageRequest)(nil), "voltha.DeviceImageRequest")
2369 proto.RegisterType((*DeviceImageResponse)(nil), "voltha.DeviceImageResponse")
Don Newton98fd8812019-09-23 15:15:02 -04002370 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
2371}
2372
2373func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2374
2375var fileDescriptor_e084f1a60ce7016c = []byte{
Andrea Campanella18448bc2021-07-08 18:47:22 +02002376 // 2900 bytes of a gzipped FileDescriptorProto
2377 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x49, 0x73, 0x1b, 0xc7,
2378 0x15, 0x16, 0xb8, 0xf3, 0x01, 0x24, 0x81, 0x06, 0x17, 0x08, 0x24, 0xb5, 0xb4, 0x6c, 0x89, 0xa6,
2379 0x2d, 0xc0, 0x5a, 0xac, 0x72, 0xec, 0xb8, 0x62, 0x6e, 0xa2, 0x11, 0x4b, 0x02, 0x32, 0x20, 0x25,
2380 0x27, 0xb1, 0x0a, 0x35, 0xc0, 0x34, 0xc0, 0x29, 0x01, 0x18, 0x64, 0xa6, 0x41, 0x49, 0xa5, 0x72,
2381 0xa5, 0xe2, 0x2c, 0x76, 0xce, 0xbe, 0xe7, 0x94, 0x54, 0xaa, 0x72, 0xc9, 0x7f, 0xc8, 0xdd, 0xa7,
2382 0x9c, 0x72, 0x4d, 0xe5, 0x90, 0x5f, 0xe0, 0x73, 0xaa, 0x5f, 0x77, 0x03, 0x33, 0x98, 0x19, 0x2e,
2383 0xb2, 0xab, 0x72, 0x22, 0xa7, 0xfb, 0xf5, 0xf7, 0xbd, 0x7e, 0xdd, 0x6f, 0xe9, 0x6e, 0x40, 0xfe,
2384 0xd8, 0x69, 0xf3, 0x23, 0xb3, 0xd6, 0x73, 0x1d, 0xee, 0x78, 0x45, 0xf9, 0x55, 0xc0, 0x2f, 0x32,
2385 0x25, 0xbf, 0xf2, 0x6b, 0x2d, 0xc7, 0x69, 0xb5, 0x59, 0xd1, 0xec, 0xd9, 0x45, 0xb3, 0xdb, 0x75,
2386 0xb8, 0xc9, 0x6d, 0xa7, 0xeb, 0x49, 0xa9, 0xfc, 0xaa, 0xea, 0xc5, 0xaf, 0x7a, 0xbf, 0x59, 0x64,
2387 0x9d, 0x1e, 0x7f, 0xa9, 0x3a, 0x73, 0x41, 0xf8, 0x0e, 0xe3, 0x0a, 0x3c, 0x3f, 0x42, 0xdc, 0x70,
2388 0x3a, 0x1d, 0xa7, 0x1b, 0xdd, 0x77, 0xc4, 0xcc, 0x36, 0x3f, 0x52, 0x7d, 0x34, 0xd8, 0xd7, 0x76,
2389 0x5a, 0x76, 0xc3, 0x6c, 0xd7, 0x2c, 0x76, 0x6c, 0x37, 0x58, 0xf4, 0xf8, 0x40, 0xdf, 0x6a, 0xb0,
2390 0xcf, 0xb4, 0xcc, 0x1e, 0x67, 0xae, 0xea, 0xbc, 0x1c, 0xec, 0x74, 0x7a, 0xac, 0xdb, 0x6c, 0x3b,
2391 0xcf, 0x6b, 0xb7, 0xee, 0xc4, 0x08, 0x74, 0x1a, 0x76, 0xad, 0x63, 0xd7, 0x6b, 0x56, 0x5d, 0x09,
2392 0x5c, 0x8d, 0x10, 0x30, 0xdb, 0xa6, 0xdb, 0x19, 0x8a, 0x5c, 0x0a, 0x8a, 0xb0, 0x17, 0xbc, 0xd6,
2393 0x70, 0xba, 0x4d, 0xbb, 0x25, 0xfb, 0xe9, 0x9f, 0x13, 0x90, 0xdc, 0x45, 0x95, 0xf7, 0x5d, 0xa7,
2394 0xdf, 0x23, 0x4b, 0x30, 0x66, 0x5b, 0xb9, 0xc4, 0x95, 0xc4, 0xc6, 0xec, 0xf6, 0xe4, 0x7f, 0xbf,
2395 0xfb, 0x76, 0x3d, 0x61, 0x8c, 0xd9, 0x16, 0x29, 0xc1, 0x42, 0x70, 0xf2, 0x5e, 0x6e, 0xec, 0xca,
2396 0xf8, 0x46, 0xf2, 0xf6, 0x52, 0x41, 0xad, 0xe2, 0x03, 0xd9, 0x2d, 0xb1, 0xb6, 0x67, 0xff, 0xfd,
2397 0xdd, 0xb7, 0xeb, 0x13, 0x02, 0xcb, 0x98, 0x6f, 0xfb, 0x7b, 0x3c, 0x72, 0x07, 0xa6, 0x35, 0xc4,
2398 0x38, 0x42, 0xcc, 0x6b, 0x88, 0xf0, 0x58, 0x2d, 0x49, 0x7f, 0x04, 0x29, 0x9f, 0x96, 0x1e, 0x79,
2399 0x0b, 0x26, 0x6d, 0xce, 0x3a, 0x5e, 0x2e, 0x81, 0x10, 0xd9, 0x20, 0x04, 0x0a, 0x19, 0x52, 0x82,
2400 0xfe, 0x29, 0x01, 0x64, 0xef, 0x98, 0x75, 0xf9, 0x7d, 0xbb, 0xcd, 0x99, 0x6b, 0xf4, 0xdb, 0xec,
2401 0x53, 0xf6, 0x92, 0x7e, 0x95, 0x80, 0xec, 0x48, 0xf3, 0xc1, 0xcb, 0x1e, 0x23, 0xf3, 0x00, 0x4d,
2402 0x6c, 0xa9, 0x99, 0xed, 0x76, 0xfa, 0x02, 0x49, 0xc1, 0x4c, 0xc3, 0xe4, 0xac, 0xe5, 0xb8, 0x2f,
2403 0xd3, 0x09, 0x92, 0x86, 0x94, 0xd7, 0xaf, 0xd7, 0x06, 0x2d, 0x63, 0x84, 0xc0, 0xfc, 0xb3, 0x9e,
2404 0x5d, 0x63, 0x02, 0xaa, 0xc6, 0x5f, 0xf6, 0x58, 0x7a, 0x9c, 0x2c, 0x41, 0x46, 0x1a, 0xd9, 0xdf,
2405 0x3c, 0x21, 0x9a, 0xe5, 0x7c, 0xfc, 0xcd, 0x93, 0xd4, 0x86, 0x85, 0x11, 0x45, 0xc8, 0xc7, 0x30,
2406 0xfe, 0x8c, 0xbd, 0xc4, 0x65, 0x98, 0xbf, 0x5d, 0xd0, 0x93, 0x0b, 0xcf, 0xa2, 0x10, 0x31, 0x03,
2407 0x43, 0x0c, 0x25, 0x8b, 0x30, 0x79, 0x6c, 0xb6, 0xfb, 0x2c, 0x37, 0x26, 0x96, 0xd2, 0x90, 0x1f,
2408 0xf4, 0xaf, 0x09, 0x48, 0xfa, 0x86, 0xc4, 0xad, 0xf6, 0x32, 0x4c, 0xb1, 0xae, 0x59, 0x6f, 0xcb,
2409 0xd1, 0x33, 0x86, 0xfa, 0x22, 0xab, 0x30, 0xab, 0x26, 0x60, 0x5b, 0xb9, 0x71, 0x04, 0x9e, 0x91,
2410 0x0d, 0x25, 0x8b, 0xac, 0x03, 0x0c, 0xa7, 0x95, 0x9b, 0xc0, 0xde, 0x59, 0x6c, 0x41, 0xbb, 0xde,
2411 0x84, 0x49, 0xb7, 0xdf, 0x66, 0x5e, 0x6e, 0x12, 0x57, 0x6c, 0x25, 0x66, 0x52, 0x86, 0x94, 0xa2,
2412 0x1f, 0x41, 0xca, 0xd7, 0xe3, 0x91, 0x9b, 0x30, 0x2d, 0x97, 0x25, 0xb4, 0xe4, 0x7e, 0x00, 0x2d,
2413 0x43, 0x9f, 0x41, 0x6a, 0xc7, 0x71, 0x59, 0xa9, 0xeb, 0x71, 0xb3, 0xdb, 0x60, 0xe4, 0x3a, 0x24,
2414 0x6d, 0xf5, 0x7f, 0x6d, 0x74, 0xc6, 0xa0, 0x7b, 0x4a, 0x16, 0xb9, 0x03, 0x53, 0x32, 0x00, 0xe0,
2415 0xcc, 0x93, 0xb7, 0x17, 0x35, 0xcb, 0x27, 0xd8, 0x5a, 0xe5, 0x26, 0xef, 0x7b, 0xdb, 0x93, 0x62,
2416 0x87, 0x5e, 0x30, 0x94, 0x28, 0xfd, 0x10, 0xe6, 0xfc, 0x64, 0x1e, 0xd9, 0x0c, 0xee, 0xce, 0x01,
2417 0x88, 0x5f, 0x4a, 0x6f, 0xcf, 0xf7, 0x60, 0xa1, 0xdc, 0x69, 0xd8, 0x07, 0xcc, 0xe3, 0x06, 0xfb,
2418 0x55, 0x9f, 0x79, 0x9c, 0xcc, 0x0f, 0x57, 0x05, 0x97, 0x83, 0xc0, 0x44, 0xbf, 0x6f, 0x5b, 0x6a,
2419 0x29, 0xf1, 0x7f, 0xfa, 0x6b, 0x48, 0xc9, 0x21, 0x5e, 0xcf, 0xe9, 0x7a, 0x8c, 0xfc, 0x04, 0xa6,
2420 0x5c, 0xe6, 0xf5, 0xdb, 0x5c, 0x6d, 0x9a, 0x1b, 0x9a, 0xd3, 0x2f, 0x15, 0xf8, 0x30, 0x50, 0xdc,
2421 0x50, 0xc3, 0x68, 0x01, 0x48, 0xb8, 0x97, 0x24, 0x61, 0xba, 0x7a, 0xb8, 0xb3, 0xb3, 0x57, 0xad,
2422 0xa6, 0x2f, 0x88, 0x8f, 0xfb, 0x5b, 0xa5, 0x07, 0x87, 0xc6, 0x5e, 0x3a, 0x41, 0x9f, 0xc2, 0xcc,
2423 0x63, 0xb1, 0xa7, 0xaa, 0x2c, 0xac, 0xf0, 0xfb, 0x90, 0x92, 0x61, 0x48, 0x7a, 0x81, 0xb2, 0x65,
2424 0xb6, 0xa0, 0x22, 0xcf, 0x96, 0xe8, 0xdb, 0xc1, 0xff, 0x3f, 0xb9, 0x60, 0x24, 0xcd, 0xe1, 0xe7,
2425 0xf6, 0xb4, 0xda, 0xb6, 0xf4, 0x5f, 0x13, 0x30, 0xf5, 0x18, 0x67, 0x40, 0x2e, 0xc3, 0xf4, 0x31,
2426 0x73, 0x3d, 0xdb, 0xe9, 0x06, 0xd7, 0x4d, 0xb7, 0x92, 0x7b, 0x30, 0xa3, 0x22, 0xab, 0x8e, 0x4a,
2427 0x0b, 0x7a, 0xf6, 0x5b, 0xb2, 0xdd, 0x1f, 0x53, 0x06, 0xb2, 0x51, 0x41, 0x6d, 0xfc, 0xfb, 0x07,
2428 0xb5, 0x89, 0xb3, 0x06, 0x35, 0xf2, 0x31, 0xa4, 0x94, 0x3b, 0x09, 0x97, 0xd1, 0x9e, 0x41, 0x82,
2429 0x23, 0x85, 0xf3, 0xf8, 0x47, 0x27, 0xad, 0x41, 0xb3, 0x47, 0x76, 0x60, 0x4e, 0x21, 0xb4, 0x30,
2430 0x2e, 0xe6, 0xa6, 0x62, 0xc3, 0xa1, 0x1f, 0x43, 0xd1, 0xaa, 0x58, 0xba, 0x03, 0x73, 0xd2, 0x71,
2431 0xb5, 0x83, 0x4d, 0xc7, 0x3a, 0x58, 0x00, 0x84, 0xf9, 0xfd, 0xf3, 0x67, 0x90, 0x19, 0xe6, 0x27,
2432 0x93, 0x9b, 0x75, 0xd3, 0x63, 0xb9, 0x35, 0x05, 0x24, 0x7a, 0x0a, 0x0f, 0xed, 0xba, 0x54, 0x67,
2433 0xd7, 0xe4, 0xe6, 0x76, 0x5a, 0x00, 0x25, 0x7d, 0xf1, 0xc4, 0x58, 0x10, 0x52, 0x42, 0x48, 0x8d,
2434 0x26, 0x4f, 0x20, 0xeb, 0xcf, 0x68, 0x1a, 0x74, 0x5d, 0x2d, 0x11, 0x82, 0xe2, 0x56, 0x3a, 0x11,
2435 0x16, 0xd5, 0x92, 0x62, 0x0a, 0x81, 0xfe, 0x25, 0x01, 0xe9, 0x2a, 0x6b, 0x37, 0xcf, 0xe6, 0x40,
2436 0xa3, 0x92, 0xfe, 0x06, 0xbf, 0x03, 0x55, 0x60, 0x3e, 0xd8, 0x13, 0xef, 0x3c, 0x24, 0x03, 0x73,
2437 0x8f, 0xca, 0x07, 0xb5, 0xea, 0x61, 0xa5, 0x52, 0x36, 0x0e, 0xf6, 0x76, 0xd3, 0x63, 0xa2, 0xe9,
2438 0xf0, 0xd1, 0xa7, 0x8f, 0xca, 0x4f, 0x1e, 0xd5, 0xf6, 0x0c, 0xa3, 0x6c, 0xa4, 0xc7, 0x69, 0x19,
2439 0x32, 0xe5, 0xe6, 0x56, 0x8b, 0x75, 0x79, 0xb5, 0x5f, 0xf7, 0x1a, 0xae, 0x5d, 0x67, 0xae, 0x08,
2440 0xb3, 0x4e, 0xd3, 0x14, 0x8d, 0x83, 0x40, 0x66, 0xcc, 0xaa, 0x96, 0x92, 0x25, 0x42, 0xb4, 0xca,
2441 0xf8, 0x83, 0x80, 0x31, 0x23, 0x1b, 0x4a, 0x16, 0xfd, 0x10, 0xe0, 0x21, 0xeb, 0xd4, 0x99, 0xeb,
2442 0x1d, 0xd9, 0x3d, 0x81, 0x84, 0xbb, 0xa6, 0xd6, 0x35, 0x3b, 0x4c, 0x23, 0x61, 0xcb, 0x23, 0xb3,
2443 0xc3, 0x94, 0x53, 0x8f, 0x69, 0xa7, 0xa6, 0xff, 0x48, 0x40, 0x5e, 0x5a, 0xba, 0xd4, 0x31, 0x5b,
2444 0x6c, 0xd7, 0x79, 0xde, 0x6d, 0x3b, 0xa6, 0xa5, 0x83, 0xd6, 0x0d, 0x7f, 0x6e, 0x90, 0x71, 0x0f,
2445 0x0a, 0xaa, 0xd0, 0x2a, 0xed, 0xfa, 0xf2, 0xc4, 0x35, 0x98, 0xb4, 0x05, 0x80, 0x8a, 0x0a, 0x73,
2446 0xda, 0xce, 0x88, 0x6a, 0xc8, 0x3e, 0xf2, 0x0e, 0x64, 0xcc, 0x06, 0xb7, 0x8f, 0x4d, 0xce, 0xca,
2447 0xdd, 0x6a, 0xbf, 0xd1, 0x60, 0x9e, 0x87, 0x19, 0x67, 0xc6, 0x08, 0x77, 0x90, 0x0d, 0x58, 0x10,
2448 0x4c, 0x36, 0x1f, 0xca, 0x4e, 0xa0, 0xec, 0x68, 0x33, 0xfd, 0x4d, 0x02, 0x88, 0x6f, 0x12, 0xe7,
2449 0x56, 0x3e, 0x37, 0x8c, 0x45, 0xd2, 0x32, 0x83, 0x20, 0x14, 0xa1, 0xc3, 0x78, 0xb4, 0x0e, 0x35,
2450 0xc8, 0x06, 0x54, 0x50, 0x1b, 0xf0, 0x13, 0xc8, 0x6a, 0x1d, 0x44, 0x7b, 0xcd, 0xe3, 0x26, 0x67,
2451 0x3a, 0x85, 0xe4, 0x82, 0x1e, 0x8d, 0x23, 0x45, 0x32, 0x62, 0x86, 0x2a, 0x29, 0x86, 0x2d, 0x1e,
2452 0xdd, 0x83, 0xd4, 0xfd, 0xb6, 0xf3, 0xfc, 0x21, 0xe3, 0xa6, 0xf0, 0x1a, 0xf2, 0x1e, 0x4c, 0x75,
2453 0x98, 0x2f, 0x75, 0xae, 0x17, 0xfc, 0xb5, 0xa6, 0xd3, 0xec, 0xd5, 0xb0, 0x5b, 0x45, 0x6b, 0x43,
2454 0x09, 0xdf, 0xfe, 0xfb, 0x3d, 0x98, 0x93, 0x21, 0xb8, 0xca, 0x5c, 0xc1, 0x41, 0x9e, 0xc0, 0xdc,
2455 0x3e, 0xe3, 0xbe, 0x2d, 0xb4, 0x5c, 0x90, 0xf5, 0x78, 0x41, 0xd7, 0xe3, 0x85, 0x3d, 0x51, 0x8f,
2456 0xe7, 0x07, 0x31, 0x6c, 0x28, 0x4b, 0xf3, 0x5f, 0xfe, 0xf3, 0x3f, 0xdf, 0x8c, 0x2d, 0x12, 0x82,
2457 0xa5, 0xfd, 0xf1, 0xad, 0x62, 0x67, 0x88, 0xf3, 0x14, 0xd2, 0x87, 0x3d, 0xcb, 0xe4, 0xcc, 0x87,
2458 0x1d, 0x81, 0x91, 0x8f, 0xe1, 0xa3, 0xeb, 0x88, 0xbd, 0x42, 0x23, 0xb0, 0x3f, 0x48, 0x6c, 0x92,
2459 0x5d, 0x98, 0xdd, 0x67, 0x5c, 0xa5, 0x93, 0x38, 0x9d, 0x07, 0x11, 0x5b, 0xca, 0xd1, 0x05, 0xc4,
2460 0x9c, 0x25, 0xd3, 0x0a, 0x93, 0x3c, 0x85, 0xcc, 0x03, 0xdb, 0xe3, 0xc1, 0x54, 0x1f, 0x87, 0xb6,
2461 0x14, 0x95, 0xf3, 0x3d, 0x7a, 0x11, 0x41, 0xb3, 0x24, 0xa3, 0x15, 0xb5, 0x07, 0x48, 0x55, 0x58,
2462 0xd8, 0x67, 0x01, 0x74, 0xe2, 0xdb, 0x83, 0xf9, 0xc8, 0x22, 0x82, 0x5e, 0x42, 0xbc, 0x1c, 0x59,
2463 0x0e, 0xe1, 0x15, 0x5f, 0xd9, 0xd6, 0x17, 0xc4, 0x80, 0x94, 0xd0, 0x79, 0x4b, 0xa7, 0xbc, 0x38,
2464 0x75, 0xd3, 0x23, 0x09, 0xd3, 0xa3, 0x39, 0x44, 0x26, 0x24, 0xad, 0x91, 0x07, 0x69, 0x93, 0x01,
2465 0x11, 0x98, 0x0f, 0x82, 0x19, 0x30, 0x0e, 0x79, 0x39, 0x32, 0x97, 0x7a, 0xf4, 0x32, 0xe2, 0x5f,
2466 0x24, 0x2b, 0x1a, 0x7f, 0x24, 0x15, 0x93, 0x5f, 0x42, 0x7a, 0x9f, 0x05, 0x59, 0x02, 0x06, 0x89,
2467 0x4e, 0xd2, 0xf4, 0x0d, 0xc4, 0xbd, 0x44, 0xd6, 0x62, 0x70, 0xa5, 0x5d, 0x9a, 0xb0, 0x1c, 0x9a,
2468 0x43, 0xc5, 0x71, 0xb9, 0x17, 0x6d, 0x73, 0x25, 0x87, 0x12, 0x74, 0x13, 0x19, 0xde, 0x20, 0xf4,
2469 0x24, 0x86, 0x62, 0x0f, 0xd1, 0x5e, 0xc0, 0xe2, 0xe8, 0x24, 0x04, 0x08, 0x59, 0x8a, 0x40, 0x2e,
2470 0x59, 0xf9, 0x6c, 0x44, 0x33, 0xbd, 0x8b, 0x7c, 0x05, 0xf2, 0xce, 0xe9, 0x7c, 0xc5, 0x57, 0xe2,
2471 0x4f, 0x4d, 0xcc, 0xf0, 0xf7, 0x09, 0x58, 0xd9, 0xc3, 0xb2, 0xfd, 0xcc, 0xec, 0x71, 0xde, 0xf5,
2472 0x21, 0x2a, 0xf0, 0x1e, 0xbd, 0x73, 0x1e, 0x05, 0x8a, 0xea, 0xcc, 0xf0, 0x55, 0x02, 0x72, 0xbb,
2473 0xb6, 0xf7, 0x83, 0x28, 0xf2, 0x63, 0x54, 0xe4, 0x1e, 0xbd, 0x7b, 0x2e, 0x45, 0x2c, 0xc9, 0x4e,
2474 0xac, 0x88, 0x35, 0x17, 0x71, 0x32, 0xb8, 0xe6, 0x24, 0x10, 0x1c, 0xb1, 0xff, 0x8c, 0x2b, 0xde,
2475 0x44, 0xac, 0xdf, 0x26, 0x60, 0x4d, 0xc6, 0xb2, 0x10, 0xd1, 0x01, 0xaa, 0xb1, 0x16, 0x22, 0xc0,
2476 0x76, 0x39, 0x26, 0x76, 0xea, 0x37, 0x51, 0x85, 0x1b, 0xf4, 0x0c, 0x2a, 0x88, 0x88, 0xf7, 0xbb,
2477 0x04, 0xac, 0x47, 0x68, 0xf1, 0x50, 0x44, 0x76, 0xa9, 0xc6, 0x6a, 0x40, 0x0d, 0xec, 0x78, 0xe8,
2478 0x58, 0xa7, 0x68, 0x51, 0x40, 0x2d, 0x36, 0xe8, 0xb5, 0x13, 0xb5, 0x90, 0xf9, 0x43, 0xa8, 0xd1,
2479 0x82, 0x95, 0x90, 0xc9, 0x91, 0x2a, 0x68, 0xf3, 0x6c, 0x58, 0x17, 0x8f, 0xbe, 0x8d, 0x5c, 0x6f,
2480 0x92, 0xb3, 0x70, 0x11, 0x0e, 0xab, 0x91, 0x6b, 0xab, 0x4a, 0x5c, 0x3f, 0xd9, 0x4a, 0xc8, 0xfe,
2481 0x52, 0x88, 0xbe, 0x8b, 0x84, 0x9b, 0x64, 0xe3, 0x54, 0x13, 0xab, 0x6a, 0x9b, 0x7c, 0x93, 0x80,
2482 0xab, 0x31, 0x6b, 0x8d, 0x98, 0xd2, 0xd2, 0x57, 0xa3, 0x09, 0xcf, 0xb2, 0xea, 0x77, 0x50, 0xa5,
2483 0x9b, 0xf4, 0xcc, 0x2a, 0x09, 0xa3, 0x97, 0x21, 0x29, 0x6c, 0x71, 0x5a, 0x60, 0x5e, 0x08, 0x96,
2484 0x14, 0x1e, 0x5d, 0x41, 0xb2, 0x0c, 0x59, 0xd0, 0x64, 0x3a, 0x12, 0x97, 0x61, 0x6e, 0x08, 0x58,
2485 0xb2, 0xe2, 0x21, 0x93, 0x43, 0x33, 0x47, 0xa4, 0x3a, 0x09, 0x67, 0x5b, 0x1e, 0x39, 0x84, 0xb4,
2486 0xc1, 0x1a, 0x4e, 0xb7, 0x61, 0xb7, 0x99, 0x56, 0xd3, 0x3f, 0x36, 0xd6, 0x1e, 0x6b, 0x88, 0xb9,
2487 0x4c, 0xc3, 0x98, 0x62, 0xe2, 0x7b, 0x98, 0xe6, 0x23, 0x52, 0xc5, 0xc8, 0x61, 0x4c, 0xc3, 0x90,
2488 0xc5, 0x91, 0x99, 0xca, 0xdc, 0xf0, 0x53, 0x48, 0xed, 0xb8, 0xcc, 0xe4, 0x4a, 0x35, 0x32, 0x32,
2489 0x3a, 0x84, 0xa6, 0x0a, 0x1b, 0x3a, 0x6a, 0x37, 0xa1, 0xd2, 0x13, 0x48, 0xc9, 0x20, 0x1c, 0xa1,
2490 0x55, 0xdc, 0x24, 0xaf, 0x21, 0xde, 0x3a, 0x5d, 0x8d, 0xd2, 0x4e, 0x87, 0xd5, 0x9f, 0xc3, 0x9c,
2491 0x8a, 0xaa, 0xe7, 0x40, 0x56, 0xb9, 0x91, 0xae, 0x45, 0x22, 0xeb, 0x38, 0xf9, 0x04, 0x52, 0x06,
2492 0xab, 0x3b, 0x0e, 0xff, 0xc1, 0x74, 0x76, 0x11, 0x4e, 0x00, 0xef, 0xb2, 0x36, 0xe3, 0xaf, 0x61,
2493 0x8c, 0xcd, 0x68, 0x60, 0x0b, 0xe1, 0x48, 0x1d, 0x32, 0xf7, 0x1d, 0xb7, 0xc1, 0xce, 0x8d, 0xfe,
2494 0x16, 0xa2, 0x5f, 0xdb, 0xbc, 0x1a, 0x89, 0xde, 0x14, 0x98, 0x35, 0xc5, 0xd1, 0x87, 0x39, 0x7d,
2495 0xe4, 0xc1, 0x5a, 0x7b, 0x98, 0xbb, 0x02, 0xc7, 0xa1, 0xfc, 0x92, 0xa6, 0x2d, 0xf7, 0x98, 0x8b,
2496 0x77, 0xd7, 0xa2, 0xc2, 0xa7, 0xf7, 0x90, 0xe9, 0x5d, 0xfa, 0x76, 0x24, 0x93, 0xac, 0xf8, 0x2d,
2497 0x85, 0xe1, 0x15, 0x5f, 0x89, 0x23, 0xd9, 0x17, 0x62, 0x03, 0x7d, 0x99, 0x80, 0xe5, 0x7d, 0xc6,
2498 0x03, 0x1c, 0xf2, 0x16, 0x2a, 0x5e, 0x81, 0xa8, 0x66, 0xfa, 0x01, 0x2a, 0x70, 0x97, 0xdc, 0x3e,
2499 0x87, 0x02, 0x45, 0x4f, 0x32, 0xf5, 0xb1, 0x14, 0x0b, 0xe0, 0x9d, 0x93, 0x5d, 0x05, 0x32, 0x72,
2500 0x9e, 0xe9, 0x93, 0xa6, 0x2c, 0x34, 0x03, 0x48, 0xde, 0xc8, 0xba, 0x46, 0xb1, 0x79, 0xf4, 0x1d,
2501 0xa4, 0xbb, 0x4e, 0xde, 0x38, 0x0b, 0x1d, 0x79, 0x01, 0xd9, 0x1d, 0x51, 0x33, 0xb7, 0xcf, 0x38,
2502 0xc3, 0xc8, 0x05, 0x56, 0x33, 0xdc, 0x3c, 0xd7, 0x0c, 0xbf, 0x4e, 0x40, 0x76, 0x4b, 0x1d, 0x67,
2503 0x91, 0x45, 0xe6, 0x83, 0x73, 0x52, 0xef, 0x20, 0xf5, 0x47, 0xf4, 0xfd, 0xf3, 0x2c, 0xad, 0x6c,
2504 0xee, 0x23, 0x9f, 0xd8, 0x68, 0x7f, 0x48, 0x40, 0xc6, 0x60, 0xc7, 0xcc, 0xe5, 0xff, 0x17, 0x45,
2505 0x5c, 0xa4, 0x16, 0x8a, 0x7c, 0x9d, 0x80, 0xa5, 0x80, 0xa7, 0x1d, 0x38, 0xca, 0xa3, 0x69, 0xc4,
2506 0x21, 0x78, 0xe4, 0x1a, 0x22, 0xbf, 0x1a, 0x21, 0xa3, 0x8f, 0xd8, 0xba, 0x7c, 0x21, 0xd7, 0x47,
2507 0xf5, 0x43, 0x1d, 0xbc, 0xa2, 0xd6, 0x4d, 0x9e, 0xc0, 0x3d, 0xf2, 0x1c, 0xe6, 0xf5, 0xbe, 0x57,
2508 0x3e, 0x97, 0x8f, 0x84, 0x3f, 0x03, 0x75, 0xec, 0x8e, 0x54, 0xd4, 0xf2, 0x4f, 0x4d, 0x39, 0xdc,
2509 0x1f, 0x13, 0x70, 0x71, 0xab, 0xee, 0x0c, 0xd6, 0xa2, 0xe5, 0x9a, 0xd6, 0xd0, 0x0e, 0xaf, 0xad,
2510 0x44, 0xac, 0x17, 0x2a, 0x25, 0x4c, 0x41, 0x59, 0xeb, 0x4b, 0x3a, 0x6d, 0x84, 0xc7, 0x90, 0xda,
2511 0x67, 0xbc, 0xdc, 0xed, 0x97, 0xe4, 0xb7, 0xdf, 0xff, 0x32, 0x9a, 0x6d, 0xd0, 0x4d, 0x6f, 0x20,
2512 0xc7, 0x55, 0x72, 0x39, 0x72, 0x0f, 0x38, 0xdd, 0xbe, 0xc6, 0x7d, 0x05, 0x73, 0x81, 0xad, 0xff,
2513 0xfa, 0xd3, 0xba, 0x85, 0x94, 0x6f, 0xd3, 0xb8, 0x65, 0xd5, 0x17, 0x46, 0x8a, 0x59, 0x6c, 0xb2,
2514 0xe7, 0x90, 0xdc, 0xc1, 0x6b, 0x99, 0xef, 0x49, 0x5d, 0x44, 0xea, 0xb7, 0x68, 0xdc, 0xb2, 0xca,
2515 0xbb, 0x1f, 0x1f, 0x71, 0x05, 0x16, 0x86, 0xb5, 0x54, 0xf8, 0xc4, 0x39, 0xb8, 0x0d, 0x93, 0x47,
2516 0x4d, 0x8a, 0xf0, 0x6b, 0x24, 0x1f, 0x69, 0x4c, 0x79, 0xc4, 0x7c, 0x0a, 0x59, 0x1f, 0xa2, 0xba,
2517 0x48, 0x8f, 0x59, 0xa6, 0x41, 0xf7, 0x29, 0xcb, 0xd4, 0xd3, 0x57, 0xf7, 0x1e, 0xe9, 0xc2, 0x92,
2518 0x8c, 0x05, 0xa3, 0x04, 0x61, 0xd0, 0xd8, 0x34, 0xab, 0xce, 0x4f, 0xf4, 0x34, 0x32, 0x61, 0xa0,
2519 0x43, 0xbf, 0x81, 0xce, 0x76, 0x3c, 0x3b, 0xd9, 0x4a, 0xf2, 0x58, 0xc6, 0x60, 0x31, 0x08, 0x7b,
2520 0x9e, 0x93, 0xc1, 0x06, 0x12, 0x50, 0x72, 0x25, 0x96, 0x40, 0x9f, 0x08, 0x3e, 0xf7, 0x6b, 0x2f,
2521 0xef, 0xe8, 0xe3, 0x8a, 0xe5, 0x6c, 0xf8, 0x9e, 0xdf, 0x8b, 0xab, 0x4c, 0xe5, 0x03, 0x01, 0x31,
2522 0xf0, 0xfe, 0x6d, 0x28, 0x3f, 0x62, 0x99, 0x10, 0x1e, 0xbd, 0x8a, 0x70, 0xab, 0xe4, 0x62, 0x14,
2523 0x9c, 0xac, 0x76, 0x6b, 0x90, 0x1e, 0x6a, 0xac, 0x8c, 0x12, 0xa7, 0xf2, 0x62, 0xc4, 0xbb, 0x82,
2524 0xa7, 0x2f, 0xdf, 0xc8, 0xd2, 0x08, 0x89, 0x32, 0xc9, 0x7d, 0x48, 0x57, 0xb9, 0xcb, 0xcc, 0x4e,
2525 0xc5, 0x6c, 0x3c, 0x63, 0xdc, 0x2b, 0xf7, 0x39, 0x59, 0x0e, 0x58, 0x5a, 0x76, 0x94, 0xfb, 0x3c,
2526 0x76, 0x03, 0x5d, 0xd8, 0x48, 0x90, 0x3d, 0x3c, 0x34, 0x30, 0xfb, 0x98, 0x29, 0xa0, 0x52, 0xf7,
2527 0x84, 0xdb, 0xb7, 0x30, 0x7e, 0xa9, 0x4b, 0x2f, 0xbc, 0x9b, 0x20, 0x9f, 0x42, 0x56, 0xc1, 0xec,
2528 0x1c, 0x99, 0xdd, 0x16, 0xc3, 0xd7, 0x8d, 0xf8, 0x29, 0xe7, 0x02, 0x48, 0xbe, 0x21, 0x08, 0x76,
2529 0x88, 0x09, 0xc2, 0xff, 0x7e, 0x1e, 0x3c, 0xd6, 0x86, 0xcd, 0x15, 0xb7, 0x59, 0x95, 0xb5, 0xf4,
2530 0x9a, 0x64, 0xe4, 0x09, 0xc4, 0xff, 0x56, 0x1b, 0xf5, 0x1e, 0x93, 0x8f, 0x6a, 0xa4, 0x57, 0x90,
2531 0x22, 0x4f, 0x07, 0x0b, 0x12, 0x78, 0xde, 0x11, 0x4e, 0xf6, 0x18, 0xf5, 0xf6, 0xa3, 0x47, 0x5e,
2532 0x7b, 0xf9, 0x5f, 0x60, 0xc3, 0x8a, 0x07, 0x50, 0xa5, 0xe2, 0x16, 0x64, 0x64, 0xb0, 0x78, 0x3d,
2533 0xc5, 0xdf, 0x44, 0x8a, 0xcb, 0xf9, 0x13, 0x28, 0x84, 0xf6, 0x16, 0x64, 0x64, 0xa5, 0x7f, 0x2a,
2534 0x4b, 0xdc, 0x7e, 0x52, 0x73, 0xd9, 0x3c, 0x69, 0x2e, 0xca, 0x31, 0x02, 0xaf, 0xd0, 0xa7, 0x3a,
2535 0x46, 0xc0, 0x62, 0x21, 0xc7, 0x08, 0xb0, 0x90, 0x07, 0x78, 0x5c, 0x8d, 0xc8, 0xaa, 0xf3, 0x81,
2536 0xa2, 0xcb, 0xd3, 0x67, 0x20, 0xb2, 0x1a, 0x5f, 0x56, 0x79, 0xe4, 0x33, 0x98, 0xd1, 0xcf, 0x4f,
2537 0x01, 0xb0, 0x5c, 0xdc, 0x3b, 0x16, 0xbd, 0x8e, 0xb0, 0x57, 0xe8, 0xa5, 0x48, 0x58, 0x8f, 0xb5,
2538 0x9b, 0x35, 0x2e, 0xd0, 0x1e, 0x63, 0xf5, 0x1f, 0x78, 0xbe, 0x1b, 0xbd, 0xbd, 0x09, 0xbd, 0xef,
2539 0x85, 0x23, 0x8f, 0x70, 0x23, 0x21, 0xa7, 0xae, 0x6d, 0xec, 0x3a, 0xf9, 0x1c, 0xc8, 0x3e, 0xe3,
2540 0x23, 0x2f, 0x78, 0x23, 0x57, 0xbc, 0x51, 0x8f, 0x7c, 0x61, 0x7b, 0x04, 0xb1, 0xf1, 0xbd, 0x90,
2541 0x78, 0x30, 0x57, 0xb5, 0x3b, 0xfd, 0xb6, 0xc9, 0x19, 0x8e, 0x27, 0x6b, 0x03, 0x43, 0xf8, 0x9b,
2542 0x75, 0x96, 0x8f, 0xa9, 0x68, 0x43, 0xd7, 0x6e, 0x41, 0x1b, 0x29, 0xa4, 0x9a, 0x40, 0x12, 0x3b,
2543 0x73, 0x07, 0x66, 0x07, 0x4f, 0x75, 0xe4, 0xe2, 0xa0, 0x38, 0x1a, 0x7d, 0xc4, 0xcb, 0xc7, 0x77,
2544 0xd1, 0x0b, 0xe4, 0x21, 0x80, 0xbc, 0x33, 0xc0, 0x2b, 0xd2, 0x94, 0xbf, 0x22, 0x88, 0xdd, 0xd0,
2545 0xea, 0xb2, 0x85, 0xce, 0x0b, 0x1d, 0x87, 0xa3, 0xd5, 0x75, 0x90, 0xba, 0x29, 0x38, 0x07, 0xde,
2546 0xf0, 0x4e, 0xe3, 0xf8, 0x56, 0xd1, 0x37, 0x5c, 0x00, 0x7e, 0x06, 0x49, 0x11, 0x3c, 0x5e, 0x70,
2547 0x7c, 0xff, 0x27, 0xcb, 0xda, 0x72, 0xf2, 0xe7, 0x00, 0x3d, 0xd6, 0xb0, 0x9b, 0x36, 0x73, 0xf3,
2548 0x8b, 0xba, 0xdd, 0x60, 0xbc, 0xef, 0x76, 0xb1, 0xd7, 0xa3, 0xab, 0x08, 0xbc, 0x44, 0xb2, 0xda,
2549 0xa0, 0x7e, 0xa8, 0x03, 0x48, 0x56, 0x7d, 0x9f, 0x83, 0x47, 0x09, 0xfd, 0x43, 0x83, 0x58, 0x75,
2550 0x43, 0xa8, 0x7e, 0x98, 0x23, 0xc8, 0x56, 0xb9, 0xe9, 0x72, 0xfd, 0x33, 0x0b, 0x51, 0x75, 0x3a,
2551 0x5d, 0x32, 0xf8, 0x05, 0xca, 0xc8, 0xcf, 0x2f, 0x86, 0xce, 0x1c, 0xf0, 0x16, 0x15, 0x32, 0xe8,
2552 0xe0, 0xbd, 0xc2, 0x13, 0x98, 0x35, 0x7c, 0xa1, 0x16, 0x6e, 0xf2, 0x41, 0x62, 0x73, 0xbb, 0x0d,
2553 0x59, 0xc7, 0x6d, 0x61, 0xc6, 0x68, 0x38, 0xae, 0xa5, 0x70, 0xb6, 0x53, 0xf2, 0x45, 0xa9, 0x82,
2554 0x3f, 0xc1, 0xfa, 0x45, 0xa1, 0x65, 0xf3, 0xa3, 0x7e, 0x5d, 0x58, 0xa7, 0xa8, 0x25, 0xd5, 0x4f,
2555 0xe1, 0x6e, 0xea, 0x1f, 0xc6, 0xdd, 0x2d, 0xb6, 0x1c, 0xd5, 0xf6, 0xb7, 0xb1, 0xe5, 0xb2, 0xc6,
2556 0x7b, 0xec, 0x7f, 0xa0, 0xaa, 0x8c, 0x55, 0xc6, 0x2b, 0x13, 0x95, 0xc9, 0xca, 0x54, 0x65, 0xba,
2557 0x32, 0x53, 0x9f, 0xc2, 0xb1, 0x77, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x87, 0x9b, 0x36, 0xf4,
2558 0x64, 0x27, 0x00, 0x00,
Don Newton98fd8812019-09-23 15:15:02 -04002559}
2560
2561// Reference imports to suppress errors if they are not otherwise used.
2562var _ context.Context
2563var _ grpc.ClientConn
2564
2565// This is a compile-time assertion to ensure that this generated file
2566// is compatible with the grpc package it is being compiled against.
2567const _ = grpc.SupportPackageIsVersion4
2568
2569// VolthaServiceClient is the client API for VolthaService service.
2570//
2571// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2572type VolthaServiceClient interface {
Don Newton98fd8812019-09-23 15:15:02 -04002573 // Get the membership group of a Voltha Core
2574 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2575 // Set the membership group of a Voltha Core
2576 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2577 // Get high level information on the Voltha cluster
2578 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2579 // List all Voltha cluster core instances
2580 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2581 // Get details on a Voltha cluster instance
2582 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2583 // List all active adapters (plugins) in the Voltha cluster
2584 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2585 // List all logical devices managed by the Voltha cluster
2586 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2587 // Get additional information on a given logical device
2588 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2589 // List ports of a logical device
2590 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2591 // Gets a logical device port
2592 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2593 // Enables a logical device port
2594 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2595 // Disables a logical device port
2596 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2597 // List all flows of a logical device
2598 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2599 // Update flow table for logical device
2600 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2601 // Update meter table for logical device
2602 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2603 // List all meters of a logical device
2604 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
2605 // List all flow groups of a logical device
2606 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2607 // Update group table for device
2608 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2609 // List all physical devices controlled by the Voltha cluster
2610 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2611 // List all physical devices IDs controlled by the Voltha cluster
2612 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2613 // Request to a voltha Core to reconcile a set of devices based on their IDs
2614 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2615 // Get more information on a given physical device
2616 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2617 // Pre-provision a new physical device
2618 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2619 // Enable a device. If the device was in pre-provisioned state then it
2620 // will transition to ENABLED state. If it was is DISABLED state then it
2621 // will transition to ENABLED state as well.
2622 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2623 // Disable a device
2624 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2625 // Reboot a device
2626 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2627 // Delete a device
2628 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Maninder12b909f2020-10-23 14:23:36 +05302629 // Forcefully delete a device
2630 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Don Newton98fd8812019-09-23 15:15:02 -04002631 // Request an image download to the standby partition
2632 // of a device.
2633 // Note that the call is expected to be non-blocking.
2634 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2635 // Get image download status on a device
2636 // The request retrieves progress on device and updates db record
Andrea Campanella18448bc2021-07-08 18:47:22 +02002637 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04002638 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2639 // Get image download db record
Andrea Campanella18448bc2021-07-08 18:47:22 +02002640 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04002641 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2642 // List image download db records for a given device
Andrea Campanella18448bc2021-07-08 18:47:22 +02002643 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04002644 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2645 // Cancel an existing image download process on a device
Andrea Campanella18448bc2021-07-08 18:47:22 +02002646 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04002647 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2648 // Activate the specified image at a standby partition
2649 // to active partition.
2650 // Depending on the device implementation, this call
2651 // may or may not cause device reboot.
2652 // If no reboot, then a reboot is required to make the
2653 // activated image running on device
2654 // Note that the call is expected to be non-blocking.
Andrea Campanella18448bc2021-07-08 18:47:22 +02002655 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04002656 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2657 // Revert the specified image at standby partition
2658 // to active partition, and revert to previous image
2659 // Depending on the device implementation, this call
2660 // may or may not cause device reboot.
2661 // If no reboot, then a reboot is required to make the
2662 // previous image running on device
2663 // Note that the call is expected to be non-blocking.
Andrea Campanella18448bc2021-07-08 18:47:22 +02002664 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04002665 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
Andrea Campanella18448bc2021-07-08 18:47:22 +02002666 // Downloads a certain image to the standby partition of the devices
2667 // Note that the call is expected to be non-blocking.
2668 DownloadImageToDevice(ctx context.Context, in *DeviceImageDownloadRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
2669 // Get image status on a number of devices devices
2670 // Polled from northbound systems to get state of download/activate/commit
2671 GetImageStatus(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
2672 // Aborts the upgrade of an image on a device
2673 // To be used carefully, stops any further operations for the Image on the given devices
2674 // Might also stop if possible existing work, but no guarantees are given,
2675 // depends on implementation and procedure status.
2676 AbortImageUpgradeToDevice(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
2677 // Get Both Active and Standby image for a given device
2678 GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*OnuImages, error)
2679 // Activate the specified image from a standby partition
2680 // to active partition.
2681 // Depending on the device implementation, this call
2682 // may or may not cause device reboot.
2683 // If no reboot, then a reboot is required to make the
2684 // activated image running on device
2685 // Note that the call is expected to be non-blocking.
2686 ActivateImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
2687 // Commit the specified image to be default.
2688 // Depending on the device implementation, this call
2689 // may or may not cause device reboot.
2690 // If no reboot, then a reboot is required to make the
2691 // activated image running on device upon next reboot
2692 // Note that the call is expected to be non-blocking.
2693 CommitImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error)
Don Newton98fd8812019-09-23 15:15:02 -04002694 // List ports of a device
2695 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2696 // List pm config of a device
2697 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2698 // Update the pm config of a device
2699 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2700 // List all flows of a device
2701 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2702 // List all flow groups of a device
2703 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2704 // List device types known to Voltha
2705 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2706 // Get additional information on a device type
2707 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2708 // List all device sharding groups
2709 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2710 // Stream control packets to the dataplane
2711 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2712 // Receive control packet stream
2713 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2714 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2715 // Get additional information on a device group
2716 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Don Newtonb437c6f2019-12-18 11:51:57 -05002717 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2718 // Get all filters present for a device
2719 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2720 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2721 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2722 // Get all the filters present
2723 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
Don Newton98fd8812019-09-23 15:15:02 -04002724 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2725 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2726 // OpenOMCI MIB information
2727 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2728 // OpenOMCI ALARM information
2729 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2730 // Simulate an Alarm
2731 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2732 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
divyadesai81bb7ba2020-03-11 11:45:23 +00002733 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2734 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
Neha Sharma87d43d72020-04-08 14:10:40 +00002735 GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error)
Maninder12b909f2020-10-23 14:23:36 +05302736 SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
Rohan Agrawal00d3a412020-04-22 10:51:39 +00002737 // omci start and stop cli implementation
2738 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
Don Newton98fd8812019-09-23 15:15:02 -04002739}
2740
2741type volthaServiceClient struct {
2742 cc *grpc.ClientConn
2743}
2744
2745func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2746 return &volthaServiceClient{cc}
2747}
2748
Don Newton98fd8812019-09-23 15:15:02 -04002749func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2750 out := new(Membership)
2751 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2752 if err != nil {
2753 return nil, err
2754 }
2755 return out, nil
2756}
2757
2758func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2759 out := new(empty.Empty)
2760 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2761 if err != nil {
2762 return nil, err
2763 }
2764 return out, nil
2765}
2766
2767func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2768 out := new(Voltha)
2769 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2770 if err != nil {
2771 return nil, err
2772 }
2773 return out, nil
2774}
2775
2776func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2777 out := new(CoreInstances)
2778 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2779 if err != nil {
2780 return nil, err
2781 }
2782 return out, nil
2783}
2784
2785func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2786 out := new(CoreInstance)
2787 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2788 if err != nil {
2789 return nil, err
2790 }
2791 return out, nil
2792}
2793
2794func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2795 out := new(Adapters)
2796 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2797 if err != nil {
2798 return nil, err
2799 }
2800 return out, nil
2801}
2802
2803func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2804 out := new(LogicalDevices)
2805 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2806 if err != nil {
2807 return nil, err
2808 }
2809 return out, nil
2810}
2811
2812func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2813 out := new(LogicalDevice)
2814 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2815 if err != nil {
2816 return nil, err
2817 }
2818 return out, nil
2819}
2820
2821func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2822 out := new(LogicalPorts)
2823 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2824 if err != nil {
2825 return nil, err
2826 }
2827 return out, nil
2828}
2829
2830func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2831 out := new(LogicalPort)
2832 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2833 if err != nil {
2834 return nil, err
2835 }
2836 return out, nil
2837}
2838
2839func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2840 out := new(empty.Empty)
2841 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2842 if err != nil {
2843 return nil, err
2844 }
2845 return out, nil
2846}
2847
2848func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2849 out := new(empty.Empty)
2850 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2851 if err != nil {
2852 return nil, err
2853 }
2854 return out, nil
2855}
2856
2857func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2858 out := new(openflow_13.Flows)
2859 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2860 if err != nil {
2861 return nil, err
2862 }
2863 return out, nil
2864}
2865
2866func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2867 out := new(empty.Empty)
2868 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2869 if err != nil {
2870 return nil, err
2871 }
2872 return out, nil
2873}
2874
2875func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2876 out := new(empty.Empty)
2877 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2878 if err != nil {
2879 return nil, err
2880 }
2881 return out, nil
2882}
2883
2884func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2885 out := new(openflow_13.Meters)
2886 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
2887 if err != nil {
2888 return nil, err
2889 }
2890 return out, nil
2891}
2892
2893func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2894 out := new(openflow_13.FlowGroups)
2895 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2896 if err != nil {
2897 return nil, err
2898 }
2899 return out, nil
2900}
2901
2902func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2903 out := new(empty.Empty)
2904 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2905 if err != nil {
2906 return nil, err
2907 }
2908 return out, nil
2909}
2910
2911func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2912 out := new(Devices)
2913 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2914 if err != nil {
2915 return nil, err
2916 }
2917 return out, nil
2918}
2919
2920func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2921 out := new(common.IDs)
2922 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2923 if err != nil {
2924 return nil, err
2925 }
2926 return out, nil
2927}
2928
2929func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2930 out := new(empty.Empty)
2931 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2932 if err != nil {
2933 return nil, err
2934 }
2935 return out, nil
2936}
2937
2938func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2939 out := new(Device)
2940 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2941 if err != nil {
2942 return nil, err
2943 }
2944 return out, nil
2945}
2946
2947func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2948 out := new(Device)
2949 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2950 if err != nil {
2951 return nil, err
2952 }
2953 return out, nil
2954}
2955
2956func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2957 out := new(empty.Empty)
2958 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2959 if err != nil {
2960 return nil, err
2961 }
2962 return out, nil
2963}
2964
2965func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2966 out := new(empty.Empty)
2967 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2968 if err != nil {
2969 return nil, err
2970 }
2971 return out, nil
2972}
2973
2974func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2975 out := new(empty.Empty)
2976 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2977 if err != nil {
2978 return nil, err
2979 }
2980 return out, nil
2981}
2982
2983func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2984 out := new(empty.Empty)
2985 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2986 if err != nil {
2987 return nil, err
2988 }
2989 return out, nil
2990}
2991
Maninder12b909f2020-10-23 14:23:36 +05302992func (c *volthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2993 out := new(empty.Empty)
2994 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ForceDeleteDevice", in, out, opts...)
2995 if err != nil {
2996 return nil, err
2997 }
2998 return out, nil
2999}
3000
Don Newton98fd8812019-09-23 15:15:02 -04003001func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
3002 out := new(common.OperationResp)
3003 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
3004 if err != nil {
3005 return nil, err
3006 }
3007 return out, nil
3008}
3009
3010func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
3011 out := new(ImageDownload)
3012 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
3013 if err != nil {
3014 return nil, err
3015 }
3016 return out, nil
3017}
3018
3019func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
3020 out := new(ImageDownload)
3021 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
3022 if err != nil {
3023 return nil, err
3024 }
3025 return out, nil
3026}
3027
3028func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
3029 out := new(ImageDownloads)
3030 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
3031 if err != nil {
3032 return nil, err
3033 }
3034 return out, nil
3035}
3036
3037func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
3038 out := new(common.OperationResp)
3039 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
3040 if err != nil {
3041 return nil, err
3042 }
3043 return out, nil
3044}
3045
3046func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
3047 out := new(common.OperationResp)
3048 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
3049 if err != nil {
3050 return nil, err
3051 }
3052 return out, nil
3053}
3054
3055func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
3056 out := new(common.OperationResp)
3057 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
3058 if err != nil {
3059 return nil, err
3060 }
3061 return out, nil
3062}
3063
Andrea Campanella18448bc2021-07-08 18:47:22 +02003064func (c *volthaServiceClient) DownloadImageToDevice(ctx context.Context, in *DeviceImageDownloadRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
3065 out := new(DeviceImageResponse)
3066 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImageToDevice", in, out, opts...)
3067 if err != nil {
3068 return nil, err
3069 }
3070 return out, nil
3071}
3072
3073func (c *volthaServiceClient) GetImageStatus(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
3074 out := new(DeviceImageResponse)
3075 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageStatus", in, out, opts...)
3076 if err != nil {
3077 return nil, err
3078 }
3079 return out, nil
3080}
3081
3082func (c *volthaServiceClient) AbortImageUpgradeToDevice(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
3083 out := new(DeviceImageResponse)
3084 err := c.cc.Invoke(ctx, "/voltha.VolthaService/AbortImageUpgradeToDevice", in, out, opts...)
3085 if err != nil {
3086 return nil, err
3087 }
3088 return out, nil
3089}
3090
3091func (c *volthaServiceClient) GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*OnuImages, error) {
3092 out := new(OnuImages)
3093 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetOnuImages", in, out, opts...)
3094 if err != nil {
3095 return nil, err
3096 }
3097 return out, nil
3098}
3099
3100func (c *volthaServiceClient) ActivateImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
3101 out := new(DeviceImageResponse)
3102 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImage", in, out, opts...)
3103 if err != nil {
3104 return nil, err
3105 }
3106 return out, nil
3107}
3108
3109func (c *volthaServiceClient) CommitImage(ctx context.Context, in *DeviceImageRequest, opts ...grpc.CallOption) (*DeviceImageResponse, error) {
3110 out := new(DeviceImageResponse)
3111 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CommitImage", in, out, opts...)
3112 if err != nil {
3113 return nil, err
3114 }
3115 return out, nil
3116}
3117
Don Newton98fd8812019-09-23 15:15:02 -04003118func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
3119 out := new(Ports)
3120 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
3121 if err != nil {
3122 return nil, err
3123 }
3124 return out, nil
3125}
3126
3127func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
3128 out := new(PmConfigs)
3129 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
3130 if err != nil {
3131 return nil, err
3132 }
3133 return out, nil
3134}
3135
3136func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
3137 out := new(empty.Empty)
3138 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
3139 if err != nil {
3140 return nil, err
3141 }
3142 return out, nil
3143}
3144
3145func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
3146 out := new(openflow_13.Flows)
3147 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
3148 if err != nil {
3149 return nil, err
3150 }
3151 return out, nil
3152}
3153
3154func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
3155 out := new(openflow_13.FlowGroups)
3156 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
3157 if err != nil {
3158 return nil, err
3159 }
3160 return out, nil
3161}
3162
3163func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
3164 out := new(DeviceTypes)
3165 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
3166 if err != nil {
3167 return nil, err
3168 }
3169 return out, nil
3170}
3171
3172func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
3173 out := new(DeviceType)
3174 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
3175 if err != nil {
3176 return nil, err
3177 }
3178 return out, nil
3179}
3180
3181func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
3182 out := new(DeviceGroups)
3183 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
3184 if err != nil {
3185 return nil, err
3186 }
3187 return out, nil
3188}
3189
3190func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
3191 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
3192 if err != nil {
3193 return nil, err
3194 }
3195 x := &volthaServiceStreamPacketsOutClient{stream}
3196 return x, nil
3197}
3198
3199type VolthaService_StreamPacketsOutClient interface {
3200 Send(*openflow_13.PacketOut) error
3201 CloseAndRecv() (*empty.Empty, error)
3202 grpc.ClientStream
3203}
3204
3205type volthaServiceStreamPacketsOutClient struct {
3206 grpc.ClientStream
3207}
3208
3209func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
3210 return x.ClientStream.SendMsg(m)
3211}
3212
3213func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
3214 if err := x.ClientStream.CloseSend(); err != nil {
3215 return nil, err
3216 }
3217 m := new(empty.Empty)
3218 if err := x.ClientStream.RecvMsg(m); err != nil {
3219 return nil, err
3220 }
3221 return m, nil
3222}
3223
3224func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
3225 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
3226 if err != nil {
3227 return nil, err
3228 }
3229 x := &volthaServiceReceivePacketsInClient{stream}
3230 if err := x.ClientStream.SendMsg(in); err != nil {
3231 return nil, err
3232 }
3233 if err := x.ClientStream.CloseSend(); err != nil {
3234 return nil, err
3235 }
3236 return x, nil
3237}
3238
3239type VolthaService_ReceivePacketsInClient interface {
3240 Recv() (*openflow_13.PacketIn, error)
3241 grpc.ClientStream
3242}
3243
3244type volthaServiceReceivePacketsInClient struct {
3245 grpc.ClientStream
3246}
3247
3248func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
3249 m := new(openflow_13.PacketIn)
3250 if err := x.ClientStream.RecvMsg(m); err != nil {
3251 return nil, err
3252 }
3253 return m, nil
3254}
3255
3256func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
3257 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
3258 if err != nil {
3259 return nil, err
3260 }
3261 x := &volthaServiceReceiveChangeEventsClient{stream}
3262 if err := x.ClientStream.SendMsg(in); err != nil {
3263 return nil, err
3264 }
3265 if err := x.ClientStream.CloseSend(); err != nil {
3266 return nil, err
3267 }
3268 return x, nil
3269}
3270
3271type VolthaService_ReceiveChangeEventsClient interface {
3272 Recv() (*openflow_13.ChangeEvent, error)
3273 grpc.ClientStream
3274}
3275
3276type volthaServiceReceiveChangeEventsClient struct {
3277 grpc.ClientStream
3278}
3279
3280func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
3281 m := new(openflow_13.ChangeEvent)
3282 if err := x.ClientStream.RecvMsg(m); err != nil {
3283 return nil, err
3284 }
3285 return m, nil
3286}
3287
3288func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
3289 out := new(DeviceGroup)
3290 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
3291 if err != nil {
3292 return nil, err
3293 }
3294 return out, nil
3295}
3296
Don Newtonb437c6f2019-12-18 11:51:57 -05003297func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3298 out := new(EventFilter)
3299 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003300 if err != nil {
3301 return nil, err
3302 }
3303 return out, nil
3304}
3305
Don Newtonb437c6f2019-12-18 11:51:57 -05003306func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
3307 out := new(EventFilters)
3308 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003309 if err != nil {
3310 return nil, err
3311 }
3312 return out, nil
3313}
3314
Don Newtonb437c6f2019-12-18 11:51:57 -05003315func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3316 out := new(EventFilter)
3317 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003318 if err != nil {
3319 return nil, err
3320 }
3321 return out, nil
3322}
3323
Don Newtonb437c6f2019-12-18 11:51:57 -05003324func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
Don Newton98fd8812019-09-23 15:15:02 -04003325 out := new(empty.Empty)
Don Newtonb437c6f2019-12-18 11:51:57 -05003326 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003327 if err != nil {
3328 return nil, err
3329 }
3330 return out, nil
3331}
3332
Don Newtonb437c6f2019-12-18 11:51:57 -05003333func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
3334 out := new(EventFilters)
3335 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003336 if err != nil {
3337 return nil, err
3338 }
3339 return out, nil
3340}
3341
3342func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
3343 out := new(Images)
3344 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
3345 if err != nil {
3346 return nil, err
3347 }
3348 return out, nil
3349}
3350
3351func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
3352 out := new(SelfTestResponse)
3353 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
3354 if err != nil {
3355 return nil, err
3356 }
3357 return out, nil
3358}
3359
3360func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
3361 out := new(omci.MibDeviceData)
3362 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
3363 if err != nil {
3364 return nil, err
3365 }
3366 return out, nil
3367}
3368
3369func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
3370 out := new(omci.AlarmDeviceData)
3371 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
3372 if err != nil {
3373 return nil, err
3374 }
3375 return out, nil
3376}
3377
3378func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
3379 out := new(common.OperationResp)
3380 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
3381 if err != nil {
3382 return nil, err
3383 }
3384 return out, nil
3385}
3386
3387func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
3388 out := new(OfAgentSubscriber)
3389 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
3390 if err != nil {
3391 return nil, err
3392 }
3393 return out, nil
3394}
3395
divyadesai81bb7ba2020-03-11 11:45:23 +00003396func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3397 out := new(empty.Empty)
3398 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3399 if err != nil {
3400 return nil, err
3401 }
3402 return out, nil
3403}
3404
3405func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3406 out := new(empty.Empty)
3407 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3408 if err != nil {
3409 return nil, err
3410 }
3411 return out, nil
3412}
3413
Neha Sharma87d43d72020-04-08 14:10:40 +00003414func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) {
3415 out := new(common.ReturnValues)
3416 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
3417 if err != nil {
3418 return nil, err
3419 }
3420 return out, nil
3421}
3422
Maninder12b909f2020-10-23 14:23:36 +05303423func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
3424 out := new(empty.Empty)
3425 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
3426 if err != nil {
3427 return nil, err
3428 }
3429 return out, nil
3430}
3431
Rohan Agrawal00d3a412020-04-22 10:51:39 +00003432func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3433 out := new(TestResponse)
3434 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3435 if err != nil {
3436 return nil, err
3437 }
3438 return out, nil
3439}
3440
Don Newton98fd8812019-09-23 15:15:02 -04003441// VolthaServiceServer is the server API for VolthaService service.
3442type VolthaServiceServer interface {
Don Newton98fd8812019-09-23 15:15:02 -04003443 // Get the membership group of a Voltha Core
3444 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3445 // Set the membership group of a Voltha Core
3446 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3447 // Get high level information on the Voltha cluster
3448 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3449 // List all Voltha cluster core instances
3450 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3451 // Get details on a Voltha cluster instance
3452 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3453 // List all active adapters (plugins) in the Voltha cluster
3454 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3455 // List all logical devices managed by the Voltha cluster
3456 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3457 // Get additional information on a given logical device
3458 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3459 // List ports of a logical device
3460 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3461 // Gets a logical device port
3462 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3463 // Enables a logical device port
3464 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3465 // Disables a logical device port
3466 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3467 // List all flows of a logical device
3468 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3469 // Update flow table for logical device
3470 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3471 // Update meter table for logical device
3472 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
3473 // List all meters of a logical device
3474 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
3475 // List all flow groups of a logical device
3476 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3477 // Update group table for device
3478 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3479 // List all physical devices controlled by the Voltha cluster
3480 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3481 // List all physical devices IDs controlled by the Voltha cluster
3482 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3483 // Request to a voltha Core to reconcile a set of devices based on their IDs
3484 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
3485 // Get more information on a given physical device
3486 GetDevice(context.Context, *common.ID) (*Device, error)
3487 // Pre-provision a new physical device
3488 CreateDevice(context.Context, *Device) (*Device, error)
3489 // Enable a device. If the device was in pre-provisioned state then it
3490 // will transition to ENABLED state. If it was is DISABLED state then it
3491 // will transition to ENABLED state as well.
3492 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3493 // Disable a device
3494 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3495 // Reboot a device
3496 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3497 // Delete a device
3498 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Maninder12b909f2020-10-23 14:23:36 +05303499 // Forcefully delete a device
3500 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Don Newton98fd8812019-09-23 15:15:02 -04003501 // Request an image download to the standby partition
3502 // of a device.
3503 // Note that the call is expected to be non-blocking.
3504 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3505 // Get image download status on a device
3506 // The request retrieves progress on device and updates db record
Andrea Campanella18448bc2021-07-08 18:47:22 +02003507 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04003508 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3509 // Get image download db record
Andrea Campanella18448bc2021-07-08 18:47:22 +02003510 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04003511 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3512 // List image download db records for a given device
Andrea Campanella18448bc2021-07-08 18:47:22 +02003513 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04003514 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3515 // Cancel an existing image download process on a device
Andrea Campanella18448bc2021-07-08 18:47:22 +02003516 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04003517 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3518 // Activate the specified image at a standby partition
3519 // to active partition.
3520 // Depending on the device implementation, this call
3521 // may or may not cause device reboot.
3522 // If no reboot, then a reboot is required to make the
3523 // activated image running on device
3524 // Note that the call is expected to be non-blocking.
Andrea Campanella18448bc2021-07-08 18:47:22 +02003525 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04003526 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3527 // Revert the specified image at standby partition
3528 // to active partition, and revert to previous image
3529 // Depending on the device implementation, this call
3530 // may or may not cause device reboot.
3531 // If no reboot, then a reboot is required to make the
3532 // previous image running on device
3533 // Note that the call is expected to be non-blocking.
Andrea Campanella18448bc2021-07-08 18:47:22 +02003534 // Deprecated in voltha 2.8, will be removed
Don Newton98fd8812019-09-23 15:15:02 -04003535 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
Andrea Campanella18448bc2021-07-08 18:47:22 +02003536 // Downloads a certain image to the standby partition of the devices
3537 // Note that the call is expected to be non-blocking.
3538 DownloadImageToDevice(context.Context, *DeviceImageDownloadRequest) (*DeviceImageResponse, error)
3539 // Get image status on a number of devices devices
3540 // Polled from northbound systems to get state of download/activate/commit
3541 GetImageStatus(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
3542 // Aborts the upgrade of an image on a device
3543 // To be used carefully, stops any further operations for the Image on the given devices
3544 // Might also stop if possible existing work, but no guarantees are given,
3545 // depends on implementation and procedure status.
3546 AbortImageUpgradeToDevice(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
3547 // Get Both Active and Standby image for a given device
3548 GetOnuImages(context.Context, *common.ID) (*OnuImages, error)
3549 // Activate the specified image from a standby partition
3550 // to active partition.
3551 // Depending on the device implementation, this call
3552 // may or may not cause device reboot.
3553 // If no reboot, then a reboot is required to make the
3554 // activated image running on device
3555 // Note that the call is expected to be non-blocking.
3556 ActivateImage(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
3557 // Commit the specified image to be default.
3558 // Depending on the device implementation, this call
3559 // may or may not cause device reboot.
3560 // If no reboot, then a reboot is required to make the
3561 // activated image running on device upon next reboot
3562 // Note that the call is expected to be non-blocking.
3563 CommitImage(context.Context, *DeviceImageRequest) (*DeviceImageResponse, error)
Don Newton98fd8812019-09-23 15:15:02 -04003564 // List ports of a device
3565 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3566 // List pm config of a device
3567 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3568 // Update the pm config of a device
3569 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3570 // List all flows of a device
3571 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3572 // List all flow groups of a device
3573 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3574 // List device types known to Voltha
3575 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3576 // Get additional information on a device type
3577 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3578 // List all device sharding groups
3579 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3580 // Stream control packets to the dataplane
3581 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3582 // Receive control packet stream
3583 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3584 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3585 // Get additional information on a device group
3586 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Don Newtonb437c6f2019-12-18 11:51:57 -05003587 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3588 // Get all filters present for a device
3589 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3590 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3591 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3592 // Get all the filters present
3593 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
Don Newton98fd8812019-09-23 15:15:02 -04003594 GetImages(context.Context, *common.ID) (*Images, error)
3595 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3596 // OpenOMCI MIB information
3597 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3598 // OpenOMCI ALARM information
3599 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3600 // Simulate an Alarm
3601 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3602 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
divyadesai81bb7ba2020-03-11 11:45:23 +00003603 EnablePort(context.Context, *Port) (*empty.Empty, error)
3604 DisablePort(context.Context, *Port) (*empty.Empty, error)
Neha Sharma87d43d72020-04-08 14:10:40 +00003605 GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error)
Maninder12b909f2020-10-23 14:23:36 +05303606 SetExtValue(context.Context, *ValueSet) (*empty.Empty, error)
Rohan Agrawal00d3a412020-04-22 10:51:39 +00003607 // omci start and stop cli implementation
3608 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
Don Newton98fd8812019-09-23 15:15:02 -04003609}
3610
David K. Bainbridge595b6702021-04-09 16:10:58 +00003611// UnimplementedVolthaServiceServer can be embedded to have forward compatible implementations.
3612type UnimplementedVolthaServiceServer struct {
3613}
3614
3615func (*UnimplementedVolthaServiceServer) GetMembership(ctx context.Context, req *empty.Empty) (*Membership, error) {
3616 return nil, status.Errorf(codes.Unimplemented, "method GetMembership not implemented")
3617}
3618func (*UnimplementedVolthaServiceServer) UpdateMembership(ctx context.Context, req *Membership) (*empty.Empty, error) {
3619 return nil, status.Errorf(codes.Unimplemented, "method UpdateMembership not implemented")
3620}
3621func (*UnimplementedVolthaServiceServer) GetVoltha(ctx context.Context, req *empty.Empty) (*Voltha, error) {
3622 return nil, status.Errorf(codes.Unimplemented, "method GetVoltha not implemented")
3623}
3624func (*UnimplementedVolthaServiceServer) ListCoreInstances(ctx context.Context, req *empty.Empty) (*CoreInstances, error) {
3625 return nil, status.Errorf(codes.Unimplemented, "method ListCoreInstances not implemented")
3626}
3627func (*UnimplementedVolthaServiceServer) GetCoreInstance(ctx context.Context, req *common.ID) (*CoreInstance, error) {
3628 return nil, status.Errorf(codes.Unimplemented, "method GetCoreInstance not implemented")
3629}
3630func (*UnimplementedVolthaServiceServer) ListAdapters(ctx context.Context, req *empty.Empty) (*Adapters, error) {
3631 return nil, status.Errorf(codes.Unimplemented, "method ListAdapters not implemented")
3632}
3633func (*UnimplementedVolthaServiceServer) ListLogicalDevices(ctx context.Context, req *empty.Empty) (*LogicalDevices, error) {
3634 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevices not implemented")
3635}
3636func (*UnimplementedVolthaServiceServer) GetLogicalDevice(ctx context.Context, req *common.ID) (*LogicalDevice, error) {
3637 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevice not implemented")
3638}
3639func (*UnimplementedVolthaServiceServer) ListLogicalDevicePorts(ctx context.Context, req *common.ID) (*LogicalPorts, error) {
3640 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevicePorts not implemented")
3641}
3642func (*UnimplementedVolthaServiceServer) GetLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*LogicalPort, error) {
3643 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevicePort not implemented")
3644}
3645func (*UnimplementedVolthaServiceServer) EnableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
3646 return nil, status.Errorf(codes.Unimplemented, "method EnableLogicalDevicePort not implemented")
3647}
3648func (*UnimplementedVolthaServiceServer) DisableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
3649 return nil, status.Errorf(codes.Unimplemented, "method DisableLogicalDevicePort not implemented")
3650}
3651func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
3652 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlows not implemented")
3653}
3654func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowTable(ctx context.Context, req *openflow_13.FlowTableUpdate) (*empty.Empty, error) {
3655 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowTable not implemented")
3656}
3657func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceMeterTable(ctx context.Context, req *openflow_13.MeterModUpdate) (*empty.Empty, error) {
3658 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceMeterTable not implemented")
3659}
3660func (*UnimplementedVolthaServiceServer) ListLogicalDeviceMeters(ctx context.Context, req *common.ID) (*openflow_13.Meters, error) {
3661 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceMeters not implemented")
3662}
3663func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
3664 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlowGroups not implemented")
3665}
3666func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, req *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error) {
3667 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowGroupTable not implemented")
3668}
3669func (*UnimplementedVolthaServiceServer) ListDevices(ctx context.Context, req *empty.Empty) (*Devices, error) {
3670 return nil, status.Errorf(codes.Unimplemented, "method ListDevices not implemented")
3671}
3672func (*UnimplementedVolthaServiceServer) ListDeviceIds(ctx context.Context, req *empty.Empty) (*common.IDs, error) {
3673 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceIds not implemented")
3674}
3675func (*UnimplementedVolthaServiceServer) ReconcileDevices(ctx context.Context, req *common.IDs) (*empty.Empty, error) {
3676 return nil, status.Errorf(codes.Unimplemented, "method ReconcileDevices not implemented")
3677}
3678func (*UnimplementedVolthaServiceServer) GetDevice(ctx context.Context, req *common.ID) (*Device, error) {
3679 return nil, status.Errorf(codes.Unimplemented, "method GetDevice not implemented")
3680}
3681func (*UnimplementedVolthaServiceServer) CreateDevice(ctx context.Context, req *Device) (*Device, error) {
3682 return nil, status.Errorf(codes.Unimplemented, "method CreateDevice not implemented")
3683}
3684func (*UnimplementedVolthaServiceServer) EnableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3685 return nil, status.Errorf(codes.Unimplemented, "method EnableDevice not implemented")
3686}
3687func (*UnimplementedVolthaServiceServer) DisableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3688 return nil, status.Errorf(codes.Unimplemented, "method DisableDevice not implemented")
3689}
3690func (*UnimplementedVolthaServiceServer) RebootDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3691 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
3692}
3693func (*UnimplementedVolthaServiceServer) DeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3694 return nil, status.Errorf(codes.Unimplemented, "method DeleteDevice not implemented")
3695}
3696func (*UnimplementedVolthaServiceServer) ForceDeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3697 return nil, status.Errorf(codes.Unimplemented, "method ForceDeleteDevice not implemented")
3698}
3699func (*UnimplementedVolthaServiceServer) DownloadImage(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
3700 return nil, status.Errorf(codes.Unimplemented, "method DownloadImage not implemented")
3701}
3702func (*UnimplementedVolthaServiceServer) GetImageDownloadStatus(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
3703 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownloadStatus not implemented")
3704}
3705func (*UnimplementedVolthaServiceServer) GetImageDownload(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
3706 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownload not implemented")
3707}
3708func (*UnimplementedVolthaServiceServer) ListImageDownloads(ctx context.Context, req *common.ID) (*ImageDownloads, error) {
3709 return nil, status.Errorf(codes.Unimplemented, "method ListImageDownloads not implemented")
3710}
3711func (*UnimplementedVolthaServiceServer) CancelImageDownload(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
3712 return nil, status.Errorf(codes.Unimplemented, "method CancelImageDownload not implemented")
3713}
3714func (*UnimplementedVolthaServiceServer) ActivateImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
3715 return nil, status.Errorf(codes.Unimplemented, "method ActivateImageUpdate not implemented")
3716}
3717func (*UnimplementedVolthaServiceServer) RevertImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
3718 return nil, status.Errorf(codes.Unimplemented, "method RevertImageUpdate not implemented")
3719}
Andrea Campanella18448bc2021-07-08 18:47:22 +02003720func (*UnimplementedVolthaServiceServer) DownloadImageToDevice(ctx context.Context, req *DeviceImageDownloadRequest) (*DeviceImageResponse, error) {
3721 return nil, status.Errorf(codes.Unimplemented, "method DownloadImageToDevice not implemented")
3722}
3723func (*UnimplementedVolthaServiceServer) GetImageStatus(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
3724 return nil, status.Errorf(codes.Unimplemented, "method GetImageStatus not implemented")
3725}
3726func (*UnimplementedVolthaServiceServer) AbortImageUpgradeToDevice(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
3727 return nil, status.Errorf(codes.Unimplemented, "method AbortImageUpgradeToDevice not implemented")
3728}
3729func (*UnimplementedVolthaServiceServer) GetOnuImages(ctx context.Context, req *common.ID) (*OnuImages, error) {
3730 return nil, status.Errorf(codes.Unimplemented, "method GetOnuImages not implemented")
3731}
3732func (*UnimplementedVolthaServiceServer) ActivateImage(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
3733 return nil, status.Errorf(codes.Unimplemented, "method ActivateImage not implemented")
3734}
3735func (*UnimplementedVolthaServiceServer) CommitImage(ctx context.Context, req *DeviceImageRequest) (*DeviceImageResponse, error) {
3736 return nil, status.Errorf(codes.Unimplemented, "method CommitImage not implemented")
3737}
David K. Bainbridge595b6702021-04-09 16:10:58 +00003738func (*UnimplementedVolthaServiceServer) ListDevicePorts(ctx context.Context, req *common.ID) (*Ports, error) {
3739 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePorts not implemented")
3740}
3741func (*UnimplementedVolthaServiceServer) ListDevicePmConfigs(ctx context.Context, req *common.ID) (*PmConfigs, error) {
3742 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePmConfigs not implemented")
3743}
3744func (*UnimplementedVolthaServiceServer) UpdateDevicePmConfigs(ctx context.Context, req *PmConfigs) (*empty.Empty, error) {
3745 return nil, status.Errorf(codes.Unimplemented, "method UpdateDevicePmConfigs not implemented")
3746}
3747func (*UnimplementedVolthaServiceServer) ListDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
3748 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlows not implemented")
3749}
3750func (*UnimplementedVolthaServiceServer) ListDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
3751 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlowGroups not implemented")
3752}
3753func (*UnimplementedVolthaServiceServer) ListDeviceTypes(ctx context.Context, req *empty.Empty) (*DeviceTypes, error) {
3754 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceTypes not implemented")
3755}
3756func (*UnimplementedVolthaServiceServer) GetDeviceType(ctx context.Context, req *common.ID) (*DeviceType, error) {
3757 return nil, status.Errorf(codes.Unimplemented, "method GetDeviceType not implemented")
3758}
3759func (*UnimplementedVolthaServiceServer) ListDeviceGroups(ctx context.Context, req *empty.Empty) (*DeviceGroups, error) {
3760 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceGroups not implemented")
3761}
3762func (*UnimplementedVolthaServiceServer) StreamPacketsOut(srv VolthaService_StreamPacketsOutServer) error {
3763 return status.Errorf(codes.Unimplemented, "method StreamPacketsOut not implemented")
3764}
3765func (*UnimplementedVolthaServiceServer) ReceivePacketsIn(req *empty.Empty, srv VolthaService_ReceivePacketsInServer) error {
3766 return status.Errorf(codes.Unimplemented, "method ReceivePacketsIn not implemented")
3767}
3768func (*UnimplementedVolthaServiceServer) ReceiveChangeEvents(req *empty.Empty, srv VolthaService_ReceiveChangeEventsServer) error {
3769 return status.Errorf(codes.Unimplemented, "method ReceiveChangeEvents not implemented")
3770}
3771func (*UnimplementedVolthaServiceServer) GetDeviceGroup(ctx context.Context, req *common.ID) (*DeviceGroup, error) {
3772 return nil, status.Errorf(codes.Unimplemented, "method GetDeviceGroup not implemented")
3773}
3774func (*UnimplementedVolthaServiceServer) CreateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
3775 return nil, status.Errorf(codes.Unimplemented, "method CreateEventFilter not implemented")
3776}
3777func (*UnimplementedVolthaServiceServer) GetEventFilter(ctx context.Context, req *common.ID) (*EventFilters, error) {
3778 return nil, status.Errorf(codes.Unimplemented, "method GetEventFilter not implemented")
3779}
3780func (*UnimplementedVolthaServiceServer) UpdateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
3781 return nil, status.Errorf(codes.Unimplemented, "method UpdateEventFilter not implemented")
3782}
3783func (*UnimplementedVolthaServiceServer) DeleteEventFilter(ctx context.Context, req *EventFilter) (*empty.Empty, error) {
3784 return nil, status.Errorf(codes.Unimplemented, "method DeleteEventFilter not implemented")
3785}
3786func (*UnimplementedVolthaServiceServer) ListEventFilters(ctx context.Context, req *empty.Empty) (*EventFilters, error) {
3787 return nil, status.Errorf(codes.Unimplemented, "method ListEventFilters not implemented")
3788}
3789func (*UnimplementedVolthaServiceServer) GetImages(ctx context.Context, req *common.ID) (*Images, error) {
3790 return nil, status.Errorf(codes.Unimplemented, "method GetImages not implemented")
3791}
3792func (*UnimplementedVolthaServiceServer) SelfTest(ctx context.Context, req *common.ID) (*SelfTestResponse, error) {
3793 return nil, status.Errorf(codes.Unimplemented, "method SelfTest not implemented")
3794}
3795func (*UnimplementedVolthaServiceServer) GetMibDeviceData(ctx context.Context, req *common.ID) (*omci.MibDeviceData, error) {
3796 return nil, status.Errorf(codes.Unimplemented, "method GetMibDeviceData not implemented")
3797}
3798func (*UnimplementedVolthaServiceServer) GetAlarmDeviceData(ctx context.Context, req *common.ID) (*omci.AlarmDeviceData, error) {
3799 return nil, status.Errorf(codes.Unimplemented, "method GetAlarmDeviceData not implemented")
3800}
3801func (*UnimplementedVolthaServiceServer) SimulateAlarm(ctx context.Context, req *SimulateAlarmRequest) (*common.OperationResp, error) {
3802 return nil, status.Errorf(codes.Unimplemented, "method SimulateAlarm not implemented")
3803}
3804func (*UnimplementedVolthaServiceServer) Subscribe(ctx context.Context, req *OfAgentSubscriber) (*OfAgentSubscriber, error) {
3805 return nil, status.Errorf(codes.Unimplemented, "method Subscribe not implemented")
3806}
3807func (*UnimplementedVolthaServiceServer) EnablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
3808 return nil, status.Errorf(codes.Unimplemented, "method EnablePort not implemented")
3809}
3810func (*UnimplementedVolthaServiceServer) DisablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
3811 return nil, status.Errorf(codes.Unimplemented, "method DisablePort not implemented")
3812}
3813func (*UnimplementedVolthaServiceServer) GetExtValue(ctx context.Context, req *common.ValueSpecifier) (*common.ReturnValues, error) {
3814 return nil, status.Errorf(codes.Unimplemented, "method GetExtValue not implemented")
3815}
3816func (*UnimplementedVolthaServiceServer) SetExtValue(ctx context.Context, req *ValueSet) (*empty.Empty, error) {
3817 return nil, status.Errorf(codes.Unimplemented, "method SetExtValue not implemented")
3818}
3819func (*UnimplementedVolthaServiceServer) StartOmciTestAction(ctx context.Context, req *OmciTestRequest) (*TestResponse, error) {
3820 return nil, status.Errorf(codes.Unimplemented, "method StartOmciTestAction not implemented")
3821}
3822
Don Newton98fd8812019-09-23 15:15:02 -04003823func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3824 s.RegisterService(&_VolthaService_serviceDesc, srv)
3825}
3826
Don Newton98fd8812019-09-23 15:15:02 -04003827func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3828 in := new(empty.Empty)
3829 if err := dec(in); err != nil {
3830 return nil, err
3831 }
3832 if interceptor == nil {
3833 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3834 }
3835 info := &grpc.UnaryServerInfo{
3836 Server: srv,
3837 FullMethod: "/voltha.VolthaService/GetMembership",
3838 }
3839 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3840 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3841 }
3842 return interceptor(ctx, in, info, handler)
3843}
3844
3845func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3846 in := new(Membership)
3847 if err := dec(in); err != nil {
3848 return nil, err
3849 }
3850 if interceptor == nil {
3851 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3852 }
3853 info := &grpc.UnaryServerInfo{
3854 Server: srv,
3855 FullMethod: "/voltha.VolthaService/UpdateMembership",
3856 }
3857 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3858 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3859 }
3860 return interceptor(ctx, in, info, handler)
3861}
3862
3863func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3864 in := new(empty.Empty)
3865 if err := dec(in); err != nil {
3866 return nil, err
3867 }
3868 if interceptor == nil {
3869 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3870 }
3871 info := &grpc.UnaryServerInfo{
3872 Server: srv,
3873 FullMethod: "/voltha.VolthaService/GetVoltha",
3874 }
3875 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3876 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3877 }
3878 return interceptor(ctx, in, info, handler)
3879}
3880
3881func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3882 in := new(empty.Empty)
3883 if err := dec(in); err != nil {
3884 return nil, err
3885 }
3886 if interceptor == nil {
3887 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3888 }
3889 info := &grpc.UnaryServerInfo{
3890 Server: srv,
3891 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3892 }
3893 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3894 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3895 }
3896 return interceptor(ctx, in, info, handler)
3897}
3898
3899func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3900 in := new(common.ID)
3901 if err := dec(in); err != nil {
3902 return nil, err
3903 }
3904 if interceptor == nil {
3905 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3906 }
3907 info := &grpc.UnaryServerInfo{
3908 Server: srv,
3909 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3910 }
3911 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3912 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3913 }
3914 return interceptor(ctx, in, info, handler)
3915}
3916
3917func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3918 in := new(empty.Empty)
3919 if err := dec(in); err != nil {
3920 return nil, err
3921 }
3922 if interceptor == nil {
3923 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3924 }
3925 info := &grpc.UnaryServerInfo{
3926 Server: srv,
3927 FullMethod: "/voltha.VolthaService/ListAdapters",
3928 }
3929 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3930 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3931 }
3932 return interceptor(ctx, in, info, handler)
3933}
3934
3935func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3936 in := new(empty.Empty)
3937 if err := dec(in); err != nil {
3938 return nil, err
3939 }
3940 if interceptor == nil {
3941 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3942 }
3943 info := &grpc.UnaryServerInfo{
3944 Server: srv,
3945 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3946 }
3947 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3948 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3949 }
3950 return interceptor(ctx, in, info, handler)
3951}
3952
3953func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3954 in := new(common.ID)
3955 if err := dec(in); err != nil {
3956 return nil, err
3957 }
3958 if interceptor == nil {
3959 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3960 }
3961 info := &grpc.UnaryServerInfo{
3962 Server: srv,
3963 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3964 }
3965 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3966 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3967 }
3968 return interceptor(ctx, in, info, handler)
3969}
3970
3971func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3972 in := new(common.ID)
3973 if err := dec(in); err != nil {
3974 return nil, err
3975 }
3976 if interceptor == nil {
3977 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3978 }
3979 info := &grpc.UnaryServerInfo{
3980 Server: srv,
3981 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3982 }
3983 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3984 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3985 }
3986 return interceptor(ctx, in, info, handler)
3987}
3988
3989func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3990 in := new(LogicalPortId)
3991 if err := dec(in); err != nil {
3992 return nil, err
3993 }
3994 if interceptor == nil {
3995 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3996 }
3997 info := &grpc.UnaryServerInfo{
3998 Server: srv,
3999 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
4000 }
4001 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4002 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
4003 }
4004 return interceptor(ctx, in, info, handler)
4005}
4006
4007func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4008 in := new(LogicalPortId)
4009 if err := dec(in); err != nil {
4010 return nil, err
4011 }
4012 if interceptor == nil {
4013 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
4014 }
4015 info := &grpc.UnaryServerInfo{
4016 Server: srv,
4017 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
4018 }
4019 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4020 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
4021 }
4022 return interceptor(ctx, in, info, handler)
4023}
4024
4025func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4026 in := new(LogicalPortId)
4027 if err := dec(in); err != nil {
4028 return nil, err
4029 }
4030 if interceptor == nil {
4031 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
4032 }
4033 info := &grpc.UnaryServerInfo{
4034 Server: srv,
4035 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
4036 }
4037 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4038 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
4039 }
4040 return interceptor(ctx, in, info, handler)
4041}
4042
4043func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4044 in := new(common.ID)
4045 if err := dec(in); err != nil {
4046 return nil, err
4047 }
4048 if interceptor == nil {
4049 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
4050 }
4051 info := &grpc.UnaryServerInfo{
4052 Server: srv,
4053 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
4054 }
4055 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4056 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
4057 }
4058 return interceptor(ctx, in, info, handler)
4059}
4060
4061func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4062 in := new(openflow_13.FlowTableUpdate)
4063 if err := dec(in); err != nil {
4064 return nil, err
4065 }
4066 if interceptor == nil {
4067 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
4068 }
4069 info := &grpc.UnaryServerInfo{
4070 Server: srv,
4071 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
4072 }
4073 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4074 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
4075 }
4076 return interceptor(ctx, in, info, handler)
4077}
4078
4079func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4080 in := new(openflow_13.MeterModUpdate)
4081 if err := dec(in); err != nil {
4082 return nil, err
4083 }
4084 if interceptor == nil {
4085 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
4086 }
4087 info := &grpc.UnaryServerInfo{
4088 Server: srv,
4089 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
4090 }
4091 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4092 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
4093 }
4094 return interceptor(ctx, in, info, handler)
4095}
4096
4097func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4098 in := new(common.ID)
4099 if err := dec(in); err != nil {
4100 return nil, err
4101 }
4102 if interceptor == nil {
4103 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
4104 }
4105 info := &grpc.UnaryServerInfo{
4106 Server: srv,
4107 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
4108 }
4109 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4110 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
4111 }
4112 return interceptor(ctx, in, info, handler)
4113}
4114
4115func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4116 in := new(common.ID)
4117 if err := dec(in); err != nil {
4118 return nil, err
4119 }
4120 if interceptor == nil {
4121 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
4122 }
4123 info := &grpc.UnaryServerInfo{
4124 Server: srv,
4125 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
4126 }
4127 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4128 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
4129 }
4130 return interceptor(ctx, in, info, handler)
4131}
4132
4133func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4134 in := new(openflow_13.FlowGroupTableUpdate)
4135 if err := dec(in); err != nil {
4136 return nil, err
4137 }
4138 if interceptor == nil {
4139 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
4140 }
4141 info := &grpc.UnaryServerInfo{
4142 Server: srv,
4143 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
4144 }
4145 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4146 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
4147 }
4148 return interceptor(ctx, in, info, handler)
4149}
4150
4151func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4152 in := new(empty.Empty)
4153 if err := dec(in); err != nil {
4154 return nil, err
4155 }
4156 if interceptor == nil {
4157 return srv.(VolthaServiceServer).ListDevices(ctx, in)
4158 }
4159 info := &grpc.UnaryServerInfo{
4160 Server: srv,
4161 FullMethod: "/voltha.VolthaService/ListDevices",
4162 }
4163 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4164 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
4165 }
4166 return interceptor(ctx, in, info, handler)
4167}
4168
4169func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4170 in := new(empty.Empty)
4171 if err := dec(in); err != nil {
4172 return nil, err
4173 }
4174 if interceptor == nil {
4175 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
4176 }
4177 info := &grpc.UnaryServerInfo{
4178 Server: srv,
4179 FullMethod: "/voltha.VolthaService/ListDeviceIds",
4180 }
4181 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4182 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
4183 }
4184 return interceptor(ctx, in, info, handler)
4185}
4186
4187func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4188 in := new(common.IDs)
4189 if err := dec(in); err != nil {
4190 return nil, err
4191 }
4192 if interceptor == nil {
4193 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
4194 }
4195 info := &grpc.UnaryServerInfo{
4196 Server: srv,
4197 FullMethod: "/voltha.VolthaService/ReconcileDevices",
4198 }
4199 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4200 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
4201 }
4202 return interceptor(ctx, in, info, handler)
4203}
4204
4205func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4206 in := new(common.ID)
4207 if err := dec(in); err != nil {
4208 return nil, err
4209 }
4210 if interceptor == nil {
4211 return srv.(VolthaServiceServer).GetDevice(ctx, in)
4212 }
4213 info := &grpc.UnaryServerInfo{
4214 Server: srv,
4215 FullMethod: "/voltha.VolthaService/GetDevice",
4216 }
4217 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4218 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
4219 }
4220 return interceptor(ctx, in, info, handler)
4221}
4222
4223func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4224 in := new(Device)
4225 if err := dec(in); err != nil {
4226 return nil, err
4227 }
4228 if interceptor == nil {
4229 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
4230 }
4231 info := &grpc.UnaryServerInfo{
4232 Server: srv,
4233 FullMethod: "/voltha.VolthaService/CreateDevice",
4234 }
4235 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4236 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
4237 }
4238 return interceptor(ctx, in, info, handler)
4239}
4240
4241func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4242 in := new(common.ID)
4243 if err := dec(in); err != nil {
4244 return nil, err
4245 }
4246 if interceptor == nil {
4247 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
4248 }
4249 info := &grpc.UnaryServerInfo{
4250 Server: srv,
4251 FullMethod: "/voltha.VolthaService/EnableDevice",
4252 }
4253 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4254 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
4255 }
4256 return interceptor(ctx, in, info, handler)
4257}
4258
4259func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4260 in := new(common.ID)
4261 if err := dec(in); err != nil {
4262 return nil, err
4263 }
4264 if interceptor == nil {
4265 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
4266 }
4267 info := &grpc.UnaryServerInfo{
4268 Server: srv,
4269 FullMethod: "/voltha.VolthaService/DisableDevice",
4270 }
4271 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4272 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
4273 }
4274 return interceptor(ctx, in, info, handler)
4275}
4276
4277func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4278 in := new(common.ID)
4279 if err := dec(in); err != nil {
4280 return nil, err
4281 }
4282 if interceptor == nil {
4283 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
4284 }
4285 info := &grpc.UnaryServerInfo{
4286 Server: srv,
4287 FullMethod: "/voltha.VolthaService/RebootDevice",
4288 }
4289 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4290 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
4291 }
4292 return interceptor(ctx, in, info, handler)
4293}
4294
4295func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4296 in := new(common.ID)
4297 if err := dec(in); err != nil {
4298 return nil, err
4299 }
4300 if interceptor == nil {
4301 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
4302 }
4303 info := &grpc.UnaryServerInfo{
4304 Server: srv,
4305 FullMethod: "/voltha.VolthaService/DeleteDevice",
4306 }
4307 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4308 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
4309 }
4310 return interceptor(ctx, in, info, handler)
4311}
4312
Maninder12b909f2020-10-23 14:23:36 +05304313func _VolthaService_ForceDeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4314 in := new(common.ID)
4315 if err := dec(in); err != nil {
4316 return nil, err
4317 }
4318 if interceptor == nil {
4319 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, in)
4320 }
4321 info := &grpc.UnaryServerInfo{
4322 Server: srv,
4323 FullMethod: "/voltha.VolthaService/ForceDeleteDevice",
4324 }
4325 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4326 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, req.(*common.ID))
4327 }
4328 return interceptor(ctx, in, info, handler)
4329}
4330
Don Newton98fd8812019-09-23 15:15:02 -04004331func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4332 in := new(ImageDownload)
4333 if err := dec(in); err != nil {
4334 return nil, err
4335 }
4336 if interceptor == nil {
4337 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
4338 }
4339 info := &grpc.UnaryServerInfo{
4340 Server: srv,
4341 FullMethod: "/voltha.VolthaService/DownloadImage",
4342 }
4343 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4344 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
4345 }
4346 return interceptor(ctx, in, info, handler)
4347}
4348
4349func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4350 in := new(ImageDownload)
4351 if err := dec(in); err != nil {
4352 return nil, err
4353 }
4354 if interceptor == nil {
4355 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
4356 }
4357 info := &grpc.UnaryServerInfo{
4358 Server: srv,
4359 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
4360 }
4361 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4362 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
4363 }
4364 return interceptor(ctx, in, info, handler)
4365}
4366
4367func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4368 in := new(ImageDownload)
4369 if err := dec(in); err != nil {
4370 return nil, err
4371 }
4372 if interceptor == nil {
4373 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
4374 }
4375 info := &grpc.UnaryServerInfo{
4376 Server: srv,
4377 FullMethod: "/voltha.VolthaService/GetImageDownload",
4378 }
4379 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4380 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
4381 }
4382 return interceptor(ctx, in, info, handler)
4383}
4384
4385func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4386 in := new(common.ID)
4387 if err := dec(in); err != nil {
4388 return nil, err
4389 }
4390 if interceptor == nil {
4391 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
4392 }
4393 info := &grpc.UnaryServerInfo{
4394 Server: srv,
4395 FullMethod: "/voltha.VolthaService/ListImageDownloads",
4396 }
4397 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4398 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
4399 }
4400 return interceptor(ctx, in, info, handler)
4401}
4402
4403func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4404 in := new(ImageDownload)
4405 if err := dec(in); err != nil {
4406 return nil, err
4407 }
4408 if interceptor == nil {
4409 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
4410 }
4411 info := &grpc.UnaryServerInfo{
4412 Server: srv,
4413 FullMethod: "/voltha.VolthaService/CancelImageDownload",
4414 }
4415 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4416 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
4417 }
4418 return interceptor(ctx, in, info, handler)
4419}
4420
4421func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4422 in := new(ImageDownload)
4423 if err := dec(in); err != nil {
4424 return nil, err
4425 }
4426 if interceptor == nil {
4427 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
4428 }
4429 info := &grpc.UnaryServerInfo{
4430 Server: srv,
4431 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
4432 }
4433 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4434 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
4435 }
4436 return interceptor(ctx, in, info, handler)
4437}
4438
4439func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4440 in := new(ImageDownload)
4441 if err := dec(in); err != nil {
4442 return nil, err
4443 }
4444 if interceptor == nil {
4445 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
4446 }
4447 info := &grpc.UnaryServerInfo{
4448 Server: srv,
4449 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
4450 }
4451 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4452 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
4453 }
4454 return interceptor(ctx, in, info, handler)
4455}
4456
Andrea Campanella18448bc2021-07-08 18:47:22 +02004457func _VolthaService_DownloadImageToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4458 in := new(DeviceImageDownloadRequest)
4459 if err := dec(in); err != nil {
4460 return nil, err
4461 }
4462 if interceptor == nil {
4463 return srv.(VolthaServiceServer).DownloadImageToDevice(ctx, in)
4464 }
4465 info := &grpc.UnaryServerInfo{
4466 Server: srv,
4467 FullMethod: "/voltha.VolthaService/DownloadImageToDevice",
4468 }
4469 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4470 return srv.(VolthaServiceServer).DownloadImageToDevice(ctx, req.(*DeviceImageDownloadRequest))
4471 }
4472 return interceptor(ctx, in, info, handler)
4473}
4474
4475func _VolthaService_GetImageStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4476 in := new(DeviceImageRequest)
4477 if err := dec(in); err != nil {
4478 return nil, err
4479 }
4480 if interceptor == nil {
4481 return srv.(VolthaServiceServer).GetImageStatus(ctx, in)
4482 }
4483 info := &grpc.UnaryServerInfo{
4484 Server: srv,
4485 FullMethod: "/voltha.VolthaService/GetImageStatus",
4486 }
4487 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4488 return srv.(VolthaServiceServer).GetImageStatus(ctx, req.(*DeviceImageRequest))
4489 }
4490 return interceptor(ctx, in, info, handler)
4491}
4492
4493func _VolthaService_AbortImageUpgradeToDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4494 in := new(DeviceImageRequest)
4495 if err := dec(in); err != nil {
4496 return nil, err
4497 }
4498 if interceptor == nil {
4499 return srv.(VolthaServiceServer).AbortImageUpgradeToDevice(ctx, in)
4500 }
4501 info := &grpc.UnaryServerInfo{
4502 Server: srv,
4503 FullMethod: "/voltha.VolthaService/AbortImageUpgradeToDevice",
4504 }
4505 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4506 return srv.(VolthaServiceServer).AbortImageUpgradeToDevice(ctx, req.(*DeviceImageRequest))
4507 }
4508 return interceptor(ctx, in, info, handler)
4509}
4510
4511func _VolthaService_GetOnuImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4512 in := new(common.ID)
4513 if err := dec(in); err != nil {
4514 return nil, err
4515 }
4516 if interceptor == nil {
4517 return srv.(VolthaServiceServer).GetOnuImages(ctx, in)
4518 }
4519 info := &grpc.UnaryServerInfo{
4520 Server: srv,
4521 FullMethod: "/voltha.VolthaService/GetOnuImages",
4522 }
4523 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4524 return srv.(VolthaServiceServer).GetOnuImages(ctx, req.(*common.ID))
4525 }
4526 return interceptor(ctx, in, info, handler)
4527}
4528
4529func _VolthaService_ActivateImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4530 in := new(DeviceImageRequest)
4531 if err := dec(in); err != nil {
4532 return nil, err
4533 }
4534 if interceptor == nil {
4535 return srv.(VolthaServiceServer).ActivateImage(ctx, in)
4536 }
4537 info := &grpc.UnaryServerInfo{
4538 Server: srv,
4539 FullMethod: "/voltha.VolthaService/ActivateImage",
4540 }
4541 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4542 return srv.(VolthaServiceServer).ActivateImage(ctx, req.(*DeviceImageRequest))
4543 }
4544 return interceptor(ctx, in, info, handler)
4545}
4546
4547func _VolthaService_CommitImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4548 in := new(DeviceImageRequest)
4549 if err := dec(in); err != nil {
4550 return nil, err
4551 }
4552 if interceptor == nil {
4553 return srv.(VolthaServiceServer).CommitImage(ctx, in)
4554 }
4555 info := &grpc.UnaryServerInfo{
4556 Server: srv,
4557 FullMethod: "/voltha.VolthaService/CommitImage",
4558 }
4559 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4560 return srv.(VolthaServiceServer).CommitImage(ctx, req.(*DeviceImageRequest))
4561 }
4562 return interceptor(ctx, in, info, handler)
4563}
4564
Don Newton98fd8812019-09-23 15:15:02 -04004565func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4566 in := new(common.ID)
4567 if err := dec(in); err != nil {
4568 return nil, err
4569 }
4570 if interceptor == nil {
4571 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
4572 }
4573 info := &grpc.UnaryServerInfo{
4574 Server: srv,
4575 FullMethod: "/voltha.VolthaService/ListDevicePorts",
4576 }
4577 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4578 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
4579 }
4580 return interceptor(ctx, in, info, handler)
4581}
4582
4583func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4584 in := new(common.ID)
4585 if err := dec(in); err != nil {
4586 return nil, err
4587 }
4588 if interceptor == nil {
4589 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
4590 }
4591 info := &grpc.UnaryServerInfo{
4592 Server: srv,
4593 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
4594 }
4595 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4596 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
4597 }
4598 return interceptor(ctx, in, info, handler)
4599}
4600
4601func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4602 in := new(PmConfigs)
4603 if err := dec(in); err != nil {
4604 return nil, err
4605 }
4606 if interceptor == nil {
4607 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
4608 }
4609 info := &grpc.UnaryServerInfo{
4610 Server: srv,
4611 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
4612 }
4613 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4614 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
4615 }
4616 return interceptor(ctx, in, info, handler)
4617}
4618
4619func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4620 in := new(common.ID)
4621 if err := dec(in); err != nil {
4622 return nil, err
4623 }
4624 if interceptor == nil {
4625 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
4626 }
4627 info := &grpc.UnaryServerInfo{
4628 Server: srv,
4629 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
4630 }
4631 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4632 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
4633 }
4634 return interceptor(ctx, in, info, handler)
4635}
4636
4637func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4638 in := new(common.ID)
4639 if err := dec(in); err != nil {
4640 return nil, err
4641 }
4642 if interceptor == nil {
4643 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
4644 }
4645 info := &grpc.UnaryServerInfo{
4646 Server: srv,
4647 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
4648 }
4649 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4650 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
4651 }
4652 return interceptor(ctx, in, info, handler)
4653}
4654
4655func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4656 in := new(empty.Empty)
4657 if err := dec(in); err != nil {
4658 return nil, err
4659 }
4660 if interceptor == nil {
4661 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
4662 }
4663 info := &grpc.UnaryServerInfo{
4664 Server: srv,
4665 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
4666 }
4667 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4668 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
4669 }
4670 return interceptor(ctx, in, info, handler)
4671}
4672
4673func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4674 in := new(common.ID)
4675 if err := dec(in); err != nil {
4676 return nil, err
4677 }
4678 if interceptor == nil {
4679 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
4680 }
4681 info := &grpc.UnaryServerInfo{
4682 Server: srv,
4683 FullMethod: "/voltha.VolthaService/GetDeviceType",
4684 }
4685 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4686 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
4687 }
4688 return interceptor(ctx, in, info, handler)
4689}
4690
4691func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4692 in := new(empty.Empty)
4693 if err := dec(in); err != nil {
4694 return nil, err
4695 }
4696 if interceptor == nil {
4697 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
4698 }
4699 info := &grpc.UnaryServerInfo{
4700 Server: srv,
4701 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
4702 }
4703 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4704 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
4705 }
4706 return interceptor(ctx, in, info, handler)
4707}
4708
4709func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
4710 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
4711}
4712
4713type VolthaService_StreamPacketsOutServer interface {
4714 SendAndClose(*empty.Empty) error
4715 Recv() (*openflow_13.PacketOut, error)
4716 grpc.ServerStream
4717}
4718
4719type volthaServiceStreamPacketsOutServer struct {
4720 grpc.ServerStream
4721}
4722
4723func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
4724 return x.ServerStream.SendMsg(m)
4725}
4726
4727func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
4728 m := new(openflow_13.PacketOut)
4729 if err := x.ServerStream.RecvMsg(m); err != nil {
4730 return nil, err
4731 }
4732 return m, nil
4733}
4734
4735func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
4736 m := new(empty.Empty)
4737 if err := stream.RecvMsg(m); err != nil {
4738 return err
4739 }
4740 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
4741}
4742
4743type VolthaService_ReceivePacketsInServer interface {
4744 Send(*openflow_13.PacketIn) error
4745 grpc.ServerStream
4746}
4747
4748type volthaServiceReceivePacketsInServer struct {
4749 grpc.ServerStream
4750}
4751
4752func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
4753 return x.ServerStream.SendMsg(m)
4754}
4755
4756func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
4757 m := new(empty.Empty)
4758 if err := stream.RecvMsg(m); err != nil {
4759 return err
4760 }
4761 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
4762}
4763
4764type VolthaService_ReceiveChangeEventsServer interface {
4765 Send(*openflow_13.ChangeEvent) error
4766 grpc.ServerStream
4767}
4768
4769type volthaServiceReceiveChangeEventsServer struct {
4770 grpc.ServerStream
4771}
4772
4773func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
4774 return x.ServerStream.SendMsg(m)
4775}
4776
4777func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4778 in := new(common.ID)
4779 if err := dec(in); err != nil {
4780 return nil, err
4781 }
4782 if interceptor == nil {
4783 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
4784 }
4785 info := &grpc.UnaryServerInfo{
4786 Server: srv,
4787 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
4788 }
4789 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4790 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
4791 }
4792 return interceptor(ctx, in, info, handler)
4793}
4794
Don Newtonb437c6f2019-12-18 11:51:57 -05004795func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4796 in := new(EventFilter)
Don Newton98fd8812019-09-23 15:15:02 -04004797 if err := dec(in); err != nil {
4798 return nil, err
4799 }
4800 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004801 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004802 }
4803 info := &grpc.UnaryServerInfo{
4804 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004805 FullMethod: "/voltha.VolthaService/CreateEventFilter",
Don Newton98fd8812019-09-23 15:15:02 -04004806 }
4807 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004808 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
Don Newton98fd8812019-09-23 15:15:02 -04004809 }
4810 return interceptor(ctx, in, info, handler)
4811}
4812
Don Newtonb437c6f2019-12-18 11:51:57 -05004813func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Don Newton98fd8812019-09-23 15:15:02 -04004814 in := new(common.ID)
4815 if err := dec(in); err != nil {
4816 return nil, err
4817 }
4818 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004819 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004820 }
4821 info := &grpc.UnaryServerInfo{
4822 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004823 FullMethod: "/voltha.VolthaService/GetEventFilter",
Don Newton98fd8812019-09-23 15:15:02 -04004824 }
4825 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004826 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
Don Newton98fd8812019-09-23 15:15:02 -04004827 }
4828 return interceptor(ctx, in, info, handler)
4829}
4830
Don Newtonb437c6f2019-12-18 11:51:57 -05004831func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4832 in := new(EventFilter)
Don Newton98fd8812019-09-23 15:15:02 -04004833 if err := dec(in); err != nil {
4834 return nil, err
4835 }
4836 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004837 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004838 }
4839 info := &grpc.UnaryServerInfo{
4840 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004841 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
Don Newton98fd8812019-09-23 15:15:02 -04004842 }
4843 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004844 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
Don Newton98fd8812019-09-23 15:15:02 -04004845 }
4846 return interceptor(ctx, in, info, handler)
4847}
4848
Don Newtonb437c6f2019-12-18 11:51:57 -05004849func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4850 in := new(EventFilter)
Don Newton98fd8812019-09-23 15:15:02 -04004851 if err := dec(in); err != nil {
4852 return nil, err
4853 }
4854 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004855 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004856 }
4857 info := &grpc.UnaryServerInfo{
4858 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004859 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
Don Newton98fd8812019-09-23 15:15:02 -04004860 }
4861 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004862 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
Don Newton98fd8812019-09-23 15:15:02 -04004863 }
4864 return interceptor(ctx, in, info, handler)
4865}
4866
Don Newtonb437c6f2019-12-18 11:51:57 -05004867func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Don Newton98fd8812019-09-23 15:15:02 -04004868 in := new(empty.Empty)
4869 if err := dec(in); err != nil {
4870 return nil, err
4871 }
4872 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004873 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004874 }
4875 info := &grpc.UnaryServerInfo{
4876 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004877 FullMethod: "/voltha.VolthaService/ListEventFilters",
Don Newton98fd8812019-09-23 15:15:02 -04004878 }
4879 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004880 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
Don Newton98fd8812019-09-23 15:15:02 -04004881 }
4882 return interceptor(ctx, in, info, handler)
4883}
4884
4885func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4886 in := new(common.ID)
4887 if err := dec(in); err != nil {
4888 return nil, err
4889 }
4890 if interceptor == nil {
4891 return srv.(VolthaServiceServer).GetImages(ctx, in)
4892 }
4893 info := &grpc.UnaryServerInfo{
4894 Server: srv,
4895 FullMethod: "/voltha.VolthaService/GetImages",
4896 }
4897 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4898 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4899 }
4900 return interceptor(ctx, in, info, handler)
4901}
4902
4903func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4904 in := new(common.ID)
4905 if err := dec(in); err != nil {
4906 return nil, err
4907 }
4908 if interceptor == nil {
4909 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4910 }
4911 info := &grpc.UnaryServerInfo{
4912 Server: srv,
4913 FullMethod: "/voltha.VolthaService/SelfTest",
4914 }
4915 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4916 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4917 }
4918 return interceptor(ctx, in, info, handler)
4919}
4920
4921func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4922 in := new(common.ID)
4923 if err := dec(in); err != nil {
4924 return nil, err
4925 }
4926 if interceptor == nil {
4927 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4928 }
4929 info := &grpc.UnaryServerInfo{
4930 Server: srv,
4931 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4932 }
4933 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4934 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4935 }
4936 return interceptor(ctx, in, info, handler)
4937}
4938
4939func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4940 in := new(common.ID)
4941 if err := dec(in); err != nil {
4942 return nil, err
4943 }
4944 if interceptor == nil {
4945 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4946 }
4947 info := &grpc.UnaryServerInfo{
4948 Server: srv,
4949 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4950 }
4951 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4952 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4953 }
4954 return interceptor(ctx, in, info, handler)
4955}
4956
4957func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4958 in := new(SimulateAlarmRequest)
4959 if err := dec(in); err != nil {
4960 return nil, err
4961 }
4962 if interceptor == nil {
4963 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4964 }
4965 info := &grpc.UnaryServerInfo{
4966 Server: srv,
4967 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4968 }
4969 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4970 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4971 }
4972 return interceptor(ctx, in, info, handler)
4973}
4974
4975func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4976 in := new(OfAgentSubscriber)
4977 if err := dec(in); err != nil {
4978 return nil, err
4979 }
4980 if interceptor == nil {
4981 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4982 }
4983 info := &grpc.UnaryServerInfo{
4984 Server: srv,
4985 FullMethod: "/voltha.VolthaService/Subscribe",
4986 }
4987 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4988 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4989 }
4990 return interceptor(ctx, in, info, handler)
4991}
4992
divyadesai81bb7ba2020-03-11 11:45:23 +00004993func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4994 in := new(Port)
4995 if err := dec(in); err != nil {
4996 return nil, err
4997 }
4998 if interceptor == nil {
4999 return srv.(VolthaServiceServer).EnablePort(ctx, in)
5000 }
5001 info := &grpc.UnaryServerInfo{
5002 Server: srv,
5003 FullMethod: "/voltha.VolthaService/EnablePort",
5004 }
5005 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
5006 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
5007 }
5008 return interceptor(ctx, in, info, handler)
5009}
5010
5011func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
5012 in := new(Port)
5013 if err := dec(in); err != nil {
5014 return nil, err
5015 }
5016 if interceptor == nil {
5017 return srv.(VolthaServiceServer).DisablePort(ctx, in)
5018 }
5019 info := &grpc.UnaryServerInfo{
5020 Server: srv,
5021 FullMethod: "/voltha.VolthaService/DisablePort",
5022 }
5023 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
5024 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
5025 }
5026 return interceptor(ctx, in, info, handler)
5027}
5028
Neha Sharma87d43d72020-04-08 14:10:40 +00005029func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
5030 in := new(common.ValueSpecifier)
5031 if err := dec(in); err != nil {
5032 return nil, err
5033 }
5034 if interceptor == nil {
5035 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
5036 }
5037 info := &grpc.UnaryServerInfo{
5038 Server: srv,
5039 FullMethod: "/voltha.VolthaService/GetExtValue",
5040 }
5041 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
5042 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*common.ValueSpecifier))
5043 }
5044 return interceptor(ctx, in, info, handler)
5045}
5046
Maninder12b909f2020-10-23 14:23:36 +05305047func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
5048 in := new(ValueSet)
5049 if err := dec(in); err != nil {
5050 return nil, err
5051 }
5052 if interceptor == nil {
5053 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
5054 }
5055 info := &grpc.UnaryServerInfo{
5056 Server: srv,
5057 FullMethod: "/voltha.VolthaService/SetExtValue",
5058 }
5059 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
5060 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*ValueSet))
5061 }
5062 return interceptor(ctx, in, info, handler)
5063}
5064
Rohan Agrawal00d3a412020-04-22 10:51:39 +00005065func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
5066 in := new(OmciTestRequest)
5067 if err := dec(in); err != nil {
5068 return nil, err
5069 }
5070 if interceptor == nil {
5071 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
5072 }
5073 info := &grpc.UnaryServerInfo{
5074 Server: srv,
5075 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
5076 }
5077 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
5078 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest))
5079 }
5080 return interceptor(ctx, in, info, handler)
5081}
5082
Don Newton98fd8812019-09-23 15:15:02 -04005083var _VolthaService_serviceDesc = grpc.ServiceDesc{
5084 ServiceName: "voltha.VolthaService",
5085 HandlerType: (*VolthaServiceServer)(nil),
5086 Methods: []grpc.MethodDesc{
5087 {
Don Newton98fd8812019-09-23 15:15:02 -04005088 MethodName: "GetMembership",
5089 Handler: _VolthaService_GetMembership_Handler,
5090 },
5091 {
5092 MethodName: "UpdateMembership",
5093 Handler: _VolthaService_UpdateMembership_Handler,
5094 },
5095 {
5096 MethodName: "GetVoltha",
5097 Handler: _VolthaService_GetVoltha_Handler,
5098 },
5099 {
5100 MethodName: "ListCoreInstances",
5101 Handler: _VolthaService_ListCoreInstances_Handler,
5102 },
5103 {
5104 MethodName: "GetCoreInstance",
5105 Handler: _VolthaService_GetCoreInstance_Handler,
5106 },
5107 {
5108 MethodName: "ListAdapters",
5109 Handler: _VolthaService_ListAdapters_Handler,
5110 },
5111 {
5112 MethodName: "ListLogicalDevices",
5113 Handler: _VolthaService_ListLogicalDevices_Handler,
5114 },
5115 {
5116 MethodName: "GetLogicalDevice",
5117 Handler: _VolthaService_GetLogicalDevice_Handler,
5118 },
5119 {
5120 MethodName: "ListLogicalDevicePorts",
5121 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
5122 },
5123 {
5124 MethodName: "GetLogicalDevicePort",
5125 Handler: _VolthaService_GetLogicalDevicePort_Handler,
5126 },
5127 {
5128 MethodName: "EnableLogicalDevicePort",
5129 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
5130 },
5131 {
5132 MethodName: "DisableLogicalDevicePort",
5133 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
5134 },
5135 {
5136 MethodName: "ListLogicalDeviceFlows",
5137 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
5138 },
5139 {
5140 MethodName: "UpdateLogicalDeviceFlowTable",
5141 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
5142 },
5143 {
5144 MethodName: "UpdateLogicalDeviceMeterTable",
5145 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
5146 },
5147 {
5148 MethodName: "ListLogicalDeviceMeters",
5149 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
5150 },
5151 {
5152 MethodName: "ListLogicalDeviceFlowGroups",
5153 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
5154 },
5155 {
5156 MethodName: "UpdateLogicalDeviceFlowGroupTable",
5157 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
5158 },
5159 {
5160 MethodName: "ListDevices",
5161 Handler: _VolthaService_ListDevices_Handler,
5162 },
5163 {
5164 MethodName: "ListDeviceIds",
5165 Handler: _VolthaService_ListDeviceIds_Handler,
5166 },
5167 {
5168 MethodName: "ReconcileDevices",
5169 Handler: _VolthaService_ReconcileDevices_Handler,
5170 },
5171 {
5172 MethodName: "GetDevice",
5173 Handler: _VolthaService_GetDevice_Handler,
5174 },
5175 {
5176 MethodName: "CreateDevice",
5177 Handler: _VolthaService_CreateDevice_Handler,
5178 },
5179 {
5180 MethodName: "EnableDevice",
5181 Handler: _VolthaService_EnableDevice_Handler,
5182 },
5183 {
5184 MethodName: "DisableDevice",
5185 Handler: _VolthaService_DisableDevice_Handler,
5186 },
5187 {
5188 MethodName: "RebootDevice",
5189 Handler: _VolthaService_RebootDevice_Handler,
5190 },
5191 {
5192 MethodName: "DeleteDevice",
5193 Handler: _VolthaService_DeleteDevice_Handler,
5194 },
5195 {
Maninder12b909f2020-10-23 14:23:36 +05305196 MethodName: "ForceDeleteDevice",
5197 Handler: _VolthaService_ForceDeleteDevice_Handler,
5198 },
5199 {
Don Newton98fd8812019-09-23 15:15:02 -04005200 MethodName: "DownloadImage",
5201 Handler: _VolthaService_DownloadImage_Handler,
5202 },
5203 {
5204 MethodName: "GetImageDownloadStatus",
5205 Handler: _VolthaService_GetImageDownloadStatus_Handler,
5206 },
5207 {
5208 MethodName: "GetImageDownload",
5209 Handler: _VolthaService_GetImageDownload_Handler,
5210 },
5211 {
5212 MethodName: "ListImageDownloads",
5213 Handler: _VolthaService_ListImageDownloads_Handler,
5214 },
5215 {
5216 MethodName: "CancelImageDownload",
5217 Handler: _VolthaService_CancelImageDownload_Handler,
5218 },
5219 {
5220 MethodName: "ActivateImageUpdate",
5221 Handler: _VolthaService_ActivateImageUpdate_Handler,
5222 },
5223 {
5224 MethodName: "RevertImageUpdate",
5225 Handler: _VolthaService_RevertImageUpdate_Handler,
5226 },
5227 {
Andrea Campanella18448bc2021-07-08 18:47:22 +02005228 MethodName: "DownloadImageToDevice",
5229 Handler: _VolthaService_DownloadImageToDevice_Handler,
5230 },
5231 {
5232 MethodName: "GetImageStatus",
5233 Handler: _VolthaService_GetImageStatus_Handler,
5234 },
5235 {
5236 MethodName: "AbortImageUpgradeToDevice",
5237 Handler: _VolthaService_AbortImageUpgradeToDevice_Handler,
5238 },
5239 {
5240 MethodName: "GetOnuImages",
5241 Handler: _VolthaService_GetOnuImages_Handler,
5242 },
5243 {
5244 MethodName: "ActivateImage",
5245 Handler: _VolthaService_ActivateImage_Handler,
5246 },
5247 {
5248 MethodName: "CommitImage",
5249 Handler: _VolthaService_CommitImage_Handler,
5250 },
5251 {
Don Newton98fd8812019-09-23 15:15:02 -04005252 MethodName: "ListDevicePorts",
5253 Handler: _VolthaService_ListDevicePorts_Handler,
5254 },
5255 {
5256 MethodName: "ListDevicePmConfigs",
5257 Handler: _VolthaService_ListDevicePmConfigs_Handler,
5258 },
5259 {
5260 MethodName: "UpdateDevicePmConfigs",
5261 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
5262 },
5263 {
5264 MethodName: "ListDeviceFlows",
5265 Handler: _VolthaService_ListDeviceFlows_Handler,
5266 },
5267 {
5268 MethodName: "ListDeviceFlowGroups",
5269 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
5270 },
5271 {
5272 MethodName: "ListDeviceTypes",
5273 Handler: _VolthaService_ListDeviceTypes_Handler,
5274 },
5275 {
5276 MethodName: "GetDeviceType",
5277 Handler: _VolthaService_GetDeviceType_Handler,
5278 },
5279 {
5280 MethodName: "ListDeviceGroups",
5281 Handler: _VolthaService_ListDeviceGroups_Handler,
5282 },
5283 {
5284 MethodName: "GetDeviceGroup",
5285 Handler: _VolthaService_GetDeviceGroup_Handler,
5286 },
5287 {
Don Newtonb437c6f2019-12-18 11:51:57 -05005288 MethodName: "CreateEventFilter",
5289 Handler: _VolthaService_CreateEventFilter_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04005290 },
5291 {
Don Newtonb437c6f2019-12-18 11:51:57 -05005292 MethodName: "GetEventFilter",
5293 Handler: _VolthaService_GetEventFilter_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04005294 },
5295 {
Don Newtonb437c6f2019-12-18 11:51:57 -05005296 MethodName: "UpdateEventFilter",
5297 Handler: _VolthaService_UpdateEventFilter_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04005298 },
5299 {
Don Newtonb437c6f2019-12-18 11:51:57 -05005300 MethodName: "DeleteEventFilter",
5301 Handler: _VolthaService_DeleteEventFilter_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04005302 },
5303 {
Don Newtonb437c6f2019-12-18 11:51:57 -05005304 MethodName: "ListEventFilters",
5305 Handler: _VolthaService_ListEventFilters_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04005306 },
5307 {
5308 MethodName: "GetImages",
5309 Handler: _VolthaService_GetImages_Handler,
5310 },
5311 {
5312 MethodName: "SelfTest",
5313 Handler: _VolthaService_SelfTest_Handler,
5314 },
5315 {
5316 MethodName: "GetMibDeviceData",
5317 Handler: _VolthaService_GetMibDeviceData_Handler,
5318 },
5319 {
5320 MethodName: "GetAlarmDeviceData",
5321 Handler: _VolthaService_GetAlarmDeviceData_Handler,
5322 },
5323 {
5324 MethodName: "SimulateAlarm",
5325 Handler: _VolthaService_SimulateAlarm_Handler,
5326 },
5327 {
5328 MethodName: "Subscribe",
5329 Handler: _VolthaService_Subscribe_Handler,
5330 },
divyadesai81bb7ba2020-03-11 11:45:23 +00005331 {
5332 MethodName: "EnablePort",
5333 Handler: _VolthaService_EnablePort_Handler,
5334 },
5335 {
5336 MethodName: "DisablePort",
5337 Handler: _VolthaService_DisablePort_Handler,
5338 },
Rohan Agrawal00d3a412020-04-22 10:51:39 +00005339 {
Neha Sharma87d43d72020-04-08 14:10:40 +00005340 MethodName: "GetExtValue",
5341 Handler: _VolthaService_GetExtValue_Handler,
5342 },
5343 {
Maninder12b909f2020-10-23 14:23:36 +05305344 MethodName: "SetExtValue",
5345 Handler: _VolthaService_SetExtValue_Handler,
5346 },
5347 {
Rohan Agrawal00d3a412020-04-22 10:51:39 +00005348 MethodName: "StartOmciTestAction",
5349 Handler: _VolthaService_StartOmciTestAction_Handler,
5350 },
Don Newton98fd8812019-09-23 15:15:02 -04005351 },
5352 Streams: []grpc.StreamDesc{
5353 {
5354 StreamName: "StreamPacketsOut",
5355 Handler: _VolthaService_StreamPacketsOut_Handler,
5356 ClientStreams: true,
5357 },
5358 {
5359 StreamName: "ReceivePacketsIn",
5360 Handler: _VolthaService_ReceivePacketsIn_Handler,
5361 ServerStreams: true,
5362 },
5363 {
5364 StreamName: "ReceiveChangeEvents",
5365 Handler: _VolthaService_ReceiveChangeEvents_Handler,
5366 ServerStreams: true,
5367 },
5368 },
5369 Metadata: "voltha_protos/voltha.proto",
5370}