blob: e69957ae3244a6dc99c1c832927f19b004c41eac [file] [log] [blame]
Don Newton98fd8812019-09-23 15:15:02 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/voltha.proto
3
4package voltha
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
10 empty "github.com/golang/protobuf/ptypes/empty"
Maninder12b909f2020-10-23 14:23:36 +053011 common "github.com/opencord/voltha-protos/v4/go/common"
12 config "github.com/opencord/voltha-protos/v4/go/ext/config"
13 omci "github.com/opencord/voltha-protos/v4/go/omci"
14 openflow_13 "github.com/opencord/voltha-protos/v4/go/openflow_13"
Don Newton98fd8812019-09-23 15:15:02 -040015 _ "google.golang.org/genproto/googleapis/api/annotations"
16 grpc "google.golang.org/grpc"
David K. Bainbridge595b6702021-04-09 16:10:58 +000017 codes "google.golang.org/grpc/codes"
18 status "google.golang.org/grpc/status"
Don Newton98fd8812019-09-23 15:15:02 -040019 math "math"
20)
21
22// Reference imports to suppress errors if they are not otherwise used.
23var _ = proto.Marshal
24var _ = fmt.Errorf
25var _ = math.Inf
26
27// This is a compile-time assertion to ensure that this generated file
28// is compatible with the proto package it is being compiled against.
29// A compilation error at this line likely means your copy of the
30// proto package needs to be updated.
31const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
32
33// ChildNode from public import voltha_protos/meta.proto
34type ChildNode = common.ChildNode
35
36// Access from public import voltha_protos/meta.proto
37type Access = common.Access
38
39var Access_name = common.Access_name
40var Access_value = common.Access_value
41
42const Access_CONFIG = Access(common.Access_CONFIG)
43const Access_READ_ONLY = Access(common.Access_READ_ONLY)
44const Access_REAL_TIME = Access(common.Access_REAL_TIME)
45
46var E_ChildNode = common.E_ChildNode
47
48var E_Access = common.E_Access
49
50// ID from public import voltha_protos/common.proto
51type ID = common.ID
52
53// IDs from public import voltha_protos/common.proto
54type IDs = common.IDs
55
Don Newton98fd8812019-09-23 15:15:02 -040056// AdminState from public import voltha_protos/common.proto
57type AdminState = common.AdminState
58
59// OperStatus from public import voltha_protos/common.proto
60type OperStatus = common.OperStatus
61
62// ConnectStatus from public import voltha_protos/common.proto
63type ConnectStatus = common.ConnectStatus
64
65// OperationResp from public import voltha_protos/common.proto
66type OperationResp = common.OperationResp
67
Neha Sharma87d43d72020-04-08 14:10:40 +000068// ValueType from public import voltha_protos/common.proto
69type ValueType = common.ValueType
70
71// ValueSpecifier from public import voltha_protos/common.proto
72type ValueSpecifier = common.ValueSpecifier
73
74// ReturnValues from public import voltha_protos/common.proto
75type ReturnValues = common.ReturnValues
76
Don Newton98fd8812019-09-23 15:15:02 -040077// TestModeKeys from public import voltha_protos/common.proto
78type TestModeKeys = common.TestModeKeys
79
80var TestModeKeys_name = common.TestModeKeys_name
81var TestModeKeys_value = common.TestModeKeys_value
82
83const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
84
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080085// AdminState_Types from public import voltha_protos/common.proto
86type AdminState_Types = common.AdminState_Types
Don Newton98fd8812019-09-23 15:15:02 -040087
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080088var AdminState_Types_name = common.AdminState_Types_name
89var AdminState_Types_value = common.AdminState_Types_value
Don Newton98fd8812019-09-23 15:15:02 -040090
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080091const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
92const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
93const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
94const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
95const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
Don Newton98fd8812019-09-23 15:15:02 -040096
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080097// OperStatus_Types from public import voltha_protos/common.proto
98type OperStatus_Types = common.OperStatus_Types
Don Newton98fd8812019-09-23 15:15:02 -040099
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800100var OperStatus_Types_name = common.OperStatus_Types_name
101var OperStatus_Types_value = common.OperStatus_Types_value
Don Newton98fd8812019-09-23 15:15:02 -0400102
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800103const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
104const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
105const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
106const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
107const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
108const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
David K. Bainbridge595b6702021-04-09 16:10:58 +0000109const OperStatus_RECONCILING = OperStatus_Types(common.OperStatus_RECONCILING)
Don Newton98fd8812019-09-23 15:15:02 -0400110
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800111// ConnectStatus_Types from public import voltha_protos/common.proto
112type ConnectStatus_Types = common.ConnectStatus_Types
Don Newton98fd8812019-09-23 15:15:02 -0400113
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800114var ConnectStatus_Types_name = common.ConnectStatus_Types_name
115var ConnectStatus_Types_value = common.ConnectStatus_Types_value
Don Newton98fd8812019-09-23 15:15:02 -0400116
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800117const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
118const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
119const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
Don Newton98fd8812019-09-23 15:15:02 -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)
David K. Bainbridge595b6702021-04-09 16:10:58 +0000130const OperationResp_OPERATION_IN_PROGRESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_IN_PROGRESS)
Don Newton98fd8812019-09-23 15:15:02 -0400131
Neha Sharma87d43d72020-04-08 14:10:40 +0000132// 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
Don Newton98fd8812019-09-23 15:15:02 -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
429// OfpMeterEntry from public import voltha_protos/openflow_13.proto
430type OfpMeterEntry = openflow_13.OfpMeterEntry
431
432// 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
Manindere2af7e42020-12-04 11:46:26 +0530510type ChangeEvent_Error = openflow_13.ChangeEvent_Error
Don Newton98fd8812019-09-23 15:15:02 -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)
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -08001157const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
Don Newton98fd8812019-09-23 15:15:02 -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
Don Newtonb437c6f2019-12-18 11:51:57 -05001271type EventFilterRuleKey_EventFilterRuleType int32
Don Newton98fd8812019-09-23 15:15:02 -04001272
1273const (
Don Newtonb437c6f2019-12-18 11:51:57 -05001274 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
Don Newton98fd8812019-09-23 15:15:02 -04001280)
1281
Don Newtonb437c6f2019-12-18 11:51:57 -05001282var 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",
Don Newton98fd8812019-09-23 15:15:02 -04001289}
1290
Don Newtonb437c6f2019-12-18 11:51:57 -05001291var 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,
Don Newton98fd8812019-09-23 15:15:02 -04001298}
1299
Don Newtonb437c6f2019-12-18 11:51:57 -05001300func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1301 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -04001302}
1303
Don Newtonb437c6f2019-12-18 11:51:57 -05001304func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001305 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
1306}
1307
Rohan Agrawal00d3a412020-04-22 10:51:39 +00001308type 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
Don Newton98fd8812019-09-23 15:15:02 -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) {
Maninder12b909f2020-10-23 14:23:36 +05301361 return fileDescriptor_e084f1a60ce7016c, []int{12, 0}
Don Newton98fd8812019-09-23 15:15:02 -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
Don Newtonb437c6f2019-12-18 11:51:57 -05001458type EventFilterRuleKey struct {
Don Newton98fd8812019-09-23 15:15:02 -04001459 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1460 XXX_unrecognized []byte `json:"-"`
1461 XXX_sizecache int32 `json:"-"`
1462}
1463
Don Newtonb437c6f2019-12-18 11:51:57 -05001464func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1465func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1466func (*EventFilterRuleKey) ProtoMessage() {}
1467func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001468 return fileDescriptor_e084f1a60ce7016c, []int{2}
1469}
1470
Don Newtonb437c6f2019-12-18 11:51:57 -05001471func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1472 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
Don Newton98fd8812019-09-23 15:15:02 -04001473}
Don Newtonb437c6f2019-12-18 11:51:57 -05001474func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1475 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
Don Newton98fd8812019-09-23 15:15:02 -04001476}
Don Newtonb437c6f2019-12-18 11:51:57 -05001477func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1478 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
Don Newton98fd8812019-09-23 15:15:02 -04001479}
Don Newtonb437c6f2019-12-18 11:51:57 -05001480func (m *EventFilterRuleKey) XXX_Size() int {
1481 return xxx_messageInfo_EventFilterRuleKey.Size(m)
Don Newton98fd8812019-09-23 15:15:02 -04001482}
Don Newtonb437c6f2019-12-18 11:51:57 -05001483func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1484 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
Don Newton98fd8812019-09-23 15:15:02 -04001485}
1486
Don Newtonb437c6f2019-12-18 11:51:57 -05001487var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
Don Newton98fd8812019-09-23 15:15:02 -04001488
Don Newtonb437c6f2019-12-18 11:51:57 -05001489type 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:"-"`
Don Newton98fd8812019-09-23 15:15:02 -04001495}
1496
Don Newtonb437c6f2019-12-18 11:51:57 -05001497func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1498func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1499func (*EventFilterRule) ProtoMessage() {}
1500func (*EventFilterRule) Descriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001501 return fileDescriptor_e084f1a60ce7016c, []int{3}
1502}
1503
Don Newtonb437c6f2019-12-18 11:51:57 -05001504func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1505 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
Don Newton98fd8812019-09-23 15:15:02 -04001506}
Don Newtonb437c6f2019-12-18 11:51:57 -05001507func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1508 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
Don Newton98fd8812019-09-23 15:15:02 -04001509}
Don Newtonb437c6f2019-12-18 11:51:57 -05001510func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1511 xxx_messageInfo_EventFilterRule.Merge(m, src)
Don Newton98fd8812019-09-23 15:15:02 -04001512}
Don Newtonb437c6f2019-12-18 11:51:57 -05001513func (m *EventFilterRule) XXX_Size() int {
1514 return xxx_messageInfo_EventFilterRule.Size(m)
Don Newton98fd8812019-09-23 15:15:02 -04001515}
Don Newtonb437c6f2019-12-18 11:51:57 -05001516func (m *EventFilterRule) XXX_DiscardUnknown() {
1517 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
Don Newton98fd8812019-09-23 15:15:02 -04001518}
1519
Don Newtonb437c6f2019-12-18 11:51:57 -05001520var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
Don Newton98fd8812019-09-23 15:15:02 -04001521
Don Newtonb437c6f2019-12-18 11:51:57 -05001522func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
Don Newton98fd8812019-09-23 15:15:02 -04001523 if m != nil {
1524 return m.Key
1525 }
Don Newtonb437c6f2019-12-18 11:51:57 -05001526 return EventFilterRuleKey_filter_all
Don Newton98fd8812019-09-23 15:15:02 -04001527}
1528
Don Newtonb437c6f2019-12-18 11:51:57 -05001529func (m *EventFilterRule) GetValue() string {
Don Newton98fd8812019-09-23 15:15:02 -04001530 if m != nil {
1531 return m.Value
1532 }
1533 return ""
1534}
1535
Don Newtonb437c6f2019-12-18 11:51:57 -05001536type EventFilter struct {
Don Newton98fd8812019-09-23 15:15:02 -04001537 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Don Newtonb437c6f2019-12-18 11:51:57 -05001538 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"`
Don Newton98fd8812019-09-23 15:15:02 -04001542 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1543 XXX_unrecognized []byte `json:"-"`
1544 XXX_sizecache int32 `json:"-"`
1545}
1546
Don Newtonb437c6f2019-12-18 11:51:57 -05001547func (m *EventFilter) Reset() { *m = EventFilter{} }
1548func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1549func (*EventFilter) ProtoMessage() {}
1550func (*EventFilter) Descriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001551 return fileDescriptor_e084f1a60ce7016c, []int{4}
1552}
1553
Don Newtonb437c6f2019-12-18 11:51:57 -05001554func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1555 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
Don Newton98fd8812019-09-23 15:15:02 -04001556}
Don Newtonb437c6f2019-12-18 11:51:57 -05001557func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1558 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
Don Newton98fd8812019-09-23 15:15:02 -04001559}
Don Newtonb437c6f2019-12-18 11:51:57 -05001560func (m *EventFilter) XXX_Merge(src proto.Message) {
1561 xxx_messageInfo_EventFilter.Merge(m, src)
Don Newton98fd8812019-09-23 15:15:02 -04001562}
Don Newtonb437c6f2019-12-18 11:51:57 -05001563func (m *EventFilter) XXX_Size() int {
1564 return xxx_messageInfo_EventFilter.Size(m)
Don Newton98fd8812019-09-23 15:15:02 -04001565}
Don Newtonb437c6f2019-12-18 11:51:57 -05001566func (m *EventFilter) XXX_DiscardUnknown() {
1567 xxx_messageInfo_EventFilter.DiscardUnknown(m)
Don Newton98fd8812019-09-23 15:15:02 -04001568}
1569
Don Newtonb437c6f2019-12-18 11:51:57 -05001570var xxx_messageInfo_EventFilter proto.InternalMessageInfo
Don Newton98fd8812019-09-23 15:15:02 -04001571
Don Newtonb437c6f2019-12-18 11:51:57 -05001572func (m *EventFilter) GetId() string {
Don Newton98fd8812019-09-23 15:15:02 -04001573 if m != nil {
1574 return m.Id
1575 }
1576 return ""
1577}
1578
Don Newtonb437c6f2019-12-18 11:51:57 -05001579func (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 {
Don Newton98fd8812019-09-23 15:15:02 -04001601 if m != nil {
1602 return m.Rules
1603 }
1604 return nil
1605}
1606
Don Newtonb437c6f2019-12-18 11:51:57 -05001607type EventFilters struct {
1608 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -04001609 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1610 XXX_unrecognized []byte `json:"-"`
1611 XXX_sizecache int32 `json:"-"`
1612}
1613
Don Newtonb437c6f2019-12-18 11:51:57 -05001614func (m *EventFilters) Reset() { *m = EventFilters{} }
1615func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1616func (*EventFilters) ProtoMessage() {}
1617func (*EventFilters) Descriptor() ([]byte, []int) {
Don Newton98fd8812019-09-23 15:15:02 -04001618 return fileDescriptor_e084f1a60ce7016c, []int{5}
1619}
1620
Don Newtonb437c6f2019-12-18 11:51:57 -05001621func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1622 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
Don Newton98fd8812019-09-23 15:15:02 -04001623}
Don Newtonb437c6f2019-12-18 11:51:57 -05001624func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1625 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
Don Newton98fd8812019-09-23 15:15:02 -04001626}
Don Newtonb437c6f2019-12-18 11:51:57 -05001627func (m *EventFilters) XXX_Merge(src proto.Message) {
1628 xxx_messageInfo_EventFilters.Merge(m, src)
Don Newton98fd8812019-09-23 15:15:02 -04001629}
Don Newtonb437c6f2019-12-18 11:51:57 -05001630func (m *EventFilters) XXX_Size() int {
1631 return xxx_messageInfo_EventFilters.Size(m)
Don Newton98fd8812019-09-23 15:15:02 -04001632}
Don Newtonb437c6f2019-12-18 11:51:57 -05001633func (m *EventFilters) XXX_DiscardUnknown() {
1634 xxx_messageInfo_EventFilters.DiscardUnknown(m)
Don Newton98fd8812019-09-23 15:15:02 -04001635}
1636
Don Newtonb437c6f2019-12-18 11:51:57 -05001637var xxx_messageInfo_EventFilters proto.InternalMessageInfo
Don Newton98fd8812019-09-23 15:15:02 -04001638
Don Newtonb437c6f2019-12-18 11:51:57 -05001639func (m *EventFilters) GetFilters() []*EventFilter {
Don Newton98fd8812019-09-23 15:15:02 -04001640 if m != nil {
1641 return m.Filters
1642 }
1643 return nil
1644}
1645
1646// 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) {
1660 return fileDescriptor_e084f1a60ce7016c, []int{6}
1661}
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) {
1706 return fileDescriptor_e084f1a60ce7016c, []int{7}
1707}
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
Rohan Agrawal00d3a412020-04-22 10:51:39 +00001734type 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
Maninder12b909f2020-10-23 14:23:36 +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
Don Newton98fd8812019-09-23 15:15:02 -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"`
Don Newtonb437c6f2019-12-18 11:51:57 -05001903 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
Don Newton98fd8812019-09-23 15:15:02 -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) {
Maninder12b909f2020-10-23 14:23:36 +05301915 return fileDescriptor_e084f1a60ce7016c, []int{11}
Don Newton98fd8812019-09-23 15:15:02 -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
Don Newtonb437c6f2019-12-18 11:51:57 -05001978func (m *Voltha) GetEventFilters() []*EventFilter {
Don Newton98fd8812019-09-23 15:15:02 -04001979 if m != nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05001980 return m.EventFilters
Don Newton98fd8812019-09-23 15:15:02 -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) {
Maninder12b909f2020-10-23 14:23:36 +05302011 return fileDescriptor_e084f1a60ce7016c, []int{12}
Don Newton98fd8812019-09-23 15:15:02 -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) {
Maninder12b909f2020-10-23 14:23:36 +05302053 return fileDescriptor_e084f1a60ce7016c, []int{13}
Don Newton98fd8812019-09-23 15:15:02 -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) {
Maninder12b909f2020-10-23 14:23:36 +05302103 return fileDescriptor_e084f1a60ce7016c, []int{14}
Don Newton98fd8812019-09-23 15:15:02 -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
2138// Additional information required to process flow at device adapters
2139type FlowMetadata struct {
2140 // Meters associated with flow-update to adapter
2141 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
2142 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2143 XXX_unrecognized []byte `json:"-"`
2144 XXX_sizecache int32 `json:"-"`
2145}
2146
2147func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
2148func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
2149func (*FlowMetadata) ProtoMessage() {}
2150func (*FlowMetadata) Descriptor() ([]byte, []int) {
Maninder12b909f2020-10-23 14:23:36 +05302151 return fileDescriptor_e084f1a60ce7016c, []int{15}
Don Newton98fd8812019-09-23 15:15:02 -04002152}
2153
2154func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
2155 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
2156}
2157func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2158 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
2159}
2160func (m *FlowMetadata) XXX_Merge(src proto.Message) {
2161 xxx_messageInfo_FlowMetadata.Merge(m, src)
2162}
2163func (m *FlowMetadata) XXX_Size() int {
2164 return xxx_messageInfo_FlowMetadata.Size(m)
2165}
2166func (m *FlowMetadata) XXX_DiscardUnknown() {
2167 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
2168}
2169
2170var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
2171
2172func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
2173 if m != nil {
2174 return m.Meters
2175 }
2176 return nil
2177}
2178
2179func init() {
Don Newtonb437c6f2019-12-18 11:51:57 -05002180 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
Rohan Agrawal00d3a412020-04-22 10:51:39 +00002181 proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
Don Newton98fd8812019-09-23 15:15:02 -04002182 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
2183 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2184 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Don Newtonb437c6f2019-12-18 11:51:57 -05002185 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2186 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2187 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2188 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
Don Newton98fd8812019-09-23 15:15:02 -04002189 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2190 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
Rohan Agrawal00d3a412020-04-22 10:51:39 +00002191 proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest")
2192 proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse")
Maninder12b909f2020-10-23 14:23:36 +05302193 proto.RegisterType((*ValueSet)(nil), "voltha.ValueSet")
Don Newton98fd8812019-09-23 15:15:02 -04002194 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2195 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2196 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2197 proto.RegisterType((*Membership)(nil), "voltha.Membership")
2198 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
2199}
2200
2201func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2202
2203var fileDescriptor_e084f1a60ce7016c = []byte{
Maninder12b909f2020-10-23 14:23:36 +05302204 // 2613 bytes of a gzipped FileDescriptorProto
2205 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5b, 0x6f, 0x1b, 0xc7,
2206 0xf5, 0x17, 0x75, 0xd7, 0x21, 0x25, 0x91, 0x43, 0x5d, 0x68, 0x4a, 0xb2, 0xad, 0xc9, 0x4d, 0x51,
2207 0x62, 0xd2, 0xb1, 0x9c, 0x20, 0xff, 0xf8, 0x1f, 0x34, 0xba, 0x59, 0x61, 0x6d, 0x99, 0xec, 0x52,
2208 0xb2, 0xd3, 0x36, 0x06, 0xb1, 0xe4, 0x0e, 0xa9, 0x85, 0x97, 0x5c, 0x76, 0x77, 0x28, 0x5b, 0x30,
2209 0x82, 0x02, 0xe9, 0x25, 0x7d, 0xcf, 0x7b, 0x9f, 0x5a, 0x14, 0xe8, 0x77, 0xc9, 0x43, 0xd1, 0xa7,
2210 0xbe, 0x16, 0x7d, 0xe8, 0x27, 0xc8, 0x73, 0x31, 0x67, 0x66, 0xc9, 0x5d, 0xee, 0xae, 0x24, 0xa6,
2211 0x01, 0xfa, 0x24, 0xed, 0x39, 0x67, 0x7e, 0xe7, 0x36, 0x73, 0xe6, 0xec, 0x59, 0x42, 0xfe, 0xdc,
2212 0xb6, 0xf8, 0x99, 0x5e, 0xeb, 0x3a, 0x36, 0xb7, 0xdd, 0xa2, 0x7c, 0x2a, 0xe0, 0x13, 0x99, 0x96,
2213 0x4f, 0xf9, 0xf5, 0x96, 0x6d, 0xb7, 0x2c, 0x56, 0xd4, 0xbb, 0x66, 0x51, 0xef, 0x74, 0x6c, 0xae,
2214 0x73, 0xd3, 0xee, 0xb8, 0x52, 0x2a, 0xbf, 0xa6, 0xb8, 0xf8, 0x54, 0xef, 0x35, 0x8b, 0xac, 0xdd,
2215 0xe5, 0x17, 0x8a, 0x99, 0x0b, 0xc2, 0xb7, 0x19, 0x57, 0xe0, 0xf9, 0x21, 0xc5, 0x0d, 0xbb, 0xdd,
2216 0xb6, 0x3b, 0xd1, 0xbc, 0x33, 0xa6, 0x5b, 0xfc, 0x4c, 0xf1, 0x68, 0x90, 0x67, 0xd9, 0x2d, 0xb3,
2217 0xa1, 0x5b, 0x35, 0x83, 0x9d, 0x9b, 0x0d, 0x16, 0xbd, 0x3e, 0xc0, 0x5b, 0x0b, 0xf2, 0x74, 0x43,
2218 0xef, 0x72, 0xe6, 0x28, 0xe6, 0xad, 0x20, 0xd3, 0xee, 0xb2, 0x4e, 0xd3, 0xb2, 0x5f, 0xd6, 0x3e,
2219 0xd8, 0x89, 0x11, 0x68, 0x37, 0xcc, 0x5a, 0xdb, 0xac, 0xd7, 0x8c, 0xba, 0x12, 0xd8, 0x8c, 0x10,
2220 0xd0, 0x2d, 0xdd, 0x69, 0x0f, 0x44, 0x6e, 0x06, 0x45, 0xd8, 0x2b, 0x5e, 0x6b, 0xd8, 0x9d, 0xa6,
2221 0xd9, 0x92, 0x7c, 0xfa, 0xa7, 0x04, 0x24, 0x0f, 0xd0, 0xe4, 0x23, 0xc7, 0xee, 0x75, 0xc9, 0x32,
2222 0x8c, 0x9b, 0x46, 0x2e, 0x71, 0x3b, 0xb1, 0x35, 0xb7, 0x37, 0xf5, 0xef, 0xef, 0xbf, 0xdb, 0x48,
2223 0x68, 0xe3, 0xa6, 0x41, 0x4a, 0xb0, 0x18, 0x74, 0xde, 0xcd, 0x8d, 0xdf, 0x9e, 0xd8, 0x4a, 0xde,
2224 0x5b, 0x2e, 0xa8, 0x2c, 0x3e, 0x96, 0x6c, 0x89, 0xb5, 0x37, 0xf7, 0xcf, 0xef, 0xbf, 0xdb, 0x98,
2225 0x14, 0x58, 0xda, 0x82, 0xe5, 0xe7, 0xb8, 0x64, 0x07, 0x66, 0x3c, 0x88, 0x09, 0x84, 0x58, 0xf0,
2226 0x20, 0xc2, 0x6b, 0x3d, 0x49, 0xfa, 0x7f, 0x90, 0xf2, 0x59, 0xe9, 0x92, 0x77, 0x61, 0xca, 0xe4,
2227 0xac, 0xed, 0xe6, 0x12, 0x08, 0x91, 0x0d, 0x42, 0xa0, 0x90, 0x26, 0x25, 0xe8, 0x1f, 0x13, 0x40,
2228 0x0e, 0xcf, 0x59, 0x87, 0x3f, 0x34, 0x2d, 0xce, 0x1c, 0xad, 0x67, 0xb1, 0x47, 0xec, 0x82, 0x7e,
2229 0x93, 0x80, 0xec, 0x10, 0xf9, 0xe4, 0xa2, 0xcb, 0xc8, 0x02, 0x40, 0x13, 0x29, 0x35, 0xdd, 0xb2,
2230 0xd2, 0x63, 0x24, 0x05, 0xb3, 0x0d, 0x9d, 0xb3, 0x96, 0xed, 0x5c, 0xa4, 0x13, 0x24, 0x0d, 0x29,
2231 0xb7, 0x57, 0xaf, 0xf5, 0x29, 0xe3, 0x84, 0xc0, 0xc2, 0x8b, 0xae, 0x59, 0x63, 0x02, 0xaa, 0xc6,
2232 0x2f, 0xba, 0x2c, 0x3d, 0x41, 0x96, 0x21, 0x23, 0x83, 0xec, 0x27, 0x4f, 0x0a, 0xb2, 0xf4, 0xc7,
2233 0x4f, 0x9e, 0xa2, 0x26, 0x2c, 0x0e, 0x19, 0x42, 0x3e, 0x83, 0x89, 0x17, 0xec, 0x02, 0xd3, 0xb0,
2234 0x70, 0xaf, 0xe0, 0x39, 0x17, 0xf6, 0xa2, 0x10, 0xe1, 0x81, 0x26, 0x96, 0x92, 0x25, 0x98, 0x3a,
2235 0xd7, 0xad, 0x1e, 0xcb, 0x8d, 0x8b, 0x54, 0x6a, 0xf2, 0x81, 0xfe, 0x25, 0x01, 0x49, 0xdf, 0x92,
2236 0xb8, 0x6c, 0xaf, 0xc0, 0x34, 0xeb, 0xe8, 0x75, 0x4b, 0xae, 0x9e, 0xd5, 0xd4, 0x13, 0x59, 0x83,
2237 0x39, 0xe5, 0x80, 0x69, 0xe4, 0x26, 0x10, 0x78, 0x56, 0x12, 0x4a, 0x06, 0xd9, 0x00, 0x18, 0xb8,
2238 0x95, 0x9b, 0x44, 0xee, 0x1c, 0x52, 0x30, 0xae, 0x77, 0x60, 0xca, 0xe9, 0x59, 0xcc, 0xcd, 0x4d,
2239 0x61, 0xc6, 0x56, 0x63, 0x9c, 0xd2, 0xa4, 0x14, 0xfd, 0x14, 0x52, 0x3e, 0x8e, 0x4b, 0xee, 0xc0,
2240 0x8c, 0x4c, 0x4b, 0x28, 0xe5, 0x7e, 0x00, 0x4f, 0x86, 0xbe, 0x80, 0xd4, 0xbe, 0xed, 0xb0, 0x52,
2241 0xc7, 0xe5, 0x7a, 0xa7, 0xc1, 0xc8, 0xdb, 0x90, 0x34, 0xd5, 0xff, 0xb5, 0x61, 0x8f, 0xc1, 0xe3,
2242 0x94, 0x0c, 0xb2, 0x03, 0xd3, 0xb2, 0x00, 0xa0, 0xe7, 0xc9, 0x7b, 0x4b, 0x9e, 0x96, 0xcf, 0x91,
2243 0x5a, 0xe5, 0x3a, 0xef, 0xb9, 0x7b, 0x53, 0x62, 0x87, 0x8e, 0x69, 0x4a, 0x94, 0x3e, 0x80, 0x79,
2244 0xbf, 0x32, 0x97, 0x6c, 0x07, 0x77, 0x67, 0x1f, 0xc4, 0x2f, 0xe5, 0x6d, 0xcf, 0x0f, 0x61, 0xb1,
2245 0xdc, 0x6e, 0x98, 0x27, 0xcc, 0xe5, 0x1a, 0xfb, 0x55, 0x8f, 0xb9, 0x9c, 0x2c, 0x0c, 0xb2, 0x82,
2246 0xe9, 0x20, 0x30, 0xd9, 0xeb, 0x99, 0x86, 0x4a, 0x25, 0xfe, 0x4f, 0x7f, 0x0d, 0x29, 0xb9, 0xc4,
2247 0xed, 0xda, 0x1d, 0x97, 0x91, 0x9f, 0xc0, 0xb4, 0xc3, 0xdc, 0x9e, 0xc5, 0xd5, 0xa6, 0x79, 0xc7,
2248 0xd3, 0xe9, 0x97, 0x0a, 0x3c, 0x68, 0x28, 0xae, 0xa9, 0x65, 0xb4, 0x00, 0x24, 0xcc, 0x25, 0x49,
2249 0x98, 0xa9, 0x9e, 0xee, 0xef, 0x1f, 0x56, 0xab, 0xe9, 0x31, 0xf1, 0xf0, 0x70, 0xb7, 0xf4, 0xf8,
2250 0x54, 0x3b, 0x4c, 0x27, 0xe8, 0x73, 0x98, 0x7d, 0x2a, 0xf6, 0x54, 0x95, 0x85, 0x0d, 0xfe, 0x18,
2251 0x52, 0xb2, 0x0c, 0xc9, 0x53, 0xa0, 0x62, 0x99, 0x2d, 0xa8, 0xca, 0xb3, 0x2b, 0x78, 0xfb, 0xf8,
2252 0xff, 0xe7, 0x63, 0x5a, 0x52, 0x1f, 0x3c, 0xee, 0xcd, 0xa8, 0x6d, 0x4b, 0xff, 0x31, 0x09, 0xd3,
2253 0x4f, 0xd1, 0x03, 0x72, 0x0b, 0x66, 0xce, 0x99, 0xe3, 0x9a, 0x76, 0x27, 0x98, 0x37, 0x8f, 0x4a,
2254 0x3e, 0x82, 0x59, 0x55, 0x59, 0xbd, 0xaa, 0xb4, 0xe8, 0x79, 0xbf, 0x2b, 0xe9, 0xfe, 0x9a, 0xd2,
2255 0x97, 0x8d, 0x2a, 0x6a, 0x13, 0xff, 0x7d, 0x51, 0x9b, 0xbc, 0x6e, 0x51, 0x23, 0x9f, 0x41, 0x4a,
2256 0x1d, 0x27, 0x71, 0x64, 0xbc, 0x93, 0x41, 0x82, 0x2b, 0xc5, 0xe1, 0xf1, 0xaf, 0x4e, 0x1a, 0x7d,
2257 0xb2, 0x4b, 0xf6, 0x61, 0x5e, 0x21, 0xb4, 0xb0, 0x2e, 0xe6, 0xa6, 0x63, 0xcb, 0xa1, 0x1f, 0x43,
2258 0xa9, 0x55, 0xb5, 0x74, 0x1f, 0xe6, 0xe5, 0xc1, 0xf5, 0x0e, 0xd8, 0x4c, 0xec, 0x01, 0x0b, 0x80,
2259 0x30, 0xff, 0xf9, 0xfc, 0x19, 0x64, 0x06, 0xf7, 0x93, 0xce, 0xf5, 0xba, 0xee, 0xb2, 0xdc, 0xba,
2260 0x02, 0x12, 0x9c, 0xc2, 0xb1, 0x59, 0x97, 0xe6, 0x1c, 0xe8, 0x5c, 0xdf, 0x4b, 0x0b, 0xa0, 0xa4,
2261 0xaf, 0x9e, 0x68, 0x8b, 0x42, 0x4a, 0x08, 0xa9, 0xd5, 0xe4, 0x19, 0x64, 0xfd, 0x37, 0x9a, 0x07,
2262 0xba, 0xa1, 0x52, 0x84, 0xa0, 0xb8, 0x95, 0x2e, 0x85, 0x45, 0xb3, 0xa4, 0x98, 0x42, 0xa0, 0x7f,
2263 0x4e, 0x40, 0xba, 0xca, 0xac, 0xe6, 0xf5, 0x0e, 0xd0, 0xb0, 0xa4, 0x9f, 0xe0, 0x3f, 0x40, 0x15,
2264 0x58, 0x08, 0x72, 0xe2, 0x0f, 0x0f, 0xc9, 0xc0, 0xfc, 0x93, 0xf2, 0x49, 0xad, 0x7a, 0x5a, 0xa9,
2265 0x94, 0xb5, 0x93, 0xc3, 0x83, 0xf4, 0xb8, 0x20, 0x9d, 0x3e, 0x79, 0xf4, 0xa4, 0xfc, 0xec, 0x49,
2266 0xed, 0x50, 0xd3, 0xca, 0x5a, 0x7a, 0x82, 0x96, 0x21, 0x53, 0x6e, 0xee, 0xb6, 0x58, 0x87, 0x57,
2267 0x7b, 0x75, 0xb7, 0xe1, 0x98, 0x75, 0xe6, 0x88, 0x32, 0x6b, 0x37, 0x75, 0x41, 0xec, 0x17, 0x32,
2268 0x6d, 0x4e, 0x51, 0x4a, 0x86, 0x28, 0xd1, 0xea, 0xc6, 0xef, 0x17, 0x8c, 0x59, 0x49, 0x28, 0x19,
2269 0xf4, 0x01, 0xc0, 0x31, 0x6b, 0xd7, 0x99, 0xe3, 0x9e, 0x99, 0x5d, 0x81, 0x84, 0xbb, 0xa6, 0xd6,
2270 0xd1, 0xdb, 0xcc, 0x43, 0x42, 0xca, 0x13, 0xbd, 0xcd, 0xd4, 0xa1, 0x1e, 0xf7, 0x0e, 0x35, 0x3d,
2271 0x84, 0xd4, 0x43, 0xcb, 0x7e, 0x79, 0xcc, 0xb8, 0x2e, 0x72, 0x41, 0x3e, 0x84, 0xe9, 0x36, 0xf3,
2272 0x15, 0xe4, 0x8d, 0x82, 0xbf, 0x83, 0xb1, 0x9b, 0xdd, 0x1a, 0xb2, 0x55, 0x0d, 0xd0, 0x94, 0xf0,
2273 0xbd, 0xbf, 0xdd, 0x85, 0x79, 0x79, 0xb0, 0xab, 0xcc, 0x11, 0x49, 0x22, 0xcf, 0x60, 0xfe, 0x88,
2274 0x71, 0x9f, 0x61, 0x2b, 0x05, 0xd9, 0xe5, 0x15, 0xbc, 0x2e, 0xaf, 0x70, 0x28, 0xba, 0xbc, 0x7c,
2275 0xff, 0x64, 0x0c, 0x64, 0x69, 0xfe, 0xeb, 0xbf, 0xff, 0xeb, 0xdb, 0xf1, 0x25, 0x42, 0xb0, 0x61,
2276 0x3c, 0xff, 0xa0, 0xd8, 0x1e, 0xe0, 0x3c, 0x87, 0xf4, 0x69, 0xd7, 0xd0, 0x39, 0xf3, 0x61, 0x47,
2277 0x60, 0xe4, 0x63, 0xf4, 0xd1, 0x0d, 0xc4, 0x5e, 0xa5, 0x11, 0xd8, 0x9f, 0x24, 0xb6, 0xc9, 0x01,
2278 0xcc, 0x1d, 0x31, 0xae, 0x8a, 0x54, 0x9c, 0xcd, 0xfd, 0x3a, 0x20, 0xe5, 0xe8, 0x22, 0x62, 0xce,
2279 0x91, 0x19, 0x85, 0x49, 0x9e, 0x43, 0xe6, 0xb1, 0xe9, 0xf2, 0xe0, 0x05, 0x12, 0x87, 0xb6, 0x1c,
2280 0x75, 0x93, 0xb8, 0xf4, 0x06, 0x82, 0x66, 0x49, 0xc6, 0x33, 0xd4, 0xec, 0x23, 0x55, 0x61, 0xf1,
2281 0x88, 0x05, 0xd0, 0x09, 0x14, 0x54, 0xff, 0x5b, 0x3a, 0xc8, 0x47, 0x5e, 0x4d, 0xf4, 0x26, 0xe2,
2282 0xe5, 0xc8, 0x4a, 0x08, 0xaf, 0xf8, 0xda, 0x34, 0xbe, 0x22, 0x1a, 0xa4, 0x84, 0xcd, 0xbb, 0x5e,
2283 0x21, 0x8d, 0x33, 0x37, 0x3d, 0x54, 0x86, 0x5d, 0x9a, 0x43, 0x64, 0x42, 0xd2, 0x1e, 0x72, 0xbf,
2284 0x18, 0x33, 0x20, 0x02, 0xf3, 0x71, 0xb0, 0xae, 0xc6, 0x21, 0xaf, 0x44, 0x56, 0x68, 0x97, 0xde,
2285 0x42, 0xfc, 0x1b, 0x64, 0xd5, 0xc3, 0x1f, 0x2a, 0xf0, 0xe4, 0x97, 0x90, 0x3e, 0x62, 0x41, 0x2d,
2286 0x81, 0x80, 0x44, 0x97, 0x7e, 0xfa, 0x26, 0xe2, 0xde, 0x24, 0xeb, 0x31, 0xb8, 0x32, 0x2e, 0x4d,
2287 0x58, 0x09, 0xf9, 0x50, 0xb1, 0x1d, 0xee, 0x46, 0xc7, 0x5c, 0xc9, 0xa1, 0x04, 0xdd, 0x46, 0x0d,
2288 0x6f, 0x12, 0x7a, 0x99, 0x86, 0x62, 0x17, 0xd1, 0x5e, 0xc1, 0xd2, 0xb0, 0x13, 0x02, 0x84, 0x2c,
2289 0x47, 0x20, 0x97, 0x8c, 0x7c, 0x36, 0x82, 0x4c, 0xef, 0xa3, 0xbe, 0x02, 0x79, 0xff, 0x6a, 0x7d,
2290 0xc5, 0xd7, 0xe2, 0x4f, 0x4d, 0x78, 0xf8, 0xbb, 0x04, 0xac, 0x1e, 0x62, 0x33, 0x78, 0x6d, 0xed,
2291 0x71, 0xa7, 0xeb, 0x01, 0x1a, 0xf0, 0x21, 0xdd, 0x19, 0xc5, 0x80, 0xa2, 0xea, 0x44, 0xbf, 0x49,
2292 0x40, 0xee, 0xc0, 0x74, 0x7f, 0x14, 0x43, 0xfe, 0x1f, 0x0d, 0xf9, 0x88, 0xde, 0x1f, 0xc9, 0x10,
2293 0x43, 0x6a, 0x27, 0x46, 0x44, 0xce, 0x45, 0x9d, 0x0c, 0xe6, 0x9c, 0x04, 0x8a, 0x23, 0xf2, 0xaf,
2294 0x99, 0xf1, 0x26, 0x62, 0xfd, 0x26, 0x01, 0xeb, 0xb2, 0x96, 0x85, 0x14, 0x9d, 0xa0, 0x19, 0xeb,
2295 0x21, 0x05, 0x48, 0x97, 0x6b, 0x62, 0x5d, 0xbf, 0x83, 0x26, 0xbc, 0x43, 0xaf, 0x61, 0x82, 0xa8,
2296 0x78, 0xbf, 0x4d, 0xc0, 0x46, 0x84, 0x15, 0xc7, 0xa2, 0xb2, 0x4b, 0x33, 0xd6, 0x02, 0x66, 0x20,
2297 0xe3, 0xd8, 0x36, 0xae, 0xb0, 0xa2, 0x80, 0x56, 0x6c, 0xd1, 0x37, 0x2e, 0xb5, 0x42, 0xde, 0x1f,
2298 0xc2, 0x8c, 0x16, 0xac, 0x86, 0x42, 0x8e, 0xaa, 0x82, 0x31, 0xcf, 0x86, 0x6d, 0x71, 0xe9, 0x7b,
2299 0xa8, 0xeb, 0x2d, 0x72, 0x1d, 0x5d, 0x84, 0xc3, 0x5a, 0x64, 0x6e, 0x55, 0xe3, 0xe4, 0x57, 0xb6,
2300 0x1a, 0x8a, 0xbf, 0x14, 0xa2, 0x77, 0x51, 0xe1, 0x36, 0xd9, 0xba, 0x32, 0xc4, 0xaa, 0x87, 0x23,
2301 0xdf, 0x26, 0x60, 0x33, 0x26, 0xd7, 0x88, 0x29, 0x23, 0xbd, 0x19, 0xad, 0xf0, 0x3a, 0x59, 0xdf,
2302 0x41, 0x93, 0xee, 0xd0, 0x6b, 0x9b, 0x24, 0x82, 0x5e, 0x86, 0xa4, 0x88, 0xc5, 0x55, 0x85, 0x79,
2303 0x31, 0xd8, 0x7a, 0xba, 0x74, 0x15, 0x95, 0x65, 0xc8, 0xa2, 0xa7, 0xcc, 0xab, 0xc4, 0x65, 0x98,
2304 0x1f, 0x00, 0x96, 0x8c, 0x78, 0xc8, 0xe4, 0x20, 0xcc, 0x11, 0x57, 0x9d, 0x84, 0x33, 0x0d, 0x97,
2305 0x9c, 0x42, 0x5a, 0x63, 0x0d, 0xbb, 0xd3, 0x30, 0x2d, 0xe6, 0x99, 0xe9, 0x5f, 0x1b, 0x1b, 0x8f,
2306 0x75, 0xc4, 0x5c, 0xa1, 0x61, 0x4c, 0xe1, 0xf8, 0x21, 0x5e, 0xf3, 0x11, 0x57, 0xc5, 0x50, 0x8b,
2307 0xef, 0xc1, 0x90, 0xa5, 0x21, 0x4f, 0xe5, 0xdd, 0xf0, 0x53, 0x48, 0xed, 0x3b, 0x4c, 0xe7, 0xca,
2308 0x34, 0x32, 0xb4, 0x3a, 0x84, 0xa6, 0x1a, 0x1b, 0x3a, 0x1c, 0x37, 0x61, 0xd2, 0x33, 0x48, 0xc9,
2309 0x22, 0x1c, 0x61, 0x55, 0x9c, 0x93, 0x6f, 0x20, 0xde, 0x06, 0x5d, 0x8b, 0xb2, 0xce, 0x2b, 0xab,
2310 0x3f, 0x87, 0x79, 0x55, 0x55, 0x47, 0x40, 0x56, 0x77, 0x23, 0x5d, 0x8f, 0x44, 0xf6, 0xea, 0xe4,
2311 0x33, 0x48, 0x69, 0xac, 0x6e, 0xdb, 0xfc, 0x47, 0xb3, 0xd9, 0x41, 0x38, 0x01, 0x7c, 0xc0, 0x2c,
2312 0xc6, 0x7f, 0x40, 0x30, 0xb6, 0xa3, 0x81, 0x0d, 0x84, 0x23, 0x75, 0xc8, 0x3c, 0xb4, 0x9d, 0x06,
2313 0x1b, 0x19, 0xfd, 0x5d, 0x44, 0x7f, 0x63, 0x7b, 0x33, 0x12, 0xbd, 0x29, 0x30, 0x6b, 0x4a, 0x47,
2314 0x0f, 0xe6, 0x0f, 0xec, 0x97, 0x1d, 0xcb, 0xd6, 0x8d, 0x52, 0x5b, 0x6f, 0xb1, 0xc1, 0xdd, 0x85,
2315 0x8f, 0x1e, 0x2f, 0xbf, 0xec, 0xa9, 0x2d, 0x77, 0x99, 0x83, 0x13, 0x51, 0xf1, 0x3a, 0x42, 0x3f,
2316 0x42, 0x4d, 0x77, 0xe9, 0x7b, 0x91, 0x9a, 0x4c, 0x01, 0x51, 0x33, 0x14, 0x86, 0x5b, 0x7c, 0x2d,
2317 0x1a, 0xfd, 0xaf, 0xc4, 0x06, 0xfa, 0x3a, 0x01, 0x2b, 0x47, 0x8c, 0x07, 0x74, 0xc8, 0xd9, 0x46,
2318 0xbc, 0x01, 0x51, 0x64, 0xfa, 0x09, 0x1a, 0x70, 0x9f, 0xdc, 0x1b, 0xc1, 0x80, 0xa2, 0x2b, 0x35,
2319 0xf5, 0xb0, 0x15, 0x0b, 0xe0, 0x8d, 0xa8, 0x5d, 0x15, 0x32, 0x32, 0x8a, 0xfb, 0xa4, 0x29, 0x1b,
2320 0xcd, 0x00, 0x92, 0x3b, 0x94, 0xd7, 0x28, 0x6d, 0x2e, 0x7d, 0x1f, 0xd5, 0xbd, 0x4d, 0xde, 0xbc,
2321 0x8e, 0x3a, 0xf2, 0x0a, 0xb2, 0xfb, 0xa2, 0x67, 0xb6, 0xae, 0xe9, 0x61, 0x64, 0x82, 0x95, 0x87,
2322 0xdb, 0x23, 0x79, 0xf8, 0x87, 0x04, 0x64, 0x77, 0x1b, 0xdc, 0x3c, 0xd7, 0x39, 0x43, 0x2d, 0xf2,
2323 0x3e, 0x18, 0x51, 0xf5, 0x3e, 0xaa, 0xfe, 0x94, 0x7e, 0x3c, 0x4a, 0x6a, 0x25, 0xb9, 0x87, 0xfa,
2324 0xc4, 0x46, 0xfb, 0x7d, 0x02, 0x32, 0x1a, 0x3b, 0x67, 0x0e, 0xff, 0x9f, 0x18, 0xe2, 0xa0, 0x6a,
2325 0x61, 0x48, 0x05, 0x16, 0x07, 0xb7, 0x4d, 0xb8, 0x27, 0x9f, 0xf7, 0x2c, 0x92, 0xcd, 0x38, 0x45,
2326 0x95, 0xeb, 0x24, 0x1f, 0xa9, 0x52, 0x36, 0xe1, 0xcf, 0x21, 0xeb, 0x43, 0x54, 0x03, 0xac, 0x20,
2327 0x6a, 0xa6, 0x8f, 0xea, 0xb1, 0xe9, 0x3b, 0x88, 0xbc, 0x49, 0x6e, 0x45, 0x23, 0x7b, 0x23, 0x33,
2328 0x97, 0x74, 0x60, 0x59, 0x46, 0x6b, 0x58, 0x41, 0x18, 0x34, 0xb6, 0x10, 0xa9, 0x0e, 0x93, 0x5e,
2329 0xa5, 0x4c, 0x04, 0xe8, 0xd4, 0x1f, 0xa0, 0xeb, 0x35, 0xb0, 0x97, 0x47, 0x49, 0x36, 0xae, 0x0c,
2330 0x96, 0x82, 0xb0, 0xa3, 0xf4, 0x4e, 0x5b, 0xa8, 0x80, 0x92, 0xdb, 0xb1, 0x0a, 0xbc, 0x9e, 0xe9,
2331 0x4b, 0xbf, 0xf5, 0x72, 0x36, 0x16, 0xd7, 0x4e, 0x64, 0xc3, 0xf3, 0x35, 0x37, 0xee, 0xee, 0x96,
2332 0x83, 0x39, 0xa2, 0xe1, 0x84, 0x62, 0x20, 0x3f, 0x14, 0x99, 0x10, 0x1e, 0xdd, 0x44, 0xb8, 0x35,
2333 0x72, 0x23, 0x0a, 0x4e, 0xf6, 0x03, 0x35, 0x48, 0x0f, 0x2c, 0x56, 0x41, 0x89, 0x33, 0x79, 0x29,
2334 0x62, 0x9e, 0xe7, 0x7a, 0xe3, 0x09, 0xb2, 0x3c, 0xa4, 0x44, 0x85, 0xe4, 0x21, 0xa4, 0xab, 0xdc,
2335 0x61, 0x7a, 0xbb, 0xa2, 0x37, 0x5e, 0x30, 0xee, 0x96, 0x7b, 0x9c, 0xac, 0x04, 0x22, 0x2d, 0x19,
2336 0xe5, 0x1e, 0x8f, 0xdd, 0x40, 0x63, 0x5b, 0x09, 0x72, 0x88, 0x6d, 0x15, 0x33, 0xcf, 0x99, 0x02,
2337 0x2a, 0x75, 0x2e, 0x99, 0x4f, 0x84, 0xf1, 0x4b, 0x1d, 0x3a, 0x76, 0x37, 0x41, 0x1e, 0x41, 0x56,
2338 0xc1, 0xec, 0x9f, 0xe9, 0x9d, 0x16, 0xc3, 0xa9, 0x62, 0xbc, 0xcb, 0xb9, 0x00, 0x92, 0x6f, 0x09,
2339 0x82, 0x9d, 0xc2, 0x42, 0x3f, 0x21, 0xf2, 0xbb, 0x55, 0xb0, 0xf1, 0x0f, 0x87, 0x2b, 0x6e, 0xb3,
2340 0xaa, 0x68, 0x79, 0x39, 0xc9, 0xc8, 0x1e, 0xcd, 0xff, 0x8d, 0x24, 0x6a, 0x0e, 0x9a, 0x8f, 0x22,
2341 0xd2, 0xdb, 0xa8, 0x22, 0x4f, 0xfb, 0x09, 0x09, 0x8c, 0x55, 0xc5, 0x21, 0x7b, 0x8a, 0x76, 0xfb,
2342 0xd1, 0x23, 0x07, 0x03, 0xfe, 0x2f, 0x1f, 0x61, 0xc3, 0x03, 0xa8, 0xd2, 0x70, 0x03, 0x32, 0xb2,
2343 0x58, 0xfc, 0x30, 0xc3, 0xdf, 0x42, 0x15, 0xb7, 0xf2, 0x97, 0xa8, 0x10, 0xd6, 0x1b, 0x90, 0x91,
2344 0xbd, 0xd0, 0x95, 0x5a, 0xe2, 0xf6, 0x93, 0xf2, 0x65, 0xfb, 0x32, 0x5f, 0xd4, 0xc1, 0x08, 0x7c,
2345 0xfd, 0xb9, 0xf2, 0x60, 0x04, 0x22, 0x16, 0x3a, 0x18, 0x01, 0x2d, 0xe4, 0x31, 0x36, 0xf4, 0x78,
2346 0xf5, 0xb8, 0xd1, 0x0d, 0xbd, 0xe4, 0x79, 0x5d, 0x22, 0x59, 0x8b, 0xbf, 0x78, 0x5c, 0xf2, 0x05,
2347 0xcc, 0x7a, 0x63, 0xdf, 0x00, 0x58, 0x2e, 0x6e, 0x7e, 0x4c, 0xdf, 0x46, 0xd8, 0xdb, 0xf4, 0x66,
2348 0x24, 0xac, 0xcb, 0xac, 0x66, 0x8d, 0x0b, 0xb4, 0xa7, 0xd8, 0x1f, 0x05, 0xc6, 0xe6, 0xc3, 0xef,
2349 0xb7, 0xa1, 0xb9, 0x7a, 0xb8, 0xf2, 0x88, 0x63, 0x24, 0xe4, 0xd4, 0x8b, 0xad, 0x59, 0x27, 0x5f,
2350 0x02, 0x39, 0x62, 0x7c, 0x68, 0x72, 0x3e, 0x34, 0x04, 0x8b, 0x1a, 0xae, 0x87, 0xe3, 0x11, 0xc4,
2351 0xc6, 0x39, 0x3d, 0x71, 0x61, 0xbe, 0x6a, 0xb6, 0x7b, 0x96, 0xce, 0x19, 0xae, 0x27, 0xeb, 0xfd,
2352 0x40, 0xf8, 0xc9, 0xea, 0x5b, 0x57, 0xdc, 0x9d, 0x1f, 0x1a, 0x4c, 0x04, 0x63, 0xa4, 0x90, 0x6a,
2353 0x02, 0x49, 0xec, 0xcc, 0x7d, 0x98, 0xeb, 0x8f, 0xc8, 0xc9, 0x0d, 0x4f, 0x61, 0x68, 0x78, 0x9e,
2354 0x8f, 0x67, 0xd1, 0x31, 0x72, 0x0c, 0x20, 0xdf, 0xaa, 0x70, 0x88, 0x94, 0xf2, 0x77, 0x04, 0xb1,
2355 0x1b, 0x5a, 0xbd, 0x8e, 0xd2, 0x05, 0x61, 0xe3, 0x60, 0xb5, 0x7a, 0x61, 0x56, 0xef, 0x52, 0x23,
2356 0xe0, 0x0d, 0xde, 0xfa, 0xce, 0x3f, 0x28, 0xfa, 0x96, 0x0b, 0xc0, 0x2f, 0x20, 0x29, 0x8a, 0xc7,
2357 0x2b, 0x8e, 0xdf, 0xdd, 0xc8, 0x8a, 0x17, 0x39, 0xf9, 0x19, 0xae, 0xcb, 0x1a, 0x66, 0xd3, 0x64,
2358 0x4e, 0x7e, 0xc9, 0xa3, 0x6b, 0x8c, 0xf7, 0x9c, 0x0e, 0x72, 0x5d, 0xba, 0x86, 0xc0, 0xcb, 0x24,
2359 0xeb, 0x05, 0xd4, 0x0f, 0x75, 0x02, 0xc9, 0xaa, 0xef, 0xb1, 0x3f, 0xb6, 0xf5, 0x3e, 0xf0, 0xc5,
2360 0x9a, 0x1b, 0x42, 0xf5, 0xc3, 0x9c, 0x41, 0xb6, 0xca, 0x75, 0x87, 0x7b, 0x9f, 0x37, 0x45, 0x4b,
2361 0x6a, 0x77, 0x48, 0xff, 0xcb, 0xef, 0xd0, 0x67, 0xcf, 0xc1, 0x61, 0x0e, 0x9c, 0x16, 0x55, 0x32,
2362 0x68, 0x7f, 0xa2, 0xeb, 0x0a, 0xcc, 0x1a, 0x7e, 0x19, 0x12, 0xc7, 0xe4, 0x93, 0xc4, 0xf6, 0x9e,
2363 0x05, 0x59, 0xdb, 0x69, 0xe1, 0x8d, 0xd1, 0xb0, 0x1d, 0x43, 0xe1, 0xec, 0xa5, 0xe4, 0xcc, 0xbd,
2364 0x82, 0x3f, 0x7d, 0xf8, 0x45, 0xa1, 0x65, 0xf2, 0xb3, 0x5e, 0x5d, 0x44, 0xa7, 0xe8, 0x49, 0xaa,
2365 0x9f, 0xa0, 0xdc, 0xf1, 0x7e, 0x90, 0x72, 0xbf, 0xd8, 0xb2, 0x15, 0xed, 0xaf, 0xe3, 0x2b, 0x65,
2366 0x0f, 0xef, 0xa9, 0x7f, 0x84, 0x5f, 0x19, 0xaf, 0x4c, 0x54, 0x26, 0x2b, 0x53, 0x95, 0xe9, 0xca,
2367 0x4c, 0x65, 0xb6, 0x3e, 0x8d, 0x6b, 0x77, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x0e, 0xe5,
2368 0xbc, 0xdc, 0x22, 0x00, 0x00,
Don Newton98fd8812019-09-23 15:15:02 -04002369}
2370
2371// Reference imports to suppress errors if they are not otherwise used.
2372var _ context.Context
2373var _ grpc.ClientConn
2374
2375// This is a compile-time assertion to ensure that this generated file
2376// is compatible with the grpc package it is being compiled against.
2377const _ = grpc.SupportPackageIsVersion4
2378
2379// VolthaServiceClient is the client API for VolthaService service.
2380//
2381// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2382type VolthaServiceClient interface {
Don Newton98fd8812019-09-23 15:15:02 -04002383 // Get the membership group of a Voltha Core
2384 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2385 // Set the membership group of a Voltha Core
2386 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2387 // Get high level information on the Voltha cluster
2388 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2389 // List all Voltha cluster core instances
2390 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2391 // Get details on a Voltha cluster instance
2392 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2393 // List all active adapters (plugins) in the Voltha cluster
2394 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2395 // List all logical devices managed by the Voltha cluster
2396 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2397 // Get additional information on a given logical device
2398 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2399 // List ports of a logical device
2400 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2401 // Gets a logical device port
2402 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2403 // Enables a logical device port
2404 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2405 // Disables a logical device port
2406 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2407 // List all flows of a logical device
2408 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2409 // Update flow table for logical device
2410 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2411 // Update meter table for logical device
2412 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2413 // List all meters of a logical device
2414 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
2415 // List all flow groups of a logical device
2416 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2417 // Update group table for device
2418 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2419 // List all physical devices controlled by the Voltha cluster
2420 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2421 // List all physical devices IDs controlled by the Voltha cluster
2422 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2423 // Request to a voltha Core to reconcile a set of devices based on their IDs
2424 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2425 // Get more information on a given physical device
2426 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2427 // Pre-provision a new physical device
2428 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2429 // Enable a device. If the device was in pre-provisioned state then it
2430 // will transition to ENABLED state. If it was is DISABLED state then it
2431 // will transition to ENABLED state as well.
2432 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2433 // Disable a device
2434 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2435 // Reboot a device
2436 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2437 // Delete a device
2438 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Maninder12b909f2020-10-23 14:23:36 +05302439 // Forcefully delete a device
2440 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Don Newton98fd8812019-09-23 15:15:02 -04002441 // Request an image download to the standby partition
2442 // of a device.
2443 // Note that the call is expected to be non-blocking.
2444 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2445 // Get image download status on a device
2446 // The request retrieves progress on device and updates db record
2447 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2448 // Get image download db record
2449 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2450 // List image download db records for a given device
2451 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2452 // Cancel an existing image download process on a device
2453 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2454 // Activate the specified image at a standby partition
2455 // to active partition.
2456 // Depending on the device implementation, this call
2457 // may or may not cause device reboot.
2458 // If no reboot, then a reboot is required to make the
2459 // activated image running on device
2460 // Note that the call is expected to be non-blocking.
2461 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2462 // Revert the specified image at standby partition
2463 // to active partition, and revert to previous image
2464 // Depending on the device implementation, this call
2465 // may or may not cause device reboot.
2466 // If no reboot, then a reboot is required to make the
2467 // previous image running on device
2468 // Note that the call is expected to be non-blocking.
2469 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2470 // List ports of a device
2471 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2472 // List pm config of a device
2473 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2474 // Update the pm config of a device
2475 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2476 // List all flows of a device
2477 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2478 // List all flow groups of a device
2479 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2480 // List device types known to Voltha
2481 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2482 // Get additional information on a device type
2483 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2484 // List all device sharding groups
2485 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2486 // Stream control packets to the dataplane
2487 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2488 // Receive control packet stream
2489 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2490 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2491 // Get additional information on a device group
2492 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Don Newtonb437c6f2019-12-18 11:51:57 -05002493 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2494 // Get all filters present for a device
2495 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2496 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2497 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2498 // Get all the filters present
2499 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
Don Newton98fd8812019-09-23 15:15:02 -04002500 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2501 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2502 // OpenOMCI MIB information
2503 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2504 // OpenOMCI ALARM information
2505 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2506 // Simulate an Alarm
2507 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2508 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
divyadesai81bb7ba2020-03-11 11:45:23 +00002509 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2510 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
Neha Sharma87d43d72020-04-08 14:10:40 +00002511 GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error)
Maninder12b909f2020-10-23 14:23:36 +05302512 SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
Rohan Agrawal00d3a412020-04-22 10:51:39 +00002513 // omci start and stop cli implementation
2514 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
Don Newton98fd8812019-09-23 15:15:02 -04002515}
2516
2517type volthaServiceClient struct {
2518 cc *grpc.ClientConn
2519}
2520
2521func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2522 return &volthaServiceClient{cc}
2523}
2524
Don Newton98fd8812019-09-23 15:15:02 -04002525func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2526 out := new(Membership)
2527 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2528 if err != nil {
2529 return nil, err
2530 }
2531 return out, nil
2532}
2533
2534func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2535 out := new(empty.Empty)
2536 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2537 if err != nil {
2538 return nil, err
2539 }
2540 return out, nil
2541}
2542
2543func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2544 out := new(Voltha)
2545 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2546 if err != nil {
2547 return nil, err
2548 }
2549 return out, nil
2550}
2551
2552func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2553 out := new(CoreInstances)
2554 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2555 if err != nil {
2556 return nil, err
2557 }
2558 return out, nil
2559}
2560
2561func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2562 out := new(CoreInstance)
2563 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2564 if err != nil {
2565 return nil, err
2566 }
2567 return out, nil
2568}
2569
2570func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2571 out := new(Adapters)
2572 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2573 if err != nil {
2574 return nil, err
2575 }
2576 return out, nil
2577}
2578
2579func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2580 out := new(LogicalDevices)
2581 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2582 if err != nil {
2583 return nil, err
2584 }
2585 return out, nil
2586}
2587
2588func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2589 out := new(LogicalDevice)
2590 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2591 if err != nil {
2592 return nil, err
2593 }
2594 return out, nil
2595}
2596
2597func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2598 out := new(LogicalPorts)
2599 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2600 if err != nil {
2601 return nil, err
2602 }
2603 return out, nil
2604}
2605
2606func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2607 out := new(LogicalPort)
2608 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2609 if err != nil {
2610 return nil, err
2611 }
2612 return out, nil
2613}
2614
2615func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2616 out := new(empty.Empty)
2617 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2618 if err != nil {
2619 return nil, err
2620 }
2621 return out, nil
2622}
2623
2624func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2625 out := new(empty.Empty)
2626 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2627 if err != nil {
2628 return nil, err
2629 }
2630 return out, nil
2631}
2632
2633func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2634 out := new(openflow_13.Flows)
2635 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2636 if err != nil {
2637 return nil, err
2638 }
2639 return out, nil
2640}
2641
2642func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2643 out := new(empty.Empty)
2644 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2645 if err != nil {
2646 return nil, err
2647 }
2648 return out, nil
2649}
2650
2651func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2652 out := new(empty.Empty)
2653 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2654 if err != nil {
2655 return nil, err
2656 }
2657 return out, nil
2658}
2659
2660func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2661 out := new(openflow_13.Meters)
2662 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
2663 if err != nil {
2664 return nil, err
2665 }
2666 return out, nil
2667}
2668
2669func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2670 out := new(openflow_13.FlowGroups)
2671 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2672 if err != nil {
2673 return nil, err
2674 }
2675 return out, nil
2676}
2677
2678func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2679 out := new(empty.Empty)
2680 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2681 if err != nil {
2682 return nil, err
2683 }
2684 return out, nil
2685}
2686
2687func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2688 out := new(Devices)
2689 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2690 if err != nil {
2691 return nil, err
2692 }
2693 return out, nil
2694}
2695
2696func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2697 out := new(common.IDs)
2698 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2699 if err != nil {
2700 return nil, err
2701 }
2702 return out, nil
2703}
2704
2705func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2706 out := new(empty.Empty)
2707 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2708 if err != nil {
2709 return nil, err
2710 }
2711 return out, nil
2712}
2713
2714func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2715 out := new(Device)
2716 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2717 if err != nil {
2718 return nil, err
2719 }
2720 return out, nil
2721}
2722
2723func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2724 out := new(Device)
2725 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2726 if err != nil {
2727 return nil, err
2728 }
2729 return out, nil
2730}
2731
2732func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2733 out := new(empty.Empty)
2734 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2735 if err != nil {
2736 return nil, err
2737 }
2738 return out, nil
2739}
2740
2741func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2742 out := new(empty.Empty)
2743 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2744 if err != nil {
2745 return nil, err
2746 }
2747 return out, nil
2748}
2749
2750func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2751 out := new(empty.Empty)
2752 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2753 if err != nil {
2754 return nil, err
2755 }
2756 return out, nil
2757}
2758
2759func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2760 out := new(empty.Empty)
2761 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2762 if err != nil {
2763 return nil, err
2764 }
2765 return out, nil
2766}
2767
Maninder12b909f2020-10-23 14:23:36 +05302768func (c *volthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2769 out := new(empty.Empty)
2770 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ForceDeleteDevice", in, out, opts...)
2771 if err != nil {
2772 return nil, err
2773 }
2774 return out, nil
2775}
2776
Don Newton98fd8812019-09-23 15:15:02 -04002777func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2778 out := new(common.OperationResp)
2779 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2780 if err != nil {
2781 return nil, err
2782 }
2783 return out, nil
2784}
2785
2786func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2787 out := new(ImageDownload)
2788 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2789 if err != nil {
2790 return nil, err
2791 }
2792 return out, nil
2793}
2794
2795func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2796 out := new(ImageDownload)
2797 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2798 if err != nil {
2799 return nil, err
2800 }
2801 return out, nil
2802}
2803
2804func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2805 out := new(ImageDownloads)
2806 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2807 if err != nil {
2808 return nil, err
2809 }
2810 return out, nil
2811}
2812
2813func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2814 out := new(common.OperationResp)
2815 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2816 if err != nil {
2817 return nil, err
2818 }
2819 return out, nil
2820}
2821
2822func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2823 out := new(common.OperationResp)
2824 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2825 if err != nil {
2826 return nil, err
2827 }
2828 return out, nil
2829}
2830
2831func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2832 out := new(common.OperationResp)
2833 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2834 if err != nil {
2835 return nil, err
2836 }
2837 return out, nil
2838}
2839
2840func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2841 out := new(Ports)
2842 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2843 if err != nil {
2844 return nil, err
2845 }
2846 return out, nil
2847}
2848
2849func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2850 out := new(PmConfigs)
2851 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2852 if err != nil {
2853 return nil, err
2854 }
2855 return out, nil
2856}
2857
2858func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2859 out := new(empty.Empty)
2860 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2861 if err != nil {
2862 return nil, err
2863 }
2864 return out, nil
2865}
2866
2867func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2868 out := new(openflow_13.Flows)
2869 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2870 if err != nil {
2871 return nil, err
2872 }
2873 return out, nil
2874}
2875
2876func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2877 out := new(openflow_13.FlowGroups)
2878 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2879 if err != nil {
2880 return nil, err
2881 }
2882 return out, nil
2883}
2884
2885func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2886 out := new(DeviceTypes)
2887 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2888 if err != nil {
2889 return nil, err
2890 }
2891 return out, nil
2892}
2893
2894func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2895 out := new(DeviceType)
2896 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2897 if err != nil {
2898 return nil, err
2899 }
2900 return out, nil
2901}
2902
2903func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2904 out := new(DeviceGroups)
2905 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2906 if err != nil {
2907 return nil, err
2908 }
2909 return out, nil
2910}
2911
2912func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2913 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2914 if err != nil {
2915 return nil, err
2916 }
2917 x := &volthaServiceStreamPacketsOutClient{stream}
2918 return x, nil
2919}
2920
2921type VolthaService_StreamPacketsOutClient interface {
2922 Send(*openflow_13.PacketOut) error
2923 CloseAndRecv() (*empty.Empty, error)
2924 grpc.ClientStream
2925}
2926
2927type volthaServiceStreamPacketsOutClient struct {
2928 grpc.ClientStream
2929}
2930
2931func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2932 return x.ClientStream.SendMsg(m)
2933}
2934
2935func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2936 if err := x.ClientStream.CloseSend(); err != nil {
2937 return nil, err
2938 }
2939 m := new(empty.Empty)
2940 if err := x.ClientStream.RecvMsg(m); err != nil {
2941 return nil, err
2942 }
2943 return m, nil
2944}
2945
2946func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2947 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2948 if err != nil {
2949 return nil, err
2950 }
2951 x := &volthaServiceReceivePacketsInClient{stream}
2952 if err := x.ClientStream.SendMsg(in); err != nil {
2953 return nil, err
2954 }
2955 if err := x.ClientStream.CloseSend(); err != nil {
2956 return nil, err
2957 }
2958 return x, nil
2959}
2960
2961type VolthaService_ReceivePacketsInClient interface {
2962 Recv() (*openflow_13.PacketIn, error)
2963 grpc.ClientStream
2964}
2965
2966type volthaServiceReceivePacketsInClient struct {
2967 grpc.ClientStream
2968}
2969
2970func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2971 m := new(openflow_13.PacketIn)
2972 if err := x.ClientStream.RecvMsg(m); err != nil {
2973 return nil, err
2974 }
2975 return m, nil
2976}
2977
2978func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2979 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2980 if err != nil {
2981 return nil, err
2982 }
2983 x := &volthaServiceReceiveChangeEventsClient{stream}
2984 if err := x.ClientStream.SendMsg(in); err != nil {
2985 return nil, err
2986 }
2987 if err := x.ClientStream.CloseSend(); err != nil {
2988 return nil, err
2989 }
2990 return x, nil
2991}
2992
2993type VolthaService_ReceiveChangeEventsClient interface {
2994 Recv() (*openflow_13.ChangeEvent, error)
2995 grpc.ClientStream
2996}
2997
2998type volthaServiceReceiveChangeEventsClient struct {
2999 grpc.ClientStream
3000}
3001
3002func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
3003 m := new(openflow_13.ChangeEvent)
3004 if err := x.ClientStream.RecvMsg(m); err != nil {
3005 return nil, err
3006 }
3007 return m, nil
3008}
3009
3010func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
3011 out := new(DeviceGroup)
3012 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
3013 if err != nil {
3014 return nil, err
3015 }
3016 return out, nil
3017}
3018
Don Newtonb437c6f2019-12-18 11:51:57 -05003019func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3020 out := new(EventFilter)
3021 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003022 if err != nil {
3023 return nil, err
3024 }
3025 return out, nil
3026}
3027
Don Newtonb437c6f2019-12-18 11:51:57 -05003028func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
3029 out := new(EventFilters)
3030 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003031 if err != nil {
3032 return nil, err
3033 }
3034 return out, nil
3035}
3036
Don Newtonb437c6f2019-12-18 11:51:57 -05003037func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3038 out := new(EventFilter)
3039 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003040 if err != nil {
3041 return nil, err
3042 }
3043 return out, nil
3044}
3045
Don Newtonb437c6f2019-12-18 11:51:57 -05003046func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
Don Newton98fd8812019-09-23 15:15:02 -04003047 out := new(empty.Empty)
Don Newtonb437c6f2019-12-18 11:51:57 -05003048 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003049 if err != nil {
3050 return nil, err
3051 }
3052 return out, nil
3053}
3054
Don Newtonb437c6f2019-12-18 11:51:57 -05003055func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
3056 out := new(EventFilters)
3057 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
Don Newton98fd8812019-09-23 15:15:02 -04003058 if err != nil {
3059 return nil, err
3060 }
3061 return out, nil
3062}
3063
3064func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
3065 out := new(Images)
3066 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
3067 if err != nil {
3068 return nil, err
3069 }
3070 return out, nil
3071}
3072
3073func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
3074 out := new(SelfTestResponse)
3075 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
3076 if err != nil {
3077 return nil, err
3078 }
3079 return out, nil
3080}
3081
3082func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
3083 out := new(omci.MibDeviceData)
3084 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
3085 if err != nil {
3086 return nil, err
3087 }
3088 return out, nil
3089}
3090
3091func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
3092 out := new(omci.AlarmDeviceData)
3093 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
3094 if err != nil {
3095 return nil, err
3096 }
3097 return out, nil
3098}
3099
3100func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
3101 out := new(common.OperationResp)
3102 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
3103 if err != nil {
3104 return nil, err
3105 }
3106 return out, nil
3107}
3108
3109func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
3110 out := new(OfAgentSubscriber)
3111 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
3112 if err != nil {
3113 return nil, err
3114 }
3115 return out, nil
3116}
3117
divyadesai81bb7ba2020-03-11 11:45:23 +00003118func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3119 out := new(empty.Empty)
3120 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3121 if err != nil {
3122 return nil, err
3123 }
3124 return out, nil
3125}
3126
3127func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3128 out := new(empty.Empty)
3129 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3130 if err != nil {
3131 return nil, err
3132 }
3133 return out, nil
3134}
3135
Neha Sharma87d43d72020-04-08 14:10:40 +00003136func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) {
3137 out := new(common.ReturnValues)
3138 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
3139 if err != nil {
3140 return nil, err
3141 }
3142 return out, nil
3143}
3144
Maninder12b909f2020-10-23 14:23:36 +05303145func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
3146 out := new(empty.Empty)
3147 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
3148 if err != nil {
3149 return nil, err
3150 }
3151 return out, nil
3152}
3153
Rohan Agrawal00d3a412020-04-22 10:51:39 +00003154func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3155 out := new(TestResponse)
3156 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3157 if err != nil {
3158 return nil, err
3159 }
3160 return out, nil
3161}
3162
Don Newton98fd8812019-09-23 15:15:02 -04003163// VolthaServiceServer is the server API for VolthaService service.
3164type VolthaServiceServer interface {
Don Newton98fd8812019-09-23 15:15:02 -04003165 // Get the membership group of a Voltha Core
3166 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3167 // Set the membership group of a Voltha Core
3168 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3169 // Get high level information on the Voltha cluster
3170 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3171 // List all Voltha cluster core instances
3172 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3173 // Get details on a Voltha cluster instance
3174 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3175 // List all active adapters (plugins) in the Voltha cluster
3176 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3177 // List all logical devices managed by the Voltha cluster
3178 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3179 // Get additional information on a given logical device
3180 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3181 // List ports of a logical device
3182 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3183 // Gets a logical device port
3184 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3185 // Enables a logical device port
3186 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3187 // Disables a logical device port
3188 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3189 // List all flows of a logical device
3190 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3191 // Update flow table for logical device
3192 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3193 // Update meter table for logical device
3194 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
3195 // List all meters of a logical device
3196 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
3197 // List all flow groups of a logical device
3198 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3199 // Update group table for device
3200 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3201 // List all physical devices controlled by the Voltha cluster
3202 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3203 // List all physical devices IDs controlled by the Voltha cluster
3204 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3205 // Request to a voltha Core to reconcile a set of devices based on their IDs
3206 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
3207 // Get more information on a given physical device
3208 GetDevice(context.Context, *common.ID) (*Device, error)
3209 // Pre-provision a new physical device
3210 CreateDevice(context.Context, *Device) (*Device, error)
3211 // Enable a device. If the device was in pre-provisioned state then it
3212 // will transition to ENABLED state. If it was is DISABLED state then it
3213 // will transition to ENABLED state as well.
3214 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3215 // Disable a device
3216 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3217 // Reboot a device
3218 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3219 // Delete a device
3220 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Maninder12b909f2020-10-23 14:23:36 +05303221 // Forcefully delete a device
3222 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Don Newton98fd8812019-09-23 15:15:02 -04003223 // Request an image download to the standby partition
3224 // of a device.
3225 // Note that the call is expected to be non-blocking.
3226 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3227 // Get image download status on a device
3228 // The request retrieves progress on device and updates db record
3229 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3230 // Get image download db record
3231 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3232 // List image download db records for a given device
3233 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3234 // Cancel an existing image download process on a device
3235 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3236 // Activate the specified image at a standby partition
3237 // to active partition.
3238 // Depending on the device implementation, this call
3239 // may or may not cause device reboot.
3240 // If no reboot, then a reboot is required to make the
3241 // activated image running on device
3242 // Note that the call is expected to be non-blocking.
3243 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3244 // Revert the specified image at standby partition
3245 // to active partition, and revert to previous image
3246 // Depending on the device implementation, this call
3247 // may or may not cause device reboot.
3248 // If no reboot, then a reboot is required to make the
3249 // previous image running on device
3250 // Note that the call is expected to be non-blocking.
3251 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3252 // List ports of a device
3253 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3254 // List pm config of a device
3255 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3256 // Update the pm config of a device
3257 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3258 // List all flows of a device
3259 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3260 // List all flow groups of a device
3261 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3262 // List device types known to Voltha
3263 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3264 // Get additional information on a device type
3265 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3266 // List all device sharding groups
3267 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3268 // Stream control packets to the dataplane
3269 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3270 // Receive control packet stream
3271 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3272 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3273 // Get additional information on a device group
3274 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Don Newtonb437c6f2019-12-18 11:51:57 -05003275 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3276 // Get all filters present for a device
3277 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3278 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3279 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3280 // Get all the filters present
3281 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
Don Newton98fd8812019-09-23 15:15:02 -04003282 GetImages(context.Context, *common.ID) (*Images, error)
3283 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3284 // OpenOMCI MIB information
3285 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3286 // OpenOMCI ALARM information
3287 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3288 // Simulate an Alarm
3289 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3290 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
divyadesai81bb7ba2020-03-11 11:45:23 +00003291 EnablePort(context.Context, *Port) (*empty.Empty, error)
3292 DisablePort(context.Context, *Port) (*empty.Empty, error)
Neha Sharma87d43d72020-04-08 14:10:40 +00003293 GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error)
Maninder12b909f2020-10-23 14:23:36 +05303294 SetExtValue(context.Context, *ValueSet) (*empty.Empty, error)
Rohan Agrawal00d3a412020-04-22 10:51:39 +00003295 // omci start and stop cli implementation
3296 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
Don Newton98fd8812019-09-23 15:15:02 -04003297}
3298
David K. Bainbridge595b6702021-04-09 16:10:58 +00003299// UnimplementedVolthaServiceServer can be embedded to have forward compatible implementations.
3300type UnimplementedVolthaServiceServer struct {
3301}
3302
3303func (*UnimplementedVolthaServiceServer) GetMembership(ctx context.Context, req *empty.Empty) (*Membership, error) {
3304 return nil, status.Errorf(codes.Unimplemented, "method GetMembership not implemented")
3305}
3306func (*UnimplementedVolthaServiceServer) UpdateMembership(ctx context.Context, req *Membership) (*empty.Empty, error) {
3307 return nil, status.Errorf(codes.Unimplemented, "method UpdateMembership not implemented")
3308}
3309func (*UnimplementedVolthaServiceServer) GetVoltha(ctx context.Context, req *empty.Empty) (*Voltha, error) {
3310 return nil, status.Errorf(codes.Unimplemented, "method GetVoltha not implemented")
3311}
3312func (*UnimplementedVolthaServiceServer) ListCoreInstances(ctx context.Context, req *empty.Empty) (*CoreInstances, error) {
3313 return nil, status.Errorf(codes.Unimplemented, "method ListCoreInstances not implemented")
3314}
3315func (*UnimplementedVolthaServiceServer) GetCoreInstance(ctx context.Context, req *common.ID) (*CoreInstance, error) {
3316 return nil, status.Errorf(codes.Unimplemented, "method GetCoreInstance not implemented")
3317}
3318func (*UnimplementedVolthaServiceServer) ListAdapters(ctx context.Context, req *empty.Empty) (*Adapters, error) {
3319 return nil, status.Errorf(codes.Unimplemented, "method ListAdapters not implemented")
3320}
3321func (*UnimplementedVolthaServiceServer) ListLogicalDevices(ctx context.Context, req *empty.Empty) (*LogicalDevices, error) {
3322 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevices not implemented")
3323}
3324func (*UnimplementedVolthaServiceServer) GetLogicalDevice(ctx context.Context, req *common.ID) (*LogicalDevice, error) {
3325 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevice not implemented")
3326}
3327func (*UnimplementedVolthaServiceServer) ListLogicalDevicePorts(ctx context.Context, req *common.ID) (*LogicalPorts, error) {
3328 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDevicePorts not implemented")
3329}
3330func (*UnimplementedVolthaServiceServer) GetLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*LogicalPort, error) {
3331 return nil, status.Errorf(codes.Unimplemented, "method GetLogicalDevicePort not implemented")
3332}
3333func (*UnimplementedVolthaServiceServer) EnableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
3334 return nil, status.Errorf(codes.Unimplemented, "method EnableLogicalDevicePort not implemented")
3335}
3336func (*UnimplementedVolthaServiceServer) DisableLogicalDevicePort(ctx context.Context, req *LogicalPortId) (*empty.Empty, error) {
3337 return nil, status.Errorf(codes.Unimplemented, "method DisableLogicalDevicePort not implemented")
3338}
3339func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
3340 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlows not implemented")
3341}
3342func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowTable(ctx context.Context, req *openflow_13.FlowTableUpdate) (*empty.Empty, error) {
3343 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowTable not implemented")
3344}
3345func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceMeterTable(ctx context.Context, req *openflow_13.MeterModUpdate) (*empty.Empty, error) {
3346 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceMeterTable not implemented")
3347}
3348func (*UnimplementedVolthaServiceServer) ListLogicalDeviceMeters(ctx context.Context, req *common.ID) (*openflow_13.Meters, error) {
3349 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceMeters not implemented")
3350}
3351func (*UnimplementedVolthaServiceServer) ListLogicalDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
3352 return nil, status.Errorf(codes.Unimplemented, "method ListLogicalDeviceFlowGroups not implemented")
3353}
3354func (*UnimplementedVolthaServiceServer) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, req *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error) {
3355 return nil, status.Errorf(codes.Unimplemented, "method UpdateLogicalDeviceFlowGroupTable not implemented")
3356}
3357func (*UnimplementedVolthaServiceServer) ListDevices(ctx context.Context, req *empty.Empty) (*Devices, error) {
3358 return nil, status.Errorf(codes.Unimplemented, "method ListDevices not implemented")
3359}
3360func (*UnimplementedVolthaServiceServer) ListDeviceIds(ctx context.Context, req *empty.Empty) (*common.IDs, error) {
3361 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceIds not implemented")
3362}
3363func (*UnimplementedVolthaServiceServer) ReconcileDevices(ctx context.Context, req *common.IDs) (*empty.Empty, error) {
3364 return nil, status.Errorf(codes.Unimplemented, "method ReconcileDevices not implemented")
3365}
3366func (*UnimplementedVolthaServiceServer) GetDevice(ctx context.Context, req *common.ID) (*Device, error) {
3367 return nil, status.Errorf(codes.Unimplemented, "method GetDevice not implemented")
3368}
3369func (*UnimplementedVolthaServiceServer) CreateDevice(ctx context.Context, req *Device) (*Device, error) {
3370 return nil, status.Errorf(codes.Unimplemented, "method CreateDevice not implemented")
3371}
3372func (*UnimplementedVolthaServiceServer) EnableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3373 return nil, status.Errorf(codes.Unimplemented, "method EnableDevice not implemented")
3374}
3375func (*UnimplementedVolthaServiceServer) DisableDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3376 return nil, status.Errorf(codes.Unimplemented, "method DisableDevice not implemented")
3377}
3378func (*UnimplementedVolthaServiceServer) RebootDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3379 return nil, status.Errorf(codes.Unimplemented, "method RebootDevice not implemented")
3380}
3381func (*UnimplementedVolthaServiceServer) DeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3382 return nil, status.Errorf(codes.Unimplemented, "method DeleteDevice not implemented")
3383}
3384func (*UnimplementedVolthaServiceServer) ForceDeleteDevice(ctx context.Context, req *common.ID) (*empty.Empty, error) {
3385 return nil, status.Errorf(codes.Unimplemented, "method ForceDeleteDevice not implemented")
3386}
3387func (*UnimplementedVolthaServiceServer) DownloadImage(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
3388 return nil, status.Errorf(codes.Unimplemented, "method DownloadImage not implemented")
3389}
3390func (*UnimplementedVolthaServiceServer) GetImageDownloadStatus(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
3391 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownloadStatus not implemented")
3392}
3393func (*UnimplementedVolthaServiceServer) GetImageDownload(ctx context.Context, req *ImageDownload) (*ImageDownload, error) {
3394 return nil, status.Errorf(codes.Unimplemented, "method GetImageDownload not implemented")
3395}
3396func (*UnimplementedVolthaServiceServer) ListImageDownloads(ctx context.Context, req *common.ID) (*ImageDownloads, error) {
3397 return nil, status.Errorf(codes.Unimplemented, "method ListImageDownloads not implemented")
3398}
3399func (*UnimplementedVolthaServiceServer) CancelImageDownload(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
3400 return nil, status.Errorf(codes.Unimplemented, "method CancelImageDownload not implemented")
3401}
3402func (*UnimplementedVolthaServiceServer) ActivateImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
3403 return nil, status.Errorf(codes.Unimplemented, "method ActivateImageUpdate not implemented")
3404}
3405func (*UnimplementedVolthaServiceServer) RevertImageUpdate(ctx context.Context, req *ImageDownload) (*common.OperationResp, error) {
3406 return nil, status.Errorf(codes.Unimplemented, "method RevertImageUpdate not implemented")
3407}
3408func (*UnimplementedVolthaServiceServer) ListDevicePorts(ctx context.Context, req *common.ID) (*Ports, error) {
3409 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePorts not implemented")
3410}
3411func (*UnimplementedVolthaServiceServer) ListDevicePmConfigs(ctx context.Context, req *common.ID) (*PmConfigs, error) {
3412 return nil, status.Errorf(codes.Unimplemented, "method ListDevicePmConfigs not implemented")
3413}
3414func (*UnimplementedVolthaServiceServer) UpdateDevicePmConfigs(ctx context.Context, req *PmConfigs) (*empty.Empty, error) {
3415 return nil, status.Errorf(codes.Unimplemented, "method UpdateDevicePmConfigs not implemented")
3416}
3417func (*UnimplementedVolthaServiceServer) ListDeviceFlows(ctx context.Context, req *common.ID) (*openflow_13.Flows, error) {
3418 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlows not implemented")
3419}
3420func (*UnimplementedVolthaServiceServer) ListDeviceFlowGroups(ctx context.Context, req *common.ID) (*openflow_13.FlowGroups, error) {
3421 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceFlowGroups not implemented")
3422}
3423func (*UnimplementedVolthaServiceServer) ListDeviceTypes(ctx context.Context, req *empty.Empty) (*DeviceTypes, error) {
3424 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceTypes not implemented")
3425}
3426func (*UnimplementedVolthaServiceServer) GetDeviceType(ctx context.Context, req *common.ID) (*DeviceType, error) {
3427 return nil, status.Errorf(codes.Unimplemented, "method GetDeviceType not implemented")
3428}
3429func (*UnimplementedVolthaServiceServer) ListDeviceGroups(ctx context.Context, req *empty.Empty) (*DeviceGroups, error) {
3430 return nil, status.Errorf(codes.Unimplemented, "method ListDeviceGroups not implemented")
3431}
3432func (*UnimplementedVolthaServiceServer) StreamPacketsOut(srv VolthaService_StreamPacketsOutServer) error {
3433 return status.Errorf(codes.Unimplemented, "method StreamPacketsOut not implemented")
3434}
3435func (*UnimplementedVolthaServiceServer) ReceivePacketsIn(req *empty.Empty, srv VolthaService_ReceivePacketsInServer) error {
3436 return status.Errorf(codes.Unimplemented, "method ReceivePacketsIn not implemented")
3437}
3438func (*UnimplementedVolthaServiceServer) ReceiveChangeEvents(req *empty.Empty, srv VolthaService_ReceiveChangeEventsServer) error {
3439 return status.Errorf(codes.Unimplemented, "method ReceiveChangeEvents not implemented")
3440}
3441func (*UnimplementedVolthaServiceServer) GetDeviceGroup(ctx context.Context, req *common.ID) (*DeviceGroup, error) {
3442 return nil, status.Errorf(codes.Unimplemented, "method GetDeviceGroup not implemented")
3443}
3444func (*UnimplementedVolthaServiceServer) CreateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
3445 return nil, status.Errorf(codes.Unimplemented, "method CreateEventFilter not implemented")
3446}
3447func (*UnimplementedVolthaServiceServer) GetEventFilter(ctx context.Context, req *common.ID) (*EventFilters, error) {
3448 return nil, status.Errorf(codes.Unimplemented, "method GetEventFilter not implemented")
3449}
3450func (*UnimplementedVolthaServiceServer) UpdateEventFilter(ctx context.Context, req *EventFilter) (*EventFilter, error) {
3451 return nil, status.Errorf(codes.Unimplemented, "method UpdateEventFilter not implemented")
3452}
3453func (*UnimplementedVolthaServiceServer) DeleteEventFilter(ctx context.Context, req *EventFilter) (*empty.Empty, error) {
3454 return nil, status.Errorf(codes.Unimplemented, "method DeleteEventFilter not implemented")
3455}
3456func (*UnimplementedVolthaServiceServer) ListEventFilters(ctx context.Context, req *empty.Empty) (*EventFilters, error) {
3457 return nil, status.Errorf(codes.Unimplemented, "method ListEventFilters not implemented")
3458}
3459func (*UnimplementedVolthaServiceServer) GetImages(ctx context.Context, req *common.ID) (*Images, error) {
3460 return nil, status.Errorf(codes.Unimplemented, "method GetImages not implemented")
3461}
3462func (*UnimplementedVolthaServiceServer) SelfTest(ctx context.Context, req *common.ID) (*SelfTestResponse, error) {
3463 return nil, status.Errorf(codes.Unimplemented, "method SelfTest not implemented")
3464}
3465func (*UnimplementedVolthaServiceServer) GetMibDeviceData(ctx context.Context, req *common.ID) (*omci.MibDeviceData, error) {
3466 return nil, status.Errorf(codes.Unimplemented, "method GetMibDeviceData not implemented")
3467}
3468func (*UnimplementedVolthaServiceServer) GetAlarmDeviceData(ctx context.Context, req *common.ID) (*omci.AlarmDeviceData, error) {
3469 return nil, status.Errorf(codes.Unimplemented, "method GetAlarmDeviceData not implemented")
3470}
3471func (*UnimplementedVolthaServiceServer) SimulateAlarm(ctx context.Context, req *SimulateAlarmRequest) (*common.OperationResp, error) {
3472 return nil, status.Errorf(codes.Unimplemented, "method SimulateAlarm not implemented")
3473}
3474func (*UnimplementedVolthaServiceServer) Subscribe(ctx context.Context, req *OfAgentSubscriber) (*OfAgentSubscriber, error) {
3475 return nil, status.Errorf(codes.Unimplemented, "method Subscribe not implemented")
3476}
3477func (*UnimplementedVolthaServiceServer) EnablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
3478 return nil, status.Errorf(codes.Unimplemented, "method EnablePort not implemented")
3479}
3480func (*UnimplementedVolthaServiceServer) DisablePort(ctx context.Context, req *Port) (*empty.Empty, error) {
3481 return nil, status.Errorf(codes.Unimplemented, "method DisablePort not implemented")
3482}
3483func (*UnimplementedVolthaServiceServer) GetExtValue(ctx context.Context, req *common.ValueSpecifier) (*common.ReturnValues, error) {
3484 return nil, status.Errorf(codes.Unimplemented, "method GetExtValue not implemented")
3485}
3486func (*UnimplementedVolthaServiceServer) SetExtValue(ctx context.Context, req *ValueSet) (*empty.Empty, error) {
3487 return nil, status.Errorf(codes.Unimplemented, "method SetExtValue not implemented")
3488}
3489func (*UnimplementedVolthaServiceServer) StartOmciTestAction(ctx context.Context, req *OmciTestRequest) (*TestResponse, error) {
3490 return nil, status.Errorf(codes.Unimplemented, "method StartOmciTestAction not implemented")
3491}
3492
Don Newton98fd8812019-09-23 15:15:02 -04003493func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3494 s.RegisterService(&_VolthaService_serviceDesc, srv)
3495}
3496
Don Newton98fd8812019-09-23 15:15:02 -04003497func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3498 in := new(empty.Empty)
3499 if err := dec(in); err != nil {
3500 return nil, err
3501 }
3502 if interceptor == nil {
3503 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3504 }
3505 info := &grpc.UnaryServerInfo{
3506 Server: srv,
3507 FullMethod: "/voltha.VolthaService/GetMembership",
3508 }
3509 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3510 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3511 }
3512 return interceptor(ctx, in, info, handler)
3513}
3514
3515func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3516 in := new(Membership)
3517 if err := dec(in); err != nil {
3518 return nil, err
3519 }
3520 if interceptor == nil {
3521 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3522 }
3523 info := &grpc.UnaryServerInfo{
3524 Server: srv,
3525 FullMethod: "/voltha.VolthaService/UpdateMembership",
3526 }
3527 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3528 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3529 }
3530 return interceptor(ctx, in, info, handler)
3531}
3532
3533func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3534 in := new(empty.Empty)
3535 if err := dec(in); err != nil {
3536 return nil, err
3537 }
3538 if interceptor == nil {
3539 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3540 }
3541 info := &grpc.UnaryServerInfo{
3542 Server: srv,
3543 FullMethod: "/voltha.VolthaService/GetVoltha",
3544 }
3545 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3546 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3547 }
3548 return interceptor(ctx, in, info, handler)
3549}
3550
3551func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3552 in := new(empty.Empty)
3553 if err := dec(in); err != nil {
3554 return nil, err
3555 }
3556 if interceptor == nil {
3557 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3558 }
3559 info := &grpc.UnaryServerInfo{
3560 Server: srv,
3561 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3562 }
3563 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3564 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3565 }
3566 return interceptor(ctx, in, info, handler)
3567}
3568
3569func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3570 in := new(common.ID)
3571 if err := dec(in); err != nil {
3572 return nil, err
3573 }
3574 if interceptor == nil {
3575 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3576 }
3577 info := &grpc.UnaryServerInfo{
3578 Server: srv,
3579 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3580 }
3581 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3582 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3583 }
3584 return interceptor(ctx, in, info, handler)
3585}
3586
3587func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3588 in := new(empty.Empty)
3589 if err := dec(in); err != nil {
3590 return nil, err
3591 }
3592 if interceptor == nil {
3593 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3594 }
3595 info := &grpc.UnaryServerInfo{
3596 Server: srv,
3597 FullMethod: "/voltha.VolthaService/ListAdapters",
3598 }
3599 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3600 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3601 }
3602 return interceptor(ctx, in, info, handler)
3603}
3604
3605func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3606 in := new(empty.Empty)
3607 if err := dec(in); err != nil {
3608 return nil, err
3609 }
3610 if interceptor == nil {
3611 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3612 }
3613 info := &grpc.UnaryServerInfo{
3614 Server: srv,
3615 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3616 }
3617 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3618 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3619 }
3620 return interceptor(ctx, in, info, handler)
3621}
3622
3623func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3624 in := new(common.ID)
3625 if err := dec(in); err != nil {
3626 return nil, err
3627 }
3628 if interceptor == nil {
3629 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3630 }
3631 info := &grpc.UnaryServerInfo{
3632 Server: srv,
3633 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3634 }
3635 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3636 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3637 }
3638 return interceptor(ctx, in, info, handler)
3639}
3640
3641func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3642 in := new(common.ID)
3643 if err := dec(in); err != nil {
3644 return nil, err
3645 }
3646 if interceptor == nil {
3647 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3648 }
3649 info := &grpc.UnaryServerInfo{
3650 Server: srv,
3651 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3652 }
3653 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3654 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3655 }
3656 return interceptor(ctx, in, info, handler)
3657}
3658
3659func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3660 in := new(LogicalPortId)
3661 if err := dec(in); err != nil {
3662 return nil, err
3663 }
3664 if interceptor == nil {
3665 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3666 }
3667 info := &grpc.UnaryServerInfo{
3668 Server: srv,
3669 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3670 }
3671 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3672 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3673 }
3674 return interceptor(ctx, in, info, handler)
3675}
3676
3677func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3678 in := new(LogicalPortId)
3679 if err := dec(in); err != nil {
3680 return nil, err
3681 }
3682 if interceptor == nil {
3683 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3684 }
3685 info := &grpc.UnaryServerInfo{
3686 Server: srv,
3687 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3688 }
3689 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3690 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3691 }
3692 return interceptor(ctx, in, info, handler)
3693}
3694
3695func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3696 in := new(LogicalPortId)
3697 if err := dec(in); err != nil {
3698 return nil, err
3699 }
3700 if interceptor == nil {
3701 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3702 }
3703 info := &grpc.UnaryServerInfo{
3704 Server: srv,
3705 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3706 }
3707 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3708 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3709 }
3710 return interceptor(ctx, in, info, handler)
3711}
3712
3713func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3714 in := new(common.ID)
3715 if err := dec(in); err != nil {
3716 return nil, err
3717 }
3718 if interceptor == nil {
3719 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3720 }
3721 info := &grpc.UnaryServerInfo{
3722 Server: srv,
3723 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3724 }
3725 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3726 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3727 }
3728 return interceptor(ctx, in, info, handler)
3729}
3730
3731func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3732 in := new(openflow_13.FlowTableUpdate)
3733 if err := dec(in); err != nil {
3734 return nil, err
3735 }
3736 if interceptor == nil {
3737 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3738 }
3739 info := &grpc.UnaryServerInfo{
3740 Server: srv,
3741 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3742 }
3743 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3744 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3745 }
3746 return interceptor(ctx, in, info, handler)
3747}
3748
3749func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3750 in := new(openflow_13.MeterModUpdate)
3751 if err := dec(in); err != nil {
3752 return nil, err
3753 }
3754 if interceptor == nil {
3755 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3756 }
3757 info := &grpc.UnaryServerInfo{
3758 Server: srv,
3759 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3760 }
3761 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3762 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3763 }
3764 return interceptor(ctx, in, info, handler)
3765}
3766
3767func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3768 in := new(common.ID)
3769 if err := dec(in); err != nil {
3770 return nil, err
3771 }
3772 if interceptor == nil {
3773 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
3774 }
3775 info := &grpc.UnaryServerInfo{
3776 Server: srv,
3777 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
3778 }
3779 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3780 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
3781 }
3782 return interceptor(ctx, in, info, handler)
3783}
3784
3785func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3786 in := new(common.ID)
3787 if err := dec(in); err != nil {
3788 return nil, err
3789 }
3790 if interceptor == nil {
3791 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3792 }
3793 info := &grpc.UnaryServerInfo{
3794 Server: srv,
3795 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3796 }
3797 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3798 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3799 }
3800 return interceptor(ctx, in, info, handler)
3801}
3802
3803func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3804 in := new(openflow_13.FlowGroupTableUpdate)
3805 if err := dec(in); err != nil {
3806 return nil, err
3807 }
3808 if interceptor == nil {
3809 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3810 }
3811 info := &grpc.UnaryServerInfo{
3812 Server: srv,
3813 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3814 }
3815 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3816 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3817 }
3818 return interceptor(ctx, in, info, handler)
3819}
3820
3821func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3822 in := new(empty.Empty)
3823 if err := dec(in); err != nil {
3824 return nil, err
3825 }
3826 if interceptor == nil {
3827 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3828 }
3829 info := &grpc.UnaryServerInfo{
3830 Server: srv,
3831 FullMethod: "/voltha.VolthaService/ListDevices",
3832 }
3833 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3834 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3835 }
3836 return interceptor(ctx, in, info, handler)
3837}
3838
3839func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3840 in := new(empty.Empty)
3841 if err := dec(in); err != nil {
3842 return nil, err
3843 }
3844 if interceptor == nil {
3845 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3846 }
3847 info := &grpc.UnaryServerInfo{
3848 Server: srv,
3849 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3850 }
3851 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3852 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3853 }
3854 return interceptor(ctx, in, info, handler)
3855}
3856
3857func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3858 in := new(common.IDs)
3859 if err := dec(in); err != nil {
3860 return nil, err
3861 }
3862 if interceptor == nil {
3863 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3864 }
3865 info := &grpc.UnaryServerInfo{
3866 Server: srv,
3867 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3868 }
3869 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3870 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3871 }
3872 return interceptor(ctx, in, info, handler)
3873}
3874
3875func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3876 in := new(common.ID)
3877 if err := dec(in); err != nil {
3878 return nil, err
3879 }
3880 if interceptor == nil {
3881 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3882 }
3883 info := &grpc.UnaryServerInfo{
3884 Server: srv,
3885 FullMethod: "/voltha.VolthaService/GetDevice",
3886 }
3887 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3888 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3889 }
3890 return interceptor(ctx, in, info, handler)
3891}
3892
3893func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3894 in := new(Device)
3895 if err := dec(in); err != nil {
3896 return nil, err
3897 }
3898 if interceptor == nil {
3899 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3900 }
3901 info := &grpc.UnaryServerInfo{
3902 Server: srv,
3903 FullMethod: "/voltha.VolthaService/CreateDevice",
3904 }
3905 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3906 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3907 }
3908 return interceptor(ctx, in, info, handler)
3909}
3910
3911func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3912 in := new(common.ID)
3913 if err := dec(in); err != nil {
3914 return nil, err
3915 }
3916 if interceptor == nil {
3917 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3918 }
3919 info := &grpc.UnaryServerInfo{
3920 Server: srv,
3921 FullMethod: "/voltha.VolthaService/EnableDevice",
3922 }
3923 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3924 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3925 }
3926 return interceptor(ctx, in, info, handler)
3927}
3928
3929func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3930 in := new(common.ID)
3931 if err := dec(in); err != nil {
3932 return nil, err
3933 }
3934 if interceptor == nil {
3935 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3936 }
3937 info := &grpc.UnaryServerInfo{
3938 Server: srv,
3939 FullMethod: "/voltha.VolthaService/DisableDevice",
3940 }
3941 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3942 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3943 }
3944 return interceptor(ctx, in, info, handler)
3945}
3946
3947func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3948 in := new(common.ID)
3949 if err := dec(in); err != nil {
3950 return nil, err
3951 }
3952 if interceptor == nil {
3953 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3954 }
3955 info := &grpc.UnaryServerInfo{
3956 Server: srv,
3957 FullMethod: "/voltha.VolthaService/RebootDevice",
3958 }
3959 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3960 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3961 }
3962 return interceptor(ctx, in, info, handler)
3963}
3964
3965func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3966 in := new(common.ID)
3967 if err := dec(in); err != nil {
3968 return nil, err
3969 }
3970 if interceptor == nil {
3971 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3972 }
3973 info := &grpc.UnaryServerInfo{
3974 Server: srv,
3975 FullMethod: "/voltha.VolthaService/DeleteDevice",
3976 }
3977 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3978 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3979 }
3980 return interceptor(ctx, in, info, handler)
3981}
3982
Maninder12b909f2020-10-23 14:23:36 +05303983func _VolthaService_ForceDeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3984 in := new(common.ID)
3985 if err := dec(in); err != nil {
3986 return nil, err
3987 }
3988 if interceptor == nil {
3989 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, in)
3990 }
3991 info := &grpc.UnaryServerInfo{
3992 Server: srv,
3993 FullMethod: "/voltha.VolthaService/ForceDeleteDevice",
3994 }
3995 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3996 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, req.(*common.ID))
3997 }
3998 return interceptor(ctx, in, info, handler)
3999}
4000
Don Newton98fd8812019-09-23 15:15:02 -04004001func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4002 in := new(ImageDownload)
4003 if err := dec(in); err != nil {
4004 return nil, err
4005 }
4006 if interceptor == nil {
4007 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
4008 }
4009 info := &grpc.UnaryServerInfo{
4010 Server: srv,
4011 FullMethod: "/voltha.VolthaService/DownloadImage",
4012 }
4013 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4014 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
4015 }
4016 return interceptor(ctx, in, info, handler)
4017}
4018
4019func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4020 in := new(ImageDownload)
4021 if err := dec(in); err != nil {
4022 return nil, err
4023 }
4024 if interceptor == nil {
4025 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
4026 }
4027 info := &grpc.UnaryServerInfo{
4028 Server: srv,
4029 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
4030 }
4031 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4032 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
4033 }
4034 return interceptor(ctx, in, info, handler)
4035}
4036
4037func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4038 in := new(ImageDownload)
4039 if err := dec(in); err != nil {
4040 return nil, err
4041 }
4042 if interceptor == nil {
4043 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
4044 }
4045 info := &grpc.UnaryServerInfo{
4046 Server: srv,
4047 FullMethod: "/voltha.VolthaService/GetImageDownload",
4048 }
4049 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4050 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
4051 }
4052 return interceptor(ctx, in, info, handler)
4053}
4054
4055func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4056 in := new(common.ID)
4057 if err := dec(in); err != nil {
4058 return nil, err
4059 }
4060 if interceptor == nil {
4061 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
4062 }
4063 info := &grpc.UnaryServerInfo{
4064 Server: srv,
4065 FullMethod: "/voltha.VolthaService/ListImageDownloads",
4066 }
4067 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4068 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
4069 }
4070 return interceptor(ctx, in, info, handler)
4071}
4072
4073func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4074 in := new(ImageDownload)
4075 if err := dec(in); err != nil {
4076 return nil, err
4077 }
4078 if interceptor == nil {
4079 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
4080 }
4081 info := &grpc.UnaryServerInfo{
4082 Server: srv,
4083 FullMethod: "/voltha.VolthaService/CancelImageDownload",
4084 }
4085 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4086 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
4087 }
4088 return interceptor(ctx, in, info, handler)
4089}
4090
4091func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4092 in := new(ImageDownload)
4093 if err := dec(in); err != nil {
4094 return nil, err
4095 }
4096 if interceptor == nil {
4097 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
4098 }
4099 info := &grpc.UnaryServerInfo{
4100 Server: srv,
4101 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
4102 }
4103 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4104 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
4105 }
4106 return interceptor(ctx, in, info, handler)
4107}
4108
4109func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4110 in := new(ImageDownload)
4111 if err := dec(in); err != nil {
4112 return nil, err
4113 }
4114 if interceptor == nil {
4115 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
4116 }
4117 info := &grpc.UnaryServerInfo{
4118 Server: srv,
4119 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
4120 }
4121 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4122 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
4123 }
4124 return interceptor(ctx, in, info, handler)
4125}
4126
4127func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4128 in := new(common.ID)
4129 if err := dec(in); err != nil {
4130 return nil, err
4131 }
4132 if interceptor == nil {
4133 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
4134 }
4135 info := &grpc.UnaryServerInfo{
4136 Server: srv,
4137 FullMethod: "/voltha.VolthaService/ListDevicePorts",
4138 }
4139 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4140 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
4141 }
4142 return interceptor(ctx, in, info, handler)
4143}
4144
4145func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4146 in := new(common.ID)
4147 if err := dec(in); err != nil {
4148 return nil, err
4149 }
4150 if interceptor == nil {
4151 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
4152 }
4153 info := &grpc.UnaryServerInfo{
4154 Server: srv,
4155 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
4156 }
4157 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4158 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
4159 }
4160 return interceptor(ctx, in, info, handler)
4161}
4162
4163func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4164 in := new(PmConfigs)
4165 if err := dec(in); err != nil {
4166 return nil, err
4167 }
4168 if interceptor == nil {
4169 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
4170 }
4171 info := &grpc.UnaryServerInfo{
4172 Server: srv,
4173 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
4174 }
4175 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4176 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
4177 }
4178 return interceptor(ctx, in, info, handler)
4179}
4180
4181func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4182 in := new(common.ID)
4183 if err := dec(in); err != nil {
4184 return nil, err
4185 }
4186 if interceptor == nil {
4187 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
4188 }
4189 info := &grpc.UnaryServerInfo{
4190 Server: srv,
4191 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
4192 }
4193 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4194 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
4195 }
4196 return interceptor(ctx, in, info, handler)
4197}
4198
4199func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4200 in := new(common.ID)
4201 if err := dec(in); err != nil {
4202 return nil, err
4203 }
4204 if interceptor == nil {
4205 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
4206 }
4207 info := &grpc.UnaryServerInfo{
4208 Server: srv,
4209 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
4210 }
4211 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4212 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
4213 }
4214 return interceptor(ctx, in, info, handler)
4215}
4216
4217func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4218 in := new(empty.Empty)
4219 if err := dec(in); err != nil {
4220 return nil, err
4221 }
4222 if interceptor == nil {
4223 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
4224 }
4225 info := &grpc.UnaryServerInfo{
4226 Server: srv,
4227 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
4228 }
4229 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4230 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
4231 }
4232 return interceptor(ctx, in, info, handler)
4233}
4234
4235func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4236 in := new(common.ID)
4237 if err := dec(in); err != nil {
4238 return nil, err
4239 }
4240 if interceptor == nil {
4241 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
4242 }
4243 info := &grpc.UnaryServerInfo{
4244 Server: srv,
4245 FullMethod: "/voltha.VolthaService/GetDeviceType",
4246 }
4247 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4248 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
4249 }
4250 return interceptor(ctx, in, info, handler)
4251}
4252
4253func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4254 in := new(empty.Empty)
4255 if err := dec(in); err != nil {
4256 return nil, err
4257 }
4258 if interceptor == nil {
4259 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
4260 }
4261 info := &grpc.UnaryServerInfo{
4262 Server: srv,
4263 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
4264 }
4265 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4266 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
4267 }
4268 return interceptor(ctx, in, info, handler)
4269}
4270
4271func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
4272 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
4273}
4274
4275type VolthaService_StreamPacketsOutServer interface {
4276 SendAndClose(*empty.Empty) error
4277 Recv() (*openflow_13.PacketOut, error)
4278 grpc.ServerStream
4279}
4280
4281type volthaServiceStreamPacketsOutServer struct {
4282 grpc.ServerStream
4283}
4284
4285func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
4286 return x.ServerStream.SendMsg(m)
4287}
4288
4289func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
4290 m := new(openflow_13.PacketOut)
4291 if err := x.ServerStream.RecvMsg(m); err != nil {
4292 return nil, err
4293 }
4294 return m, nil
4295}
4296
4297func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
4298 m := new(empty.Empty)
4299 if err := stream.RecvMsg(m); err != nil {
4300 return err
4301 }
4302 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
4303}
4304
4305type VolthaService_ReceivePacketsInServer interface {
4306 Send(*openflow_13.PacketIn) error
4307 grpc.ServerStream
4308}
4309
4310type volthaServiceReceivePacketsInServer struct {
4311 grpc.ServerStream
4312}
4313
4314func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
4315 return x.ServerStream.SendMsg(m)
4316}
4317
4318func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
4319 m := new(empty.Empty)
4320 if err := stream.RecvMsg(m); err != nil {
4321 return err
4322 }
4323 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
4324}
4325
4326type VolthaService_ReceiveChangeEventsServer interface {
4327 Send(*openflow_13.ChangeEvent) error
4328 grpc.ServerStream
4329}
4330
4331type volthaServiceReceiveChangeEventsServer struct {
4332 grpc.ServerStream
4333}
4334
4335func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
4336 return x.ServerStream.SendMsg(m)
4337}
4338
4339func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4340 in := new(common.ID)
4341 if err := dec(in); err != nil {
4342 return nil, err
4343 }
4344 if interceptor == nil {
4345 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
4346 }
4347 info := &grpc.UnaryServerInfo{
4348 Server: srv,
4349 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
4350 }
4351 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4352 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
4353 }
4354 return interceptor(ctx, in, info, handler)
4355}
4356
Don Newtonb437c6f2019-12-18 11:51:57 -05004357func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4358 in := new(EventFilter)
Don Newton98fd8812019-09-23 15:15:02 -04004359 if err := dec(in); err != nil {
4360 return nil, err
4361 }
4362 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004363 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004364 }
4365 info := &grpc.UnaryServerInfo{
4366 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004367 FullMethod: "/voltha.VolthaService/CreateEventFilter",
Don Newton98fd8812019-09-23 15:15:02 -04004368 }
4369 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004370 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
Don Newton98fd8812019-09-23 15:15:02 -04004371 }
4372 return interceptor(ctx, in, info, handler)
4373}
4374
Don Newtonb437c6f2019-12-18 11:51:57 -05004375func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Don Newton98fd8812019-09-23 15:15:02 -04004376 in := new(common.ID)
4377 if err := dec(in); err != nil {
4378 return nil, err
4379 }
4380 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004381 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004382 }
4383 info := &grpc.UnaryServerInfo{
4384 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004385 FullMethod: "/voltha.VolthaService/GetEventFilter",
Don Newton98fd8812019-09-23 15:15:02 -04004386 }
4387 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004388 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
Don Newton98fd8812019-09-23 15:15:02 -04004389 }
4390 return interceptor(ctx, in, info, handler)
4391}
4392
Don Newtonb437c6f2019-12-18 11:51:57 -05004393func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4394 in := new(EventFilter)
Don Newton98fd8812019-09-23 15:15:02 -04004395 if err := dec(in); err != nil {
4396 return nil, err
4397 }
4398 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004399 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004400 }
4401 info := &grpc.UnaryServerInfo{
4402 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004403 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
Don Newton98fd8812019-09-23 15:15:02 -04004404 }
4405 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004406 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
Don Newton98fd8812019-09-23 15:15:02 -04004407 }
4408 return interceptor(ctx, in, info, handler)
4409}
4410
Don Newtonb437c6f2019-12-18 11:51:57 -05004411func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4412 in := new(EventFilter)
Don Newton98fd8812019-09-23 15:15:02 -04004413 if err := dec(in); err != nil {
4414 return nil, err
4415 }
4416 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004417 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004418 }
4419 info := &grpc.UnaryServerInfo{
4420 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004421 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
Don Newton98fd8812019-09-23 15:15:02 -04004422 }
4423 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004424 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
Don Newton98fd8812019-09-23 15:15:02 -04004425 }
4426 return interceptor(ctx, in, info, handler)
4427}
4428
Don Newtonb437c6f2019-12-18 11:51:57 -05004429func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Don Newton98fd8812019-09-23 15:15:02 -04004430 in := new(empty.Empty)
4431 if err := dec(in); err != nil {
4432 return nil, err
4433 }
4434 if interceptor == nil {
Don Newtonb437c6f2019-12-18 11:51:57 -05004435 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
Don Newton98fd8812019-09-23 15:15:02 -04004436 }
4437 info := &grpc.UnaryServerInfo{
4438 Server: srv,
Don Newtonb437c6f2019-12-18 11:51:57 -05004439 FullMethod: "/voltha.VolthaService/ListEventFilters",
Don Newton98fd8812019-09-23 15:15:02 -04004440 }
4441 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Don Newtonb437c6f2019-12-18 11:51:57 -05004442 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
Don Newton98fd8812019-09-23 15:15:02 -04004443 }
4444 return interceptor(ctx, in, info, handler)
4445}
4446
4447func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4448 in := new(common.ID)
4449 if err := dec(in); err != nil {
4450 return nil, err
4451 }
4452 if interceptor == nil {
4453 return srv.(VolthaServiceServer).GetImages(ctx, in)
4454 }
4455 info := &grpc.UnaryServerInfo{
4456 Server: srv,
4457 FullMethod: "/voltha.VolthaService/GetImages",
4458 }
4459 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4460 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4461 }
4462 return interceptor(ctx, in, info, handler)
4463}
4464
4465func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4466 in := new(common.ID)
4467 if err := dec(in); err != nil {
4468 return nil, err
4469 }
4470 if interceptor == nil {
4471 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4472 }
4473 info := &grpc.UnaryServerInfo{
4474 Server: srv,
4475 FullMethod: "/voltha.VolthaService/SelfTest",
4476 }
4477 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4478 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4479 }
4480 return interceptor(ctx, in, info, handler)
4481}
4482
4483func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4484 in := new(common.ID)
4485 if err := dec(in); err != nil {
4486 return nil, err
4487 }
4488 if interceptor == nil {
4489 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4490 }
4491 info := &grpc.UnaryServerInfo{
4492 Server: srv,
4493 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4494 }
4495 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4496 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4497 }
4498 return interceptor(ctx, in, info, handler)
4499}
4500
4501func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4502 in := new(common.ID)
4503 if err := dec(in); err != nil {
4504 return nil, err
4505 }
4506 if interceptor == nil {
4507 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4508 }
4509 info := &grpc.UnaryServerInfo{
4510 Server: srv,
4511 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4512 }
4513 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4514 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4515 }
4516 return interceptor(ctx, in, info, handler)
4517}
4518
4519func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4520 in := new(SimulateAlarmRequest)
4521 if err := dec(in); err != nil {
4522 return nil, err
4523 }
4524 if interceptor == nil {
4525 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4526 }
4527 info := &grpc.UnaryServerInfo{
4528 Server: srv,
4529 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4530 }
4531 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4532 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4533 }
4534 return interceptor(ctx, in, info, handler)
4535}
4536
4537func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4538 in := new(OfAgentSubscriber)
4539 if err := dec(in); err != nil {
4540 return nil, err
4541 }
4542 if interceptor == nil {
4543 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4544 }
4545 info := &grpc.UnaryServerInfo{
4546 Server: srv,
4547 FullMethod: "/voltha.VolthaService/Subscribe",
4548 }
4549 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4550 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4551 }
4552 return interceptor(ctx, in, info, handler)
4553}
4554
divyadesai81bb7ba2020-03-11 11:45:23 +00004555func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4556 in := new(Port)
4557 if err := dec(in); err != nil {
4558 return nil, err
4559 }
4560 if interceptor == nil {
4561 return srv.(VolthaServiceServer).EnablePort(ctx, in)
4562 }
4563 info := &grpc.UnaryServerInfo{
4564 Server: srv,
4565 FullMethod: "/voltha.VolthaService/EnablePort",
4566 }
4567 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4568 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
4569 }
4570 return interceptor(ctx, in, info, handler)
4571}
4572
4573func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4574 in := new(Port)
4575 if err := dec(in); err != nil {
4576 return nil, err
4577 }
4578 if interceptor == nil {
4579 return srv.(VolthaServiceServer).DisablePort(ctx, in)
4580 }
4581 info := &grpc.UnaryServerInfo{
4582 Server: srv,
4583 FullMethod: "/voltha.VolthaService/DisablePort",
4584 }
4585 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4586 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
4587 }
4588 return interceptor(ctx, in, info, handler)
4589}
4590
Neha Sharma87d43d72020-04-08 14:10:40 +00004591func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4592 in := new(common.ValueSpecifier)
4593 if err := dec(in); err != nil {
4594 return nil, err
4595 }
4596 if interceptor == nil {
4597 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
4598 }
4599 info := &grpc.UnaryServerInfo{
4600 Server: srv,
4601 FullMethod: "/voltha.VolthaService/GetExtValue",
4602 }
4603 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4604 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*common.ValueSpecifier))
4605 }
4606 return interceptor(ctx, in, info, handler)
4607}
4608
Maninder12b909f2020-10-23 14:23:36 +05304609func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4610 in := new(ValueSet)
4611 if err := dec(in); err != nil {
4612 return nil, err
4613 }
4614 if interceptor == nil {
4615 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
4616 }
4617 info := &grpc.UnaryServerInfo{
4618 Server: srv,
4619 FullMethod: "/voltha.VolthaService/SetExtValue",
4620 }
4621 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4622 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*ValueSet))
4623 }
4624 return interceptor(ctx, in, info, handler)
4625}
4626
Rohan Agrawal00d3a412020-04-22 10:51:39 +00004627func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4628 in := new(OmciTestRequest)
4629 if err := dec(in); err != nil {
4630 return nil, err
4631 }
4632 if interceptor == nil {
4633 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
4634 }
4635 info := &grpc.UnaryServerInfo{
4636 Server: srv,
4637 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
4638 }
4639 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4640 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest))
4641 }
4642 return interceptor(ctx, in, info, handler)
4643}
4644
Don Newton98fd8812019-09-23 15:15:02 -04004645var _VolthaService_serviceDesc = grpc.ServiceDesc{
4646 ServiceName: "voltha.VolthaService",
4647 HandlerType: (*VolthaServiceServer)(nil),
4648 Methods: []grpc.MethodDesc{
4649 {
Don Newton98fd8812019-09-23 15:15:02 -04004650 MethodName: "GetMembership",
4651 Handler: _VolthaService_GetMembership_Handler,
4652 },
4653 {
4654 MethodName: "UpdateMembership",
4655 Handler: _VolthaService_UpdateMembership_Handler,
4656 },
4657 {
4658 MethodName: "GetVoltha",
4659 Handler: _VolthaService_GetVoltha_Handler,
4660 },
4661 {
4662 MethodName: "ListCoreInstances",
4663 Handler: _VolthaService_ListCoreInstances_Handler,
4664 },
4665 {
4666 MethodName: "GetCoreInstance",
4667 Handler: _VolthaService_GetCoreInstance_Handler,
4668 },
4669 {
4670 MethodName: "ListAdapters",
4671 Handler: _VolthaService_ListAdapters_Handler,
4672 },
4673 {
4674 MethodName: "ListLogicalDevices",
4675 Handler: _VolthaService_ListLogicalDevices_Handler,
4676 },
4677 {
4678 MethodName: "GetLogicalDevice",
4679 Handler: _VolthaService_GetLogicalDevice_Handler,
4680 },
4681 {
4682 MethodName: "ListLogicalDevicePorts",
4683 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4684 },
4685 {
4686 MethodName: "GetLogicalDevicePort",
4687 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4688 },
4689 {
4690 MethodName: "EnableLogicalDevicePort",
4691 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4692 },
4693 {
4694 MethodName: "DisableLogicalDevicePort",
4695 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4696 },
4697 {
4698 MethodName: "ListLogicalDeviceFlows",
4699 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4700 },
4701 {
4702 MethodName: "UpdateLogicalDeviceFlowTable",
4703 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4704 },
4705 {
4706 MethodName: "UpdateLogicalDeviceMeterTable",
4707 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4708 },
4709 {
4710 MethodName: "ListLogicalDeviceMeters",
4711 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
4712 },
4713 {
4714 MethodName: "ListLogicalDeviceFlowGroups",
4715 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4716 },
4717 {
4718 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4719 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4720 },
4721 {
4722 MethodName: "ListDevices",
4723 Handler: _VolthaService_ListDevices_Handler,
4724 },
4725 {
4726 MethodName: "ListDeviceIds",
4727 Handler: _VolthaService_ListDeviceIds_Handler,
4728 },
4729 {
4730 MethodName: "ReconcileDevices",
4731 Handler: _VolthaService_ReconcileDevices_Handler,
4732 },
4733 {
4734 MethodName: "GetDevice",
4735 Handler: _VolthaService_GetDevice_Handler,
4736 },
4737 {
4738 MethodName: "CreateDevice",
4739 Handler: _VolthaService_CreateDevice_Handler,
4740 },
4741 {
4742 MethodName: "EnableDevice",
4743 Handler: _VolthaService_EnableDevice_Handler,
4744 },
4745 {
4746 MethodName: "DisableDevice",
4747 Handler: _VolthaService_DisableDevice_Handler,
4748 },
4749 {
4750 MethodName: "RebootDevice",
4751 Handler: _VolthaService_RebootDevice_Handler,
4752 },
4753 {
4754 MethodName: "DeleteDevice",
4755 Handler: _VolthaService_DeleteDevice_Handler,
4756 },
4757 {
Maninder12b909f2020-10-23 14:23:36 +05304758 MethodName: "ForceDeleteDevice",
4759 Handler: _VolthaService_ForceDeleteDevice_Handler,
4760 },
4761 {
Don Newton98fd8812019-09-23 15:15:02 -04004762 MethodName: "DownloadImage",
4763 Handler: _VolthaService_DownloadImage_Handler,
4764 },
4765 {
4766 MethodName: "GetImageDownloadStatus",
4767 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4768 },
4769 {
4770 MethodName: "GetImageDownload",
4771 Handler: _VolthaService_GetImageDownload_Handler,
4772 },
4773 {
4774 MethodName: "ListImageDownloads",
4775 Handler: _VolthaService_ListImageDownloads_Handler,
4776 },
4777 {
4778 MethodName: "CancelImageDownload",
4779 Handler: _VolthaService_CancelImageDownload_Handler,
4780 },
4781 {
4782 MethodName: "ActivateImageUpdate",
4783 Handler: _VolthaService_ActivateImageUpdate_Handler,
4784 },
4785 {
4786 MethodName: "RevertImageUpdate",
4787 Handler: _VolthaService_RevertImageUpdate_Handler,
4788 },
4789 {
4790 MethodName: "ListDevicePorts",
4791 Handler: _VolthaService_ListDevicePorts_Handler,
4792 },
4793 {
4794 MethodName: "ListDevicePmConfigs",
4795 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4796 },
4797 {
4798 MethodName: "UpdateDevicePmConfigs",
4799 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4800 },
4801 {
4802 MethodName: "ListDeviceFlows",
4803 Handler: _VolthaService_ListDeviceFlows_Handler,
4804 },
4805 {
4806 MethodName: "ListDeviceFlowGroups",
4807 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4808 },
4809 {
4810 MethodName: "ListDeviceTypes",
4811 Handler: _VolthaService_ListDeviceTypes_Handler,
4812 },
4813 {
4814 MethodName: "GetDeviceType",
4815 Handler: _VolthaService_GetDeviceType_Handler,
4816 },
4817 {
4818 MethodName: "ListDeviceGroups",
4819 Handler: _VolthaService_ListDeviceGroups_Handler,
4820 },
4821 {
4822 MethodName: "GetDeviceGroup",
4823 Handler: _VolthaService_GetDeviceGroup_Handler,
4824 },
4825 {
Don Newtonb437c6f2019-12-18 11:51:57 -05004826 MethodName: "CreateEventFilter",
4827 Handler: _VolthaService_CreateEventFilter_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04004828 },
4829 {
Don Newtonb437c6f2019-12-18 11:51:57 -05004830 MethodName: "GetEventFilter",
4831 Handler: _VolthaService_GetEventFilter_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04004832 },
4833 {
Don Newtonb437c6f2019-12-18 11:51:57 -05004834 MethodName: "UpdateEventFilter",
4835 Handler: _VolthaService_UpdateEventFilter_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04004836 },
4837 {
Don Newtonb437c6f2019-12-18 11:51:57 -05004838 MethodName: "DeleteEventFilter",
4839 Handler: _VolthaService_DeleteEventFilter_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04004840 },
4841 {
Don Newtonb437c6f2019-12-18 11:51:57 -05004842 MethodName: "ListEventFilters",
4843 Handler: _VolthaService_ListEventFilters_Handler,
Don Newton98fd8812019-09-23 15:15:02 -04004844 },
4845 {
4846 MethodName: "GetImages",
4847 Handler: _VolthaService_GetImages_Handler,
4848 },
4849 {
4850 MethodName: "SelfTest",
4851 Handler: _VolthaService_SelfTest_Handler,
4852 },
4853 {
4854 MethodName: "GetMibDeviceData",
4855 Handler: _VolthaService_GetMibDeviceData_Handler,
4856 },
4857 {
4858 MethodName: "GetAlarmDeviceData",
4859 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4860 },
4861 {
4862 MethodName: "SimulateAlarm",
4863 Handler: _VolthaService_SimulateAlarm_Handler,
4864 },
4865 {
4866 MethodName: "Subscribe",
4867 Handler: _VolthaService_Subscribe_Handler,
4868 },
divyadesai81bb7ba2020-03-11 11:45:23 +00004869 {
4870 MethodName: "EnablePort",
4871 Handler: _VolthaService_EnablePort_Handler,
4872 },
4873 {
4874 MethodName: "DisablePort",
4875 Handler: _VolthaService_DisablePort_Handler,
4876 },
Rohan Agrawal00d3a412020-04-22 10:51:39 +00004877 {
Neha Sharma87d43d72020-04-08 14:10:40 +00004878 MethodName: "GetExtValue",
4879 Handler: _VolthaService_GetExtValue_Handler,
4880 },
4881 {
Maninder12b909f2020-10-23 14:23:36 +05304882 MethodName: "SetExtValue",
4883 Handler: _VolthaService_SetExtValue_Handler,
4884 },
4885 {
Rohan Agrawal00d3a412020-04-22 10:51:39 +00004886 MethodName: "StartOmciTestAction",
4887 Handler: _VolthaService_StartOmciTestAction_Handler,
4888 },
Don Newton98fd8812019-09-23 15:15:02 -04004889 },
4890 Streams: []grpc.StreamDesc{
4891 {
4892 StreamName: "StreamPacketsOut",
4893 Handler: _VolthaService_StreamPacketsOut_Handler,
4894 ClientStreams: true,
4895 },
4896 {
4897 StreamName: "ReceivePacketsIn",
4898 Handler: _VolthaService_ReceivePacketsIn_Handler,
4899 ServerStreams: true,
4900 },
4901 {
4902 StreamName: "ReceiveChangeEvents",
4903 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4904 ServerStreams: true,
4905 },
4906 },
4907 Metadata: "voltha_protos/voltha.proto",
4908}