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