blob: 172221f8468210ab069bbdc4cb87d3bbd1beeddc [file] [log] [blame]
William Kurkianea869482019-04-09 15:16:11 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/voltha.proto
3
4package voltha
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
10 empty "github.com/golang/protobuf/ptypes/empty"
Esin Karamanccb714b2019-11-29 15:02:06 +000011 common "github.com/opencord/voltha-protos/v3/go/common"
12 omci "github.com/opencord/voltha-protos/v3/go/omci"
13 openflow_13 "github.com/opencord/voltha-protos/v3/go/openflow_13"
William Kurkianea869482019-04-09 15:16:11 -040014 _ "google.golang.org/genproto/googleapis/api/annotations"
15 grpc "google.golang.org/grpc"
16 math "math"
17)
18
19// Reference imports to suppress errors if they are not otherwise used.
20var _ = proto.Marshal
21var _ = fmt.Errorf
22var _ = math.Inf
23
24// This is a compile-time assertion to ensure that this generated file
25// is compatible with the proto package it is being compiled against.
26// A compilation error at this line likely means your copy of the
27// proto package needs to be updated.
28const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
29
30// ChildNode from public import voltha_protos/meta.proto
31type ChildNode = common.ChildNode
32
33// Access from public import voltha_protos/meta.proto
34type Access = common.Access
35
36var Access_name = common.Access_name
37var Access_value = common.Access_value
38
39const Access_CONFIG = Access(common.Access_CONFIG)
40const Access_READ_ONLY = Access(common.Access_READ_ONLY)
41const Access_REAL_TIME = Access(common.Access_REAL_TIME)
42
43var E_ChildNode = common.E_ChildNode
44
45var E_Access = common.E_Access
46
47// ID from public import voltha_protos/common.proto
48type ID = common.ID
49
50// IDs from public import voltha_protos/common.proto
51type IDs = common.IDs
52
William Kurkianea869482019-04-09 15:16:11 -040053// AdminState from public import voltha_protos/common.proto
54type AdminState = common.AdminState
55
56// OperStatus from public import voltha_protos/common.proto
57type OperStatus = common.OperStatus
58
59// ConnectStatus from public import voltha_protos/common.proto
60type ConnectStatus = common.ConnectStatus
61
62// OperationResp from public import voltha_protos/common.proto
63type OperationResp = common.OperationResp
64
65// TestModeKeys from public import voltha_protos/common.proto
66type TestModeKeys = common.TestModeKeys
67
68var TestModeKeys_name = common.TestModeKeys_name
69var TestModeKeys_value = common.TestModeKeys_value
70
71const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
72
Esin Karamanccb714b2019-11-29 15:02:06 +000073// AdminState_Types from public import voltha_protos/common.proto
74type AdminState_Types = common.AdminState_Types
William Kurkianea869482019-04-09 15:16:11 -040075
Esin Karamanccb714b2019-11-29 15:02:06 +000076var AdminState_Types_name = common.AdminState_Types_name
77var AdminState_Types_value = common.AdminState_Types_value
William Kurkianea869482019-04-09 15:16:11 -040078
Esin Karamanccb714b2019-11-29 15:02:06 +000079const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
80const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
81const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
82const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
83const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
84const AdminState_DELETED = AdminState_Types(common.AdminState_DELETED)
William Kurkianea869482019-04-09 15:16:11 -040085
Esin Karamanccb714b2019-11-29 15:02:06 +000086// OperStatus_Types from public import voltha_protos/common.proto
87type OperStatus_Types = common.OperStatus_Types
William Kurkianea869482019-04-09 15:16:11 -040088
Esin Karamanccb714b2019-11-29 15:02:06 +000089var OperStatus_Types_name = common.OperStatus_Types_name
90var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkianea869482019-04-09 15:16:11 -040091
Esin Karamanccb714b2019-11-29 15:02:06 +000092const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
93const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
94const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
95const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
96const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
97const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
William Kurkianea869482019-04-09 15:16:11 -040098
Esin Karamanccb714b2019-11-29 15:02:06 +000099// ConnectStatus_Types from public import voltha_protos/common.proto
100type ConnectStatus_Types = common.ConnectStatus_Types
William Kurkianea869482019-04-09 15:16:11 -0400101
Esin Karamanccb714b2019-11-29 15:02:06 +0000102var ConnectStatus_Types_name = common.ConnectStatus_Types_name
103var ConnectStatus_Types_value = common.ConnectStatus_Types_value
William Kurkianea869482019-04-09 15:16:11 -0400104
Esin Karamanccb714b2019-11-29 15:02:06 +0000105const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
106const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
107const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
William Kurkianea869482019-04-09 15:16:11 -0400108
109// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
110type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
111
112var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
113var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
114
115const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
116const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
117const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
118
119// OfpHeader from public import voltha_protos/openflow_13.proto
120type OfpHeader = openflow_13.OfpHeader
121
122// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
123type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
124type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
125
126// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
127type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
128
129// OfpHello from public import voltha_protos/openflow_13.proto
130type OfpHello = openflow_13.OfpHello
131
132// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
133type OfpSwitchConfig = openflow_13.OfpSwitchConfig
134
135// OfpTableMod from public import voltha_protos/openflow_13.proto
136type OfpTableMod = openflow_13.OfpTableMod
137
138// OfpPort from public import voltha_protos/openflow_13.proto
139type OfpPort = openflow_13.OfpPort
140
141// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
142type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
143
144// OfpPortStatus from public import voltha_protos/openflow_13.proto
145type OfpPortStatus = openflow_13.OfpPortStatus
146
147// OfpPortMod from public import voltha_protos/openflow_13.proto
148type OfpPortMod = openflow_13.OfpPortMod
149
150// OfpMatch from public import voltha_protos/openflow_13.proto
151type OfpMatch = openflow_13.OfpMatch
152
153// OfpOxmField from public import voltha_protos/openflow_13.proto
154type OfpOxmField = openflow_13.OfpOxmField
155type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
156type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
157
158// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
159type OfpOxmOfbField = openflow_13.OfpOxmOfbField
160type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
161type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
162type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
163type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
164type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
165type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
166type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
167type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
168type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
169type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
170type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
171type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
172type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
173type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
174type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
175type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
176type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
177type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
178type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
179type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
180type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
181type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
182type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
183type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
184type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
185type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
186type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
187type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
188type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
189type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
190type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
191type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
192type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
193type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
194type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
195type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
196type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
197type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
198type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
199type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
200type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
201type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
202type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
203type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
204type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
205type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
206type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
207type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
208type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
209type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
210type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
211type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
212type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
213type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
214
215// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
216type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
217
218// OfpAction from public import voltha_protos/openflow_13.proto
219type OfpAction = openflow_13.OfpAction
220type OfpAction_Output = openflow_13.OfpAction_Output
221type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
222type OfpAction_Push = openflow_13.OfpAction_Push
223type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
224type OfpAction_Group = openflow_13.OfpAction_Group
225type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
226type OfpAction_SetField = openflow_13.OfpAction_SetField
227type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
228
229// OfpActionOutput from public import voltha_protos/openflow_13.proto
230type OfpActionOutput = openflow_13.OfpActionOutput
231
232// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
233type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
234
235// OfpActionPush from public import voltha_protos/openflow_13.proto
236type OfpActionPush = openflow_13.OfpActionPush
237
238// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
239type OfpActionPopMpls = openflow_13.OfpActionPopMpls
240
241// OfpActionGroup from public import voltha_protos/openflow_13.proto
242type OfpActionGroup = openflow_13.OfpActionGroup
243
244// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
245type OfpActionNwTtl = openflow_13.OfpActionNwTtl
246
247// OfpActionSetField from public import voltha_protos/openflow_13.proto
248type OfpActionSetField = openflow_13.OfpActionSetField
249
250// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
251type OfpActionExperimenter = openflow_13.OfpActionExperimenter
252
253// OfpInstruction from public import voltha_protos/openflow_13.proto
254type OfpInstruction = openflow_13.OfpInstruction
255type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
256type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
257type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
258type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
259type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
260
261// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
262type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
263
264// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
265type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
266
267// OfpInstructionActions from public import voltha_protos/openflow_13.proto
268type OfpInstructionActions = openflow_13.OfpInstructionActions
269
270// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
271type OfpInstructionMeter = openflow_13.OfpInstructionMeter
272
273// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
274type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
275
276// OfpFlowMod from public import voltha_protos/openflow_13.proto
277type OfpFlowMod = openflow_13.OfpFlowMod
278
279// OfpBucket from public import voltha_protos/openflow_13.proto
280type OfpBucket = openflow_13.OfpBucket
281
282// OfpGroupMod from public import voltha_protos/openflow_13.proto
283type OfpGroupMod = openflow_13.OfpGroupMod
284
285// OfpPacketOut from public import voltha_protos/openflow_13.proto
286type OfpPacketOut = openflow_13.OfpPacketOut
287
288// OfpPacketIn from public import voltha_protos/openflow_13.proto
289type OfpPacketIn = openflow_13.OfpPacketIn
290
291// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
292type OfpFlowRemoved = openflow_13.OfpFlowRemoved
293
294// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
295type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
296type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
297type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
298type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
299
300// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
301type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
302
303// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
304type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
305
306// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
307type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
308
309// OfpMeterMod from public import voltha_protos/openflow_13.proto
310type OfpMeterMod = openflow_13.OfpMeterMod
311
312// OfpErrorMsg from public import voltha_protos/openflow_13.proto
313type OfpErrorMsg = openflow_13.OfpErrorMsg
314
315// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
316type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
317
318// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
319type OfpMultipartRequest = openflow_13.OfpMultipartRequest
320
321// OfpMultipartReply from public import voltha_protos/openflow_13.proto
322type OfpMultipartReply = openflow_13.OfpMultipartReply
323
324// OfpDesc from public import voltha_protos/openflow_13.proto
325type OfpDesc = openflow_13.OfpDesc
326
327// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
328type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
329
330// OfpFlowStats from public import voltha_protos/openflow_13.proto
331type OfpFlowStats = openflow_13.OfpFlowStats
332
333// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
334type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
335
336// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
337type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
338
339// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
340type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
341type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
342type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
343type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
344type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
345type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
346
347// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
348type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
349
350// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
351type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
352
353// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
354type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
355
356// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
357type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
358
359// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
360type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
361
362// OfpTableFeatures from public import voltha_protos/openflow_13.proto
363type OfpTableFeatures = openflow_13.OfpTableFeatures
364
365// OfpTableStats from public import voltha_protos/openflow_13.proto
366type OfpTableStats = openflow_13.OfpTableStats
367
368// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
369type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
370
371// OfpPortStats from public import voltha_protos/openflow_13.proto
372type OfpPortStats = openflow_13.OfpPortStats
373
374// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
375type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
376
377// OfpBucketCounter from public import voltha_protos/openflow_13.proto
378type OfpBucketCounter = openflow_13.OfpBucketCounter
379
380// OfpGroupStats from public import voltha_protos/openflow_13.proto
381type OfpGroupStats = openflow_13.OfpGroupStats
382
383// OfpGroupDesc from public import voltha_protos/openflow_13.proto
384type OfpGroupDesc = openflow_13.OfpGroupDesc
385
386// OfpGroupEntry from public import voltha_protos/openflow_13.proto
387type OfpGroupEntry = openflow_13.OfpGroupEntry
388
389// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
390type OfpGroupFeatures = openflow_13.OfpGroupFeatures
391
392// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
393type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
394
395// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
396type OfpMeterBandStats = openflow_13.OfpMeterBandStats
397
398// OfpMeterStats from public import voltha_protos/openflow_13.proto
399type OfpMeterStats = openflow_13.OfpMeterStats
400
401// OfpMeterConfig from public import voltha_protos/openflow_13.proto
402type OfpMeterConfig = openflow_13.OfpMeterConfig
403
404// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
405type OfpMeterFeatures = openflow_13.OfpMeterFeatures
406
Manikkaraj kb1d51442019-07-23 10:41:02 -0400407// OfpMeterEntry from public import voltha_protos/openflow_13.proto
408type OfpMeterEntry = openflow_13.OfpMeterEntry
409
William Kurkianea869482019-04-09 15:16:11 -0400410// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
411type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
412
413// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
414type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
415
416// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
417type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
418
419// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
420type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
421
422// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
423type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
424
425// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
426type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
427
428// OfpPacketQueue from public import voltha_protos/openflow_13.proto
429type OfpPacketQueue = openflow_13.OfpPacketQueue
430
431// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
432type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
433
434// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
435type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
436
437// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
438type OfpActionSetQueue = openflow_13.OfpActionSetQueue
439
440// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
441type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
442
443// OfpQueueStats from public import voltha_protos/openflow_13.proto
444type OfpQueueStats = openflow_13.OfpQueueStats
445
446// OfpRoleRequest from public import voltha_protos/openflow_13.proto
447type OfpRoleRequest = openflow_13.OfpRoleRequest
448
449// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
450type OfpAsyncConfig = openflow_13.OfpAsyncConfig
451
452// MeterModUpdate from public import voltha_protos/openflow_13.proto
453type MeterModUpdate = openflow_13.MeterModUpdate
454
455// MeterStatsReply from public import voltha_protos/openflow_13.proto
456type MeterStatsReply = openflow_13.MeterStatsReply
457
458// FlowTableUpdate from public import voltha_protos/openflow_13.proto
459type FlowTableUpdate = openflow_13.FlowTableUpdate
460
461// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
462type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
463
464// Flows from public import voltha_protos/openflow_13.proto
465type Flows = openflow_13.Flows
466
467// Meters from public import voltha_protos/openflow_13.proto
468type Meters = openflow_13.Meters
469
470// FlowGroups from public import voltha_protos/openflow_13.proto
471type FlowGroups = openflow_13.FlowGroups
472
473// FlowChanges from public import voltha_protos/openflow_13.proto
474type FlowChanges = openflow_13.FlowChanges
475
476// FlowGroupChanges from public import voltha_protos/openflow_13.proto
477type FlowGroupChanges = openflow_13.FlowGroupChanges
478
479// PacketIn from public import voltha_protos/openflow_13.proto
480type PacketIn = openflow_13.PacketIn
481
482// PacketOut from public import voltha_protos/openflow_13.proto
483type PacketOut = openflow_13.PacketOut
484
485// ChangeEvent from public import voltha_protos/openflow_13.proto
486type ChangeEvent = openflow_13.ChangeEvent
487type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
488
489// OfpPortNo from public import voltha_protos/openflow_13.proto
490type OfpPortNo = openflow_13.OfpPortNo
491
492var OfpPortNo_name = openflow_13.OfpPortNo_name
493var OfpPortNo_value = openflow_13.OfpPortNo_value
494
495const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
496const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
497const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
498const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
499const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
500const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
501const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
502const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
503const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
504const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
505
506// OfpType from public import voltha_protos/openflow_13.proto
507type OfpType = openflow_13.OfpType
508
509var OfpType_name = openflow_13.OfpType_name
510var OfpType_value = openflow_13.OfpType_value
511
512const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
513const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
514const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
515const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
516const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
517const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
518const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
519const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
520const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
521const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
522const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
523const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
524const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
525const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
526const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
527const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
528const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
529const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
530const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
531const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
532const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
533const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
534const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
535const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
536const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
537const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
538const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
539const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
540const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
541const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
542
543// OfpHelloElemType from public import voltha_protos/openflow_13.proto
544type OfpHelloElemType = openflow_13.OfpHelloElemType
545
546var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
547var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
548
549const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
550const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
551
552// OfpConfigFlags from public import voltha_protos/openflow_13.proto
553type OfpConfigFlags = openflow_13.OfpConfigFlags
554
555var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
556var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
557
558const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
559const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
560const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
561const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
562
563// OfpTableConfig from public import voltha_protos/openflow_13.proto
564type OfpTableConfig = openflow_13.OfpTableConfig
565
566var OfpTableConfig_name = openflow_13.OfpTableConfig_name
567var OfpTableConfig_value = openflow_13.OfpTableConfig_value
568
569const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
570const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
571
572// OfpTable from public import voltha_protos/openflow_13.proto
573type OfpTable = openflow_13.OfpTable
574
575var OfpTable_name = openflow_13.OfpTable_name
576var OfpTable_value = openflow_13.OfpTable_value
577
578const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
579const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
580const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
581
582// OfpCapabilities from public import voltha_protos/openflow_13.proto
583type OfpCapabilities = openflow_13.OfpCapabilities
584
585var OfpCapabilities_name = openflow_13.OfpCapabilities_name
586var OfpCapabilities_value = openflow_13.OfpCapabilities_value
587
588const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
589const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
590const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
591const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
592const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
593const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
594const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
595const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
596
597// OfpPortConfig from public import voltha_protos/openflow_13.proto
598type OfpPortConfig = openflow_13.OfpPortConfig
599
600var OfpPortConfig_name = openflow_13.OfpPortConfig_name
601var OfpPortConfig_value = openflow_13.OfpPortConfig_value
602
603const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
604const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
605const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
606const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
607const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
608
609// OfpPortState from public import voltha_protos/openflow_13.proto
610type OfpPortState = openflow_13.OfpPortState
611
612var OfpPortState_name = openflow_13.OfpPortState_name
613var OfpPortState_value = openflow_13.OfpPortState_value
614
615const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
616const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
617const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
618const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
619
620// OfpPortFeatures from public import voltha_protos/openflow_13.proto
621type OfpPortFeatures = openflow_13.OfpPortFeatures
622
623var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
624var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
625
626const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
627const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
628const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
629const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
630const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
631const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
632const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
633const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
634const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
635const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
636const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
637const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
638const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
639const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
640const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
641const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
642const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
643
644// OfpPortReason from public import voltha_protos/openflow_13.proto
645type OfpPortReason = openflow_13.OfpPortReason
646
647var OfpPortReason_name = openflow_13.OfpPortReason_name
648var OfpPortReason_value = openflow_13.OfpPortReason_value
649
650const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
651const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
652const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
653
654// OfpMatchType from public import voltha_protos/openflow_13.proto
655type OfpMatchType = openflow_13.OfpMatchType
656
657var OfpMatchType_name = openflow_13.OfpMatchType_name
658var OfpMatchType_value = openflow_13.OfpMatchType_value
659
660const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
661const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
662
663// OfpOxmClass from public import voltha_protos/openflow_13.proto
664type OfpOxmClass = openflow_13.OfpOxmClass
665
666var OfpOxmClass_name = openflow_13.OfpOxmClass_name
667var OfpOxmClass_value = openflow_13.OfpOxmClass_value
668
669const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
670const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
671const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
672const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
673
674// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
675type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
676
677var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
678var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
679
680const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
681const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
682const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
683const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
684const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
685const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
686const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
687const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
688const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
689const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
690const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
691const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
692const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
693const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
694const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
695const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
696const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
697const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
698const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
699const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
700const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
701const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
702const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
703const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
704const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
705const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
706const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
707const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
708const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
709const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
710const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
711const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
712const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
713const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
714const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
715const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
716const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
717const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
718const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
719const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
720
721// OfpVlanId from public import voltha_protos/openflow_13.proto
722type OfpVlanId = openflow_13.OfpVlanId
723
724var OfpVlanId_name = openflow_13.OfpVlanId_name
725var OfpVlanId_value = openflow_13.OfpVlanId_value
726
727const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
728const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
729
730// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
731type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
732
733var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
734var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
735
736const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
737const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
738const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
739const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
740const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
741const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
742const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
743const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
744const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
745const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
746
747// OfpActionType from public import voltha_protos/openflow_13.proto
748type OfpActionType = openflow_13.OfpActionType
749
750var OfpActionType_name = openflow_13.OfpActionType_name
751var OfpActionType_value = openflow_13.OfpActionType_value
752
753const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
754const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
755const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
756const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
757const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
758const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
759const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
760const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
761const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
762const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
763const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
764const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
765const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
766const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
767const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
768const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
769const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
770
771// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
772type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
773
774var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
775var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
776
777const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
778const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
779const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
780
781// OfpInstructionType from public import voltha_protos/openflow_13.proto
782type OfpInstructionType = openflow_13.OfpInstructionType
783
784var OfpInstructionType_name = openflow_13.OfpInstructionType_name
785var OfpInstructionType_value = openflow_13.OfpInstructionType_value
786
787const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
788const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
789const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
790const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
791const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
792const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
793const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
794const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
795
796// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
797type OfpFlowModCommand = openflow_13.OfpFlowModCommand
798
799var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
800var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
801
802const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
803const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
804const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
805const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
806const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
807
808// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
809type OfpFlowModFlags = openflow_13.OfpFlowModFlags
810
811var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
812var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
813
814const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
815const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
816const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
817const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
818const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
819const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
820
821// OfpGroup from public import voltha_protos/openflow_13.proto
822type OfpGroup = openflow_13.OfpGroup
823
824var OfpGroup_name = openflow_13.OfpGroup_name
825var OfpGroup_value = openflow_13.OfpGroup_value
826
827const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
828const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
829const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
830const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
831
832// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
833type OfpGroupModCommand = openflow_13.OfpGroupModCommand
834
835var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
836var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
837
838const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
839const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
840const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
841
842// OfpGroupType from public import voltha_protos/openflow_13.proto
843type OfpGroupType = openflow_13.OfpGroupType
844
845var OfpGroupType_name = openflow_13.OfpGroupType_name
846var OfpGroupType_value = openflow_13.OfpGroupType_value
847
848const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
849const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
850const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
851const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
852
853// OfpPacketInReason from public import voltha_protos/openflow_13.proto
854type OfpPacketInReason = openflow_13.OfpPacketInReason
855
856var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
857var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
858
859const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
860const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
861const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
862
863// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
864type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
865
866var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
867var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
868
869const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
870const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
871const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
872const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
873const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
874
875// OfpMeter from public import voltha_protos/openflow_13.proto
876type OfpMeter = openflow_13.OfpMeter
877
878var OfpMeter_name = openflow_13.OfpMeter_name
879var OfpMeter_value = openflow_13.OfpMeter_value
880
881const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
882const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
883const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
884const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
885const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
886
887// OfpMeterBandType from public import voltha_protos/openflow_13.proto
888type OfpMeterBandType = openflow_13.OfpMeterBandType
889
890var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
891var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
892
893const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
894const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
895const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
896const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
897
898// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
899type OfpMeterModCommand = openflow_13.OfpMeterModCommand
900
901var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
902var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
903
904const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
905const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
906const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
907
908// OfpMeterFlags from public import voltha_protos/openflow_13.proto
909type OfpMeterFlags = openflow_13.OfpMeterFlags
910
911var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
912var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
913
914const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
915const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
916const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
917const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
918const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
919
920// OfpErrorType from public import voltha_protos/openflow_13.proto
921type OfpErrorType = openflow_13.OfpErrorType
922
923var OfpErrorType_name = openflow_13.OfpErrorType_name
924var OfpErrorType_value = openflow_13.OfpErrorType_value
925
926const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
927const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
928const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
929const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
930const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
931const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
932const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
933const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
934const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
935const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
936const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
937const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
938const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
939const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
940const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
941
942// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
943type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
944
945var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
946var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
947
948const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
949const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
950
951// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
952type OfpBadRequestCode = openflow_13.OfpBadRequestCode
953
954var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
955var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
956
957const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
958const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
959const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
960const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
961const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
962const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
963const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
964const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
965const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
966const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
967const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
968const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
969const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
970const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
971
972// OfpBadActionCode from public import voltha_protos/openflow_13.proto
973type OfpBadActionCode = openflow_13.OfpBadActionCode
974
975var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
976var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
977
978const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
979const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
980const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
981const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
982const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
983const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
984const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
985const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
986const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
987const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
988const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
989const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
990const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
991const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
992const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
993const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
994
995// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
996type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
997
998var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
999var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1000
1001const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1002const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1003const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1004const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1005const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1006const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1007const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1008const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1009const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1010
1011// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
1012type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1013
1014var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1015var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1016
1017const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1018const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1019const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1020const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1021const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1022const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1023const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1024const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1025const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1026const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1027const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1028const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1029
1030// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
1031type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1032
1033var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1034var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1035
1036const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1037const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1038const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1039const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1040const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1041const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1042const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1043const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1044
1045// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
1046type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1047
1048var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1049var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1050
1051const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1052const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1053const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1054const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1055const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1056const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1057const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1058const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1059const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1060const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1061const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1062const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1063const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1064const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1065const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1066
1067// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
1068type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1069
1070var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1071var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1072
1073const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1074const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1075const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1076const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1077const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1078
1079// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
1080type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1081
1082var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1083var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1084
1085const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1086const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1087const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1088
1089// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
1090type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1091
1092var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1093var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1094
1095const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1096const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1097const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1098
1099// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
1100type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1101
1102var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1103var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1104
1105const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1106const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1107const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1108
1109// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
1110type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1111
1112var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1113var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1114
1115const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1116const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1117const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1118
1119// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
1120type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1121
1122var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1123var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1124
1125const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1126const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1127const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1128const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1129const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1130const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1131const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1132const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1133const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
Esin Karamanccb714b2019-11-29 15:02:06 +00001134const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
William Kurkianea869482019-04-09 15:16:11 -04001135const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1136const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1137
1138// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
1139type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1140
1141var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1142var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1143
1144const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1145const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1146const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1147const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1148const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1149const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1150
1151// OfpMultipartType from public import voltha_protos/openflow_13.proto
1152type OfpMultipartType = openflow_13.OfpMultipartType
1153
1154var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1155var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1156
1157const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1158const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1159const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1160const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1161const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1162const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1163const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1164const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1165const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1166const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1167const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1168const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1169const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1170const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1171const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1172
1173// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
1174type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1175
1176var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1177var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1178
1179const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1180const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1181
1182// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
1183type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1184
1185var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1186var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1187
1188const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1189const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1190
1191// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
1192type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1193
1194var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1195var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1196
1197const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1198const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1199const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1200const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1201const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1202const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1203const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1204const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1205const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1206const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1207const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1208const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1209const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1210const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1211const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1212const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1213
1214// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
1215type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1216
1217var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1218var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1219
1220const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1221const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1222const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1223const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1224const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1225
1226// OfpQueueProperties from public import voltha_protos/openflow_13.proto
1227type OfpQueueProperties = openflow_13.OfpQueueProperties
1228
1229var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1230var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1231
1232const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1233const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1234const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1235const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1236
1237// OfpControllerRole from public import voltha_protos/openflow_13.proto
1238type OfpControllerRole = openflow_13.OfpControllerRole
1239
1240var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1241var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1242
1243const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1244const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1245const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1246const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1247
Devmalya Pauldd23a992019-11-14 07:06:31 +00001248type EventFilterRuleKey_EventFilterRuleType int32
William Kurkianea869482019-04-09 15:16:11 -04001249
1250const (
Devmalya Pauldd23a992019-11-14 07:06:31 +00001251 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1252 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1253 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1254 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1255 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1256 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
William Kurkianea869482019-04-09 15:16:11 -04001257)
1258
Devmalya Pauldd23a992019-11-14 07:06:31 +00001259var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1260 0: "filter_all",
1261 1: "category",
1262 2: "sub_category",
1263 3: "kpi_event_type",
1264 4: "config_event_type",
1265 5: "device_event_type",
William Kurkianea869482019-04-09 15:16:11 -04001266}
1267
Devmalya Pauldd23a992019-11-14 07:06:31 +00001268var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1269 "filter_all": 0,
1270 "category": 1,
1271 "sub_category": 2,
1272 "kpi_event_type": 3,
1273 "config_event_type": 4,
1274 "device_event_type": 5,
William Kurkianea869482019-04-09 15:16:11 -04001275}
1276
Devmalya Pauldd23a992019-11-14 07:06:31 +00001277func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1278 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
William Kurkianea869482019-04-09 15:16:11 -04001279}
1280
Devmalya Pauldd23a992019-11-14 07:06:31 +00001281func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -04001282 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
1283}
1284
1285type SelfTestResponse_SelfTestResult int32
1286
1287const (
1288 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1289 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1290 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1291 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1292)
1293
1294var SelfTestResponse_SelfTestResult_name = map[int32]string{
1295 0: "SUCCESS",
1296 1: "FAILURE",
1297 2: "NOT_SUPPORTED",
1298 3: "UNKNOWN_ERROR",
1299}
1300
1301var SelfTestResponse_SelfTestResult_value = map[string]int32{
1302 "SUCCESS": 0,
1303 "FAILURE": 1,
1304 "NOT_SUPPORTED": 2,
1305 "UNKNOWN_ERROR": 3,
1306}
1307
1308func (x SelfTestResponse_SelfTestResult) String() string {
1309 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1310}
1311
1312func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
kdarapub26b4502019-10-05 03:02:33 +05301313 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
William Kurkianea869482019-04-09 15:16:11 -04001314}
1315
1316type DeviceGroup struct {
1317 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1318 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1319 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1320 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1321 XXX_unrecognized []byte `json:"-"`
1322 XXX_sizecache int32 `json:"-"`
1323}
1324
1325func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1326func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1327func (*DeviceGroup) ProtoMessage() {}
1328func (*DeviceGroup) Descriptor() ([]byte, []int) {
1329 return fileDescriptor_e084f1a60ce7016c, []int{0}
1330}
1331
1332func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1333 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1334}
1335func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1336 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1337}
1338func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1339 xxx_messageInfo_DeviceGroup.Merge(m, src)
1340}
1341func (m *DeviceGroup) XXX_Size() int {
1342 return xxx_messageInfo_DeviceGroup.Size(m)
1343}
1344func (m *DeviceGroup) XXX_DiscardUnknown() {
1345 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1346}
1347
1348var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1349
1350func (m *DeviceGroup) GetId() string {
1351 if m != nil {
1352 return m.Id
1353 }
1354 return ""
1355}
1356
1357func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1358 if m != nil {
1359 return m.LogicalDevices
1360 }
1361 return nil
1362}
1363
1364func (m *DeviceGroup) GetDevices() []*Device {
1365 if m != nil {
1366 return m.Devices
1367 }
1368 return nil
1369}
1370
1371type DeviceGroups struct {
1372 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1373 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1374 XXX_unrecognized []byte `json:"-"`
1375 XXX_sizecache int32 `json:"-"`
1376}
1377
1378func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1379func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1380func (*DeviceGroups) ProtoMessage() {}
1381func (*DeviceGroups) Descriptor() ([]byte, []int) {
1382 return fileDescriptor_e084f1a60ce7016c, []int{1}
1383}
1384
1385func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1386 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1387}
1388func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1389 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1390}
1391func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1392 xxx_messageInfo_DeviceGroups.Merge(m, src)
1393}
1394func (m *DeviceGroups) XXX_Size() int {
1395 return xxx_messageInfo_DeviceGroups.Size(m)
1396}
1397func (m *DeviceGroups) XXX_DiscardUnknown() {
1398 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1399}
1400
1401var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1402
1403func (m *DeviceGroups) GetItems() []*DeviceGroup {
1404 if m != nil {
1405 return m.Items
1406 }
1407 return nil
1408}
1409
Devmalya Pauldd23a992019-11-14 07:06:31 +00001410type EventFilterRuleKey struct {
William Kurkianea869482019-04-09 15:16:11 -04001411 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1412 XXX_unrecognized []byte `json:"-"`
1413 XXX_sizecache int32 `json:"-"`
1414}
1415
Devmalya Pauldd23a992019-11-14 07:06:31 +00001416func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1417func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1418func (*EventFilterRuleKey) ProtoMessage() {}
1419func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -04001420 return fileDescriptor_e084f1a60ce7016c, []int{2}
1421}
1422
Devmalya Pauldd23a992019-11-14 07:06:31 +00001423func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1424 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
William Kurkianea869482019-04-09 15:16:11 -04001425}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001426func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1427 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
William Kurkianea869482019-04-09 15:16:11 -04001428}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001429func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1430 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
William Kurkianea869482019-04-09 15:16:11 -04001431}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001432func (m *EventFilterRuleKey) XXX_Size() int {
1433 return xxx_messageInfo_EventFilterRuleKey.Size(m)
William Kurkianea869482019-04-09 15:16:11 -04001434}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001435func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1436 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
William Kurkianea869482019-04-09 15:16:11 -04001437}
1438
Devmalya Pauldd23a992019-11-14 07:06:31 +00001439var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
William Kurkianea869482019-04-09 15:16:11 -04001440
Devmalya Pauldd23a992019-11-14 07:06:31 +00001441type EventFilterRule struct {
1442 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1443 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1444 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1445 XXX_unrecognized []byte `json:"-"`
1446 XXX_sizecache int32 `json:"-"`
William Kurkianea869482019-04-09 15:16:11 -04001447}
1448
Devmalya Pauldd23a992019-11-14 07:06:31 +00001449func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1450func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1451func (*EventFilterRule) ProtoMessage() {}
1452func (*EventFilterRule) Descriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -04001453 return fileDescriptor_e084f1a60ce7016c, []int{3}
1454}
1455
Devmalya Pauldd23a992019-11-14 07:06:31 +00001456func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1457 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
William Kurkianea869482019-04-09 15:16:11 -04001458}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001459func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1460 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
William Kurkianea869482019-04-09 15:16:11 -04001461}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001462func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1463 xxx_messageInfo_EventFilterRule.Merge(m, src)
William Kurkianea869482019-04-09 15:16:11 -04001464}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001465func (m *EventFilterRule) XXX_Size() int {
1466 return xxx_messageInfo_EventFilterRule.Size(m)
William Kurkianea869482019-04-09 15:16:11 -04001467}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001468func (m *EventFilterRule) XXX_DiscardUnknown() {
1469 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
William Kurkianea869482019-04-09 15:16:11 -04001470}
1471
Devmalya Pauldd23a992019-11-14 07:06:31 +00001472var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
William Kurkianea869482019-04-09 15:16:11 -04001473
Devmalya Pauldd23a992019-11-14 07:06:31 +00001474func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
William Kurkianea869482019-04-09 15:16:11 -04001475 if m != nil {
1476 return m.Key
1477 }
Devmalya Pauldd23a992019-11-14 07:06:31 +00001478 return EventFilterRuleKey_filter_all
William Kurkianea869482019-04-09 15:16:11 -04001479}
1480
Devmalya Pauldd23a992019-11-14 07:06:31 +00001481func (m *EventFilterRule) GetValue() string {
William Kurkianea869482019-04-09 15:16:11 -04001482 if m != nil {
1483 return m.Value
1484 }
1485 return ""
1486}
1487
Devmalya Pauldd23a992019-11-14 07:06:31 +00001488type EventFilter struct {
William Kurkianea869482019-04-09 15:16:11 -04001489 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Devmalya Pauldd23a992019-11-14 07:06:31 +00001490 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1491 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1492 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1493 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -04001494 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1495 XXX_unrecognized []byte `json:"-"`
1496 XXX_sizecache int32 `json:"-"`
1497}
1498
Devmalya Pauldd23a992019-11-14 07:06:31 +00001499func (m *EventFilter) Reset() { *m = EventFilter{} }
1500func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1501func (*EventFilter) ProtoMessage() {}
1502func (*EventFilter) Descriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -04001503 return fileDescriptor_e084f1a60ce7016c, []int{4}
1504}
1505
Devmalya Pauldd23a992019-11-14 07:06:31 +00001506func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1507 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
William Kurkianea869482019-04-09 15:16:11 -04001508}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001509func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1510 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
William Kurkianea869482019-04-09 15:16:11 -04001511}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001512func (m *EventFilter) XXX_Merge(src proto.Message) {
1513 xxx_messageInfo_EventFilter.Merge(m, src)
William Kurkianea869482019-04-09 15:16:11 -04001514}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001515func (m *EventFilter) XXX_Size() int {
1516 return xxx_messageInfo_EventFilter.Size(m)
William Kurkianea869482019-04-09 15:16:11 -04001517}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001518func (m *EventFilter) XXX_DiscardUnknown() {
1519 xxx_messageInfo_EventFilter.DiscardUnknown(m)
William Kurkianea869482019-04-09 15:16:11 -04001520}
1521
Devmalya Pauldd23a992019-11-14 07:06:31 +00001522var xxx_messageInfo_EventFilter proto.InternalMessageInfo
William Kurkianea869482019-04-09 15:16:11 -04001523
Devmalya Pauldd23a992019-11-14 07:06:31 +00001524func (m *EventFilter) GetId() string {
William Kurkianea869482019-04-09 15:16:11 -04001525 if m != nil {
1526 return m.Id
1527 }
1528 return ""
1529}
1530
Devmalya Pauldd23a992019-11-14 07:06:31 +00001531func (m *EventFilter) GetEnable() bool {
1532 if m != nil {
1533 return m.Enable
1534 }
1535 return false
1536}
1537
1538func (m *EventFilter) GetDeviceId() string {
1539 if m != nil {
1540 return m.DeviceId
1541 }
1542 return ""
1543}
1544
1545func (m *EventFilter) GetEventType() string {
1546 if m != nil {
1547 return m.EventType
1548 }
1549 return ""
1550}
1551
1552func (m *EventFilter) GetRules() []*EventFilterRule {
William Kurkianea869482019-04-09 15:16:11 -04001553 if m != nil {
1554 return m.Rules
1555 }
1556 return nil
1557}
1558
Devmalya Pauldd23a992019-11-14 07:06:31 +00001559type EventFilters struct {
1560 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -04001561 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1562 XXX_unrecognized []byte `json:"-"`
1563 XXX_sizecache int32 `json:"-"`
1564}
1565
Devmalya Pauldd23a992019-11-14 07:06:31 +00001566func (m *EventFilters) Reset() { *m = EventFilters{} }
1567func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1568func (*EventFilters) ProtoMessage() {}
1569func (*EventFilters) Descriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -04001570 return fileDescriptor_e084f1a60ce7016c, []int{5}
1571}
1572
Devmalya Pauldd23a992019-11-14 07:06:31 +00001573func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1574 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
William Kurkianea869482019-04-09 15:16:11 -04001575}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001576func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1577 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
William Kurkianea869482019-04-09 15:16:11 -04001578}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001579func (m *EventFilters) XXX_Merge(src proto.Message) {
1580 xxx_messageInfo_EventFilters.Merge(m, src)
William Kurkianea869482019-04-09 15:16:11 -04001581}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001582func (m *EventFilters) XXX_Size() int {
1583 return xxx_messageInfo_EventFilters.Size(m)
William Kurkianea869482019-04-09 15:16:11 -04001584}
Devmalya Pauldd23a992019-11-14 07:06:31 +00001585func (m *EventFilters) XXX_DiscardUnknown() {
1586 xxx_messageInfo_EventFilters.DiscardUnknown(m)
William Kurkianea869482019-04-09 15:16:11 -04001587}
1588
Devmalya Pauldd23a992019-11-14 07:06:31 +00001589var xxx_messageInfo_EventFilters proto.InternalMessageInfo
William Kurkianea869482019-04-09 15:16:11 -04001590
Devmalya Pauldd23a992019-11-14 07:06:31 +00001591func (m *EventFilters) GetFilters() []*EventFilter {
William Kurkianea869482019-04-09 15:16:11 -04001592 if m != nil {
1593 return m.Filters
1594 }
1595 return nil
1596}
1597
William Kurkianea869482019-04-09 15:16:11 -04001598// CoreInstance represents a core instance. It is data held in memory when a core
1599// is running. This data is not persistent.
1600type CoreInstance struct {
1601 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1602 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1603 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1604 XXX_unrecognized []byte `json:"-"`
1605 XXX_sizecache int32 `json:"-"`
1606}
1607
1608func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1609func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1610func (*CoreInstance) ProtoMessage() {}
1611func (*CoreInstance) Descriptor() ([]byte, []int) {
kdarapub26b4502019-10-05 03:02:33 +05301612 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkianea869482019-04-09 15:16:11 -04001613}
1614
1615func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1616 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1617}
1618func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1619 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1620}
1621func (m *CoreInstance) XXX_Merge(src proto.Message) {
1622 xxx_messageInfo_CoreInstance.Merge(m, src)
1623}
1624func (m *CoreInstance) XXX_Size() int {
1625 return xxx_messageInfo_CoreInstance.Size(m)
1626}
1627func (m *CoreInstance) XXX_DiscardUnknown() {
1628 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1629}
1630
1631var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1632
1633func (m *CoreInstance) GetInstanceId() string {
1634 if m != nil {
1635 return m.InstanceId
1636 }
1637 return ""
1638}
1639
1640func (m *CoreInstance) GetHealth() *HealthStatus {
1641 if m != nil {
1642 return m.Health
1643 }
1644 return nil
1645}
1646
1647type CoreInstances struct {
1648 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1649 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1650 XXX_unrecognized []byte `json:"-"`
1651 XXX_sizecache int32 `json:"-"`
1652}
1653
1654func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1655func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1656func (*CoreInstances) ProtoMessage() {}
1657func (*CoreInstances) Descriptor() ([]byte, []int) {
kdarapub26b4502019-10-05 03:02:33 +05301658 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkianea869482019-04-09 15:16:11 -04001659}
1660
1661func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1662 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1663}
1664func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1665 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1666}
1667func (m *CoreInstances) XXX_Merge(src proto.Message) {
1668 xxx_messageInfo_CoreInstances.Merge(m, src)
1669}
1670func (m *CoreInstances) XXX_Size() int {
1671 return xxx_messageInfo_CoreInstances.Size(m)
1672}
1673func (m *CoreInstances) XXX_DiscardUnknown() {
1674 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1675}
1676
1677var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1678
1679func (m *CoreInstances) GetItems() []*CoreInstance {
1680 if m != nil {
1681 return m.Items
1682 }
1683 return nil
1684}
1685
1686// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1687// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1688// for better performance
1689type Voltha struct {
1690 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1691 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1692 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1693 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1694 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1695 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Devmalya Pauldd23a992019-11-14 07:06:31 +00001696 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -04001697 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1698 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1699 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1700 XXX_unrecognized []byte `json:"-"`
1701 XXX_sizecache int32 `json:"-"`
1702}
1703
1704func (m *Voltha) Reset() { *m = Voltha{} }
1705func (m *Voltha) String() string { return proto.CompactTextString(m) }
1706func (*Voltha) ProtoMessage() {}
1707func (*Voltha) Descriptor() ([]byte, []int) {
kdarapub26b4502019-10-05 03:02:33 +05301708 return fileDescriptor_e084f1a60ce7016c, []int{8}
William Kurkianea869482019-04-09 15:16:11 -04001709}
1710
1711func (m *Voltha) XXX_Unmarshal(b []byte) error {
1712 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1713}
1714func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1715 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1716}
1717func (m *Voltha) XXX_Merge(src proto.Message) {
1718 xxx_messageInfo_Voltha.Merge(m, src)
1719}
1720func (m *Voltha) XXX_Size() int {
1721 return xxx_messageInfo_Voltha.Size(m)
1722}
1723func (m *Voltha) XXX_DiscardUnknown() {
1724 xxx_messageInfo_Voltha.DiscardUnknown(m)
1725}
1726
1727var xxx_messageInfo_Voltha proto.InternalMessageInfo
1728
1729func (m *Voltha) GetVersion() string {
1730 if m != nil {
1731 return m.Version
1732 }
1733 return ""
1734}
1735
1736func (m *Voltha) GetAdapters() []*Adapter {
1737 if m != nil {
1738 return m.Adapters
1739 }
1740 return nil
1741}
1742
1743func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1744 if m != nil {
1745 return m.LogicalDevices
1746 }
1747 return nil
1748}
1749
1750func (m *Voltha) GetDevices() []*Device {
1751 if m != nil {
1752 return m.Devices
1753 }
1754 return nil
1755}
1756
1757func (m *Voltha) GetDeviceTypes() []*DeviceType {
1758 if m != nil {
1759 return m.DeviceTypes
1760 }
1761 return nil
1762}
1763
1764func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1765 if m != nil {
1766 return m.DeviceGroups
1767 }
1768 return nil
1769}
1770
Devmalya Pauldd23a992019-11-14 07:06:31 +00001771func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkianea869482019-04-09 15:16:11 -04001772 if m != nil {
Devmalya Pauldd23a992019-11-14 07:06:31 +00001773 return m.EventFilters
William Kurkianea869482019-04-09 15:16:11 -04001774 }
1775 return nil
1776}
1777
1778func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1779 if m != nil {
1780 return m.OmciMibDatabase
1781 }
1782 return nil
1783}
1784
1785func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1786 if m != nil {
1787 return m.OmciAlarmDatabase
1788 }
1789 return nil
1790}
1791
1792// Device Self Test Response
1793type SelfTestResponse struct {
1794 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1795 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1796 XXX_unrecognized []byte `json:"-"`
1797 XXX_sizecache int32 `json:"-"`
1798}
1799
1800func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
1801func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
1802func (*SelfTestResponse) ProtoMessage() {}
1803func (*SelfTestResponse) Descriptor() ([]byte, []int) {
kdarapub26b4502019-10-05 03:02:33 +05301804 return fileDescriptor_e084f1a60ce7016c, []int{9}
William Kurkianea869482019-04-09 15:16:11 -04001805}
1806
1807func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
1808 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
1809}
1810func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1811 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
1812}
1813func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
1814 xxx_messageInfo_SelfTestResponse.Merge(m, src)
1815}
1816func (m *SelfTestResponse) XXX_Size() int {
1817 return xxx_messageInfo_SelfTestResponse.Size(m)
1818}
1819func (m *SelfTestResponse) XXX_DiscardUnknown() {
1820 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
1821}
1822
1823var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
1824
1825func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
1826 if m != nil {
1827 return m.Result
1828 }
1829 return SelfTestResponse_SUCCESS
1830}
1831
1832type OfAgentSubscriber struct {
1833 // ID of ofagent instance
1834 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
1835 // ID of voltha instance to which the ofagent is subscribed
1836 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
1837 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1838 XXX_unrecognized []byte `json:"-"`
1839 XXX_sizecache int32 `json:"-"`
1840}
1841
1842func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
1843func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
1844func (*OfAgentSubscriber) ProtoMessage() {}
1845func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
kdarapub26b4502019-10-05 03:02:33 +05301846 return fileDescriptor_e084f1a60ce7016c, []int{10}
William Kurkianea869482019-04-09 15:16:11 -04001847}
1848
1849func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
1850 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
1851}
1852func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1853 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
1854}
1855func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
1856 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
1857}
1858func (m *OfAgentSubscriber) XXX_Size() int {
1859 return xxx_messageInfo_OfAgentSubscriber.Size(m)
1860}
1861func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
1862 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
1863}
1864
1865var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
1866
1867func (m *OfAgentSubscriber) GetOfagentId() string {
1868 if m != nil {
1869 return m.OfagentId
1870 }
1871 return ""
1872}
1873
1874func (m *OfAgentSubscriber) GetVolthaId() string {
1875 if m != nil {
1876 return m.VolthaId
1877 }
1878 return ""
1879}
1880
1881// Identifies a membership group a Core belongs to
1882type Membership struct {
1883 // Group name
1884 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
1885 // Unique ID of a container within that group
1886 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
1887 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1888 XXX_unrecognized []byte `json:"-"`
1889 XXX_sizecache int32 `json:"-"`
1890}
1891
1892func (m *Membership) Reset() { *m = Membership{} }
1893func (m *Membership) String() string { return proto.CompactTextString(m) }
1894func (*Membership) ProtoMessage() {}
1895func (*Membership) Descriptor() ([]byte, []int) {
kdarapub26b4502019-10-05 03:02:33 +05301896 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkianea869482019-04-09 15:16:11 -04001897}
1898
1899func (m *Membership) XXX_Unmarshal(b []byte) error {
1900 return xxx_messageInfo_Membership.Unmarshal(m, b)
1901}
1902func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1903 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
1904}
1905func (m *Membership) XXX_Merge(src proto.Message) {
1906 xxx_messageInfo_Membership.Merge(m, src)
1907}
1908func (m *Membership) XXX_Size() int {
1909 return xxx_messageInfo_Membership.Size(m)
1910}
1911func (m *Membership) XXX_DiscardUnknown() {
1912 xxx_messageInfo_Membership.DiscardUnknown(m)
1913}
1914
1915var xxx_messageInfo_Membership proto.InternalMessageInfo
1916
1917func (m *Membership) GetGroupName() string {
1918 if m != nil {
1919 return m.GroupName
1920 }
1921 return ""
1922}
1923
1924func (m *Membership) GetId() string {
1925 if m != nil {
1926 return m.Id
1927 }
1928 return ""
1929}
1930
Manikkaraj kb1d51442019-07-23 10:41:02 -04001931// Additional information required to process flow at device adapters
1932type FlowMetadata struct {
1933 // Meters associated with flow-update to adapter
1934 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
1935 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1936 XXX_unrecognized []byte `json:"-"`
1937 XXX_sizecache int32 `json:"-"`
1938}
1939
1940func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
1941func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
1942func (*FlowMetadata) ProtoMessage() {}
1943func (*FlowMetadata) Descriptor() ([]byte, []int) {
kdarapub26b4502019-10-05 03:02:33 +05301944 return fileDescriptor_e084f1a60ce7016c, []int{12}
Manikkaraj kb1d51442019-07-23 10:41:02 -04001945}
1946
1947func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
1948 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
1949}
1950func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1951 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
1952}
1953func (m *FlowMetadata) XXX_Merge(src proto.Message) {
1954 xxx_messageInfo_FlowMetadata.Merge(m, src)
1955}
1956func (m *FlowMetadata) XXX_Size() int {
1957 return xxx_messageInfo_FlowMetadata.Size(m)
1958}
1959func (m *FlowMetadata) XXX_DiscardUnknown() {
1960 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
1961}
1962
1963var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
1964
1965func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
1966 if m != nil {
1967 return m.Meters
1968 }
1969 return nil
1970}
1971
William Kurkianea869482019-04-09 15:16:11 -04001972func init() {
Devmalya Pauldd23a992019-11-14 07:06:31 +00001973 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
William Kurkianea869482019-04-09 15:16:11 -04001974 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
1975 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
1976 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Devmalya Pauldd23a992019-11-14 07:06:31 +00001977 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
1978 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
1979 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
1980 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
William Kurkianea869482019-04-09 15:16:11 -04001981 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
1982 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
1983 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
1984 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
1985 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
1986 proto.RegisterType((*Membership)(nil), "voltha.Membership")
Manikkaraj kb1d51442019-07-23 10:41:02 -04001987 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianea869482019-04-09 15:16:11 -04001988}
1989
1990func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
1991
1992var fileDescriptor_e084f1a60ce7016c = []byte{
Devmalya Paul41a762d2020-03-01 18:56:54 -05001993 // 2400 bytes of a gzipped FileDescriptorProto
1994 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4b, 0x73, 0x1b, 0xc7,
1995 0x11, 0xe6, 0xf2, 0xcd, 0x26, 0x48, 0x02, 0x03, 0x3e, 0x20, 0x90, 0xb4, 0xa4, 0xb1, 0x2c, 0x31,
1996 0xb4, 0x09, 0x48, 0xa2, 0xac, 0x4a, 0xa4, 0xb8, 0x62, 0xbe, 0xc4, 0x20, 0x12, 0x05, 0x64, 0x29,
1997 0x4a, 0x79, 0x58, 0x85, 0x5a, 0x60, 0x07, 0xe0, 0x96, 0x16, 0x58, 0x64, 0x77, 0x40, 0x99, 0xa5,
1998 0xf2, 0xc5, 0x79, 0x38, 0x77, 0xdf, 0x73, 0x4a, 0x2a, 0x55, 0xf9, 0x2f, 0x3e, 0xf9, 0x94, 0x6b,
1999 0x2a, 0x87, 0xfc, 0x02, 0x9f, 0x53, 0xd3, 0x33, 0x0b, 0xec, 0x62, 0x77, 0x49, 0xc2, 0x71, 0x55,
2000 0x4e, 0xe4, 0x4e, 0xf7, 0x7c, 0xfd, 0x75, 0xcf, 0x4c, 0x4f, 0x4f, 0x03, 0xf2, 0x67, 0x8e, 0xcd,
2001 0x4f, 0x8d, 0x6a, 0xc7, 0x75, 0xb8, 0xe3, 0x15, 0xe5, 0x57, 0x01, 0xbf, 0xc8, 0xa4, 0xfc, 0xca,
2002 0xaf, 0x35, 0x1d, 0xa7, 0x69, 0xb3, 0xa2, 0xd1, 0xb1, 0x8a, 0x46, 0xbb, 0xed, 0x70, 0x83, 0x5b,
2003 0x4e, 0xdb, 0x93, 0x5a, 0xf9, 0x55, 0x25, 0xc5, 0xaf, 0x5a, 0xb7, 0x51, 0x64, 0xad, 0x0e, 0x3f,
2004 0x57, 0xc2, 0x5c, 0x18, 0xbe, 0xc5, 0xb8, 0x02, 0xcf, 0x0f, 0x18, 0xae, 0x3b, 0xad, 0x96, 0xd3,
2005 0x8e, 0x97, 0x9d, 0x32, 0xc3, 0xe6, 0xa7, 0x4a, 0x46, 0xc3, 0x32, 0xdb, 0x69, 0x5a, 0x75, 0xc3,
2006 0xae, 0x9a, 0xec, 0xcc, 0xaa, 0xb3, 0xf8, 0xf9, 0x21, 0xd9, 0x6a, 0x58, 0x66, 0x98, 0x46, 0x87,
2007 0x33, 0x57, 0x09, 0xaf, 0x87, 0x85, 0x4e, 0x87, 0xb5, 0x1b, 0xb6, 0xf3, 0xb6, 0x7a, 0x6f, 0x3b,
2008 0x41, 0xa1, 0x55, 0xb7, 0xaa, 0x2d, 0xab, 0x56, 0x35, 0x6b, 0x4a, 0xe1, 0x66, 0x8c, 0x82, 0x61,
2009 0x1b, 0x6e, 0xab, 0xa7, 0x42, 0xff, 0xaa, 0xc1, 0xec, 0x3e, 0x52, 0x3a, 0x74, 0x9d, 0x6e, 0x87,
2010 0x2c, 0xc1, 0xa8, 0x65, 0xe6, 0xb4, 0x1b, 0xda, 0xc6, 0xcc, 0xee, 0xc4, 0x7f, 0xbe, 0xfb, 0x66,
2011 0x5d, 0xd3, 0x47, 0x2d, 0x93, 0x94, 0x60, 0x21, 0xec, 0x9c, 0x97, 0x1b, 0xbd, 0x31, 0xb6, 0x31,
2012 0x7b, 0x7f, 0xa9, 0xa0, 0x56, 0xe9, 0x99, 0x14, 0x4b, 0xac, 0xdd, 0x99, 0x7f, 0x7d, 0xf7, 0xcd,
2013 0xfa, 0xb8, 0xc0, 0xd2, 0xe7, 0xed, 0xa0, 0xc4, 0x23, 0xdb, 0x30, 0xe5, 0x43, 0x8c, 0x21, 0xc4,
2014 0xbc, 0x0f, 0x11, 0x9d, 0xeb, 0x6b, 0xd2, 0x9f, 0x40, 0x2a, 0xc0, 0xd2, 0x23, 0x3f, 0x82, 0x09,
2015 0x8b, 0xb3, 0x96, 0x97, 0xd3, 0x10, 0x22, 0x1b, 0x86, 0x40, 0x25, 0x5d, 0x6a, 0xd0, 0xbf, 0x68,
2016 0x40, 0x0e, 0xce, 0x58, 0x9b, 0x3f, 0xb1, 0x6c, 0xce, 0x5c, 0xbd, 0x6b, 0xb3, 0xa7, 0xec, 0x9c,
2017 0x7e, 0xa5, 0x41, 0x76, 0x60, 0xf8, 0xc5, 0x79, 0x87, 0x91, 0x79, 0x80, 0x06, 0x8e, 0x54, 0x0d,
2018 0xdb, 0x4e, 0x8f, 0x90, 0x14, 0x4c, 0xd7, 0x0d, 0xce, 0x9a, 0x8e, 0x7b, 0x9e, 0xd6, 0x48, 0x1a,
2019 0x52, 0x5e, 0xb7, 0x56, 0xed, 0x8d, 0x8c, 0x12, 0x02, 0xf3, 0x6f, 0x3a, 0x56, 0x95, 0x09, 0xa8,
2020 0x2a, 0x3f, 0xef, 0xb0, 0xf4, 0x18, 0x59, 0x82, 0x4c, 0xdd, 0x69, 0x37, 0xac, 0x66, 0x70, 0x78,
2021 0x5c, 0x0c, 0x4b, 0x7f, 0x82, 0xc3, 0x13, 0xd4, 0x82, 0x85, 0x01, 0x22, 0xe4, 0x53, 0x18, 0x7b,
2022 0xc3, 0xce, 0x71, 0x19, 0xe6, 0xef, 0x17, 0x7c, 0xe7, 0xa2, 0x5e, 0x14, 0x62, 0x3c, 0xd0, 0xc5,
2023 0x54, 0xb2, 0x08, 0x13, 0x67, 0x86, 0xdd, 0x65, 0xb9, 0x51, 0xb1, 0x94, 0xba, 0xfc, 0xa0, 0x7f,
2024 0xd7, 0x60, 0x36, 0x30, 0x25, 0x69, 0xb5, 0x97, 0x61, 0x92, 0xb5, 0x8d, 0x9a, 0x2d, 0x67, 0x4f,
2025 0xeb, 0xea, 0x8b, 0xac, 0xc2, 0x8c, 0x72, 0xc0, 0x32, 0x73, 0x63, 0x08, 0x3c, 0x2d, 0x07, 0x4a,
2026 0x26, 0x59, 0x07, 0xe8, 0xbb, 0x95, 0x1b, 0x47, 0xe9, 0x0c, 0x8e, 0x60, 0x5c, 0xb7, 0x60, 0xc2,
2027 0xed, 0xda, 0xcc, 0xcb, 0x4d, 0xe0, 0x8a, 0xad, 0x24, 0x38, 0xa5, 0x4b, 0x2d, 0xfa, 0x09, 0xa4,
2028 0x02, 0x12, 0x8f, 0x6c, 0xc1, 0x94, 0x5c, 0x96, 0xc8, 0x92, 0x07, 0x01, 0x7c, 0x1d, 0xfa, 0x06,
2029 0x52, 0x7b, 0x8e, 0xcb, 0x4a, 0x6d, 0x8f, 0x1b, 0xed, 0x3a, 0x23, 0xb7, 0x61, 0xd6, 0x52, 0xff,
2030 0x57, 0x07, 0x3d, 0x06, 0x5f, 0x52, 0x32, 0xc9, 0x36, 0x4c, 0xca, 0x03, 0x8e, 0x9e, 0xcf, 0xde,
2031 0x5f, 0xf4, 0xad, 0xfc, 0x1c, 0x47, 0x8f, 0xb9, 0xc1, 0xbb, 0xde, 0xee, 0x84, 0xd8, 0xa1, 0x23,
2032 0xba, 0x52, 0xa5, 0x8f, 0x61, 0x2e, 0x68, 0xcc, 0x23, 0x9b, 0xe1, 0xdd, 0xd9, 0x03, 0x09, 0x6a,
2033 0xf9, 0xdb, 0xf3, 0x9f, 0xe3, 0x30, 0xf9, 0x12, 0xc5, 0xe4, 0x3a, 0x4c, 0x9d, 0x31, 0xd7, 0xb3,
2034 0x9c, 0x76, 0x98, 0xa0, 0x3f, 0x4a, 0x1e, 0xc2, 0xb4, 0x4a, 0x11, 0xfe, 0xf1, 0x5b, 0xf0, 0xa1,
2035 0x77, 0xe4, 0x78, 0xf0, 0xf0, 0xf4, 0x74, 0xe3, 0x4e, 0xef, 0xd8, 0xff, 0x7e, 0x7a, 0xc7, 0xaf,
2036 0x7a, 0x7a, 0xc9, 0xa7, 0x90, 0x52, 0xfb, 0x46, 0xec, 0x0d, 0x7f, 0x0b, 0x90, 0xf0, 0x4c, 0xb1,
2037 0x4b, 0x82, 0xb3, 0x67, 0xcd, 0xde, 0xb0, 0x47, 0xf6, 0x60, 0x4e, 0x21, 0x34, 0x31, 0x01, 0xe4,
2038 0x26, 0x13, 0xcf, 0x7d, 0x10, 0x43, 0x99, 0x55, 0x49, 0x63, 0x0f, 0xe6, 0xe4, 0x0e, 0xf5, 0x77,
2039 0xd2, 0x54, 0xe2, 0x4e, 0x0a, 0x81, 0xb0, 0xe0, 0x46, 0xfc, 0x25, 0x64, 0xfa, 0x89, 0xd6, 0xe0,
2040 0x46, 0xcd, 0xf0, 0x58, 0x6e, 0x4d, 0x01, 0x09, 0x49, 0xe1, 0xc8, 0xaa, 0x49, 0x3a, 0xfb, 0x06,
2041 0x37, 0x76, 0xd3, 0x02, 0x68, 0x36, 0x70, 0x70, 0xf4, 0x05, 0xa1, 0x25, 0x94, 0xd4, 0x6c, 0xf2,
2042 0x0a, 0xb2, 0xc1, 0xd4, 0xec, 0x83, 0xae, 0xab, 0x25, 0x42, 0xd0, 0x1d, 0x21, 0xbb, 0x10, 0x16,
2043 0x69, 0x49, 0x35, 0x85, 0x40, 0xff, 0xa6, 0x41, 0xfa, 0x98, 0xd9, 0x8d, 0x17, 0xcc, 0xe3, 0x3a,
2044 0xf3, 0x3a, 0x4e, 0xdb, 0x63, 0xe4, 0x67, 0x30, 0xe9, 0x32, 0xaf, 0x6b, 0x73, 0x95, 0x5e, 0xee,
2045 0xf8, 0xee, 0x0f, 0x6a, 0x06, 0x07, 0xba, 0x36, 0xd7, 0xd5, 0x34, 0x5a, 0x81, 0xf9, 0xb0, 0x84,
2046 0xcc, 0xc2, 0xd4, 0xf1, 0xc9, 0xde, 0xde, 0xc1, 0xf1, 0x71, 0x7a, 0x44, 0x7c, 0x3c, 0xd9, 0x29,
2047 0x3d, 0x3b, 0xd1, 0x0f, 0xd2, 0x1a, 0xc9, 0xc0, 0xdc, 0xf3, 0xf2, 0x8b, 0xea, 0xf1, 0x49, 0xa5,
2048 0x52, 0xd6, 0x5f, 0x1c, 0xec, 0xa7, 0x47, 0xc5, 0xd0, 0xc9, 0xf3, 0xa7, 0xcf, 0xcb, 0xaf, 0x9e,
2049 0x57, 0x0f, 0x74, 0xbd, 0xac, 0xa7, 0xc7, 0x68, 0x19, 0x32, 0xe5, 0xc6, 0x4e, 0x93, 0xb5, 0xf9,
2050 0x71, 0xb7, 0xe6, 0xd5, 0x5d, 0xab, 0xc6, 0x5c, 0x91, 0x4f, 0x9c, 0x86, 0x21, 0x06, 0x7b, 0x27,
2051 0x56, 0x9f, 0x51, 0x23, 0x25, 0x53, 0xe4, 0x22, 0x75, 0xbb, 0x59, 0xa6, 0x4a, 0x72, 0xd3, 0x72,
2052 0xa0, 0x64, 0xd2, 0xc7, 0x00, 0x47, 0xac, 0x55, 0x63, 0xae, 0x77, 0x6a, 0x75, 0x04, 0x12, 0xee,
2053 0x9a, 0x6a, 0xdb, 0x68, 0x31, 0x1f, 0x09, 0x47, 0x9e, 0x1b, 0x2d, 0x91, 0xf1, 0x47, 0x7b, 0x10,
2054 0xa3, 0x96, 0x49, 0x0f, 0x20, 0xf5, 0xc4, 0x76, 0xde, 0x1e, 0x31, 0x6e, 0x88, 0xb5, 0x20, 0x1f,
2055 0xc3, 0x64, 0x8b, 0x05, 0x32, 0xcf, 0x7a, 0x21, 0x78, 0x15, 0x3b, 0x8d, 0x4e, 0x15, 0xc5, 0x55,
2056 0x99, 0xf2, 0x75, 0xa5, 0x7c, 0xff, 0xdb, 0x2d, 0x98, 0x93, 0x07, 0xfb, 0x98, 0xb9, 0x62, 0x91,
2057 0xc8, 0x2b, 0x98, 0x3b, 0x64, 0x3c, 0x40, 0x6c, 0xb9, 0x20, 0xcb, 0x95, 0x82, 0x5f, 0xae, 0x14,
2058 0x0e, 0x44, 0xb9, 0x92, 0xef, 0x9d, 0x8c, 0xbe, 0x2e, 0xcd, 0x7f, 0xf9, 0xed, 0xbf, 0xbf, 0x1e,
2059 0x5d, 0x24, 0x04, 0x2b, 0x9f, 0xb3, 0x7b, 0xc5, 0x56, 0x1f, 0xe7, 0x35, 0xa4, 0x4f, 0x3a, 0xa6,
2060 0xc1, 0x59, 0x00, 0x3b, 0x06, 0x23, 0x9f, 0x60, 0x8f, 0xae, 0x23, 0xf6, 0x0a, 0x8d, 0xc1, 0x7e,
2061 0xa4, 0x6d, 0x92, 0x7d, 0x98, 0x39, 0x64, 0x5c, 0x25, 0xa9, 0x24, 0xce, 0xbd, 0x3c, 0x20, 0xf5,
2062 0xe8, 0x02, 0x62, 0xce, 0x90, 0x29, 0x85, 0x49, 0x5e, 0x43, 0xe6, 0x99, 0xe5, 0xf1, 0x70, 0xa6,
2063 0x4c, 0x42, 0x5b, 0x8a, 0x4b, 0x99, 0x1e, 0xbd, 0x86, 0xa0, 0x59, 0x92, 0xf1, 0x89, 0x5a, 0x3d,
2064 0xa4, 0x63, 0x58, 0x38, 0x64, 0x21, 0x74, 0x02, 0x05, 0x55, 0xc8, 0x95, 0xf6, 0xf3, 0xb1, 0x39,
2065 0x98, 0xbe, 0x87, 0x78, 0x39, 0xb2, 0x1c, 0xc1, 0x2b, 0xbe, 0xb3, 0xcc, 0x2f, 0x88, 0x0e, 0x29,
2066 0xc1, 0x79, 0xc7, 0x4f, 0xa4, 0x49, 0x74, 0xd3, 0x03, 0x69, 0xd8, 0xa3, 0x39, 0x44, 0x26, 0x24,
2067 0xed, 0x23, 0xf7, 0x92, 0x31, 0x03, 0x22, 0x30, 0x9f, 0x85, 0xf3, 0x6a, 0x12, 0xf2, 0x72, 0x6c,
2068 0x86, 0xf6, 0xe8, 0x75, 0xc4, 0xbf, 0x46, 0x56, 0x7c, 0xfc, 0x81, 0x04, 0x4f, 0x7e, 0x0b, 0xe9,
2069 0x43, 0x16, 0xb6, 0x12, 0x0a, 0x48, 0x7c, 0xea, 0xa7, 0xb7, 0x10, 0xf7, 0x3d, 0xb2, 0x96, 0x80,
2070 0x2b, 0xe3, 0xd2, 0x80, 0xe5, 0x88, 0x0f, 0x15, 0xc7, 0xe5, 0x5e, 0x7c, 0xcc, 0x95, 0x1e, 0x6a,
2071 0xd0, 0x4d, 0xb4, 0x70, 0x8b, 0xd0, 0x8b, 0x2c, 0x14, 0x3b, 0x88, 0xf6, 0x39, 0x2c, 0x0e, 0x3a,
2072 0x21, 0x40, 0xc8, 0x52, 0x0c, 0x72, 0xc9, 0xcc, 0x67, 0x63, 0x86, 0xe9, 0x03, 0xb4, 0x57, 0x20,
2073 0x1f, 0x5d, 0x6e, 0xaf, 0xf8, 0x4e, 0xfc, 0xa9, 0x0a, 0x0f, 0xff, 0xa8, 0xc1, 0xca, 0x01, 0x56,
2074 0x3d, 0x57, 0xb6, 0x9e, 0x74, 0xba, 0x1e, 0x23, 0x81, 0x8f, 0xe9, 0xf6, 0x30, 0x04, 0x8a, 0xaa,
2075 0xe4, 0xfa, 0x4a, 0x83, 0xdc, 0xbe, 0xe5, 0xfd, 0x20, 0x44, 0x7e, 0x8a, 0x44, 0x1e, 0xd2, 0x07,
2076 0x43, 0x11, 0x31, 0xa5, 0x75, 0x62, 0xc6, 0xac, 0xb9, 0xc8, 0x93, 0xe1, 0x35, 0x27, 0xa1, 0xe4,
2077 0x88, 0xf2, 0x2b, 0xae, 0x78, 0x03, 0xb1, 0x7e, 0xaf, 0xc1, 0x9a, 0xcc, 0x65, 0x11, 0x43, 0x2f,
2078 0x90, 0xc6, 0x5a, 0xc4, 0x00, 0x8e, 0xcb, 0x39, 0x89, 0xae, 0x6f, 0x21, 0x85, 0x3b, 0xf4, 0x0a,
2079 0x14, 0x44, 0xc6, 0xfb, 0x83, 0x06, 0xeb, 0x31, 0x2c, 0x8e, 0x44, 0x66, 0x97, 0x34, 0x56, 0x43,
2080 0x34, 0x50, 0x70, 0xe4, 0x98, 0x97, 0xb0, 0x28, 0x20, 0x8b, 0x0d, 0xfa, 0xfe, 0x85, 0x2c, 0xe4,
2081 0xfd, 0x21, 0x68, 0x34, 0x61, 0x25, 0x12, 0x72, 0x34, 0x15, 0x8e, 0x79, 0x36, 0xca, 0xc5, 0xa3,
2082 0x1f, 0xa2, 0xad, 0x0f, 0xc8, 0x55, 0x6c, 0x11, 0x0e, 0xab, 0xb1, 0x6b, 0xab, 0x0a, 0xa7, 0xa0,
2083 0xb1, 0x95, 0x48, 0xfc, 0xa5, 0x12, 0xbd, 0x8b, 0x06, 0x37, 0xc9, 0xc6, 0xa5, 0x21, 0x56, 0x35,
2084 0x1c, 0xf9, 0x5a, 0x83, 0x9b, 0x09, 0x6b, 0x8d, 0x98, 0x32, 0xd2, 0x37, 0xe3, 0x0d, 0x5e, 0x65,
2085 0xd5, 0xb7, 0x91, 0xd2, 0x16, 0xbd, 0x32, 0x25, 0x11, 0xf4, 0x32, 0xcc, 0x8a, 0x58, 0x5c, 0x96,
2086 0x98, 0x17, 0xc2, 0xa5, 0xa7, 0x47, 0x57, 0xd0, 0x58, 0x86, 0x2c, 0xf8, 0xc6, 0xfc, 0x4c, 0x5c,
2087 0x86, 0xb9, 0x3e, 0x60, 0xc9, 0x4c, 0x86, 0x9c, 0xed, 0x87, 0x39, 0xe6, 0xaa, 0x93, 0x70, 0x96,
2088 0xe9, 0x91, 0x13, 0x48, 0xeb, 0xac, 0xee, 0xb4, 0xeb, 0x96, 0xcd, 0x7c, 0x9a, 0xc1, 0xb9, 0x89,
2089 0xf1, 0x58, 0x43, 0xcc, 0x65, 0x1a, 0xc5, 0x14, 0x8e, 0x1f, 0xe0, 0x35, 0x1f, 0x73, 0x55, 0x0c,
2090 0x94, 0xf8, 0x3e, 0x0c, 0x59, 0x1c, 0xf0, 0x54, 0xde, 0x0d, 0xbf, 0x80, 0xd4, 0x9e, 0xcb, 0x0c,
2091 0xae, 0xa8, 0x91, 0x81, 0xd9, 0x11, 0x34, 0x55, 0xd8, 0xd0, 0xc1, 0xb8, 0x09, 0x4a, 0xaf, 0x20,
2092 0x25, 0x93, 0x70, 0x0c, 0xab, 0x24, 0x27, 0xdf, 0x47, 0xbc, 0x75, 0xba, 0x1a, 0xc7, 0xce, 0x4f,
2093 0xab, 0xbf, 0x86, 0x39, 0x95, 0x55, 0x87, 0x40, 0x56, 0x77, 0x23, 0x5d, 0x8b, 0x45, 0xf6, 0xf3,
2094 0xe4, 0x2b, 0x48, 0xe9, 0xac, 0xe6, 0x38, 0xfc, 0x07, 0xe3, 0xec, 0x22, 0x9c, 0x00, 0xde, 0x67,
2095 0x36, 0xe3, 0xdf, 0x23, 0x18, 0x9b, 0xf1, 0xc0, 0x26, 0xc2, 0x91, 0x2e, 0xcc, 0xed, 0x3b, 0x6f,
2096 0xdb, 0xb6, 0x63, 0x98, 0xa5, 0x96, 0xd1, 0x64, 0xfd, 0x7b, 0x05, 0x3f, 0x7d, 0x59, 0x7e, 0xc9,
2097 0x37, 0x58, 0xee, 0x30, 0x17, 0xdb, 0x6e, 0xe2, 0xa9, 0x40, 0x1f, 0xa2, 0x8d, 0xbb, 0xf4, 0xc3,
2098 0x58, 0x1b, 0x96, 0x80, 0xa8, 0x9a, 0x0a, 0xc3, 0x2b, 0xbe, 0x13, 0x45, 0xf8, 0x17, 0x62, 0x71,
2099 0xbf, 0xd4, 0x60, 0xf9, 0x90, 0xf1, 0x90, 0x0d, 0xf9, 0xc0, 0x4e, 0x26, 0x10, 0x37, 0x4c, 0x1f,
2100 0x21, 0x81, 0x07, 0xe4, 0xfe, 0x10, 0x04, 0x8a, 0x9e, 0xb4, 0xd4, 0xc5, 0x32, 0x29, 0x84, 0x37,
2101 0xa4, 0x75, 0x95, 0x64, 0xc8, 0x30, 0xee, 0x93, 0x86, 0x2c, 0x02, 0x43, 0x48, 0xde, 0xc0, 0x8a,
2102 0xc6, 0x59, 0xf3, 0xe8, 0x47, 0x68, 0xee, 0x36, 0xb9, 0x75, 0x15, 0x73, 0xe4, 0x73, 0xc8, 0xee,
2103 0x89, 0x7a, 0xd6, 0xbe, 0xa2, 0x87, 0xb1, 0x0b, 0xac, 0x3c, 0xdc, 0x1c, 0xca, 0xc3, 0x3f, 0x6b,
2104 0x90, 0xdd, 0xa9, 0x73, 0xeb, 0xcc, 0xe0, 0x0c, 0xad, 0xc8, 0x5c, 0x3d, 0xa4, 0xe9, 0x3d, 0x34,
2105 0xfd, 0x09, 0xfd, 0xf1, 0x30, 0x4b, 0x2b, 0x87, 0xbb, 0x68, 0x4f, 0x6c, 0xb4, 0x3f, 0x69, 0x90,
2106 0xd1, 0xd9, 0x19, 0x73, 0xf9, 0xff, 0x85, 0x88, 0x8b, 0xa6, 0x05, 0x91, 0x0a, 0x2c, 0xf4, 0x6f,
2107 0x82, 0x68, 0xbd, 0x3c, 0xe7, 0x33, 0x92, 0x85, 0x32, 0x45, 0x93, 0x6b, 0x24, 0x1f, 0x6b, 0x52,
2108 0x16, 0xc8, 0xaf, 0x21, 0x1b, 0x40, 0x6c, 0xed, 0xe1, 0x13, 0x34, 0x8c, 0x9a, 0xe9, 0xa1, 0xfa,
2109 0x62, 0x7a, 0x07, 0x91, 0x6f, 0x92, 0xeb, 0xf1, 0xc8, 0x2d, 0xf5, 0x94, 0xf5, 0x48, 0x1b, 0x96,
2110 0x64, 0xb4, 0x06, 0x0d, 0x44, 0x41, 0x13, 0x53, 0x90, 0xaa, 0xfe, 0xe8, 0x65, 0xc6, 0x44, 0x80,
2111 0x4e, 0x82, 0x01, 0xba, 0x5a, 0x71, 0x79, 0x71, 0x94, 0x64, 0x51, 0xc9, 0x60, 0x31, 0x0c, 0x3b,
2112 0x4c, 0x5d, 0xb3, 0x81, 0x06, 0x28, 0xb9, 0x91, 0x68, 0xc0, 0xaf, 0x67, 0x3e, 0x0b, 0xb2, 0x97,
2113 0x7d, 0xab, 0xa4, 0xab, 0x3e, 0x1b, 0xed, 0x7d, 0x79, 0x49, 0xf7, 0xaa, 0x6c, 0x9a, 0x11, 0x1d,
2114 0xbb, 0x07, 0x7d, 0xfd, 0x81, 0xc8, 0x44, 0xf0, 0xe8, 0x4d, 0x84, 0x5b, 0x25, 0xd7, 0xe2, 0xe0,
2115 0xe4, 0x5d, 0x5d, 0x85, 0x74, 0x9f, 0xb1, 0x0a, 0x4a, 0x12, 0xe5, 0xc5, 0x98, 0x5e, 0x9b, 0xe7,
2116 0xb7, 0x0e, 0xc8, 0xd2, 0x80, 0x11, 0x15, 0x92, 0x27, 0x90, 0x3e, 0xe6, 0x2e, 0x33, 0x5a, 0x15,
2117 0xa3, 0xfe, 0x86, 0x71, 0xaf, 0xdc, 0xe5, 0x64, 0x39, 0x14, 0x69, 0x29, 0x28, 0x77, 0x79, 0xe2,
2118 0x06, 0x1a, 0xd9, 0xd0, 0xc8, 0x01, 0x96, 0x3c, 0xcc, 0x3a, 0x63, 0x0a, 0xa8, 0xd4, 0xbe, 0xa0,
2119 0x77, 0x10, 0xc5, 0x2f, 0xb5, 0xe9, 0xc8, 0x5d, 0x8d, 0x3c, 0x85, 0xac, 0x82, 0xd9, 0x3b, 0x35,
2120 0xda, 0x4d, 0x86, 0x1d, 0xbf, 0x64, 0x97, 0x73, 0x21, 0xa4, 0xc0, 0x14, 0x04, 0x3b, 0x81, 0xf9,
2121 0xde, 0x82, 0xc8, 0x1f, 0x4f, 0xc2, 0x45, 0x79, 0x34, 0x5c, 0x49, 0x9b, 0x55, 0x45, 0xcb, 0x5f,
2122 0x93, 0x8c, 0xac, 0x9f, 0x82, 0x8d, 0xfa, 0xb8, 0x1e, 0x65, 0x3e, 0x6e, 0x90, 0xde, 0x40, 0x13,
2123 0x79, 0xda, 0x5b, 0x90, 0x50, 0xcb, 0x53, 0x1c, 0xb2, 0x97, 0xc8, 0x3b, 0x88, 0x1e, 0xfb, 0x68,
2124 0x0f, 0xb6, 0xdf, 0xa3, 0xc4, 0x43, 0xa8, 0x92, 0xb8, 0x09, 0x19, 0x99, 0x2c, 0xbe, 0x1f, 0xf1,
2125 0x0f, 0xd0, 0xc4, 0xf5, 0xfc, 0x05, 0x26, 0x04, 0x7b, 0x13, 0x32, 0xb2, 0x0a, 0xba, 0xd4, 0x4a,
2126 0xd2, 0x7e, 0x52, 0xbe, 0x6c, 0x5e, 0xe4, 0x8b, 0x3a, 0x18, 0xa1, 0x9f, 0x20, 0x2e, 0x3d, 0x18,
2127 0xa1, 0x88, 0x45, 0x0e, 0x46, 0xc8, 0x0a, 0x79, 0x86, 0xc5, 0x36, 0x5e, 0x3d, 0x5e, 0x7c, 0xb1,
2128 0x2d, 0x65, 0x7e, 0x05, 0x47, 0x56, 0x93, 0x2f, 0x1e, 0x8f, 0xfc, 0x0a, 0xa6, 0xfd, 0x96, 0x6c,
2129 0x08, 0x2c, 0x97, 0xd4, 0xdb, 0xa5, 0xb7, 0x11, 0xf6, 0x06, 0x7d, 0x2f, 0x16, 0xd6, 0x63, 0x76,
2130 0xa3, 0xca, 0x05, 0xda, 0x4b, 0xac, 0x8f, 0x42, 0x2d, 0xed, 0xc1, 0xb7, 0x67, 0xa4, 0xe7, 0x1d,
2131 0xcd, 0x3c, 0xe2, 0x18, 0x09, 0x3d, 0xf5, 0xe8, 0xb4, 0x6a, 0xe4, 0x33, 0x20, 0x87, 0x8c, 0x0f,
2132 0x74, 0xb5, 0x07, 0x1a, 0x54, 0x71, 0x8d, 0xef, 0x68, 0x3c, 0xc2, 0xd8, 0xd8, 0x43, 0x27, 0x1e,
2133 0xcc, 0x1d, 0x5b, 0xad, 0xae, 0x6d, 0x70, 0x86, 0xf3, 0xc9, 0x5a, 0x2f, 0x10, 0xc1, 0x61, 0x9d,
2134 0xfd, 0xae, 0xcb, 0x3c, 0x9e, 0x74, 0xe7, 0x47, 0x9a, 0x06, 0xe1, 0x18, 0x29, 0xa4, 0xaa, 0x40,
2135 0x12, 0x3b, 0x73, 0x0f, 0x66, 0x7a, 0xed, 0x6b, 0x72, 0xcd, 0x37, 0x18, 0x69, 0x6c, 0xe7, 0x93,
2136 0x45, 0x74, 0x84, 0x1c, 0x01, 0xc8, 0x17, 0x0f, 0x36, 0x78, 0x52, 0xc1, 0x8a, 0x20, 0x71, 0x43,
2137 0xab, 0xa7, 0x22, 0x9d, 0x17, 0x1c, 0xfb, 0xb3, 0xd5, 0x63, 0x56, 0xbd, 0x73, 0x86, 0xc0, 0xeb,
2138 0xbf, 0xc8, 0xce, 0xee, 0x15, 0x03, 0xd3, 0x1f, 0x69, 0x9b, 0xbb, 0x36, 0x64, 0x1d, 0xb7, 0x89,
2139 0x79, 0xb1, 0xee, 0xb8, 0xa6, 0xc2, 0xdb, 0x4d, 0xc9, 0xae, 0x6f, 0x05, 0x7f, 0x68, 0xfe, 0x4d,
2140 0xa1, 0x69, 0xf1, 0xd3, 0x6e, 0x4d, 0x44, 0xb5, 0xe8, 0x6b, 0xaa, 0x5f, 0xf3, 0xb7, 0xfc, 0xdf,
2141 0xf6, 0xb7, 0x8b, 0x4d, 0x47, 0x8d, 0xfd, 0x63, 0x74, 0xb9, 0xec, 0xe3, 0xbd, 0x0c, 0x36, 0x91,
2142 0x2b, 0xa3, 0x95, 0xb1, 0xca, 0x78, 0x65, 0xa2, 0x32, 0x59, 0x99, 0xaa, 0x4c, 0xd7, 0x26, 0x71,
2143 0xee, 0xf6, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x07, 0xe5, 0x3e, 0x27, 0x20, 0x00, 0x00,
William Kurkianea869482019-04-09 15:16:11 -04002144}
2145
2146// Reference imports to suppress errors if they are not otherwise used.
2147var _ context.Context
2148var _ grpc.ClientConn
2149
2150// This is a compile-time assertion to ensure that this generated file
2151// is compatible with the grpc package it is being compiled against.
2152const _ = grpc.SupportPackageIsVersion4
2153
2154// VolthaServiceClient is the client API for VolthaService service.
2155//
2156// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2157type VolthaServiceClient interface {
William Kurkianea869482019-04-09 15:16:11 -04002158 // Get the membership group of a Voltha Core
2159 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2160 // Set the membership group of a Voltha Core
2161 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2162 // Get high level information on the Voltha cluster
2163 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2164 // List all Voltha cluster core instances
2165 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2166 // Get details on a Voltha cluster instance
2167 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2168 // List all active adapters (plugins) in the Voltha cluster
2169 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2170 // List all logical devices managed by the Voltha cluster
2171 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2172 // Get additional information on a given logical device
2173 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2174 // List ports of a logical device
2175 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2176 // Gets a logical device port
2177 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2178 // Enables a logical device port
2179 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2180 // Disables a logical device port
2181 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2182 // List all flows of a logical device
2183 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2184 // Update flow table for logical device
2185 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2186 // Update meter table for logical device
2187 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Manikkaraj kb1d51442019-07-23 10:41:02 -04002188 // List all meters of a logical device
2189 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkianea869482019-04-09 15:16:11 -04002190 // List all flow groups of a logical device
2191 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2192 // Update group table for device
2193 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2194 // List all physical devices controlled by the Voltha cluster
2195 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2196 // List all physical devices IDs controlled by the Voltha cluster
2197 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2198 // Request to a voltha Core to reconcile a set of devices based on their IDs
2199 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2200 // Get more information on a given physical device
2201 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2202 // Pre-provision a new physical device
2203 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2204 // Enable a device. If the device was in pre-provisioned state then it
2205 // will transition to ENABLED state. If it was is DISABLED state then it
2206 // will transition to ENABLED state as well.
2207 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2208 // Disable a device
2209 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2210 // Reboot a device
2211 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2212 // Delete a device
2213 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2214 // Request an image download to the standby partition
2215 // of a device.
2216 // Note that the call is expected to be non-blocking.
2217 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2218 // Get image download status on a device
2219 // The request retrieves progress on device and updates db record
2220 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2221 // Get image download db record
2222 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2223 // List image download db records for a given device
2224 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2225 // Cancel an existing image download process on a device
2226 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2227 // Activate the specified image at a standby partition
2228 // to active partition.
2229 // Depending on the device implementation, this call
2230 // may or may not cause device reboot.
2231 // If no reboot, then a reboot is required to make the
2232 // activated image running on device
2233 // Note that the call is expected to be non-blocking.
2234 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2235 // Revert the specified image at standby partition
2236 // to active partition, and revert to previous image
2237 // Depending on the device implementation, this call
2238 // may or may not cause device reboot.
2239 // If no reboot, then a reboot is required to make the
2240 // previous image running on device
2241 // Note that the call is expected to be non-blocking.
2242 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2243 // List ports of a device
2244 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2245 // List pm config of a device
2246 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2247 // Update the pm config of a device
2248 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2249 // List all flows of a device
2250 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2251 // List all flow groups of a device
2252 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2253 // List device types known to Voltha
2254 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2255 // Get additional information on a device type
2256 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2257 // List all device sharding groups
2258 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2259 // Stream control packets to the dataplane
2260 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2261 // Receive control packet stream
2262 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2263 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2264 // Get additional information on a device group
2265 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Pauldd23a992019-11-14 07:06:31 +00002266 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2267 // Get all filters present for a device
2268 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2269 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2270 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2271 // Get all the filters present
2272 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkianea869482019-04-09 15:16:11 -04002273 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2274 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2275 // OpenOMCI MIB information
2276 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2277 // OpenOMCI ALARM information
2278 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2279 // Simulate an Alarm
2280 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2281 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
kesavandd6184722020-02-05 17:13:35 -05002282 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2283 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkianea869482019-04-09 15:16:11 -04002284}
2285
2286type volthaServiceClient struct {
2287 cc *grpc.ClientConn
2288}
2289
2290func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2291 return &volthaServiceClient{cc}
2292}
2293
William Kurkianea869482019-04-09 15:16:11 -04002294func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2295 out := new(Membership)
2296 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2297 if err != nil {
2298 return nil, err
2299 }
2300 return out, nil
2301}
2302
2303func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2304 out := new(empty.Empty)
2305 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2306 if err != nil {
2307 return nil, err
2308 }
2309 return out, nil
2310}
2311
2312func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2313 out := new(Voltha)
2314 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2315 if err != nil {
2316 return nil, err
2317 }
2318 return out, nil
2319}
2320
2321func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2322 out := new(CoreInstances)
2323 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2324 if err != nil {
2325 return nil, err
2326 }
2327 return out, nil
2328}
2329
2330func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2331 out := new(CoreInstance)
2332 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2333 if err != nil {
2334 return nil, err
2335 }
2336 return out, nil
2337}
2338
2339func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2340 out := new(Adapters)
2341 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2342 if err != nil {
2343 return nil, err
2344 }
2345 return out, nil
2346}
2347
2348func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2349 out := new(LogicalDevices)
2350 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2351 if err != nil {
2352 return nil, err
2353 }
2354 return out, nil
2355}
2356
2357func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2358 out := new(LogicalDevice)
2359 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2360 if err != nil {
2361 return nil, err
2362 }
2363 return out, nil
2364}
2365
2366func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2367 out := new(LogicalPorts)
2368 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2369 if err != nil {
2370 return nil, err
2371 }
2372 return out, nil
2373}
2374
2375func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2376 out := new(LogicalPort)
2377 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2378 if err != nil {
2379 return nil, err
2380 }
2381 return out, nil
2382}
2383
2384func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2385 out := new(empty.Empty)
2386 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2387 if err != nil {
2388 return nil, err
2389 }
2390 return out, nil
2391}
2392
2393func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2394 out := new(empty.Empty)
2395 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2396 if err != nil {
2397 return nil, err
2398 }
2399 return out, nil
2400}
2401
2402func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2403 out := new(openflow_13.Flows)
2404 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2405 if err != nil {
2406 return nil, err
2407 }
2408 return out, nil
2409}
2410
2411func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2412 out := new(empty.Empty)
2413 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2414 if err != nil {
2415 return nil, err
2416 }
2417 return out, nil
2418}
2419
2420func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2421 out := new(empty.Empty)
2422 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2423 if err != nil {
2424 return nil, err
2425 }
2426 return out, nil
2427}
2428
Manikkaraj kb1d51442019-07-23 10:41:02 -04002429func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2430 out := new(openflow_13.Meters)
2431 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkianea869482019-04-09 15:16:11 -04002432 if err != nil {
2433 return nil, err
2434 }
2435 return out, nil
2436}
2437
2438func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2439 out := new(openflow_13.FlowGroups)
2440 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2441 if err != nil {
2442 return nil, err
2443 }
2444 return out, nil
2445}
2446
2447func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2448 out := new(empty.Empty)
2449 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2450 if err != nil {
2451 return nil, err
2452 }
2453 return out, nil
2454}
2455
2456func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2457 out := new(Devices)
2458 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2459 if err != nil {
2460 return nil, err
2461 }
2462 return out, nil
2463}
2464
2465func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2466 out := new(common.IDs)
2467 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2468 if err != nil {
2469 return nil, err
2470 }
2471 return out, nil
2472}
2473
2474func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2475 out := new(empty.Empty)
2476 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2477 if err != nil {
2478 return nil, err
2479 }
2480 return out, nil
2481}
2482
2483func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2484 out := new(Device)
2485 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2486 if err != nil {
2487 return nil, err
2488 }
2489 return out, nil
2490}
2491
2492func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2493 out := new(Device)
2494 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2495 if err != nil {
2496 return nil, err
2497 }
2498 return out, nil
2499}
2500
2501func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2502 out := new(empty.Empty)
2503 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2504 if err != nil {
2505 return nil, err
2506 }
2507 return out, nil
2508}
2509
2510func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2511 out := new(empty.Empty)
2512 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2513 if err != nil {
2514 return nil, err
2515 }
2516 return out, nil
2517}
2518
2519func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2520 out := new(empty.Empty)
2521 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2522 if err != nil {
2523 return nil, err
2524 }
2525 return out, nil
2526}
2527
2528func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2529 out := new(empty.Empty)
2530 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2531 if err != nil {
2532 return nil, err
2533 }
2534 return out, nil
2535}
2536
2537func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2538 out := new(common.OperationResp)
2539 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2540 if err != nil {
2541 return nil, err
2542 }
2543 return out, nil
2544}
2545
2546func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2547 out := new(ImageDownload)
2548 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2549 if err != nil {
2550 return nil, err
2551 }
2552 return out, nil
2553}
2554
2555func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2556 out := new(ImageDownload)
2557 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2558 if err != nil {
2559 return nil, err
2560 }
2561 return out, nil
2562}
2563
2564func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2565 out := new(ImageDownloads)
2566 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2567 if err != nil {
2568 return nil, err
2569 }
2570 return out, nil
2571}
2572
2573func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2574 out := new(common.OperationResp)
2575 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2576 if err != nil {
2577 return nil, err
2578 }
2579 return out, nil
2580}
2581
2582func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2583 out := new(common.OperationResp)
2584 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2585 if err != nil {
2586 return nil, err
2587 }
2588 return out, nil
2589}
2590
2591func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2592 out := new(common.OperationResp)
2593 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2594 if err != nil {
2595 return nil, err
2596 }
2597 return out, nil
2598}
2599
2600func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2601 out := new(Ports)
2602 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2603 if err != nil {
2604 return nil, err
2605 }
2606 return out, nil
2607}
2608
2609func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2610 out := new(PmConfigs)
2611 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2612 if err != nil {
2613 return nil, err
2614 }
2615 return out, nil
2616}
2617
2618func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2619 out := new(empty.Empty)
2620 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2621 if err != nil {
2622 return nil, err
2623 }
2624 return out, nil
2625}
2626
2627func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2628 out := new(openflow_13.Flows)
2629 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2630 if err != nil {
2631 return nil, err
2632 }
2633 return out, nil
2634}
2635
2636func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2637 out := new(openflow_13.FlowGroups)
2638 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2639 if err != nil {
2640 return nil, err
2641 }
2642 return out, nil
2643}
2644
2645func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2646 out := new(DeviceTypes)
2647 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2648 if err != nil {
2649 return nil, err
2650 }
2651 return out, nil
2652}
2653
2654func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2655 out := new(DeviceType)
2656 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2657 if err != nil {
2658 return nil, err
2659 }
2660 return out, nil
2661}
2662
2663func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2664 out := new(DeviceGroups)
2665 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2666 if err != nil {
2667 return nil, err
2668 }
2669 return out, nil
2670}
2671
2672func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2673 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2674 if err != nil {
2675 return nil, err
2676 }
2677 x := &volthaServiceStreamPacketsOutClient{stream}
2678 return x, nil
2679}
2680
2681type VolthaService_StreamPacketsOutClient interface {
2682 Send(*openflow_13.PacketOut) error
2683 CloseAndRecv() (*empty.Empty, error)
2684 grpc.ClientStream
2685}
2686
2687type volthaServiceStreamPacketsOutClient struct {
2688 grpc.ClientStream
2689}
2690
2691func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2692 return x.ClientStream.SendMsg(m)
2693}
2694
2695func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2696 if err := x.ClientStream.CloseSend(); err != nil {
2697 return nil, err
2698 }
2699 m := new(empty.Empty)
2700 if err := x.ClientStream.RecvMsg(m); err != nil {
2701 return nil, err
2702 }
2703 return m, nil
2704}
2705
2706func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2707 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2708 if err != nil {
2709 return nil, err
2710 }
2711 x := &volthaServiceReceivePacketsInClient{stream}
2712 if err := x.ClientStream.SendMsg(in); err != nil {
2713 return nil, err
2714 }
2715 if err := x.ClientStream.CloseSend(); err != nil {
2716 return nil, err
2717 }
2718 return x, nil
2719}
2720
2721type VolthaService_ReceivePacketsInClient interface {
2722 Recv() (*openflow_13.PacketIn, error)
2723 grpc.ClientStream
2724}
2725
2726type volthaServiceReceivePacketsInClient struct {
2727 grpc.ClientStream
2728}
2729
2730func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2731 m := new(openflow_13.PacketIn)
2732 if err := x.ClientStream.RecvMsg(m); err != nil {
2733 return nil, err
2734 }
2735 return m, nil
2736}
2737
2738func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2739 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2740 if err != nil {
2741 return nil, err
2742 }
2743 x := &volthaServiceReceiveChangeEventsClient{stream}
2744 if err := x.ClientStream.SendMsg(in); err != nil {
2745 return nil, err
2746 }
2747 if err := x.ClientStream.CloseSend(); err != nil {
2748 return nil, err
2749 }
2750 return x, nil
2751}
2752
2753type VolthaService_ReceiveChangeEventsClient interface {
2754 Recv() (*openflow_13.ChangeEvent, error)
2755 grpc.ClientStream
2756}
2757
2758type volthaServiceReceiveChangeEventsClient struct {
2759 grpc.ClientStream
2760}
2761
2762func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2763 m := new(openflow_13.ChangeEvent)
2764 if err := x.ClientStream.RecvMsg(m); err != nil {
2765 return nil, err
2766 }
2767 return m, nil
2768}
2769
2770func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2771 out := new(DeviceGroup)
2772 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2773 if err != nil {
2774 return nil, err
2775 }
2776 return out, nil
2777}
2778
Devmalya Pauldd23a992019-11-14 07:06:31 +00002779func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2780 out := new(EventFilter)
2781 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkianea869482019-04-09 15:16:11 -04002782 if err != nil {
2783 return nil, err
2784 }
2785 return out, nil
2786}
2787
Devmalya Pauldd23a992019-11-14 07:06:31 +00002788func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
2789 out := new(EventFilters)
2790 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkianea869482019-04-09 15:16:11 -04002791 if err != nil {
2792 return nil, err
2793 }
2794 return out, nil
2795}
2796
Devmalya Pauldd23a992019-11-14 07:06:31 +00002797func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2798 out := new(EventFilter)
2799 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkianea869482019-04-09 15:16:11 -04002800 if err != nil {
2801 return nil, err
2802 }
2803 return out, nil
2804}
2805
Devmalya Pauldd23a992019-11-14 07:06:31 +00002806func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkianea869482019-04-09 15:16:11 -04002807 out := new(empty.Empty)
Devmalya Pauldd23a992019-11-14 07:06:31 +00002808 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkianea869482019-04-09 15:16:11 -04002809 if err != nil {
2810 return nil, err
2811 }
2812 return out, nil
2813}
2814
Devmalya Pauldd23a992019-11-14 07:06:31 +00002815func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
2816 out := new(EventFilters)
2817 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkianea869482019-04-09 15:16:11 -04002818 if err != nil {
2819 return nil, err
2820 }
2821 return out, nil
2822}
2823
2824func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
2825 out := new(Images)
2826 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
2827 if err != nil {
2828 return nil, err
2829 }
2830 return out, nil
2831}
2832
2833func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
2834 out := new(SelfTestResponse)
2835 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
2836 if err != nil {
2837 return nil, err
2838 }
2839 return out, nil
2840}
2841
2842func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
2843 out := new(omci.MibDeviceData)
2844 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
2845 if err != nil {
2846 return nil, err
2847 }
2848 return out, nil
2849}
2850
2851func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
2852 out := new(omci.AlarmDeviceData)
2853 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
2854 if err != nil {
2855 return nil, err
2856 }
2857 return out, nil
2858}
2859
2860func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
2861 out := new(common.OperationResp)
2862 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
2863 if err != nil {
2864 return nil, err
2865 }
2866 return out, nil
2867}
2868
2869func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
2870 out := new(OfAgentSubscriber)
2871 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
2872 if err != nil {
2873 return nil, err
2874 }
2875 return out, nil
2876}
2877
kesavandd6184722020-02-05 17:13:35 -05002878func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
2879 out := new(empty.Empty)
2880 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
2881 if err != nil {
2882 return nil, err
2883 }
2884 return out, nil
2885}
2886
2887func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
2888 out := new(empty.Empty)
2889 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
2890 if err != nil {
2891 return nil, err
2892 }
2893 return out, nil
2894}
2895
William Kurkianea869482019-04-09 15:16:11 -04002896// VolthaServiceServer is the server API for VolthaService service.
2897type VolthaServiceServer interface {
William Kurkianea869482019-04-09 15:16:11 -04002898 // Get the membership group of a Voltha Core
2899 GetMembership(context.Context, *empty.Empty) (*Membership, error)
2900 // Set the membership group of a Voltha Core
2901 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
2902 // Get high level information on the Voltha cluster
2903 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
2904 // List all Voltha cluster core instances
2905 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
2906 // Get details on a Voltha cluster instance
2907 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
2908 // List all active adapters (plugins) in the Voltha cluster
2909 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
2910 // List all logical devices managed by the Voltha cluster
2911 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
2912 // Get additional information on a given logical device
2913 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
2914 // List ports of a logical device
2915 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
2916 // Gets a logical device port
2917 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
2918 // Enables a logical device port
2919 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2920 // Disables a logical device port
2921 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2922 // List all flows of a logical device
2923 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2924 // Update flow table for logical device
2925 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
2926 // Update meter table for logical device
2927 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Manikkaraj kb1d51442019-07-23 10:41:02 -04002928 // List all meters of a logical device
2929 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkianea869482019-04-09 15:16:11 -04002930 // List all flow groups of a logical device
2931 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2932 // Update group table for device
2933 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
2934 // List all physical devices controlled by the Voltha cluster
2935 ListDevices(context.Context, *empty.Empty) (*Devices, error)
2936 // List all physical devices IDs controlled by the Voltha cluster
2937 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
2938 // Request to a voltha Core to reconcile a set of devices based on their IDs
2939 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
2940 // Get more information on a given physical device
2941 GetDevice(context.Context, *common.ID) (*Device, error)
2942 // Pre-provision a new physical device
2943 CreateDevice(context.Context, *Device) (*Device, error)
2944 // Enable a device. If the device was in pre-provisioned state then it
2945 // will transition to ENABLED state. If it was is DISABLED state then it
2946 // will transition to ENABLED state as well.
2947 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
2948 // Disable a device
2949 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
2950 // Reboot a device
2951 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
2952 // Delete a device
2953 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
2954 // Request an image download to the standby partition
2955 // of a device.
2956 // Note that the call is expected to be non-blocking.
2957 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
2958 // Get image download status on a device
2959 // The request retrieves progress on device and updates db record
2960 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
2961 // Get image download db record
2962 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
2963 // List image download db records for a given device
2964 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
2965 // Cancel an existing image download process on a device
2966 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
2967 // Activate the specified image at a standby partition
2968 // to active partition.
2969 // Depending on the device implementation, this call
2970 // may or may not cause device reboot.
2971 // If no reboot, then a reboot is required to make the
2972 // activated image running on device
2973 // Note that the call is expected to be non-blocking.
2974 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
2975 // Revert the specified image at standby partition
2976 // to active partition, and revert to previous image
2977 // Depending on the device implementation, this call
2978 // may or may not cause device reboot.
2979 // If no reboot, then a reboot is required to make the
2980 // previous image running on device
2981 // Note that the call is expected to be non-blocking.
2982 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
2983 // List ports of a device
2984 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
2985 // List pm config of a device
2986 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
2987 // Update the pm config of a device
2988 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
2989 // List all flows of a device
2990 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2991 // List all flow groups of a device
2992 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2993 // List device types known to Voltha
2994 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
2995 // Get additional information on a device type
2996 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
2997 // List all device sharding groups
2998 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
2999 // Stream control packets to the dataplane
3000 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3001 // Receive control packet stream
3002 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3003 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3004 // Get additional information on a device group
3005 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Pauldd23a992019-11-14 07:06:31 +00003006 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3007 // Get all filters present for a device
3008 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3009 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3010 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3011 // Get all the filters present
3012 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkianea869482019-04-09 15:16:11 -04003013 GetImages(context.Context, *common.ID) (*Images, error)
3014 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3015 // OpenOMCI MIB information
3016 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3017 // OpenOMCI ALARM information
3018 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3019 // Simulate an Alarm
3020 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3021 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
kesavandd6184722020-02-05 17:13:35 -05003022 EnablePort(context.Context, *Port) (*empty.Empty, error)
3023 DisablePort(context.Context, *Port) (*empty.Empty, error)
William Kurkianea869482019-04-09 15:16:11 -04003024}
3025
3026func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3027 s.RegisterService(&_VolthaService_serviceDesc, srv)
3028}
3029
William Kurkianea869482019-04-09 15:16:11 -04003030func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3031 in := new(empty.Empty)
3032 if err := dec(in); err != nil {
3033 return nil, err
3034 }
3035 if interceptor == nil {
3036 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3037 }
3038 info := &grpc.UnaryServerInfo{
3039 Server: srv,
3040 FullMethod: "/voltha.VolthaService/GetMembership",
3041 }
3042 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3043 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3044 }
3045 return interceptor(ctx, in, info, handler)
3046}
3047
3048func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3049 in := new(Membership)
3050 if err := dec(in); err != nil {
3051 return nil, err
3052 }
3053 if interceptor == nil {
3054 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3055 }
3056 info := &grpc.UnaryServerInfo{
3057 Server: srv,
3058 FullMethod: "/voltha.VolthaService/UpdateMembership",
3059 }
3060 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3061 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3062 }
3063 return interceptor(ctx, in, info, handler)
3064}
3065
3066func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3067 in := new(empty.Empty)
3068 if err := dec(in); err != nil {
3069 return nil, err
3070 }
3071 if interceptor == nil {
3072 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3073 }
3074 info := &grpc.UnaryServerInfo{
3075 Server: srv,
3076 FullMethod: "/voltha.VolthaService/GetVoltha",
3077 }
3078 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3079 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3080 }
3081 return interceptor(ctx, in, info, handler)
3082}
3083
3084func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3085 in := new(empty.Empty)
3086 if err := dec(in); err != nil {
3087 return nil, err
3088 }
3089 if interceptor == nil {
3090 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3091 }
3092 info := &grpc.UnaryServerInfo{
3093 Server: srv,
3094 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3095 }
3096 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3097 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3098 }
3099 return interceptor(ctx, in, info, handler)
3100}
3101
3102func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3103 in := new(common.ID)
3104 if err := dec(in); err != nil {
3105 return nil, err
3106 }
3107 if interceptor == nil {
3108 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3109 }
3110 info := &grpc.UnaryServerInfo{
3111 Server: srv,
3112 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3113 }
3114 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3115 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3116 }
3117 return interceptor(ctx, in, info, handler)
3118}
3119
3120func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3121 in := new(empty.Empty)
3122 if err := dec(in); err != nil {
3123 return nil, err
3124 }
3125 if interceptor == nil {
3126 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3127 }
3128 info := &grpc.UnaryServerInfo{
3129 Server: srv,
3130 FullMethod: "/voltha.VolthaService/ListAdapters",
3131 }
3132 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3133 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3134 }
3135 return interceptor(ctx, in, info, handler)
3136}
3137
3138func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3139 in := new(empty.Empty)
3140 if err := dec(in); err != nil {
3141 return nil, err
3142 }
3143 if interceptor == nil {
3144 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3145 }
3146 info := &grpc.UnaryServerInfo{
3147 Server: srv,
3148 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3149 }
3150 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3151 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3152 }
3153 return interceptor(ctx, in, info, handler)
3154}
3155
3156func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3157 in := new(common.ID)
3158 if err := dec(in); err != nil {
3159 return nil, err
3160 }
3161 if interceptor == nil {
3162 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3163 }
3164 info := &grpc.UnaryServerInfo{
3165 Server: srv,
3166 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3167 }
3168 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3169 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3170 }
3171 return interceptor(ctx, in, info, handler)
3172}
3173
3174func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3175 in := new(common.ID)
3176 if err := dec(in); err != nil {
3177 return nil, err
3178 }
3179 if interceptor == nil {
3180 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3181 }
3182 info := &grpc.UnaryServerInfo{
3183 Server: srv,
3184 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3185 }
3186 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3187 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3188 }
3189 return interceptor(ctx, in, info, handler)
3190}
3191
3192func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3193 in := new(LogicalPortId)
3194 if err := dec(in); err != nil {
3195 return nil, err
3196 }
3197 if interceptor == nil {
3198 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3199 }
3200 info := &grpc.UnaryServerInfo{
3201 Server: srv,
3202 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3203 }
3204 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3205 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3206 }
3207 return interceptor(ctx, in, info, handler)
3208}
3209
3210func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3211 in := new(LogicalPortId)
3212 if err := dec(in); err != nil {
3213 return nil, err
3214 }
3215 if interceptor == nil {
3216 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3217 }
3218 info := &grpc.UnaryServerInfo{
3219 Server: srv,
3220 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3221 }
3222 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3223 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3224 }
3225 return interceptor(ctx, in, info, handler)
3226}
3227
3228func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3229 in := new(LogicalPortId)
3230 if err := dec(in); err != nil {
3231 return nil, err
3232 }
3233 if interceptor == nil {
3234 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3235 }
3236 info := &grpc.UnaryServerInfo{
3237 Server: srv,
3238 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3239 }
3240 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3241 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3242 }
3243 return interceptor(ctx, in, info, handler)
3244}
3245
3246func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3247 in := new(common.ID)
3248 if err := dec(in); err != nil {
3249 return nil, err
3250 }
3251 if interceptor == nil {
3252 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3253 }
3254 info := &grpc.UnaryServerInfo{
3255 Server: srv,
3256 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3257 }
3258 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3259 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3260 }
3261 return interceptor(ctx, in, info, handler)
3262}
3263
3264func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3265 in := new(openflow_13.FlowTableUpdate)
3266 if err := dec(in); err != nil {
3267 return nil, err
3268 }
3269 if interceptor == nil {
3270 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3271 }
3272 info := &grpc.UnaryServerInfo{
3273 Server: srv,
3274 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3275 }
3276 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3277 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3278 }
3279 return interceptor(ctx, in, info, handler)
3280}
3281
3282func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3283 in := new(openflow_13.MeterModUpdate)
3284 if err := dec(in); err != nil {
3285 return nil, err
3286 }
3287 if interceptor == nil {
3288 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3289 }
3290 info := &grpc.UnaryServerInfo{
3291 Server: srv,
3292 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3293 }
3294 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3295 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3296 }
3297 return interceptor(ctx, in, info, handler)
3298}
3299
Manikkaraj kb1d51442019-07-23 10:41:02 -04003300func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkianea869482019-04-09 15:16:11 -04003301 in := new(common.ID)
3302 if err := dec(in); err != nil {
3303 return nil, err
3304 }
3305 if interceptor == nil {
Manikkaraj kb1d51442019-07-23 10:41:02 -04003306 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkianea869482019-04-09 15:16:11 -04003307 }
3308 info := &grpc.UnaryServerInfo{
3309 Server: srv,
Manikkaraj kb1d51442019-07-23 10:41:02 -04003310 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkianea869482019-04-09 15:16:11 -04003311 }
3312 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Manikkaraj kb1d51442019-07-23 10:41:02 -04003313 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkianea869482019-04-09 15:16:11 -04003314 }
3315 return interceptor(ctx, in, info, handler)
3316}
3317
3318func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3319 in := new(common.ID)
3320 if err := dec(in); err != nil {
3321 return nil, err
3322 }
3323 if interceptor == nil {
3324 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3325 }
3326 info := &grpc.UnaryServerInfo{
3327 Server: srv,
3328 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3329 }
3330 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3331 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3332 }
3333 return interceptor(ctx, in, info, handler)
3334}
3335
3336func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3337 in := new(openflow_13.FlowGroupTableUpdate)
3338 if err := dec(in); err != nil {
3339 return nil, err
3340 }
3341 if interceptor == nil {
3342 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3343 }
3344 info := &grpc.UnaryServerInfo{
3345 Server: srv,
3346 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3347 }
3348 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3349 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3350 }
3351 return interceptor(ctx, in, info, handler)
3352}
3353
3354func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3355 in := new(empty.Empty)
3356 if err := dec(in); err != nil {
3357 return nil, err
3358 }
3359 if interceptor == nil {
3360 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3361 }
3362 info := &grpc.UnaryServerInfo{
3363 Server: srv,
3364 FullMethod: "/voltha.VolthaService/ListDevices",
3365 }
3366 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3367 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3368 }
3369 return interceptor(ctx, in, info, handler)
3370}
3371
3372func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3373 in := new(empty.Empty)
3374 if err := dec(in); err != nil {
3375 return nil, err
3376 }
3377 if interceptor == nil {
3378 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3379 }
3380 info := &grpc.UnaryServerInfo{
3381 Server: srv,
3382 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3383 }
3384 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3385 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3386 }
3387 return interceptor(ctx, in, info, handler)
3388}
3389
3390func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3391 in := new(common.IDs)
3392 if err := dec(in); err != nil {
3393 return nil, err
3394 }
3395 if interceptor == nil {
3396 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3397 }
3398 info := &grpc.UnaryServerInfo{
3399 Server: srv,
3400 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3401 }
3402 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3403 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3404 }
3405 return interceptor(ctx, in, info, handler)
3406}
3407
3408func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3409 in := new(common.ID)
3410 if err := dec(in); err != nil {
3411 return nil, err
3412 }
3413 if interceptor == nil {
3414 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3415 }
3416 info := &grpc.UnaryServerInfo{
3417 Server: srv,
3418 FullMethod: "/voltha.VolthaService/GetDevice",
3419 }
3420 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3421 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3422 }
3423 return interceptor(ctx, in, info, handler)
3424}
3425
3426func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3427 in := new(Device)
3428 if err := dec(in); err != nil {
3429 return nil, err
3430 }
3431 if interceptor == nil {
3432 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3433 }
3434 info := &grpc.UnaryServerInfo{
3435 Server: srv,
3436 FullMethod: "/voltha.VolthaService/CreateDevice",
3437 }
3438 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3439 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3440 }
3441 return interceptor(ctx, in, info, handler)
3442}
3443
3444func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3445 in := new(common.ID)
3446 if err := dec(in); err != nil {
3447 return nil, err
3448 }
3449 if interceptor == nil {
3450 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3451 }
3452 info := &grpc.UnaryServerInfo{
3453 Server: srv,
3454 FullMethod: "/voltha.VolthaService/EnableDevice",
3455 }
3456 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3457 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3458 }
3459 return interceptor(ctx, in, info, handler)
3460}
3461
3462func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3463 in := new(common.ID)
3464 if err := dec(in); err != nil {
3465 return nil, err
3466 }
3467 if interceptor == nil {
3468 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3469 }
3470 info := &grpc.UnaryServerInfo{
3471 Server: srv,
3472 FullMethod: "/voltha.VolthaService/DisableDevice",
3473 }
3474 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3475 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3476 }
3477 return interceptor(ctx, in, info, handler)
3478}
3479
3480func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3481 in := new(common.ID)
3482 if err := dec(in); err != nil {
3483 return nil, err
3484 }
3485 if interceptor == nil {
3486 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3487 }
3488 info := &grpc.UnaryServerInfo{
3489 Server: srv,
3490 FullMethod: "/voltha.VolthaService/RebootDevice",
3491 }
3492 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3493 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3494 }
3495 return interceptor(ctx, in, info, handler)
3496}
3497
3498func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3499 in := new(common.ID)
3500 if err := dec(in); err != nil {
3501 return nil, err
3502 }
3503 if interceptor == nil {
3504 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3505 }
3506 info := &grpc.UnaryServerInfo{
3507 Server: srv,
3508 FullMethod: "/voltha.VolthaService/DeleteDevice",
3509 }
3510 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3511 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3512 }
3513 return interceptor(ctx, in, info, handler)
3514}
3515
3516func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3517 in := new(ImageDownload)
3518 if err := dec(in); err != nil {
3519 return nil, err
3520 }
3521 if interceptor == nil {
3522 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3523 }
3524 info := &grpc.UnaryServerInfo{
3525 Server: srv,
3526 FullMethod: "/voltha.VolthaService/DownloadImage",
3527 }
3528 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3529 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3530 }
3531 return interceptor(ctx, in, info, handler)
3532}
3533
3534func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3535 in := new(ImageDownload)
3536 if err := dec(in); err != nil {
3537 return nil, err
3538 }
3539 if interceptor == nil {
3540 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3541 }
3542 info := &grpc.UnaryServerInfo{
3543 Server: srv,
3544 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3545 }
3546 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3547 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3548 }
3549 return interceptor(ctx, in, info, handler)
3550}
3551
3552func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3553 in := new(ImageDownload)
3554 if err := dec(in); err != nil {
3555 return nil, err
3556 }
3557 if interceptor == nil {
3558 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3559 }
3560 info := &grpc.UnaryServerInfo{
3561 Server: srv,
3562 FullMethod: "/voltha.VolthaService/GetImageDownload",
3563 }
3564 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3565 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3566 }
3567 return interceptor(ctx, in, info, handler)
3568}
3569
3570func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3571 in := new(common.ID)
3572 if err := dec(in); err != nil {
3573 return nil, err
3574 }
3575 if interceptor == nil {
3576 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3577 }
3578 info := &grpc.UnaryServerInfo{
3579 Server: srv,
3580 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3581 }
3582 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3583 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3584 }
3585 return interceptor(ctx, in, info, handler)
3586}
3587
3588func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3589 in := new(ImageDownload)
3590 if err := dec(in); err != nil {
3591 return nil, err
3592 }
3593 if interceptor == nil {
3594 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3595 }
3596 info := &grpc.UnaryServerInfo{
3597 Server: srv,
3598 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3599 }
3600 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3601 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3602 }
3603 return interceptor(ctx, in, info, handler)
3604}
3605
3606func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3607 in := new(ImageDownload)
3608 if err := dec(in); err != nil {
3609 return nil, err
3610 }
3611 if interceptor == nil {
3612 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3613 }
3614 info := &grpc.UnaryServerInfo{
3615 Server: srv,
3616 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3617 }
3618 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3619 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3620 }
3621 return interceptor(ctx, in, info, handler)
3622}
3623
3624func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3625 in := new(ImageDownload)
3626 if err := dec(in); err != nil {
3627 return nil, err
3628 }
3629 if interceptor == nil {
3630 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3631 }
3632 info := &grpc.UnaryServerInfo{
3633 Server: srv,
3634 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3635 }
3636 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3637 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3638 }
3639 return interceptor(ctx, in, info, handler)
3640}
3641
3642func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3643 in := new(common.ID)
3644 if err := dec(in); err != nil {
3645 return nil, err
3646 }
3647 if interceptor == nil {
3648 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3649 }
3650 info := &grpc.UnaryServerInfo{
3651 Server: srv,
3652 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3653 }
3654 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3655 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3656 }
3657 return interceptor(ctx, in, info, handler)
3658}
3659
3660func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3661 in := new(common.ID)
3662 if err := dec(in); err != nil {
3663 return nil, err
3664 }
3665 if interceptor == nil {
3666 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3667 }
3668 info := &grpc.UnaryServerInfo{
3669 Server: srv,
3670 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3671 }
3672 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3673 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3674 }
3675 return interceptor(ctx, in, info, handler)
3676}
3677
3678func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3679 in := new(PmConfigs)
3680 if err := dec(in); err != nil {
3681 return nil, err
3682 }
3683 if interceptor == nil {
3684 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3685 }
3686 info := &grpc.UnaryServerInfo{
3687 Server: srv,
3688 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3689 }
3690 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3691 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3692 }
3693 return interceptor(ctx, in, info, handler)
3694}
3695
3696func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3697 in := new(common.ID)
3698 if err := dec(in); err != nil {
3699 return nil, err
3700 }
3701 if interceptor == nil {
3702 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3703 }
3704 info := &grpc.UnaryServerInfo{
3705 Server: srv,
3706 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3707 }
3708 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3709 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3710 }
3711 return interceptor(ctx, in, info, handler)
3712}
3713
3714func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3715 in := new(common.ID)
3716 if err := dec(in); err != nil {
3717 return nil, err
3718 }
3719 if interceptor == nil {
3720 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3721 }
3722 info := &grpc.UnaryServerInfo{
3723 Server: srv,
3724 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3725 }
3726 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3727 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3728 }
3729 return interceptor(ctx, in, info, handler)
3730}
3731
3732func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3733 in := new(empty.Empty)
3734 if err := dec(in); err != nil {
3735 return nil, err
3736 }
3737 if interceptor == nil {
3738 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3739 }
3740 info := &grpc.UnaryServerInfo{
3741 Server: srv,
3742 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3743 }
3744 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3745 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
3746 }
3747 return interceptor(ctx, in, info, handler)
3748}
3749
3750func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3751 in := new(common.ID)
3752 if err := dec(in); err != nil {
3753 return nil, err
3754 }
3755 if interceptor == nil {
3756 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
3757 }
3758 info := &grpc.UnaryServerInfo{
3759 Server: srv,
3760 FullMethod: "/voltha.VolthaService/GetDeviceType",
3761 }
3762 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3763 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
3764 }
3765 return interceptor(ctx, in, info, handler)
3766}
3767
3768func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3769 in := new(empty.Empty)
3770 if err := dec(in); err != nil {
3771 return nil, err
3772 }
3773 if interceptor == nil {
3774 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
3775 }
3776 info := &grpc.UnaryServerInfo{
3777 Server: srv,
3778 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
3779 }
3780 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3781 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
3782 }
3783 return interceptor(ctx, in, info, handler)
3784}
3785
3786func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
3787 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
3788}
3789
3790type VolthaService_StreamPacketsOutServer interface {
3791 SendAndClose(*empty.Empty) error
3792 Recv() (*openflow_13.PacketOut, error)
3793 grpc.ServerStream
3794}
3795
3796type volthaServiceStreamPacketsOutServer struct {
3797 grpc.ServerStream
3798}
3799
3800func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
3801 return x.ServerStream.SendMsg(m)
3802}
3803
3804func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
3805 m := new(openflow_13.PacketOut)
3806 if err := x.ServerStream.RecvMsg(m); err != nil {
3807 return nil, err
3808 }
3809 return m, nil
3810}
3811
3812func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
3813 m := new(empty.Empty)
3814 if err := stream.RecvMsg(m); err != nil {
3815 return err
3816 }
3817 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
3818}
3819
3820type VolthaService_ReceivePacketsInServer interface {
3821 Send(*openflow_13.PacketIn) error
3822 grpc.ServerStream
3823}
3824
3825type volthaServiceReceivePacketsInServer struct {
3826 grpc.ServerStream
3827}
3828
3829func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
3830 return x.ServerStream.SendMsg(m)
3831}
3832
3833func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
3834 m := new(empty.Empty)
3835 if err := stream.RecvMsg(m); err != nil {
3836 return err
3837 }
3838 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
3839}
3840
3841type VolthaService_ReceiveChangeEventsServer interface {
3842 Send(*openflow_13.ChangeEvent) error
3843 grpc.ServerStream
3844}
3845
3846type volthaServiceReceiveChangeEventsServer struct {
3847 grpc.ServerStream
3848}
3849
3850func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
3851 return x.ServerStream.SendMsg(m)
3852}
3853
3854func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3855 in := new(common.ID)
3856 if err := dec(in); err != nil {
3857 return nil, err
3858 }
3859 if interceptor == nil {
3860 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
3861 }
3862 info := &grpc.UnaryServerInfo{
3863 Server: srv,
3864 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
3865 }
3866 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3867 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
3868 }
3869 return interceptor(ctx, in, info, handler)
3870}
3871
Devmalya Pauldd23a992019-11-14 07:06:31 +00003872func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3873 in := new(EventFilter)
William Kurkianea869482019-04-09 15:16:11 -04003874 if err := dec(in); err != nil {
3875 return nil, err
3876 }
3877 if interceptor == nil {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003878 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkianea869482019-04-09 15:16:11 -04003879 }
3880 info := &grpc.UnaryServerInfo{
3881 Server: srv,
Devmalya Pauldd23a992019-11-14 07:06:31 +00003882 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkianea869482019-04-09 15:16:11 -04003883 }
3884 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003885 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkianea869482019-04-09 15:16:11 -04003886 }
3887 return interceptor(ctx, in, info, handler)
3888}
3889
Devmalya Pauldd23a992019-11-14 07:06:31 +00003890func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkianea869482019-04-09 15:16:11 -04003891 in := new(common.ID)
3892 if err := dec(in); err != nil {
3893 return nil, err
3894 }
3895 if interceptor == nil {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003896 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkianea869482019-04-09 15:16:11 -04003897 }
3898 info := &grpc.UnaryServerInfo{
3899 Server: srv,
Devmalya Pauldd23a992019-11-14 07:06:31 +00003900 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkianea869482019-04-09 15:16:11 -04003901 }
3902 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003903 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkianea869482019-04-09 15:16:11 -04003904 }
3905 return interceptor(ctx, in, info, handler)
3906}
3907
Devmalya Pauldd23a992019-11-14 07:06:31 +00003908func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3909 in := new(EventFilter)
William Kurkianea869482019-04-09 15:16:11 -04003910 if err := dec(in); err != nil {
3911 return nil, err
3912 }
3913 if interceptor == nil {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003914 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkianea869482019-04-09 15:16:11 -04003915 }
3916 info := &grpc.UnaryServerInfo{
3917 Server: srv,
Devmalya Pauldd23a992019-11-14 07:06:31 +00003918 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkianea869482019-04-09 15:16:11 -04003919 }
3920 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003921 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkianea869482019-04-09 15:16:11 -04003922 }
3923 return interceptor(ctx, in, info, handler)
3924}
3925
Devmalya Pauldd23a992019-11-14 07:06:31 +00003926func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3927 in := new(EventFilter)
William Kurkianea869482019-04-09 15:16:11 -04003928 if err := dec(in); err != nil {
3929 return nil, err
3930 }
3931 if interceptor == nil {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003932 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkianea869482019-04-09 15:16:11 -04003933 }
3934 info := &grpc.UnaryServerInfo{
3935 Server: srv,
Devmalya Pauldd23a992019-11-14 07:06:31 +00003936 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkianea869482019-04-09 15:16:11 -04003937 }
3938 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003939 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkianea869482019-04-09 15:16:11 -04003940 }
3941 return interceptor(ctx, in, info, handler)
3942}
3943
Devmalya Pauldd23a992019-11-14 07:06:31 +00003944func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkianea869482019-04-09 15:16:11 -04003945 in := new(empty.Empty)
3946 if err := dec(in); err != nil {
3947 return nil, err
3948 }
3949 if interceptor == nil {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003950 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkianea869482019-04-09 15:16:11 -04003951 }
3952 info := &grpc.UnaryServerInfo{
3953 Server: srv,
Devmalya Pauldd23a992019-11-14 07:06:31 +00003954 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkianea869482019-04-09 15:16:11 -04003955 }
3956 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Pauldd23a992019-11-14 07:06:31 +00003957 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkianea869482019-04-09 15:16:11 -04003958 }
3959 return interceptor(ctx, in, info, handler)
3960}
3961
3962func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3963 in := new(common.ID)
3964 if err := dec(in); err != nil {
3965 return nil, err
3966 }
3967 if interceptor == nil {
3968 return srv.(VolthaServiceServer).GetImages(ctx, in)
3969 }
3970 info := &grpc.UnaryServerInfo{
3971 Server: srv,
3972 FullMethod: "/voltha.VolthaService/GetImages",
3973 }
3974 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3975 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
3976 }
3977 return interceptor(ctx, in, info, handler)
3978}
3979
3980func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3981 in := new(common.ID)
3982 if err := dec(in); err != nil {
3983 return nil, err
3984 }
3985 if interceptor == nil {
3986 return srv.(VolthaServiceServer).SelfTest(ctx, in)
3987 }
3988 info := &grpc.UnaryServerInfo{
3989 Server: srv,
3990 FullMethod: "/voltha.VolthaService/SelfTest",
3991 }
3992 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3993 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
3994 }
3995 return interceptor(ctx, in, info, handler)
3996}
3997
3998func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3999 in := new(common.ID)
4000 if err := dec(in); err != nil {
4001 return nil, err
4002 }
4003 if interceptor == nil {
4004 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4005 }
4006 info := &grpc.UnaryServerInfo{
4007 Server: srv,
4008 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4009 }
4010 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4011 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4012 }
4013 return interceptor(ctx, in, info, handler)
4014}
4015
4016func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4017 in := new(common.ID)
4018 if err := dec(in); err != nil {
4019 return nil, err
4020 }
4021 if interceptor == nil {
4022 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4023 }
4024 info := &grpc.UnaryServerInfo{
4025 Server: srv,
4026 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4027 }
4028 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4029 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4030 }
4031 return interceptor(ctx, in, info, handler)
4032}
4033
4034func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4035 in := new(SimulateAlarmRequest)
4036 if err := dec(in); err != nil {
4037 return nil, err
4038 }
4039 if interceptor == nil {
4040 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4041 }
4042 info := &grpc.UnaryServerInfo{
4043 Server: srv,
4044 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4045 }
4046 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4047 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4048 }
4049 return interceptor(ctx, in, info, handler)
4050}
4051
4052func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4053 in := new(OfAgentSubscriber)
4054 if err := dec(in); err != nil {
4055 return nil, err
4056 }
4057 if interceptor == nil {
4058 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4059 }
4060 info := &grpc.UnaryServerInfo{
4061 Server: srv,
4062 FullMethod: "/voltha.VolthaService/Subscribe",
4063 }
4064 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4065 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4066 }
4067 return interceptor(ctx, in, info, handler)
4068}
4069
kesavandd6184722020-02-05 17:13:35 -05004070func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4071 in := new(Port)
4072 if err := dec(in); err != nil {
4073 return nil, err
4074 }
4075 if interceptor == nil {
4076 return srv.(VolthaServiceServer).EnablePort(ctx, in)
4077 }
4078 info := &grpc.UnaryServerInfo{
4079 Server: srv,
4080 FullMethod: "/voltha.VolthaService/EnablePort",
4081 }
4082 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4083 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
4084 }
4085 return interceptor(ctx, in, info, handler)
4086}
4087
4088func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4089 in := new(Port)
4090 if err := dec(in); err != nil {
4091 return nil, err
4092 }
4093 if interceptor == nil {
4094 return srv.(VolthaServiceServer).DisablePort(ctx, in)
4095 }
4096 info := &grpc.UnaryServerInfo{
4097 Server: srv,
4098 FullMethod: "/voltha.VolthaService/DisablePort",
4099 }
4100 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4101 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
4102 }
4103 return interceptor(ctx, in, info, handler)
4104}
4105
William Kurkianea869482019-04-09 15:16:11 -04004106var _VolthaService_serviceDesc = grpc.ServiceDesc{
4107 ServiceName: "voltha.VolthaService",
4108 HandlerType: (*VolthaServiceServer)(nil),
4109 Methods: []grpc.MethodDesc{
4110 {
William Kurkianea869482019-04-09 15:16:11 -04004111 MethodName: "GetMembership",
4112 Handler: _VolthaService_GetMembership_Handler,
4113 },
4114 {
4115 MethodName: "UpdateMembership",
4116 Handler: _VolthaService_UpdateMembership_Handler,
4117 },
4118 {
4119 MethodName: "GetVoltha",
4120 Handler: _VolthaService_GetVoltha_Handler,
4121 },
4122 {
4123 MethodName: "ListCoreInstances",
4124 Handler: _VolthaService_ListCoreInstances_Handler,
4125 },
4126 {
4127 MethodName: "GetCoreInstance",
4128 Handler: _VolthaService_GetCoreInstance_Handler,
4129 },
4130 {
4131 MethodName: "ListAdapters",
4132 Handler: _VolthaService_ListAdapters_Handler,
4133 },
4134 {
4135 MethodName: "ListLogicalDevices",
4136 Handler: _VolthaService_ListLogicalDevices_Handler,
4137 },
4138 {
4139 MethodName: "GetLogicalDevice",
4140 Handler: _VolthaService_GetLogicalDevice_Handler,
4141 },
4142 {
4143 MethodName: "ListLogicalDevicePorts",
4144 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4145 },
4146 {
4147 MethodName: "GetLogicalDevicePort",
4148 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4149 },
4150 {
4151 MethodName: "EnableLogicalDevicePort",
4152 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4153 },
4154 {
4155 MethodName: "DisableLogicalDevicePort",
4156 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4157 },
4158 {
4159 MethodName: "ListLogicalDeviceFlows",
4160 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4161 },
4162 {
4163 MethodName: "UpdateLogicalDeviceFlowTable",
4164 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4165 },
4166 {
4167 MethodName: "UpdateLogicalDeviceMeterTable",
4168 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4169 },
4170 {
Manikkaraj kb1d51442019-07-23 10:41:02 -04004171 MethodName: "ListLogicalDeviceMeters",
4172 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkianea869482019-04-09 15:16:11 -04004173 },
4174 {
4175 MethodName: "ListLogicalDeviceFlowGroups",
4176 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4177 },
4178 {
4179 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4180 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4181 },
4182 {
4183 MethodName: "ListDevices",
4184 Handler: _VolthaService_ListDevices_Handler,
4185 },
4186 {
4187 MethodName: "ListDeviceIds",
4188 Handler: _VolthaService_ListDeviceIds_Handler,
4189 },
4190 {
4191 MethodName: "ReconcileDevices",
4192 Handler: _VolthaService_ReconcileDevices_Handler,
4193 },
4194 {
4195 MethodName: "GetDevice",
4196 Handler: _VolthaService_GetDevice_Handler,
4197 },
4198 {
4199 MethodName: "CreateDevice",
4200 Handler: _VolthaService_CreateDevice_Handler,
4201 },
4202 {
4203 MethodName: "EnableDevice",
4204 Handler: _VolthaService_EnableDevice_Handler,
4205 },
4206 {
4207 MethodName: "DisableDevice",
4208 Handler: _VolthaService_DisableDevice_Handler,
4209 },
4210 {
4211 MethodName: "RebootDevice",
4212 Handler: _VolthaService_RebootDevice_Handler,
4213 },
4214 {
4215 MethodName: "DeleteDevice",
4216 Handler: _VolthaService_DeleteDevice_Handler,
4217 },
4218 {
4219 MethodName: "DownloadImage",
4220 Handler: _VolthaService_DownloadImage_Handler,
4221 },
4222 {
4223 MethodName: "GetImageDownloadStatus",
4224 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4225 },
4226 {
4227 MethodName: "GetImageDownload",
4228 Handler: _VolthaService_GetImageDownload_Handler,
4229 },
4230 {
4231 MethodName: "ListImageDownloads",
4232 Handler: _VolthaService_ListImageDownloads_Handler,
4233 },
4234 {
4235 MethodName: "CancelImageDownload",
4236 Handler: _VolthaService_CancelImageDownload_Handler,
4237 },
4238 {
4239 MethodName: "ActivateImageUpdate",
4240 Handler: _VolthaService_ActivateImageUpdate_Handler,
4241 },
4242 {
4243 MethodName: "RevertImageUpdate",
4244 Handler: _VolthaService_RevertImageUpdate_Handler,
4245 },
4246 {
4247 MethodName: "ListDevicePorts",
4248 Handler: _VolthaService_ListDevicePorts_Handler,
4249 },
4250 {
4251 MethodName: "ListDevicePmConfigs",
4252 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4253 },
4254 {
4255 MethodName: "UpdateDevicePmConfigs",
4256 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4257 },
4258 {
4259 MethodName: "ListDeviceFlows",
4260 Handler: _VolthaService_ListDeviceFlows_Handler,
4261 },
4262 {
4263 MethodName: "ListDeviceFlowGroups",
4264 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4265 },
4266 {
4267 MethodName: "ListDeviceTypes",
4268 Handler: _VolthaService_ListDeviceTypes_Handler,
4269 },
4270 {
4271 MethodName: "GetDeviceType",
4272 Handler: _VolthaService_GetDeviceType_Handler,
4273 },
4274 {
4275 MethodName: "ListDeviceGroups",
4276 Handler: _VolthaService_ListDeviceGroups_Handler,
4277 },
4278 {
4279 MethodName: "GetDeviceGroup",
4280 Handler: _VolthaService_GetDeviceGroup_Handler,
4281 },
4282 {
Devmalya Pauldd23a992019-11-14 07:06:31 +00004283 MethodName: "CreateEventFilter",
4284 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkianea869482019-04-09 15:16:11 -04004285 },
4286 {
Devmalya Pauldd23a992019-11-14 07:06:31 +00004287 MethodName: "GetEventFilter",
4288 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkianea869482019-04-09 15:16:11 -04004289 },
4290 {
Devmalya Pauldd23a992019-11-14 07:06:31 +00004291 MethodName: "UpdateEventFilter",
4292 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkianea869482019-04-09 15:16:11 -04004293 },
4294 {
Devmalya Pauldd23a992019-11-14 07:06:31 +00004295 MethodName: "DeleteEventFilter",
4296 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkianea869482019-04-09 15:16:11 -04004297 },
4298 {
Devmalya Pauldd23a992019-11-14 07:06:31 +00004299 MethodName: "ListEventFilters",
4300 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkianea869482019-04-09 15:16:11 -04004301 },
4302 {
4303 MethodName: "GetImages",
4304 Handler: _VolthaService_GetImages_Handler,
4305 },
4306 {
4307 MethodName: "SelfTest",
4308 Handler: _VolthaService_SelfTest_Handler,
4309 },
4310 {
4311 MethodName: "GetMibDeviceData",
4312 Handler: _VolthaService_GetMibDeviceData_Handler,
4313 },
4314 {
4315 MethodName: "GetAlarmDeviceData",
4316 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4317 },
4318 {
4319 MethodName: "SimulateAlarm",
4320 Handler: _VolthaService_SimulateAlarm_Handler,
4321 },
4322 {
4323 MethodName: "Subscribe",
4324 Handler: _VolthaService_Subscribe_Handler,
4325 },
kesavandd6184722020-02-05 17:13:35 -05004326 {
4327 MethodName: "EnablePort",
4328 Handler: _VolthaService_EnablePort_Handler,
4329 },
4330 {
4331 MethodName: "DisablePort",
4332 Handler: _VolthaService_DisablePort_Handler,
4333 },
William Kurkianea869482019-04-09 15:16:11 -04004334 },
4335 Streams: []grpc.StreamDesc{
4336 {
4337 StreamName: "StreamPacketsOut",
4338 Handler: _VolthaService_StreamPacketsOut_Handler,
4339 ClientStreams: true,
4340 },
4341 {
4342 StreamName: "ReceivePacketsIn",
4343 Handler: _VolthaService_ReceivePacketsIn_Handler,
4344 ServerStreams: true,
4345 },
4346 {
4347 StreamName: "ReceiveChangeEvents",
4348 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4349 ServerStreams: true,
4350 },
4351 },
4352 Metadata: "voltha_protos/voltha.proto",
4353}