blob: f58ad2143a3da00e0c349a4a565f10428a4096e2 [file] [log] [blame]
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001// 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"
dbainbri4d3a0dc2020-12-02 00:33:42 +000011 common "github.com/opencord/voltha-protos/v4/go/common"
12 config "github.com/opencord/voltha-protos/v4/go/ext/config"
13 omci "github.com/opencord/voltha-protos/v4/go/omci"
14 openflow_13 "github.com/opencord/voltha-protos/v4/go/openflow_13"
Holger Hildebrandtfa074992020-03-27 15:42:06 +000015 _ "google.golang.org/genproto/googleapis/api/annotations"
16 grpc "google.golang.org/grpc"
17 math "math"
18)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
29const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
30
31// ChildNode from public import voltha_protos/meta.proto
32type ChildNode = common.ChildNode
33
34// Access from public import voltha_protos/meta.proto
35type Access = common.Access
36
37var Access_name = common.Access_name
38var Access_value = common.Access_value
39
40const Access_CONFIG = Access(common.Access_CONFIG)
41const Access_READ_ONLY = Access(common.Access_READ_ONLY)
42const Access_REAL_TIME = Access(common.Access_REAL_TIME)
43
44var E_ChildNode = common.E_ChildNode
45
46var E_Access = common.E_Access
47
48// ID from public import voltha_protos/common.proto
49type ID = common.ID
50
51// IDs from public import voltha_protos/common.proto
52type IDs = common.IDs
53
Holger Hildebrandtfa074992020-03-27 15:42:06 +000054// AdminState from public import voltha_protos/common.proto
55type AdminState = common.AdminState
56
57// OperStatus from public import voltha_protos/common.proto
58type OperStatus = common.OperStatus
59
60// ConnectStatus from public import voltha_protos/common.proto
61type ConnectStatus = common.ConnectStatus
62
63// OperationResp from public import voltha_protos/common.proto
64type OperationResp = common.OperationResp
65
Matteo Scandolod132c0e2020-04-24 17:06:25 -070066// ValueType from public import voltha_protos/common.proto
67type ValueType = common.ValueType
68
69// ValueSpecifier from public import voltha_protos/common.proto
70type ValueSpecifier = common.ValueSpecifier
71
72// ReturnValues from public import voltha_protos/common.proto
73type ReturnValues = common.ReturnValues
74
Holger Hildebrandtfa074992020-03-27 15:42:06 +000075// TestModeKeys from public import voltha_protos/common.proto
76type TestModeKeys = common.TestModeKeys
77
78var TestModeKeys_name = common.TestModeKeys_name
79var TestModeKeys_value = common.TestModeKeys_value
80
81const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
82
Holger Hildebrandtfa074992020-03-27 15:42:06 +000083// AdminState_Types from public import voltha_protos/common.proto
84type AdminState_Types = common.AdminState_Types
85
86var AdminState_Types_name = common.AdminState_Types_name
87var AdminState_Types_value = common.AdminState_Types_value
88
89const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
90const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
91const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
92const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
93const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
Holger Hildebrandtfa074992020-03-27 15:42:06 +000094
95// OperStatus_Types from public import voltha_protos/common.proto
96type OperStatus_Types = common.OperStatus_Types
97
98var OperStatus_Types_name = common.OperStatus_Types_name
99var OperStatus_Types_value = common.OperStatus_Types_value
100
101const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
102const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
103const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
104const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
105const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
106const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
107
108// ConnectStatus_Types from public import voltha_protos/common.proto
109type ConnectStatus_Types = common.ConnectStatus_Types
110
111var ConnectStatus_Types_name = common.ConnectStatus_Types_name
112var ConnectStatus_Types_value = common.ConnectStatus_Types_value
113
114const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
115const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
116const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
117
118// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
119type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
120
121var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
122var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
123
124const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
125const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
126const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
Andrea Campanellaaec20bd2021-02-25 12:41:34 +0100127const OperationResp_OPERATION_IN_PROGRESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_IN_PROGRESS)
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000128
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700129// ValueType_Type from public import voltha_protos/common.proto
130type ValueType_Type = common.ValueType_Type
131
132var ValueType_Type_name = common.ValueType_Type_name
133var ValueType_Type_value = common.ValueType_Type_value
134
135const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY)
136const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE)
137
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000138// OfpHeader from public import voltha_protos/openflow_13.proto
139type OfpHeader = openflow_13.OfpHeader
140
141// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
142type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
143type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
144
145// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
146type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
147
148// OfpHello from public import voltha_protos/openflow_13.proto
149type OfpHello = openflow_13.OfpHello
150
151// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
152type OfpSwitchConfig = openflow_13.OfpSwitchConfig
153
154// OfpTableMod from public import voltha_protos/openflow_13.proto
155type OfpTableMod = openflow_13.OfpTableMod
156
157// OfpPort from public import voltha_protos/openflow_13.proto
158type OfpPort = openflow_13.OfpPort
159
160// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
161type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
162
163// OfpPortStatus from public import voltha_protos/openflow_13.proto
164type OfpPortStatus = openflow_13.OfpPortStatus
165
166// OfpPortMod from public import voltha_protos/openflow_13.proto
167type OfpPortMod = openflow_13.OfpPortMod
168
169// OfpMatch from public import voltha_protos/openflow_13.proto
170type OfpMatch = openflow_13.OfpMatch
171
172// OfpOxmField from public import voltha_protos/openflow_13.proto
173type OfpOxmField = openflow_13.OfpOxmField
174type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
175type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
176
177// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
178type OfpOxmOfbField = openflow_13.OfpOxmOfbField
179type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
180type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
181type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
182type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
183type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
184type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
185type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
186type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
187type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
188type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
189type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
190type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
191type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
192type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
193type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
194type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
195type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
196type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
197type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
198type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
199type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
200type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
201type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
202type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
203type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
204type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
205type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
206type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
207type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
208type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
209type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
210type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
211type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
212type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
213type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
214type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
215type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
216type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
217type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
218type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
219type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
220type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
221type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
222type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
223type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
224type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
225type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
226type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
227type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
228type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
229type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
230type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
231type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
232type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
233
234// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
235type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
236
237// OfpAction from public import voltha_protos/openflow_13.proto
238type OfpAction = openflow_13.OfpAction
239type OfpAction_Output = openflow_13.OfpAction_Output
240type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
241type OfpAction_Push = openflow_13.OfpAction_Push
242type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
243type OfpAction_Group = openflow_13.OfpAction_Group
244type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
245type OfpAction_SetField = openflow_13.OfpAction_SetField
246type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
247
248// OfpActionOutput from public import voltha_protos/openflow_13.proto
249type OfpActionOutput = openflow_13.OfpActionOutput
250
251// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
252type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
253
254// OfpActionPush from public import voltha_protos/openflow_13.proto
255type OfpActionPush = openflow_13.OfpActionPush
256
257// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
258type OfpActionPopMpls = openflow_13.OfpActionPopMpls
259
260// OfpActionGroup from public import voltha_protos/openflow_13.proto
261type OfpActionGroup = openflow_13.OfpActionGroup
262
263// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
264type OfpActionNwTtl = openflow_13.OfpActionNwTtl
265
266// OfpActionSetField from public import voltha_protos/openflow_13.proto
267type OfpActionSetField = openflow_13.OfpActionSetField
268
269// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
270type OfpActionExperimenter = openflow_13.OfpActionExperimenter
271
272// OfpInstruction from public import voltha_protos/openflow_13.proto
273type OfpInstruction = openflow_13.OfpInstruction
274type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
275type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
276type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
277type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
278type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
279
280// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
281type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
282
283// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
284type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
285
286// OfpInstructionActions from public import voltha_protos/openflow_13.proto
287type OfpInstructionActions = openflow_13.OfpInstructionActions
288
289// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
290type OfpInstructionMeter = openflow_13.OfpInstructionMeter
291
292// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
293type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
294
295// OfpFlowMod from public import voltha_protos/openflow_13.proto
296type OfpFlowMod = openflow_13.OfpFlowMod
297
298// OfpBucket from public import voltha_protos/openflow_13.proto
299type OfpBucket = openflow_13.OfpBucket
300
301// OfpGroupMod from public import voltha_protos/openflow_13.proto
302type OfpGroupMod = openflow_13.OfpGroupMod
303
304// OfpPacketOut from public import voltha_protos/openflow_13.proto
305type OfpPacketOut = openflow_13.OfpPacketOut
306
307// OfpPacketIn from public import voltha_protos/openflow_13.proto
308type OfpPacketIn = openflow_13.OfpPacketIn
309
310// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
311type OfpFlowRemoved = openflow_13.OfpFlowRemoved
312
313// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
314type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
315type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
316type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
317type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
318
319// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
320type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
321
322// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
323type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
324
325// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
326type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
327
328// OfpMeterMod from public import voltha_protos/openflow_13.proto
329type OfpMeterMod = openflow_13.OfpMeterMod
330
331// OfpErrorMsg from public import voltha_protos/openflow_13.proto
332type OfpErrorMsg = openflow_13.OfpErrorMsg
333
334// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
335type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
336
337// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
338type OfpMultipartRequest = openflow_13.OfpMultipartRequest
339
340// OfpMultipartReply from public import voltha_protos/openflow_13.proto
341type OfpMultipartReply = openflow_13.OfpMultipartReply
342
343// OfpDesc from public import voltha_protos/openflow_13.proto
344type OfpDesc = openflow_13.OfpDesc
345
346// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
347type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
348
349// OfpFlowStats from public import voltha_protos/openflow_13.proto
350type OfpFlowStats = openflow_13.OfpFlowStats
351
352// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
353type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
354
355// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
356type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
357
358// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
359type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
360type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
361type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
362type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
363type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
364type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
365
366// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
367type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
368
369// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
370type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
371
372// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
373type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
374
375// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
376type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
377
378// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
379type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
380
381// OfpTableFeatures from public import voltha_protos/openflow_13.proto
382type OfpTableFeatures = openflow_13.OfpTableFeatures
383
384// OfpTableStats from public import voltha_protos/openflow_13.proto
385type OfpTableStats = openflow_13.OfpTableStats
386
387// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
388type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
389
390// OfpPortStats from public import voltha_protos/openflow_13.proto
391type OfpPortStats = openflow_13.OfpPortStats
392
393// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
394type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
395
396// OfpBucketCounter from public import voltha_protos/openflow_13.proto
397type OfpBucketCounter = openflow_13.OfpBucketCounter
398
399// OfpGroupStats from public import voltha_protos/openflow_13.proto
400type OfpGroupStats = openflow_13.OfpGroupStats
401
402// OfpGroupDesc from public import voltha_protos/openflow_13.proto
403type OfpGroupDesc = openflow_13.OfpGroupDesc
404
405// OfpGroupEntry from public import voltha_protos/openflow_13.proto
406type OfpGroupEntry = openflow_13.OfpGroupEntry
407
408// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
409type OfpGroupFeatures = openflow_13.OfpGroupFeatures
410
411// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
412type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
413
414// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
415type OfpMeterBandStats = openflow_13.OfpMeterBandStats
416
417// OfpMeterStats from public import voltha_protos/openflow_13.proto
418type OfpMeterStats = openflow_13.OfpMeterStats
419
420// OfpMeterConfig from public import voltha_protos/openflow_13.proto
421type OfpMeterConfig = openflow_13.OfpMeterConfig
422
423// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
424type OfpMeterFeatures = openflow_13.OfpMeterFeatures
425
426// OfpMeterEntry from public import voltha_protos/openflow_13.proto
427type OfpMeterEntry = openflow_13.OfpMeterEntry
428
429// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
430type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
431
432// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
433type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
434
435// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
436type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
437
438// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
439type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
440
441// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
442type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
443
444// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
445type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
446
447// OfpPacketQueue from public import voltha_protos/openflow_13.proto
448type OfpPacketQueue = openflow_13.OfpPacketQueue
449
450// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
451type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
452
453// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
454type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
455
456// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
457type OfpActionSetQueue = openflow_13.OfpActionSetQueue
458
459// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
460type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
461
462// OfpQueueStats from public import voltha_protos/openflow_13.proto
463type OfpQueueStats = openflow_13.OfpQueueStats
464
465// OfpRoleRequest from public import voltha_protos/openflow_13.proto
466type OfpRoleRequest = openflow_13.OfpRoleRequest
467
468// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
469type OfpAsyncConfig = openflow_13.OfpAsyncConfig
470
471// MeterModUpdate from public import voltha_protos/openflow_13.proto
472type MeterModUpdate = openflow_13.MeterModUpdate
473
474// MeterStatsReply from public import voltha_protos/openflow_13.proto
475type MeterStatsReply = openflow_13.MeterStatsReply
476
477// FlowTableUpdate from public import voltha_protos/openflow_13.proto
478type FlowTableUpdate = openflow_13.FlowTableUpdate
479
480// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
481type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
482
483// Flows from public import voltha_protos/openflow_13.proto
484type Flows = openflow_13.Flows
485
486// Meters from public import voltha_protos/openflow_13.proto
487type Meters = openflow_13.Meters
488
489// FlowGroups from public import voltha_protos/openflow_13.proto
490type FlowGroups = openflow_13.FlowGroups
491
492// FlowChanges from public import voltha_protos/openflow_13.proto
493type FlowChanges = openflow_13.FlowChanges
494
495// FlowGroupChanges from public import voltha_protos/openflow_13.proto
496type FlowGroupChanges = openflow_13.FlowGroupChanges
497
498// PacketIn from public import voltha_protos/openflow_13.proto
499type PacketIn = openflow_13.PacketIn
500
501// PacketOut from public import voltha_protos/openflow_13.proto
502type PacketOut = openflow_13.PacketOut
503
504// ChangeEvent from public import voltha_protos/openflow_13.proto
505type ChangeEvent = openflow_13.ChangeEvent
506type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
mpagenkoc8bba412021-01-15 15:38:44 +0000507type ChangeEvent_Error = openflow_13.ChangeEvent_Error
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000508
509// OfpPortNo from public import voltha_protos/openflow_13.proto
510type OfpPortNo = openflow_13.OfpPortNo
511
512var OfpPortNo_name = openflow_13.OfpPortNo_name
513var OfpPortNo_value = openflow_13.OfpPortNo_value
514
515const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
516const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
517const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
518const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
519const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
520const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
521const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
522const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
523const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
524const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
525
526// OfpType from public import voltha_protos/openflow_13.proto
527type OfpType = openflow_13.OfpType
528
529var OfpType_name = openflow_13.OfpType_name
530var OfpType_value = openflow_13.OfpType_value
531
532const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
533const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
534const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
535const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
536const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
537const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
538const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
539const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
540const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
541const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
542const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
543const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
544const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
545const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
546const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
547const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
548const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
549const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
550const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
551const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
552const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
553const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
554const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
555const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
556const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
557const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
558const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
559const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
560const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
561const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
562
563// OfpHelloElemType from public import voltha_protos/openflow_13.proto
564type OfpHelloElemType = openflow_13.OfpHelloElemType
565
566var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
567var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
568
569const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
570const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
571
572// OfpConfigFlags from public import voltha_protos/openflow_13.proto
573type OfpConfigFlags = openflow_13.OfpConfigFlags
574
575var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
576var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
577
578const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
579const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
580const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
581const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
582
583// OfpTableConfig from public import voltha_protos/openflow_13.proto
584type OfpTableConfig = openflow_13.OfpTableConfig
585
586var OfpTableConfig_name = openflow_13.OfpTableConfig_name
587var OfpTableConfig_value = openflow_13.OfpTableConfig_value
588
589const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
590const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
591
592// OfpTable from public import voltha_protos/openflow_13.proto
593type OfpTable = openflow_13.OfpTable
594
595var OfpTable_name = openflow_13.OfpTable_name
596var OfpTable_value = openflow_13.OfpTable_value
597
598const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
599const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
600const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
601
602// OfpCapabilities from public import voltha_protos/openflow_13.proto
603type OfpCapabilities = openflow_13.OfpCapabilities
604
605var OfpCapabilities_name = openflow_13.OfpCapabilities_name
606var OfpCapabilities_value = openflow_13.OfpCapabilities_value
607
608const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
609const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
610const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
611const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
612const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
613const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
614const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
615const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
616
617// OfpPortConfig from public import voltha_protos/openflow_13.proto
618type OfpPortConfig = openflow_13.OfpPortConfig
619
620var OfpPortConfig_name = openflow_13.OfpPortConfig_name
621var OfpPortConfig_value = openflow_13.OfpPortConfig_value
622
623const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
624const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
625const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
626const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
627const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
628
629// OfpPortState from public import voltha_protos/openflow_13.proto
630type OfpPortState = openflow_13.OfpPortState
631
632var OfpPortState_name = openflow_13.OfpPortState_name
633var OfpPortState_value = openflow_13.OfpPortState_value
634
635const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
636const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
637const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
638const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
639
640// OfpPortFeatures from public import voltha_protos/openflow_13.proto
641type OfpPortFeatures = openflow_13.OfpPortFeatures
642
643var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
644var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
645
646const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
647const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
648const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
649const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
650const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
651const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
652const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
653const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
654const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
655const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
656const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
657const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
658const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
659const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
660const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
661const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
662const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
663
664// OfpPortReason from public import voltha_protos/openflow_13.proto
665type OfpPortReason = openflow_13.OfpPortReason
666
667var OfpPortReason_name = openflow_13.OfpPortReason_name
668var OfpPortReason_value = openflow_13.OfpPortReason_value
669
670const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
671const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
672const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
673
674// OfpMatchType from public import voltha_protos/openflow_13.proto
675type OfpMatchType = openflow_13.OfpMatchType
676
677var OfpMatchType_name = openflow_13.OfpMatchType_name
678var OfpMatchType_value = openflow_13.OfpMatchType_value
679
680const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
681const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
682
683// OfpOxmClass from public import voltha_protos/openflow_13.proto
684type OfpOxmClass = openflow_13.OfpOxmClass
685
686var OfpOxmClass_name = openflow_13.OfpOxmClass_name
687var OfpOxmClass_value = openflow_13.OfpOxmClass_value
688
689const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
690const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
691const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
692const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
693
694// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
695type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
696
697var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
698var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
699
700const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
701const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
702const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
703const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
704const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
705const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
706const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
707const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
708const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
709const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
710const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
711const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
712const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
713const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
714const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
715const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
716const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
717const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
718const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
719const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
720const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
721const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
722const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
723const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
724const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
725const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
726const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
727const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
728const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
729const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
730const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
731const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
732const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
733const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
734const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
735const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
736const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
737const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
738const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
739const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
740
741// OfpVlanId from public import voltha_protos/openflow_13.proto
742type OfpVlanId = openflow_13.OfpVlanId
743
744var OfpVlanId_name = openflow_13.OfpVlanId_name
745var OfpVlanId_value = openflow_13.OfpVlanId_value
746
747const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
748const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
749
750// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
751type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
752
753var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
754var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
755
756const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
757const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
758const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
759const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
760const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
761const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
762const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
763const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
764const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
765const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
766
767// OfpActionType from public import voltha_protos/openflow_13.proto
768type OfpActionType = openflow_13.OfpActionType
769
770var OfpActionType_name = openflow_13.OfpActionType_name
771var OfpActionType_value = openflow_13.OfpActionType_value
772
773const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
774const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
775const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
776const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
777const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
778const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
779const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
780const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
781const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
782const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
783const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
784const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
785const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
786const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
787const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
788const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
789const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
790
791// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
792type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
793
794var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
795var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
796
797const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
798const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
799const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
800
801// OfpInstructionType from public import voltha_protos/openflow_13.proto
802type OfpInstructionType = openflow_13.OfpInstructionType
803
804var OfpInstructionType_name = openflow_13.OfpInstructionType_name
805var OfpInstructionType_value = openflow_13.OfpInstructionType_value
806
807const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
808const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
809const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
810const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
811const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
812const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
813const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
814const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
815
816// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
817type OfpFlowModCommand = openflow_13.OfpFlowModCommand
818
819var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
820var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
821
822const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
823const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
824const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
825const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
826const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
827
828// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
829type OfpFlowModFlags = openflow_13.OfpFlowModFlags
830
831var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
832var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
833
834const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
835const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
836const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
837const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
838const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
839const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
840
841// OfpGroup from public import voltha_protos/openflow_13.proto
842type OfpGroup = openflow_13.OfpGroup
843
844var OfpGroup_name = openflow_13.OfpGroup_name
845var OfpGroup_value = openflow_13.OfpGroup_value
846
847const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
848const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
849const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
850const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
851
852// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
853type OfpGroupModCommand = openflow_13.OfpGroupModCommand
854
855var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
856var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
857
858const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
859const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
860const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
861
862// OfpGroupType from public import voltha_protos/openflow_13.proto
863type OfpGroupType = openflow_13.OfpGroupType
864
865var OfpGroupType_name = openflow_13.OfpGroupType_name
866var OfpGroupType_value = openflow_13.OfpGroupType_value
867
868const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
869const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
870const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
871const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
872
873// OfpPacketInReason from public import voltha_protos/openflow_13.proto
874type OfpPacketInReason = openflow_13.OfpPacketInReason
875
876var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
877var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
878
879const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
880const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
881const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
882
883// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
884type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
885
886var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
887var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
888
889const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
890const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
891const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
892const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
893const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
894
895// OfpMeter from public import voltha_protos/openflow_13.proto
896type OfpMeter = openflow_13.OfpMeter
897
898var OfpMeter_name = openflow_13.OfpMeter_name
899var OfpMeter_value = openflow_13.OfpMeter_value
900
901const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
902const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
903const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
904const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
905const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
906
907// OfpMeterBandType from public import voltha_protos/openflow_13.proto
908type OfpMeterBandType = openflow_13.OfpMeterBandType
909
910var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
911var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
912
913const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
914const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
915const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
916const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
917
918// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
919type OfpMeterModCommand = openflow_13.OfpMeterModCommand
920
921var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
922var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
923
924const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
925const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
926const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
927
928// OfpMeterFlags from public import voltha_protos/openflow_13.proto
929type OfpMeterFlags = openflow_13.OfpMeterFlags
930
931var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
932var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
933
934const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
935const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
936const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
937const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
938const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
939
940// OfpErrorType from public import voltha_protos/openflow_13.proto
941type OfpErrorType = openflow_13.OfpErrorType
942
943var OfpErrorType_name = openflow_13.OfpErrorType_name
944var OfpErrorType_value = openflow_13.OfpErrorType_value
945
946const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
947const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
948const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
949const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
950const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
951const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
952const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
953const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
954const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
955const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
956const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
957const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
958const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
959const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
960const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
961
962// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
963type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
964
965var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
966var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
967
968const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
969const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
970
971// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
972type OfpBadRequestCode = openflow_13.OfpBadRequestCode
973
974var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
975var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
976
977const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
978const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
979const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
980const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
981const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
982const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
983const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
984const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
985const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
986const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
987const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
988const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
989const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
990const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
991
992// OfpBadActionCode from public import voltha_protos/openflow_13.proto
993type OfpBadActionCode = openflow_13.OfpBadActionCode
994
995var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
996var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
997
998const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
999const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
1000const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
1001const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
1002const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
1003const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
1004const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
1005const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
1006const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
1007const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
1008const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
1009const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
1010const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
1011const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
1012const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
1013const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
1014
1015// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
1016type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
1017
1018var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
1019var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1020
1021const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1022const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1023const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1024const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1025const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1026const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1027const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1028const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1029const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1030
1031// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
1032type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1033
1034var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1035var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1036
1037const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1038const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1039const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1040const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1041const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1042const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1043const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1044const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1045const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1046const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1047const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1048const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1049
1050// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
1051type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1052
1053var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1054var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1055
1056const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1057const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1058const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1059const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1060const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1061const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1062const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1063const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1064
1065// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
1066type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1067
1068var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1069var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1070
1071const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1072const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1073const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1074const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1075const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1076const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1077const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1078const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1079const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1080const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1081const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1082const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1083const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1084const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1085const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1086
1087// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
1088type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1089
1090var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1091var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1092
1093const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1094const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1095const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1096const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1097const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1098
1099// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
1100type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1101
1102var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1103var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1104
1105const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1106const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1107const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1108
1109// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
1110type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1111
1112var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1113var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1114
1115const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1116const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1117const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1118
1119// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
1120type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1121
1122var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1123var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1124
1125const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1126const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1127const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1128
1129// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
1130type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1131
1132var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1133var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1134
1135const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1136const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1137const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1138
1139// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
1140type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1141
1142var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1143var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1144
1145const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1146const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1147const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1148const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1149const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1150const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1151const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1152const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1153const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
1154const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
1155const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1156const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1157
1158// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
1159type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1160
1161var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1162var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1163
1164const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1165const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1166const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1167const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1168const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1169const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1170
1171// OfpMultipartType from public import voltha_protos/openflow_13.proto
1172type OfpMultipartType = openflow_13.OfpMultipartType
1173
1174var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1175var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1176
1177const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1178const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1179const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1180const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1181const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1182const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1183const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1184const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1185const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1186const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1187const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1188const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1189const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1190const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1191const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1192
1193// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
1194type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1195
1196var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1197var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1198
1199const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1200const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1201
1202// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
1203type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1204
1205var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1206var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1207
1208const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1209const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1210
1211// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
1212type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1213
1214var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1215var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1216
1217const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1218const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1219const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1220const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1221const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1222const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1223const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1224const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1225const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1226const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1227const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1228const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1229const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1230const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1231const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1232const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1233
1234// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
1235type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1236
1237var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1238var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1239
1240const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1241const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1242const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1243const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1244const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1245
1246// OfpQueueProperties from public import voltha_protos/openflow_13.proto
1247type OfpQueueProperties = openflow_13.OfpQueueProperties
1248
1249var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1250var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1251
1252const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1253const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1254const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1255const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1256
1257// OfpControllerRole from public import voltha_protos/openflow_13.proto
1258type OfpControllerRole = openflow_13.OfpControllerRole
1259
1260var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1261var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1262
1263const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1264const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1265const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1266const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1267
1268type EventFilterRuleKey_EventFilterRuleType int32
1269
1270const (
1271 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1272 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1273 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1274 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1275 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1276 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
1277)
1278
1279var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1280 0: "filter_all",
1281 1: "category",
1282 2: "sub_category",
1283 3: "kpi_event_type",
1284 4: "config_event_type",
1285 5: "device_event_type",
1286}
1287
1288var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1289 "filter_all": 0,
1290 "category": 1,
1291 "sub_category": 2,
1292 "kpi_event_type": 3,
1293 "config_event_type": 4,
1294 "device_event_type": 5,
1295}
1296
1297func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1298 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
1299}
1300
1301func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
1302 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
1303}
1304
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -07001305type TestResponse_TestResponseResult int32
1306
1307const (
1308 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
1309 TestResponse_FAILURE TestResponse_TestResponseResult = 1
1310)
1311
1312var TestResponse_TestResponseResult_name = map[int32]string{
1313 0: "SUCCESS",
1314 1: "FAILURE",
1315}
1316
1317var TestResponse_TestResponseResult_value = map[string]int32{
1318 "SUCCESS": 0,
1319 "FAILURE": 1,
1320}
1321
1322func (x TestResponse_TestResponseResult) String() string {
1323 return proto.EnumName(TestResponse_TestResponseResult_name, int32(x))
1324}
1325
1326func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
1327 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
1328}
1329
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001330type SelfTestResponse_SelfTestResult int32
1331
1332const (
1333 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1334 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1335 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1336 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1337)
1338
1339var SelfTestResponse_SelfTestResult_name = map[int32]string{
1340 0: "SUCCESS",
1341 1: "FAILURE",
1342 2: "NOT_SUPPORTED",
1343 3: "UNKNOWN_ERROR",
1344}
1345
1346var SelfTestResponse_SelfTestResult_value = map[string]int32{
1347 "SUCCESS": 0,
1348 "FAILURE": 1,
1349 "NOT_SUPPORTED": 2,
1350 "UNKNOWN_ERROR": 3,
1351}
1352
1353func (x SelfTestResponse_SelfTestResult) String() string {
1354 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1355}
1356
1357func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
dbainbri4d3a0dc2020-12-02 00:33:42 +00001358 return fileDescriptor_e084f1a60ce7016c, []int{12, 0}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001359}
1360
1361type DeviceGroup struct {
1362 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1363 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1364 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1365 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1366 XXX_unrecognized []byte `json:"-"`
1367 XXX_sizecache int32 `json:"-"`
1368}
1369
1370func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1371func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1372func (*DeviceGroup) ProtoMessage() {}
1373func (*DeviceGroup) Descriptor() ([]byte, []int) {
1374 return fileDescriptor_e084f1a60ce7016c, []int{0}
1375}
1376
1377func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1378 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1379}
1380func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1381 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1382}
1383func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1384 xxx_messageInfo_DeviceGroup.Merge(m, src)
1385}
1386func (m *DeviceGroup) XXX_Size() int {
1387 return xxx_messageInfo_DeviceGroup.Size(m)
1388}
1389func (m *DeviceGroup) XXX_DiscardUnknown() {
1390 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1391}
1392
1393var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1394
1395func (m *DeviceGroup) GetId() string {
1396 if m != nil {
1397 return m.Id
1398 }
1399 return ""
1400}
1401
1402func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1403 if m != nil {
1404 return m.LogicalDevices
1405 }
1406 return nil
1407}
1408
1409func (m *DeviceGroup) GetDevices() []*Device {
1410 if m != nil {
1411 return m.Devices
1412 }
1413 return nil
1414}
1415
1416type DeviceGroups struct {
1417 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1418 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1419 XXX_unrecognized []byte `json:"-"`
1420 XXX_sizecache int32 `json:"-"`
1421}
1422
1423func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1424func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1425func (*DeviceGroups) ProtoMessage() {}
1426func (*DeviceGroups) Descriptor() ([]byte, []int) {
1427 return fileDescriptor_e084f1a60ce7016c, []int{1}
1428}
1429
1430func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1431 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1432}
1433func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1434 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1435}
1436func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1437 xxx_messageInfo_DeviceGroups.Merge(m, src)
1438}
1439func (m *DeviceGroups) XXX_Size() int {
1440 return xxx_messageInfo_DeviceGroups.Size(m)
1441}
1442func (m *DeviceGroups) XXX_DiscardUnknown() {
1443 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1444}
1445
1446var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1447
1448func (m *DeviceGroups) GetItems() []*DeviceGroup {
1449 if m != nil {
1450 return m.Items
1451 }
1452 return nil
1453}
1454
1455type EventFilterRuleKey struct {
1456 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1457 XXX_unrecognized []byte `json:"-"`
1458 XXX_sizecache int32 `json:"-"`
1459}
1460
1461func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1462func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1463func (*EventFilterRuleKey) ProtoMessage() {}
1464func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
1465 return fileDescriptor_e084f1a60ce7016c, []int{2}
1466}
1467
1468func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1469 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
1470}
1471func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1472 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
1473}
1474func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1475 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
1476}
1477func (m *EventFilterRuleKey) XXX_Size() int {
1478 return xxx_messageInfo_EventFilterRuleKey.Size(m)
1479}
1480func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1481 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
1482}
1483
1484var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
1485
1486type EventFilterRule struct {
1487 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1488 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1489 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1490 XXX_unrecognized []byte `json:"-"`
1491 XXX_sizecache int32 `json:"-"`
1492}
1493
1494func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1495func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1496func (*EventFilterRule) ProtoMessage() {}
1497func (*EventFilterRule) Descriptor() ([]byte, []int) {
1498 return fileDescriptor_e084f1a60ce7016c, []int{3}
1499}
1500
1501func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1502 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
1503}
1504func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1505 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
1506}
1507func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1508 xxx_messageInfo_EventFilterRule.Merge(m, src)
1509}
1510func (m *EventFilterRule) XXX_Size() int {
1511 return xxx_messageInfo_EventFilterRule.Size(m)
1512}
1513func (m *EventFilterRule) XXX_DiscardUnknown() {
1514 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
1515}
1516
1517var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
1518
1519func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
1520 if m != nil {
1521 return m.Key
1522 }
1523 return EventFilterRuleKey_filter_all
1524}
1525
1526func (m *EventFilterRule) GetValue() string {
1527 if m != nil {
1528 return m.Value
1529 }
1530 return ""
1531}
1532
1533type EventFilter struct {
1534 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1535 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1536 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1537 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1538 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
1539 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1540 XXX_unrecognized []byte `json:"-"`
1541 XXX_sizecache int32 `json:"-"`
1542}
1543
1544func (m *EventFilter) Reset() { *m = EventFilter{} }
1545func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1546func (*EventFilter) ProtoMessage() {}
1547func (*EventFilter) Descriptor() ([]byte, []int) {
1548 return fileDescriptor_e084f1a60ce7016c, []int{4}
1549}
1550
1551func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1552 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
1553}
1554func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1555 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
1556}
1557func (m *EventFilter) XXX_Merge(src proto.Message) {
1558 xxx_messageInfo_EventFilter.Merge(m, src)
1559}
1560func (m *EventFilter) XXX_Size() int {
1561 return xxx_messageInfo_EventFilter.Size(m)
1562}
1563func (m *EventFilter) XXX_DiscardUnknown() {
1564 xxx_messageInfo_EventFilter.DiscardUnknown(m)
1565}
1566
1567var xxx_messageInfo_EventFilter proto.InternalMessageInfo
1568
1569func (m *EventFilter) GetId() string {
1570 if m != nil {
1571 return m.Id
1572 }
1573 return ""
1574}
1575
1576func (m *EventFilter) GetEnable() bool {
1577 if m != nil {
1578 return m.Enable
1579 }
1580 return false
1581}
1582
1583func (m *EventFilter) GetDeviceId() string {
1584 if m != nil {
1585 return m.DeviceId
1586 }
1587 return ""
1588}
1589
1590func (m *EventFilter) GetEventType() string {
1591 if m != nil {
1592 return m.EventType
1593 }
1594 return ""
1595}
1596
1597func (m *EventFilter) GetRules() []*EventFilterRule {
1598 if m != nil {
1599 return m.Rules
1600 }
1601 return nil
1602}
1603
1604type EventFilters struct {
1605 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
1606 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1607 XXX_unrecognized []byte `json:"-"`
1608 XXX_sizecache int32 `json:"-"`
1609}
1610
1611func (m *EventFilters) Reset() { *m = EventFilters{} }
1612func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1613func (*EventFilters) ProtoMessage() {}
1614func (*EventFilters) Descriptor() ([]byte, []int) {
1615 return fileDescriptor_e084f1a60ce7016c, []int{5}
1616}
1617
1618func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1619 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
1620}
1621func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1622 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
1623}
1624func (m *EventFilters) XXX_Merge(src proto.Message) {
1625 xxx_messageInfo_EventFilters.Merge(m, src)
1626}
1627func (m *EventFilters) XXX_Size() int {
1628 return xxx_messageInfo_EventFilters.Size(m)
1629}
1630func (m *EventFilters) XXX_DiscardUnknown() {
1631 xxx_messageInfo_EventFilters.DiscardUnknown(m)
1632}
1633
1634var xxx_messageInfo_EventFilters proto.InternalMessageInfo
1635
1636func (m *EventFilters) GetFilters() []*EventFilter {
1637 if m != nil {
1638 return m.Filters
1639 }
1640 return nil
1641}
1642
1643// CoreInstance represents a core instance. It is data held in memory when a core
1644// is running. This data is not persistent.
1645type CoreInstance struct {
1646 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1647 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1648 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1649 XXX_unrecognized []byte `json:"-"`
1650 XXX_sizecache int32 `json:"-"`
1651}
1652
1653func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1654func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1655func (*CoreInstance) ProtoMessage() {}
1656func (*CoreInstance) Descriptor() ([]byte, []int) {
1657 return fileDescriptor_e084f1a60ce7016c, []int{6}
1658}
1659
1660func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1661 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1662}
1663func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1664 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1665}
1666func (m *CoreInstance) XXX_Merge(src proto.Message) {
1667 xxx_messageInfo_CoreInstance.Merge(m, src)
1668}
1669func (m *CoreInstance) XXX_Size() int {
1670 return xxx_messageInfo_CoreInstance.Size(m)
1671}
1672func (m *CoreInstance) XXX_DiscardUnknown() {
1673 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1674}
1675
1676var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1677
1678func (m *CoreInstance) GetInstanceId() string {
1679 if m != nil {
1680 return m.InstanceId
1681 }
1682 return ""
1683}
1684
1685func (m *CoreInstance) GetHealth() *HealthStatus {
1686 if m != nil {
1687 return m.Health
1688 }
1689 return nil
1690}
1691
1692type CoreInstances struct {
1693 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1694 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1695 XXX_unrecognized []byte `json:"-"`
1696 XXX_sizecache int32 `json:"-"`
1697}
1698
1699func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1700func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1701func (*CoreInstances) ProtoMessage() {}
1702func (*CoreInstances) Descriptor() ([]byte, []int) {
1703 return fileDescriptor_e084f1a60ce7016c, []int{7}
1704}
1705
1706func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1707 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1708}
1709func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1710 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1711}
1712func (m *CoreInstances) XXX_Merge(src proto.Message) {
1713 xxx_messageInfo_CoreInstances.Merge(m, src)
1714}
1715func (m *CoreInstances) XXX_Size() int {
1716 return xxx_messageInfo_CoreInstances.Size(m)
1717}
1718func (m *CoreInstances) XXX_DiscardUnknown() {
1719 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1720}
1721
1722var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1723
1724func (m *CoreInstances) GetItems() []*CoreInstance {
1725 if m != nil {
1726 return m.Items
1727 }
1728 return nil
1729}
1730
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -07001731type OmciTestRequest struct {
1732 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1733 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
1734 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1735 XXX_unrecognized []byte `json:"-"`
1736 XXX_sizecache int32 `json:"-"`
1737}
1738
1739func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} }
1740func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) }
1741func (*OmciTestRequest) ProtoMessage() {}
1742func (*OmciTestRequest) Descriptor() ([]byte, []int) {
1743 return fileDescriptor_e084f1a60ce7016c, []int{8}
1744}
1745
1746func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error {
1747 return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b)
1748}
1749func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1750 return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic)
1751}
1752func (m *OmciTestRequest) XXX_Merge(src proto.Message) {
1753 xxx_messageInfo_OmciTestRequest.Merge(m, src)
1754}
1755func (m *OmciTestRequest) XXX_Size() int {
1756 return xxx_messageInfo_OmciTestRequest.Size(m)
1757}
1758func (m *OmciTestRequest) XXX_DiscardUnknown() {
1759 xxx_messageInfo_OmciTestRequest.DiscardUnknown(m)
1760}
1761
1762var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo
1763
1764func (m *OmciTestRequest) GetId() string {
1765 if m != nil {
1766 return m.Id
1767 }
1768 return ""
1769}
1770
1771func (m *OmciTestRequest) GetUuid() string {
1772 if m != nil {
1773 return m.Uuid
1774 }
1775 return ""
1776}
1777
1778type TestResponse struct {
1779 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.TestResponse_TestResponseResult" json:"result,omitempty"`
1780 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1781 XXX_unrecognized []byte `json:"-"`
1782 XXX_sizecache int32 `json:"-"`
1783}
1784
1785func (m *TestResponse) Reset() { *m = TestResponse{} }
1786func (m *TestResponse) String() string { return proto.CompactTextString(m) }
1787func (*TestResponse) ProtoMessage() {}
1788func (*TestResponse) Descriptor() ([]byte, []int) {
1789 return fileDescriptor_e084f1a60ce7016c, []int{9}
1790}
1791
1792func (m *TestResponse) XXX_Unmarshal(b []byte) error {
1793 return xxx_messageInfo_TestResponse.Unmarshal(m, b)
1794}
1795func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1796 return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic)
1797}
1798func (m *TestResponse) XXX_Merge(src proto.Message) {
1799 xxx_messageInfo_TestResponse.Merge(m, src)
1800}
1801func (m *TestResponse) XXX_Size() int {
1802 return xxx_messageInfo_TestResponse.Size(m)
1803}
1804func (m *TestResponse) XXX_DiscardUnknown() {
1805 xxx_messageInfo_TestResponse.DiscardUnknown(m)
1806}
1807
1808var xxx_messageInfo_TestResponse proto.InternalMessageInfo
1809
1810func (m *TestResponse) GetResult() TestResponse_TestResponseResult {
1811 if m != nil {
1812 return m.Result
1813 }
1814 return TestResponse_SUCCESS
1815}
1816
dbainbri4d3a0dc2020-12-02 00:33:42 +00001817type ValueSet struct {
1818 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1819 // Types that are valid to be assigned to Value:
1820 // *ValueSet_AlarmConfig
1821 Value isValueSet_Value `protobuf_oneof:"value"`
1822 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1823 XXX_unrecognized []byte `json:"-"`
1824 XXX_sizecache int32 `json:"-"`
1825}
1826
1827func (m *ValueSet) Reset() { *m = ValueSet{} }
1828func (m *ValueSet) String() string { return proto.CompactTextString(m) }
1829func (*ValueSet) ProtoMessage() {}
1830func (*ValueSet) Descriptor() ([]byte, []int) {
1831 return fileDescriptor_e084f1a60ce7016c, []int{10}
1832}
1833
1834func (m *ValueSet) XXX_Unmarshal(b []byte) error {
1835 return xxx_messageInfo_ValueSet.Unmarshal(m, b)
1836}
1837func (m *ValueSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1838 return xxx_messageInfo_ValueSet.Marshal(b, m, deterministic)
1839}
1840func (m *ValueSet) XXX_Merge(src proto.Message) {
1841 xxx_messageInfo_ValueSet.Merge(m, src)
1842}
1843func (m *ValueSet) XXX_Size() int {
1844 return xxx_messageInfo_ValueSet.Size(m)
1845}
1846func (m *ValueSet) XXX_DiscardUnknown() {
1847 xxx_messageInfo_ValueSet.DiscardUnknown(m)
1848}
1849
1850var xxx_messageInfo_ValueSet proto.InternalMessageInfo
1851
1852func (m *ValueSet) GetId() string {
1853 if m != nil {
1854 return m.Id
1855 }
1856 return ""
1857}
1858
1859type isValueSet_Value interface {
1860 isValueSet_Value()
1861}
1862
1863type ValueSet_AlarmConfig struct {
1864 AlarmConfig *config.AlarmConfig `protobuf:"bytes,2,opt,name=alarm_config,json=alarmConfig,proto3,oneof"`
1865}
1866
1867func (*ValueSet_AlarmConfig) isValueSet_Value() {}
1868
1869func (m *ValueSet) GetValue() isValueSet_Value {
1870 if m != nil {
1871 return m.Value
1872 }
1873 return nil
1874}
1875
1876func (m *ValueSet) GetAlarmConfig() *config.AlarmConfig {
1877 if x, ok := m.GetValue().(*ValueSet_AlarmConfig); ok {
1878 return x.AlarmConfig
1879 }
1880 return nil
1881}
1882
1883// XXX_OneofWrappers is for the internal use of the proto package.
1884func (*ValueSet) XXX_OneofWrappers() []interface{} {
1885 return []interface{}{
1886 (*ValueSet_AlarmConfig)(nil),
1887 }
1888}
1889
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001890// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1891// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1892// for better performance
1893type Voltha struct {
1894 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1895 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1896 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1897 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1898 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1899 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
1900 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
1901 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1902 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1903 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1904 XXX_unrecognized []byte `json:"-"`
1905 XXX_sizecache int32 `json:"-"`
1906}
1907
1908func (m *Voltha) Reset() { *m = Voltha{} }
1909func (m *Voltha) String() string { return proto.CompactTextString(m) }
1910func (*Voltha) ProtoMessage() {}
1911func (*Voltha) Descriptor() ([]byte, []int) {
dbainbri4d3a0dc2020-12-02 00:33:42 +00001912 return fileDescriptor_e084f1a60ce7016c, []int{11}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001913}
1914
1915func (m *Voltha) XXX_Unmarshal(b []byte) error {
1916 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1917}
1918func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1919 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1920}
1921func (m *Voltha) XXX_Merge(src proto.Message) {
1922 xxx_messageInfo_Voltha.Merge(m, src)
1923}
1924func (m *Voltha) XXX_Size() int {
1925 return xxx_messageInfo_Voltha.Size(m)
1926}
1927func (m *Voltha) XXX_DiscardUnknown() {
1928 xxx_messageInfo_Voltha.DiscardUnknown(m)
1929}
1930
1931var xxx_messageInfo_Voltha proto.InternalMessageInfo
1932
1933func (m *Voltha) GetVersion() string {
1934 if m != nil {
1935 return m.Version
1936 }
1937 return ""
1938}
1939
1940func (m *Voltha) GetAdapters() []*Adapter {
1941 if m != nil {
1942 return m.Adapters
1943 }
1944 return nil
1945}
1946
1947func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1948 if m != nil {
1949 return m.LogicalDevices
1950 }
1951 return nil
1952}
1953
1954func (m *Voltha) GetDevices() []*Device {
1955 if m != nil {
1956 return m.Devices
1957 }
1958 return nil
1959}
1960
1961func (m *Voltha) GetDeviceTypes() []*DeviceType {
1962 if m != nil {
1963 return m.DeviceTypes
1964 }
1965 return nil
1966}
1967
1968func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1969 if m != nil {
1970 return m.DeviceGroups
1971 }
1972 return nil
1973}
1974
1975func (m *Voltha) GetEventFilters() []*EventFilter {
1976 if m != nil {
1977 return m.EventFilters
1978 }
1979 return nil
1980}
1981
1982func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1983 if m != nil {
1984 return m.OmciMibDatabase
1985 }
1986 return nil
1987}
1988
1989func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1990 if m != nil {
1991 return m.OmciAlarmDatabase
1992 }
1993 return nil
1994}
1995
1996// Device Self Test Response
1997type SelfTestResponse struct {
1998 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1999 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2000 XXX_unrecognized []byte `json:"-"`
2001 XXX_sizecache int32 `json:"-"`
2002}
2003
2004func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
2005func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
2006func (*SelfTestResponse) ProtoMessage() {}
2007func (*SelfTestResponse) Descriptor() ([]byte, []int) {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002008 return fileDescriptor_e084f1a60ce7016c, []int{12}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002009}
2010
2011func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
2012 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
2013}
2014func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2015 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
2016}
2017func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
2018 xxx_messageInfo_SelfTestResponse.Merge(m, src)
2019}
2020func (m *SelfTestResponse) XXX_Size() int {
2021 return xxx_messageInfo_SelfTestResponse.Size(m)
2022}
2023func (m *SelfTestResponse) XXX_DiscardUnknown() {
2024 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
2025}
2026
2027var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
2028
2029func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
2030 if m != nil {
2031 return m.Result
2032 }
2033 return SelfTestResponse_SUCCESS
2034}
2035
2036type OfAgentSubscriber struct {
2037 // ID of ofagent instance
2038 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
2039 // ID of voltha instance to which the ofagent is subscribed
2040 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
2041 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2042 XXX_unrecognized []byte `json:"-"`
2043 XXX_sizecache int32 `json:"-"`
2044}
2045
2046func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
2047func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
2048func (*OfAgentSubscriber) ProtoMessage() {}
2049func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002050 return fileDescriptor_e084f1a60ce7016c, []int{13}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002051}
2052
2053func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
2054 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
2055}
2056func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2057 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
2058}
2059func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
2060 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
2061}
2062func (m *OfAgentSubscriber) XXX_Size() int {
2063 return xxx_messageInfo_OfAgentSubscriber.Size(m)
2064}
2065func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
2066 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
2067}
2068
2069var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
2070
2071func (m *OfAgentSubscriber) GetOfagentId() string {
2072 if m != nil {
2073 return m.OfagentId
2074 }
2075 return ""
2076}
2077
2078func (m *OfAgentSubscriber) GetVolthaId() string {
2079 if m != nil {
2080 return m.VolthaId
2081 }
2082 return ""
2083}
2084
2085// Identifies a membership group a Core belongs to
2086type Membership struct {
2087 // Group name
2088 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
2089 // Unique ID of a container within that group
2090 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
2091 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2092 XXX_unrecognized []byte `json:"-"`
2093 XXX_sizecache int32 `json:"-"`
2094}
2095
2096func (m *Membership) Reset() { *m = Membership{} }
2097func (m *Membership) String() string { return proto.CompactTextString(m) }
2098func (*Membership) ProtoMessage() {}
2099func (*Membership) Descriptor() ([]byte, []int) {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002100 return fileDescriptor_e084f1a60ce7016c, []int{14}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002101}
2102
2103func (m *Membership) XXX_Unmarshal(b []byte) error {
2104 return xxx_messageInfo_Membership.Unmarshal(m, b)
2105}
2106func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2107 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
2108}
2109func (m *Membership) XXX_Merge(src proto.Message) {
2110 xxx_messageInfo_Membership.Merge(m, src)
2111}
2112func (m *Membership) XXX_Size() int {
2113 return xxx_messageInfo_Membership.Size(m)
2114}
2115func (m *Membership) XXX_DiscardUnknown() {
2116 xxx_messageInfo_Membership.DiscardUnknown(m)
2117}
2118
2119var xxx_messageInfo_Membership proto.InternalMessageInfo
2120
2121func (m *Membership) GetGroupName() string {
2122 if m != nil {
2123 return m.GroupName
2124 }
2125 return ""
2126}
2127
2128func (m *Membership) GetId() string {
2129 if m != nil {
2130 return m.Id
2131 }
2132 return ""
2133}
2134
2135// Additional information required to process flow at device adapters
2136type FlowMetadata struct {
2137 // Meters associated with flow-update to adapter
2138 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
2139 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2140 XXX_unrecognized []byte `json:"-"`
2141 XXX_sizecache int32 `json:"-"`
2142}
2143
2144func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
2145func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
2146func (*FlowMetadata) ProtoMessage() {}
2147func (*FlowMetadata) Descriptor() ([]byte, []int) {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002148 return fileDescriptor_e084f1a60ce7016c, []int{15}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002149}
2150
2151func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
2152 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
2153}
2154func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2155 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
2156}
2157func (m *FlowMetadata) XXX_Merge(src proto.Message) {
2158 xxx_messageInfo_FlowMetadata.Merge(m, src)
2159}
2160func (m *FlowMetadata) XXX_Size() int {
2161 return xxx_messageInfo_FlowMetadata.Size(m)
2162}
2163func (m *FlowMetadata) XXX_DiscardUnknown() {
2164 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
2165}
2166
2167var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
2168
2169func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
2170 if m != nil {
2171 return m.Meters
2172 }
2173 return nil
2174}
2175
2176func init() {
2177 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -07002178 proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002179 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
2180 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2181 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
2182 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2183 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2184 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2185 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
2186 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2187 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -07002188 proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest")
2189 proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse")
dbainbri4d3a0dc2020-12-02 00:33:42 +00002190 proto.RegisterType((*ValueSet)(nil), "voltha.ValueSet")
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002191 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2192 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2193 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2194 proto.RegisterType((*Membership)(nil), "voltha.Membership")
2195 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
2196}
2197
2198func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2199
2200var fileDescriptor_e084f1a60ce7016c = []byte{
dbainbri4d3a0dc2020-12-02 00:33:42 +00002201 // 2613 bytes of a gzipped FileDescriptorProto
2202 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5b, 0x6f, 0x1b, 0xc7,
2203 0xf5, 0x17, 0x75, 0xd7, 0x21, 0x25, 0x91, 0x43, 0x5d, 0x68, 0x4a, 0xb2, 0xad, 0xc9, 0x4d, 0x51,
2204 0x62, 0xd2, 0xb1, 0x9c, 0x20, 0xff, 0xf8, 0x1f, 0x34, 0xba, 0x59, 0x61, 0x6d, 0x99, 0xec, 0x52,
2205 0xb2, 0xd3, 0x36, 0x06, 0xb1, 0xe4, 0x0e, 0xa9, 0x85, 0x97, 0x5c, 0x76, 0x77, 0x28, 0x5b, 0x30,
2206 0x82, 0x02, 0xe9, 0x25, 0x7d, 0xcf, 0x7b, 0x9f, 0x5a, 0x14, 0xe8, 0x77, 0xc9, 0x43, 0xd1, 0xa7,
2207 0xbe, 0x16, 0x7d, 0xe8, 0x27, 0xc8, 0x73, 0x31, 0x67, 0x66, 0xc9, 0x5d, 0xee, 0xae, 0x24, 0xa6,
2208 0x01, 0xfa, 0x24, 0xed, 0x39, 0x67, 0x7e, 0xe7, 0x36, 0x73, 0xe6, 0xec, 0x59, 0x42, 0xfe, 0xdc,
2209 0xb6, 0xf8, 0x99, 0x5e, 0xeb, 0x3a, 0x36, 0xb7, 0xdd, 0xa2, 0x7c, 0x2a, 0xe0, 0x13, 0x99, 0x96,
2210 0x4f, 0xf9, 0xf5, 0x96, 0x6d, 0xb7, 0x2c, 0x56, 0xd4, 0xbb, 0x66, 0x51, 0xef, 0x74, 0x6c, 0xae,
2211 0x73, 0xd3, 0xee, 0xb8, 0x52, 0x2a, 0xbf, 0xa6, 0xb8, 0xf8, 0x54, 0xef, 0x35, 0x8b, 0xac, 0xdd,
2212 0xe5, 0x17, 0x8a, 0x99, 0x0b, 0xc2, 0xb7, 0x19, 0x57, 0xe0, 0xf9, 0x21, 0xc5, 0x0d, 0xbb, 0xdd,
2213 0xb6, 0x3b, 0xd1, 0xbc, 0x33, 0xa6, 0x5b, 0xfc, 0x4c, 0xf1, 0x68, 0x90, 0x67, 0xd9, 0x2d, 0xb3,
2214 0xa1, 0x5b, 0x35, 0x83, 0x9d, 0x9b, 0x0d, 0x16, 0xbd, 0x3e, 0xc0, 0x5b, 0x0b, 0xf2, 0x74, 0x43,
2215 0xef, 0x72, 0xe6, 0x28, 0xe6, 0xad, 0x20, 0xd3, 0xee, 0xb2, 0x4e, 0xd3, 0xb2, 0x5f, 0xd6, 0x3e,
2216 0xd8, 0x89, 0x11, 0x68, 0x37, 0xcc, 0x5a, 0xdb, 0xac, 0xd7, 0x8c, 0xba, 0x12, 0xd8, 0x8c, 0x10,
2217 0xd0, 0x2d, 0xdd, 0x69, 0x0f, 0x44, 0x6e, 0x06, 0x45, 0xd8, 0x2b, 0x5e, 0x6b, 0xd8, 0x9d, 0xa6,
2218 0xd9, 0x92, 0x7c, 0xfa, 0xa7, 0x04, 0x24, 0x0f, 0xd0, 0xe4, 0x23, 0xc7, 0xee, 0x75, 0xc9, 0x32,
2219 0x8c, 0x9b, 0x46, 0x2e, 0x71, 0x3b, 0xb1, 0x35, 0xb7, 0x37, 0xf5, 0xef, 0xef, 0xbf, 0xdb, 0x48,
2220 0x68, 0xe3, 0xa6, 0x41, 0x4a, 0xb0, 0x18, 0x74, 0xde, 0xcd, 0x8d, 0xdf, 0x9e, 0xd8, 0x4a, 0xde,
2221 0x5b, 0x2e, 0xa8, 0x2c, 0x3e, 0x96, 0x6c, 0x89, 0xb5, 0x37, 0xf7, 0xcf, 0xef, 0xbf, 0xdb, 0x98,
2222 0x14, 0x58, 0xda, 0x82, 0xe5, 0xe7, 0xb8, 0x64, 0x07, 0x66, 0x3c, 0x88, 0x09, 0x84, 0x58, 0xf0,
2223 0x20, 0xc2, 0x6b, 0x3d, 0x49, 0xfa, 0x7f, 0x90, 0xf2, 0x59, 0xe9, 0x92, 0x77, 0x61, 0xca, 0xe4,
2224 0xac, 0xed, 0xe6, 0x12, 0x08, 0x91, 0x0d, 0x42, 0xa0, 0x90, 0x26, 0x25, 0xe8, 0x1f, 0x13, 0x40,
2225 0x0e, 0xcf, 0x59, 0x87, 0x3f, 0x34, 0x2d, 0xce, 0x1c, 0xad, 0x67, 0xb1, 0x47, 0xec, 0x82, 0x7e,
2226 0x93, 0x80, 0xec, 0x10, 0xf9, 0xe4, 0xa2, 0xcb, 0xc8, 0x02, 0x40, 0x13, 0x29, 0x35, 0xdd, 0xb2,
2227 0xd2, 0x63, 0x24, 0x05, 0xb3, 0x0d, 0x9d, 0xb3, 0x96, 0xed, 0x5c, 0xa4, 0x13, 0x24, 0x0d, 0x29,
2228 0xb7, 0x57, 0xaf, 0xf5, 0x29, 0xe3, 0x84, 0xc0, 0xc2, 0x8b, 0xae, 0x59, 0x63, 0x02, 0xaa, 0xc6,
2229 0x2f, 0xba, 0x2c, 0x3d, 0x41, 0x96, 0x21, 0x23, 0x83, 0xec, 0x27, 0x4f, 0x0a, 0xb2, 0xf4, 0xc7,
2230 0x4f, 0x9e, 0xa2, 0x26, 0x2c, 0x0e, 0x19, 0x42, 0x3e, 0x83, 0x89, 0x17, 0xec, 0x02, 0xd3, 0xb0,
2231 0x70, 0xaf, 0xe0, 0x39, 0x17, 0xf6, 0xa2, 0x10, 0xe1, 0x81, 0x26, 0x96, 0x92, 0x25, 0x98, 0x3a,
2232 0xd7, 0xad, 0x1e, 0xcb, 0x8d, 0x8b, 0x54, 0x6a, 0xf2, 0x81, 0xfe, 0x25, 0x01, 0x49, 0xdf, 0x92,
2233 0xb8, 0x6c, 0xaf, 0xc0, 0x34, 0xeb, 0xe8, 0x75, 0x4b, 0xae, 0x9e, 0xd5, 0xd4, 0x13, 0x59, 0x83,
2234 0x39, 0xe5, 0x80, 0x69, 0xe4, 0x26, 0x10, 0x78, 0x56, 0x12, 0x4a, 0x06, 0xd9, 0x00, 0x18, 0xb8,
2235 0x95, 0x9b, 0x44, 0xee, 0x1c, 0x52, 0x30, 0xae, 0x77, 0x60, 0xca, 0xe9, 0x59, 0xcc, 0xcd, 0x4d,
2236 0x61, 0xc6, 0x56, 0x63, 0x9c, 0xd2, 0xa4, 0x14, 0xfd, 0x14, 0x52, 0x3e, 0x8e, 0x4b, 0xee, 0xc0,
2237 0x8c, 0x4c, 0x4b, 0x28, 0xe5, 0x7e, 0x00, 0x4f, 0x86, 0xbe, 0x80, 0xd4, 0xbe, 0xed, 0xb0, 0x52,
2238 0xc7, 0xe5, 0x7a, 0xa7, 0xc1, 0xc8, 0xdb, 0x90, 0x34, 0xd5, 0xff, 0xb5, 0x61, 0x8f, 0xc1, 0xe3,
2239 0x94, 0x0c, 0xb2, 0x03, 0xd3, 0xb2, 0x00, 0xa0, 0xe7, 0xc9, 0x7b, 0x4b, 0x9e, 0x96, 0xcf, 0x91,
2240 0x5a, 0xe5, 0x3a, 0xef, 0xb9, 0x7b, 0x53, 0x62, 0x87, 0x8e, 0x69, 0x4a, 0x94, 0x3e, 0x80, 0x79,
2241 0xbf, 0x32, 0x97, 0x6c, 0x07, 0x77, 0x67, 0x1f, 0xc4, 0x2f, 0xe5, 0x6d, 0xcf, 0x0f, 0x61, 0xb1,
2242 0xdc, 0x6e, 0x98, 0x27, 0xcc, 0xe5, 0x1a, 0xfb, 0x55, 0x8f, 0xb9, 0x9c, 0x2c, 0x0c, 0xb2, 0x82,
2243 0xe9, 0x20, 0x30, 0xd9, 0xeb, 0x99, 0x86, 0x4a, 0x25, 0xfe, 0x4f, 0x7f, 0x0d, 0x29, 0xb9, 0xc4,
2244 0xed, 0xda, 0x1d, 0x97, 0x91, 0x9f, 0xc0, 0xb4, 0xc3, 0xdc, 0x9e, 0xc5, 0xd5, 0xa6, 0x79, 0xc7,
2245 0xd3, 0xe9, 0x97, 0x0a, 0x3c, 0x68, 0x28, 0xae, 0xa9, 0x65, 0xb4, 0x00, 0x24, 0xcc, 0x25, 0x49,
2246 0x98, 0xa9, 0x9e, 0xee, 0xef, 0x1f, 0x56, 0xab, 0xe9, 0x31, 0xf1, 0xf0, 0x70, 0xb7, 0xf4, 0xf8,
2247 0x54, 0x3b, 0x4c, 0x27, 0xe8, 0x73, 0x98, 0x7d, 0x2a, 0xf6, 0x54, 0x95, 0x85, 0x0d, 0xfe, 0x18,
2248 0x52, 0xb2, 0x0c, 0xc9, 0x53, 0xa0, 0x62, 0x99, 0x2d, 0xa8, 0xca, 0xb3, 0x2b, 0x78, 0xfb, 0xf8,
2249 0xff, 0xe7, 0x63, 0x5a, 0x52, 0x1f, 0x3c, 0xee, 0xcd, 0xa8, 0x6d, 0x4b, 0xff, 0x31, 0x09, 0xd3,
2250 0x4f, 0xd1, 0x03, 0x72, 0x0b, 0x66, 0xce, 0x99, 0xe3, 0x9a, 0x76, 0x27, 0x98, 0x37, 0x8f, 0x4a,
2251 0x3e, 0x82, 0x59, 0x55, 0x59, 0xbd, 0xaa, 0xb4, 0xe8, 0x79, 0xbf, 0x2b, 0xe9, 0xfe, 0x9a, 0xd2,
2252 0x97, 0x8d, 0x2a, 0x6a, 0x13, 0xff, 0x7d, 0x51, 0x9b, 0xbc, 0x6e, 0x51, 0x23, 0x9f, 0x41, 0x4a,
2253 0x1d, 0x27, 0x71, 0x64, 0xbc, 0x93, 0x41, 0x82, 0x2b, 0xc5, 0xe1, 0xf1, 0xaf, 0x4e, 0x1a, 0x7d,
2254 0xb2, 0x4b, 0xf6, 0x61, 0x5e, 0x21, 0xb4, 0xb0, 0x2e, 0xe6, 0xa6, 0x63, 0xcb, 0xa1, 0x1f, 0x43,
2255 0xa9, 0x55, 0xb5, 0x74, 0x1f, 0xe6, 0xe5, 0xc1, 0xf5, 0x0e, 0xd8, 0x4c, 0xec, 0x01, 0x0b, 0x80,
2256 0x30, 0xff, 0xf9, 0xfc, 0x19, 0x64, 0x06, 0xf7, 0x93, 0xce, 0xf5, 0xba, 0xee, 0xb2, 0xdc, 0xba,
2257 0x02, 0x12, 0x9c, 0xc2, 0xb1, 0x59, 0x97, 0xe6, 0x1c, 0xe8, 0x5c, 0xdf, 0x4b, 0x0b, 0xa0, 0xa4,
2258 0xaf, 0x9e, 0x68, 0x8b, 0x42, 0x4a, 0x08, 0xa9, 0xd5, 0xe4, 0x19, 0x64, 0xfd, 0x37, 0x9a, 0x07,
2259 0xba, 0xa1, 0x52, 0x84, 0xa0, 0xb8, 0x95, 0x2e, 0x85, 0x45, 0xb3, 0xa4, 0x98, 0x42, 0xa0, 0x7f,
2260 0x4e, 0x40, 0xba, 0xca, 0xac, 0xe6, 0xf5, 0x0e, 0xd0, 0xb0, 0xa4, 0x9f, 0xe0, 0x3f, 0x40, 0x15,
2261 0x58, 0x08, 0x72, 0xe2, 0x0f, 0x0f, 0xc9, 0xc0, 0xfc, 0x93, 0xf2, 0x49, 0xad, 0x7a, 0x5a, 0xa9,
2262 0x94, 0xb5, 0x93, 0xc3, 0x83, 0xf4, 0xb8, 0x20, 0x9d, 0x3e, 0x79, 0xf4, 0xa4, 0xfc, 0xec, 0x49,
2263 0xed, 0x50, 0xd3, 0xca, 0x5a, 0x7a, 0x82, 0x96, 0x21, 0x53, 0x6e, 0xee, 0xb6, 0x58, 0x87, 0x57,
2264 0x7b, 0x75, 0xb7, 0xe1, 0x98, 0x75, 0xe6, 0x88, 0x32, 0x6b, 0x37, 0x75, 0x41, 0xec, 0x17, 0x32,
2265 0x6d, 0x4e, 0x51, 0x4a, 0x86, 0x28, 0xd1, 0xea, 0xc6, 0xef, 0x17, 0x8c, 0x59, 0x49, 0x28, 0x19,
2266 0xf4, 0x01, 0xc0, 0x31, 0x6b, 0xd7, 0x99, 0xe3, 0x9e, 0x99, 0x5d, 0x81, 0x84, 0xbb, 0xa6, 0xd6,
2267 0xd1, 0xdb, 0xcc, 0x43, 0x42, 0xca, 0x13, 0xbd, 0xcd, 0xd4, 0xa1, 0x1e, 0xf7, 0x0e, 0x35, 0x3d,
2268 0x84, 0xd4, 0x43, 0xcb, 0x7e, 0x79, 0xcc, 0xb8, 0x2e, 0x72, 0x41, 0x3e, 0x84, 0xe9, 0x36, 0xf3,
2269 0x15, 0xe4, 0x8d, 0x82, 0xbf, 0x83, 0xb1, 0x9b, 0xdd, 0x1a, 0xb2, 0x55, 0x0d, 0xd0, 0x94, 0xf0,
2270 0xbd, 0xbf, 0xdd, 0x85, 0x79, 0x79, 0xb0, 0xab, 0xcc, 0x11, 0x49, 0x22, 0xcf, 0x60, 0xfe, 0x88,
2271 0x71, 0x9f, 0x61, 0x2b, 0x05, 0xd9, 0xe5, 0x15, 0xbc, 0x2e, 0xaf, 0x70, 0x28, 0xba, 0xbc, 0x7c,
2272 0xff, 0x64, 0x0c, 0x64, 0x69, 0xfe, 0xeb, 0xbf, 0xff, 0xeb, 0xdb, 0xf1, 0x25, 0x42, 0xb0, 0x61,
2273 0x3c, 0xff, 0xa0, 0xd8, 0x1e, 0xe0, 0x3c, 0x87, 0xf4, 0x69, 0xd7, 0xd0, 0x39, 0xf3, 0x61, 0x47,
2274 0x60, 0xe4, 0x63, 0xf4, 0xd1, 0x0d, 0xc4, 0x5e, 0xa5, 0x11, 0xd8, 0x9f, 0x24, 0xb6, 0xc9, 0x01,
2275 0xcc, 0x1d, 0x31, 0xae, 0x8a, 0x54, 0x9c, 0xcd, 0xfd, 0x3a, 0x20, 0xe5, 0xe8, 0x22, 0x62, 0xce,
2276 0x91, 0x19, 0x85, 0x49, 0x9e, 0x43, 0xe6, 0xb1, 0xe9, 0xf2, 0xe0, 0x05, 0x12, 0x87, 0xb6, 0x1c,
2277 0x75, 0x93, 0xb8, 0xf4, 0x06, 0x82, 0x66, 0x49, 0xc6, 0x33, 0xd4, 0xec, 0x23, 0x55, 0x61, 0xf1,
2278 0x88, 0x05, 0xd0, 0x09, 0x14, 0x54, 0xff, 0x5b, 0x3a, 0xc8, 0x47, 0x5e, 0x4d, 0xf4, 0x26, 0xe2,
2279 0xe5, 0xc8, 0x4a, 0x08, 0xaf, 0xf8, 0xda, 0x34, 0xbe, 0x22, 0x1a, 0xa4, 0x84, 0xcd, 0xbb, 0x5e,
2280 0x21, 0x8d, 0x33, 0x37, 0x3d, 0x54, 0x86, 0x5d, 0x9a, 0x43, 0x64, 0x42, 0xd2, 0x1e, 0x72, 0xbf,
2281 0x18, 0x33, 0x20, 0x02, 0xf3, 0x71, 0xb0, 0xae, 0xc6, 0x21, 0xaf, 0x44, 0x56, 0x68, 0x97, 0xde,
2282 0x42, 0xfc, 0x1b, 0x64, 0xd5, 0xc3, 0x1f, 0x2a, 0xf0, 0xe4, 0x97, 0x90, 0x3e, 0x62, 0x41, 0x2d,
2283 0x81, 0x80, 0x44, 0x97, 0x7e, 0xfa, 0x26, 0xe2, 0xde, 0x24, 0xeb, 0x31, 0xb8, 0x32, 0x2e, 0x4d,
2284 0x58, 0x09, 0xf9, 0x50, 0xb1, 0x1d, 0xee, 0x46, 0xc7, 0x5c, 0xc9, 0xa1, 0x04, 0xdd, 0x46, 0x0d,
2285 0x6f, 0x12, 0x7a, 0x99, 0x86, 0x62, 0x17, 0xd1, 0x5e, 0xc1, 0xd2, 0xb0, 0x13, 0x02, 0x84, 0x2c,
2286 0x47, 0x20, 0x97, 0x8c, 0x7c, 0x36, 0x82, 0x4c, 0xef, 0xa3, 0xbe, 0x02, 0x79, 0xff, 0x6a, 0x7d,
2287 0xc5, 0xd7, 0xe2, 0x4f, 0x4d, 0x78, 0xf8, 0xbb, 0x04, 0xac, 0x1e, 0x62, 0x33, 0x78, 0x6d, 0xed,
2288 0x71, 0xa7, 0xeb, 0x01, 0x1a, 0xf0, 0x21, 0xdd, 0x19, 0xc5, 0x80, 0xa2, 0xea, 0x44, 0xbf, 0x49,
2289 0x40, 0xee, 0xc0, 0x74, 0x7f, 0x14, 0x43, 0xfe, 0x1f, 0x0d, 0xf9, 0x88, 0xde, 0x1f, 0xc9, 0x10,
2290 0x43, 0x6a, 0x27, 0x46, 0x44, 0xce, 0x45, 0x9d, 0x0c, 0xe6, 0x9c, 0x04, 0x8a, 0x23, 0xf2, 0xaf,
2291 0x99, 0xf1, 0x26, 0x62, 0xfd, 0x26, 0x01, 0xeb, 0xb2, 0x96, 0x85, 0x14, 0x9d, 0xa0, 0x19, 0xeb,
2292 0x21, 0x05, 0x48, 0x97, 0x6b, 0x62, 0x5d, 0xbf, 0x83, 0x26, 0xbc, 0x43, 0xaf, 0x61, 0x82, 0xa8,
2293 0x78, 0xbf, 0x4d, 0xc0, 0x46, 0x84, 0x15, 0xc7, 0xa2, 0xb2, 0x4b, 0x33, 0xd6, 0x02, 0x66, 0x20,
2294 0xe3, 0xd8, 0x36, 0xae, 0xb0, 0xa2, 0x80, 0x56, 0x6c, 0xd1, 0x37, 0x2e, 0xb5, 0x42, 0xde, 0x1f,
2295 0xc2, 0x8c, 0x16, 0xac, 0x86, 0x42, 0x8e, 0xaa, 0x82, 0x31, 0xcf, 0x86, 0x6d, 0x71, 0xe9, 0x7b,
2296 0xa8, 0xeb, 0x2d, 0x72, 0x1d, 0x5d, 0x84, 0xc3, 0x5a, 0x64, 0x6e, 0x55, 0xe3, 0xe4, 0x57, 0xb6,
2297 0x1a, 0x8a, 0xbf, 0x14, 0xa2, 0x77, 0x51, 0xe1, 0x36, 0xd9, 0xba, 0x32, 0xc4, 0xaa, 0x87, 0x23,
2298 0xdf, 0x26, 0x60, 0x33, 0x26, 0xd7, 0x88, 0x29, 0x23, 0xbd, 0x19, 0xad, 0xf0, 0x3a, 0x59, 0xdf,
2299 0x41, 0x93, 0xee, 0xd0, 0x6b, 0x9b, 0x24, 0x82, 0x5e, 0x86, 0xa4, 0x88, 0xc5, 0x55, 0x85, 0x79,
2300 0x31, 0xd8, 0x7a, 0xba, 0x74, 0x15, 0x95, 0x65, 0xc8, 0xa2, 0xa7, 0xcc, 0xab, 0xc4, 0x65, 0x98,
2301 0x1f, 0x00, 0x96, 0x8c, 0x78, 0xc8, 0xe4, 0x20, 0xcc, 0x11, 0x57, 0x9d, 0x84, 0x33, 0x0d, 0x97,
2302 0x9c, 0x42, 0x5a, 0x63, 0x0d, 0xbb, 0xd3, 0x30, 0x2d, 0xe6, 0x99, 0xe9, 0x5f, 0x1b, 0x1b, 0x8f,
2303 0x75, 0xc4, 0x5c, 0xa1, 0x61, 0x4c, 0xe1, 0xf8, 0x21, 0x5e, 0xf3, 0x11, 0x57, 0xc5, 0x50, 0x8b,
2304 0xef, 0xc1, 0x90, 0xa5, 0x21, 0x4f, 0xe5, 0xdd, 0xf0, 0x53, 0x48, 0xed, 0x3b, 0x4c, 0xe7, 0xca,
2305 0x34, 0x32, 0xb4, 0x3a, 0x84, 0xa6, 0x1a, 0x1b, 0x3a, 0x1c, 0x37, 0x61, 0xd2, 0x33, 0x48, 0xc9,
2306 0x22, 0x1c, 0x61, 0x55, 0x9c, 0x93, 0x6f, 0x20, 0xde, 0x06, 0x5d, 0x8b, 0xb2, 0xce, 0x2b, 0xab,
2307 0x3f, 0x87, 0x79, 0x55, 0x55, 0x47, 0x40, 0x56, 0x77, 0x23, 0x5d, 0x8f, 0x44, 0xf6, 0xea, 0xe4,
2308 0x33, 0x48, 0x69, 0xac, 0x6e, 0xdb, 0xfc, 0x47, 0xb3, 0xd9, 0x41, 0x38, 0x01, 0x7c, 0xc0, 0x2c,
2309 0xc6, 0x7f, 0x40, 0x30, 0xb6, 0xa3, 0x81, 0x0d, 0x84, 0x23, 0x75, 0xc8, 0x3c, 0xb4, 0x9d, 0x06,
2310 0x1b, 0x19, 0xfd, 0x5d, 0x44, 0x7f, 0x63, 0x7b, 0x33, 0x12, 0xbd, 0x29, 0x30, 0x6b, 0x4a, 0x47,
2311 0x0f, 0xe6, 0x0f, 0xec, 0x97, 0x1d, 0xcb, 0xd6, 0x8d, 0x52, 0x5b, 0x6f, 0xb1, 0xc1, 0xdd, 0x85,
2312 0x8f, 0x1e, 0x2f, 0xbf, 0xec, 0xa9, 0x2d, 0x77, 0x99, 0x83, 0x13, 0x51, 0xf1, 0x3a, 0x42, 0x3f,
2313 0x42, 0x4d, 0x77, 0xe9, 0x7b, 0x91, 0x9a, 0x4c, 0x01, 0x51, 0x33, 0x14, 0x86, 0x5b, 0x7c, 0x2d,
2314 0x1a, 0xfd, 0xaf, 0xc4, 0x06, 0xfa, 0x3a, 0x01, 0x2b, 0x47, 0x8c, 0x07, 0x74, 0xc8, 0xd9, 0x46,
2315 0xbc, 0x01, 0x51, 0x64, 0xfa, 0x09, 0x1a, 0x70, 0x9f, 0xdc, 0x1b, 0xc1, 0x80, 0xa2, 0x2b, 0x35,
2316 0xf5, 0xb0, 0x15, 0x0b, 0xe0, 0x8d, 0xa8, 0x5d, 0x15, 0x32, 0x32, 0x8a, 0xfb, 0xa4, 0x29, 0x1b,
2317 0xcd, 0x00, 0x92, 0x3b, 0x94, 0xd7, 0x28, 0x6d, 0x2e, 0x7d, 0x1f, 0xd5, 0xbd, 0x4d, 0xde, 0xbc,
2318 0x8e, 0x3a, 0xf2, 0x0a, 0xb2, 0xfb, 0xa2, 0x67, 0xb6, 0xae, 0xe9, 0x61, 0x64, 0x82, 0x95, 0x87,
2319 0xdb, 0x23, 0x79, 0xf8, 0x87, 0x04, 0x64, 0x77, 0x1b, 0xdc, 0x3c, 0xd7, 0x39, 0x43, 0x2d, 0xf2,
2320 0x3e, 0x18, 0x51, 0xf5, 0x3e, 0xaa, 0xfe, 0x94, 0x7e, 0x3c, 0x4a, 0x6a, 0x25, 0xb9, 0x87, 0xfa,
2321 0xc4, 0x46, 0xfb, 0x7d, 0x02, 0x32, 0x1a, 0x3b, 0x67, 0x0e, 0xff, 0x9f, 0x18, 0xe2, 0xa0, 0x6a,
2322 0x61, 0x48, 0x05, 0x16, 0x07, 0xb7, 0x4d, 0xb8, 0x27, 0x9f, 0xf7, 0x2c, 0x92, 0xcd, 0x38, 0x45,
2323 0x95, 0xeb, 0x24, 0x1f, 0xa9, 0x52, 0x36, 0xe1, 0xcf, 0x21, 0xeb, 0x43, 0x54, 0x03, 0xac, 0x20,
2324 0x6a, 0xa6, 0x8f, 0xea, 0xb1, 0xe9, 0x3b, 0x88, 0xbc, 0x49, 0x6e, 0x45, 0x23, 0x7b, 0x23, 0x33,
2325 0x97, 0x74, 0x60, 0x59, 0x46, 0x6b, 0x58, 0x41, 0x18, 0x34, 0xb6, 0x10, 0xa9, 0x0e, 0x93, 0x5e,
2326 0xa5, 0x4c, 0x04, 0xe8, 0xd4, 0x1f, 0xa0, 0xeb, 0x35, 0xb0, 0x97, 0x47, 0x49, 0x36, 0xae, 0x0c,
2327 0x96, 0x82, 0xb0, 0xa3, 0xf4, 0x4e, 0x5b, 0xa8, 0x80, 0x92, 0xdb, 0xb1, 0x0a, 0xbc, 0x9e, 0xe9,
2328 0x4b, 0xbf, 0xf5, 0x72, 0x36, 0x16, 0xd7, 0x4e, 0x64, 0xc3, 0xf3, 0x35, 0x37, 0xee, 0xee, 0x96,
2329 0x83, 0x39, 0xa2, 0xe1, 0x84, 0x62, 0x20, 0x3f, 0x14, 0x99, 0x10, 0x1e, 0xdd, 0x44, 0xb8, 0x35,
2330 0x72, 0x23, 0x0a, 0x4e, 0xf6, 0x03, 0x35, 0x48, 0x0f, 0x2c, 0x56, 0x41, 0x89, 0x33, 0x79, 0x29,
2331 0x62, 0x9e, 0xe7, 0x7a, 0xe3, 0x09, 0xb2, 0x3c, 0xa4, 0x44, 0x85, 0xe4, 0x21, 0xa4, 0xab, 0xdc,
2332 0x61, 0x7a, 0xbb, 0xa2, 0x37, 0x5e, 0x30, 0xee, 0x96, 0x7b, 0x9c, 0xac, 0x04, 0x22, 0x2d, 0x19,
2333 0xe5, 0x1e, 0x8f, 0xdd, 0x40, 0x63, 0x5b, 0x09, 0x72, 0x88, 0x6d, 0x15, 0x33, 0xcf, 0x99, 0x02,
2334 0x2a, 0x75, 0x2e, 0x99, 0x4f, 0x84, 0xf1, 0x4b, 0x1d, 0x3a, 0x76, 0x37, 0x41, 0x1e, 0x41, 0x56,
2335 0xc1, 0xec, 0x9f, 0xe9, 0x9d, 0x16, 0xc3, 0xa9, 0x62, 0xbc, 0xcb, 0xb9, 0x00, 0x92, 0x6f, 0x09,
2336 0x82, 0x9d, 0xc2, 0x42, 0x3f, 0x21, 0xf2, 0xbb, 0x55, 0xb0, 0xf1, 0x0f, 0x87, 0x2b, 0x6e, 0xb3,
2337 0xaa, 0x68, 0x79, 0x39, 0xc9, 0xc8, 0x1e, 0xcd, 0xff, 0x8d, 0x24, 0x6a, 0x0e, 0x9a, 0x8f, 0x22,
2338 0xd2, 0xdb, 0xa8, 0x22, 0x4f, 0xfb, 0x09, 0x09, 0x8c, 0x55, 0xc5, 0x21, 0x7b, 0x8a, 0x76, 0xfb,
2339 0xd1, 0x23, 0x07, 0x03, 0xfe, 0x2f, 0x1f, 0x61, 0xc3, 0x03, 0xa8, 0xd2, 0x70, 0x03, 0x32, 0xb2,
2340 0x58, 0xfc, 0x30, 0xc3, 0xdf, 0x42, 0x15, 0xb7, 0xf2, 0x97, 0xa8, 0x10, 0xd6, 0x1b, 0x90, 0x91,
2341 0xbd, 0xd0, 0x95, 0x5a, 0xe2, 0xf6, 0x93, 0xf2, 0x65, 0xfb, 0x32, 0x5f, 0xd4, 0xc1, 0x08, 0x7c,
2342 0xfd, 0xb9, 0xf2, 0x60, 0x04, 0x22, 0x16, 0x3a, 0x18, 0x01, 0x2d, 0xe4, 0x31, 0x36, 0xf4, 0x78,
2343 0xf5, 0xb8, 0xd1, 0x0d, 0xbd, 0xe4, 0x79, 0x5d, 0x22, 0x59, 0x8b, 0xbf, 0x78, 0x5c, 0xf2, 0x05,
2344 0xcc, 0x7a, 0x63, 0xdf, 0x00, 0x58, 0x2e, 0x6e, 0x7e, 0x4c, 0xdf, 0x46, 0xd8, 0xdb, 0xf4, 0x66,
2345 0x24, 0xac, 0xcb, 0xac, 0x66, 0x8d, 0x0b, 0xb4, 0xa7, 0xd8, 0x1f, 0x05, 0xc6, 0xe6, 0xc3, 0xef,
2346 0xb7, 0xa1, 0xb9, 0x7a, 0xb8, 0xf2, 0x88, 0x63, 0x24, 0xe4, 0xd4, 0x8b, 0xad, 0x59, 0x27, 0x5f,
2347 0x02, 0x39, 0x62, 0x7c, 0x68, 0x72, 0x3e, 0x34, 0x04, 0x8b, 0x1a, 0xae, 0x87, 0xe3, 0x11, 0xc4,
2348 0xc6, 0x39, 0x3d, 0x71, 0x61, 0xbe, 0x6a, 0xb6, 0x7b, 0x96, 0xce, 0x19, 0xae, 0x27, 0xeb, 0xfd,
2349 0x40, 0xf8, 0xc9, 0xea, 0x5b, 0x57, 0xdc, 0x9d, 0x1f, 0x1a, 0x4c, 0x04, 0x63, 0xa4, 0x90, 0x6a,
2350 0x02, 0x49, 0xec, 0xcc, 0x7d, 0x98, 0xeb, 0x8f, 0xc8, 0xc9, 0x0d, 0x4f, 0x61, 0x68, 0x78, 0x9e,
2351 0x8f, 0x67, 0xd1, 0x31, 0x72, 0x0c, 0x20, 0xdf, 0xaa, 0x70, 0x88, 0x94, 0xf2, 0x77, 0x04, 0xb1,
2352 0x1b, 0x5a, 0xbd, 0x8e, 0xd2, 0x05, 0x61, 0xe3, 0x60, 0xb5, 0x7a, 0x61, 0x56, 0xef, 0x52, 0x23,
2353 0xe0, 0x0d, 0xde, 0xfa, 0xce, 0x3f, 0x28, 0xfa, 0x96, 0x0b, 0xc0, 0x2f, 0x20, 0x29, 0x8a, 0xc7,
2354 0x2b, 0x8e, 0xdf, 0xdd, 0xc8, 0x8a, 0x17, 0x39, 0xf9, 0x19, 0xae, 0xcb, 0x1a, 0x66, 0xd3, 0x64,
2355 0x4e, 0x7e, 0xc9, 0xa3, 0x6b, 0x8c, 0xf7, 0x9c, 0x0e, 0x72, 0x5d, 0xba, 0x86, 0xc0, 0xcb, 0x24,
2356 0xeb, 0x05, 0xd4, 0x0f, 0x75, 0x02, 0xc9, 0xaa, 0xef, 0xb1, 0x3f, 0xb6, 0xf5, 0x3e, 0xf0, 0xc5,
2357 0x9a, 0x1b, 0x42, 0xf5, 0xc3, 0x9c, 0x41, 0xb6, 0xca, 0x75, 0x87, 0x7b, 0x9f, 0x37, 0x45, 0x4b,
2358 0x6a, 0x77, 0x48, 0xff, 0xcb, 0xef, 0xd0, 0x67, 0xcf, 0xc1, 0x61, 0x0e, 0x9c, 0x16, 0x55, 0x32,
2359 0x68, 0x7f, 0xa2, 0xeb, 0x0a, 0xcc, 0x1a, 0x7e, 0x19, 0x12, 0xc7, 0xe4, 0x93, 0xc4, 0xf6, 0x9e,
2360 0x05, 0x59, 0xdb, 0x69, 0xe1, 0x8d, 0xd1, 0xb0, 0x1d, 0x43, 0xe1, 0xec, 0xa5, 0xe4, 0xcc, 0xbd,
2361 0x82, 0x3f, 0x7d, 0xf8, 0x45, 0xa1, 0x65, 0xf2, 0xb3, 0x5e, 0x5d, 0x44, 0xa7, 0xe8, 0x49, 0xaa,
2362 0x9f, 0xa0, 0xdc, 0xf1, 0x7e, 0x90, 0x72, 0xbf, 0xd8, 0xb2, 0x15, 0xed, 0xaf, 0xe3, 0x2b, 0x65,
2363 0x0f, 0xef, 0xa9, 0x7f, 0x84, 0x5f, 0x19, 0xaf, 0x4c, 0x54, 0x26, 0x2b, 0x53, 0x95, 0xe9, 0xca,
2364 0x4c, 0x65, 0xb6, 0x3e, 0x8d, 0x6b, 0x77, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x0e, 0xe5,
2365 0xbc, 0xdc, 0x22, 0x00, 0x00,
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002366}
2367
2368// Reference imports to suppress errors if they are not otherwise used.
2369var _ context.Context
2370var _ grpc.ClientConn
2371
2372// This is a compile-time assertion to ensure that this generated file
2373// is compatible with the grpc package it is being compiled against.
2374const _ = grpc.SupportPackageIsVersion4
2375
2376// VolthaServiceClient is the client API for VolthaService service.
2377//
2378// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2379type VolthaServiceClient interface {
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002380 // Get the membership group of a Voltha Core
2381 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2382 // Set the membership group of a Voltha Core
2383 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2384 // Get high level information on the Voltha cluster
2385 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2386 // List all Voltha cluster core instances
2387 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2388 // Get details on a Voltha cluster instance
2389 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2390 // List all active adapters (plugins) in the Voltha cluster
2391 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2392 // List all logical devices managed by the Voltha cluster
2393 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2394 // Get additional information on a given logical device
2395 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2396 // List ports of a logical device
2397 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2398 // Gets a logical device port
2399 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2400 // Enables a logical device port
2401 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2402 // Disables a logical device port
2403 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2404 // List all flows of a logical device
2405 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2406 // Update flow table for logical device
2407 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2408 // Update meter table for logical device
2409 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2410 // List all meters of a logical device
2411 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
2412 // List all flow groups of a logical device
2413 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2414 // Update group table for device
2415 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2416 // List all physical devices controlled by the Voltha cluster
2417 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2418 // List all physical devices IDs controlled by the Voltha cluster
2419 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2420 // Request to a voltha Core to reconcile a set of devices based on their IDs
2421 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2422 // Get more information on a given physical device
2423 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2424 // Pre-provision a new physical device
2425 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2426 // Enable a device. If the device was in pre-provisioned state then it
2427 // will transition to ENABLED state. If it was is DISABLED state then it
2428 // will transition to ENABLED state as well.
2429 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2430 // Disable a device
2431 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2432 // Reboot a device
2433 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2434 // Delete a device
2435 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
dbainbri4d3a0dc2020-12-02 00:33:42 +00002436 // Forcefully delete a device
2437 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002438 // Request an image download to the standby partition
2439 // of a device.
2440 // Note that the call is expected to be non-blocking.
2441 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2442 // Get image download status on a device
2443 // The request retrieves progress on device and updates db record
2444 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2445 // Get image download db record
2446 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2447 // List image download db records for a given device
2448 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2449 // Cancel an existing image download process on a device
2450 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2451 // Activate the specified image at a standby partition
2452 // to active partition.
2453 // Depending on the device implementation, this call
2454 // may or may not cause device reboot.
2455 // If no reboot, then a reboot is required to make the
2456 // activated image running on device
2457 // Note that the call is expected to be non-blocking.
2458 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2459 // Revert the specified image at standby partition
2460 // to active partition, and revert to previous image
2461 // Depending on the device implementation, this call
2462 // may or may not cause device reboot.
2463 // If no reboot, then a reboot is required to make the
2464 // previous image running on device
2465 // Note that the call is expected to be non-blocking.
2466 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2467 // List ports of a device
2468 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2469 // List pm config of a device
2470 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2471 // Update the pm config of a device
2472 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2473 // List all flows of a device
2474 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2475 // List all flow groups of a device
2476 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2477 // List device types known to Voltha
2478 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2479 // Get additional information on a device type
2480 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2481 // List all device sharding groups
2482 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2483 // Stream control packets to the dataplane
2484 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2485 // Receive control packet stream
2486 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2487 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2488 // Get additional information on a device group
2489 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
2490 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2491 // Get all filters present for a device
2492 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2493 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2494 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2495 // Get all the filters present
2496 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
2497 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2498 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2499 // OpenOMCI MIB information
2500 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2501 // OpenOMCI ALARM information
2502 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2503 // Simulate an Alarm
2504 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2505 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
2506 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2507 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
Matteo Scandolod132c0e2020-04-24 17:06:25 -07002508 GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error)
dbainbri4d3a0dc2020-12-02 00:33:42 +00002509 SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -07002510 // omci start and stop cli implementation
2511 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002512}
2513
2514type volthaServiceClient struct {
2515 cc *grpc.ClientConn
2516}
2517
2518func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2519 return &volthaServiceClient{cc}
2520}
2521
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002522func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2523 out := new(Membership)
2524 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2525 if err != nil {
2526 return nil, err
2527 }
2528 return out, nil
2529}
2530
2531func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2532 out := new(empty.Empty)
2533 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2534 if err != nil {
2535 return nil, err
2536 }
2537 return out, nil
2538}
2539
2540func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2541 out := new(Voltha)
2542 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2543 if err != nil {
2544 return nil, err
2545 }
2546 return out, nil
2547}
2548
2549func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2550 out := new(CoreInstances)
2551 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2552 if err != nil {
2553 return nil, err
2554 }
2555 return out, nil
2556}
2557
2558func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2559 out := new(CoreInstance)
2560 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2561 if err != nil {
2562 return nil, err
2563 }
2564 return out, nil
2565}
2566
2567func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2568 out := new(Adapters)
2569 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2570 if err != nil {
2571 return nil, err
2572 }
2573 return out, nil
2574}
2575
2576func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2577 out := new(LogicalDevices)
2578 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2579 if err != nil {
2580 return nil, err
2581 }
2582 return out, nil
2583}
2584
2585func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2586 out := new(LogicalDevice)
2587 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2588 if err != nil {
2589 return nil, err
2590 }
2591 return out, nil
2592}
2593
2594func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2595 out := new(LogicalPorts)
2596 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2597 if err != nil {
2598 return nil, err
2599 }
2600 return out, nil
2601}
2602
2603func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2604 out := new(LogicalPort)
2605 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2606 if err != nil {
2607 return nil, err
2608 }
2609 return out, nil
2610}
2611
2612func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2613 out := new(empty.Empty)
2614 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2615 if err != nil {
2616 return nil, err
2617 }
2618 return out, nil
2619}
2620
2621func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2622 out := new(empty.Empty)
2623 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2624 if err != nil {
2625 return nil, err
2626 }
2627 return out, nil
2628}
2629
2630func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2631 out := new(openflow_13.Flows)
2632 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2633 if err != nil {
2634 return nil, err
2635 }
2636 return out, nil
2637}
2638
2639func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2640 out := new(empty.Empty)
2641 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2642 if err != nil {
2643 return nil, err
2644 }
2645 return out, nil
2646}
2647
2648func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2649 out := new(empty.Empty)
2650 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2651 if err != nil {
2652 return nil, err
2653 }
2654 return out, nil
2655}
2656
2657func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2658 out := new(openflow_13.Meters)
2659 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
2660 if err != nil {
2661 return nil, err
2662 }
2663 return out, nil
2664}
2665
2666func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2667 out := new(openflow_13.FlowGroups)
2668 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2669 if err != nil {
2670 return nil, err
2671 }
2672 return out, nil
2673}
2674
2675func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2676 out := new(empty.Empty)
2677 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2678 if err != nil {
2679 return nil, err
2680 }
2681 return out, nil
2682}
2683
2684func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2685 out := new(Devices)
2686 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2687 if err != nil {
2688 return nil, err
2689 }
2690 return out, nil
2691}
2692
2693func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2694 out := new(common.IDs)
2695 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2696 if err != nil {
2697 return nil, err
2698 }
2699 return out, nil
2700}
2701
2702func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2703 out := new(empty.Empty)
2704 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2705 if err != nil {
2706 return nil, err
2707 }
2708 return out, nil
2709}
2710
2711func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2712 out := new(Device)
2713 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2714 if err != nil {
2715 return nil, err
2716 }
2717 return out, nil
2718}
2719
2720func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2721 out := new(Device)
2722 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2723 if err != nil {
2724 return nil, err
2725 }
2726 return out, nil
2727}
2728
2729func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2730 out := new(empty.Empty)
2731 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2732 if err != nil {
2733 return nil, err
2734 }
2735 return out, nil
2736}
2737
2738func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2739 out := new(empty.Empty)
2740 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2741 if err != nil {
2742 return nil, err
2743 }
2744 return out, nil
2745}
2746
2747func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2748 out := new(empty.Empty)
2749 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2750 if err != nil {
2751 return nil, err
2752 }
2753 return out, nil
2754}
2755
2756func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2757 out := new(empty.Empty)
2758 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2759 if err != nil {
2760 return nil, err
2761 }
2762 return out, nil
2763}
2764
dbainbri4d3a0dc2020-12-02 00:33:42 +00002765func (c *volthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2766 out := new(empty.Empty)
2767 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ForceDeleteDevice", in, out, opts...)
2768 if err != nil {
2769 return nil, err
2770 }
2771 return out, nil
2772}
2773
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002774func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2775 out := new(common.OperationResp)
2776 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2777 if err != nil {
2778 return nil, err
2779 }
2780 return out, nil
2781}
2782
2783func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2784 out := new(ImageDownload)
2785 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2786 if err != nil {
2787 return nil, err
2788 }
2789 return out, nil
2790}
2791
2792func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2793 out := new(ImageDownload)
2794 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2795 if err != nil {
2796 return nil, err
2797 }
2798 return out, nil
2799}
2800
2801func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2802 out := new(ImageDownloads)
2803 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2804 if err != nil {
2805 return nil, err
2806 }
2807 return out, nil
2808}
2809
2810func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2811 out := new(common.OperationResp)
2812 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2813 if err != nil {
2814 return nil, err
2815 }
2816 return out, nil
2817}
2818
2819func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2820 out := new(common.OperationResp)
2821 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2822 if err != nil {
2823 return nil, err
2824 }
2825 return out, nil
2826}
2827
2828func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2829 out := new(common.OperationResp)
2830 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2831 if err != nil {
2832 return nil, err
2833 }
2834 return out, nil
2835}
2836
2837func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2838 out := new(Ports)
2839 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2840 if err != nil {
2841 return nil, err
2842 }
2843 return out, nil
2844}
2845
2846func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2847 out := new(PmConfigs)
2848 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2849 if err != nil {
2850 return nil, err
2851 }
2852 return out, nil
2853}
2854
2855func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2856 out := new(empty.Empty)
2857 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2858 if err != nil {
2859 return nil, err
2860 }
2861 return out, nil
2862}
2863
2864func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2865 out := new(openflow_13.Flows)
2866 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2867 if err != nil {
2868 return nil, err
2869 }
2870 return out, nil
2871}
2872
2873func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2874 out := new(openflow_13.FlowGroups)
2875 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2876 if err != nil {
2877 return nil, err
2878 }
2879 return out, nil
2880}
2881
2882func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2883 out := new(DeviceTypes)
2884 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2885 if err != nil {
2886 return nil, err
2887 }
2888 return out, nil
2889}
2890
2891func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2892 out := new(DeviceType)
2893 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2894 if err != nil {
2895 return nil, err
2896 }
2897 return out, nil
2898}
2899
2900func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2901 out := new(DeviceGroups)
2902 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2903 if err != nil {
2904 return nil, err
2905 }
2906 return out, nil
2907}
2908
2909func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2910 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2911 if err != nil {
2912 return nil, err
2913 }
2914 x := &volthaServiceStreamPacketsOutClient{stream}
2915 return x, nil
2916}
2917
2918type VolthaService_StreamPacketsOutClient interface {
2919 Send(*openflow_13.PacketOut) error
2920 CloseAndRecv() (*empty.Empty, error)
2921 grpc.ClientStream
2922}
2923
2924type volthaServiceStreamPacketsOutClient struct {
2925 grpc.ClientStream
2926}
2927
2928func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2929 return x.ClientStream.SendMsg(m)
2930}
2931
2932func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2933 if err := x.ClientStream.CloseSend(); err != nil {
2934 return nil, err
2935 }
2936 m := new(empty.Empty)
2937 if err := x.ClientStream.RecvMsg(m); err != nil {
2938 return nil, err
2939 }
2940 return m, nil
2941}
2942
2943func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2944 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2945 if err != nil {
2946 return nil, err
2947 }
2948 x := &volthaServiceReceivePacketsInClient{stream}
2949 if err := x.ClientStream.SendMsg(in); err != nil {
2950 return nil, err
2951 }
2952 if err := x.ClientStream.CloseSend(); err != nil {
2953 return nil, err
2954 }
2955 return x, nil
2956}
2957
2958type VolthaService_ReceivePacketsInClient interface {
2959 Recv() (*openflow_13.PacketIn, error)
2960 grpc.ClientStream
2961}
2962
2963type volthaServiceReceivePacketsInClient struct {
2964 grpc.ClientStream
2965}
2966
2967func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2968 m := new(openflow_13.PacketIn)
2969 if err := x.ClientStream.RecvMsg(m); err != nil {
2970 return nil, err
2971 }
2972 return m, nil
2973}
2974
2975func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2976 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2977 if err != nil {
2978 return nil, err
2979 }
2980 x := &volthaServiceReceiveChangeEventsClient{stream}
2981 if err := x.ClientStream.SendMsg(in); err != nil {
2982 return nil, err
2983 }
2984 if err := x.ClientStream.CloseSend(); err != nil {
2985 return nil, err
2986 }
2987 return x, nil
2988}
2989
2990type VolthaService_ReceiveChangeEventsClient interface {
2991 Recv() (*openflow_13.ChangeEvent, error)
2992 grpc.ClientStream
2993}
2994
2995type volthaServiceReceiveChangeEventsClient struct {
2996 grpc.ClientStream
2997}
2998
2999func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
3000 m := new(openflow_13.ChangeEvent)
3001 if err := x.ClientStream.RecvMsg(m); err != nil {
3002 return nil, err
3003 }
3004 return m, nil
3005}
3006
3007func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
3008 out := new(DeviceGroup)
3009 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
3010 if err != nil {
3011 return nil, err
3012 }
3013 return out, nil
3014}
3015
3016func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3017 out := new(EventFilter)
3018 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
3019 if err != nil {
3020 return nil, err
3021 }
3022 return out, nil
3023}
3024
3025func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
3026 out := new(EventFilters)
3027 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
3028 if err != nil {
3029 return nil, err
3030 }
3031 return out, nil
3032}
3033
3034func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3035 out := new(EventFilter)
3036 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
3037 if err != nil {
3038 return nil, err
3039 }
3040 return out, nil
3041}
3042
3043func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
3044 out := new(empty.Empty)
3045 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
3046 if err != nil {
3047 return nil, err
3048 }
3049 return out, nil
3050}
3051
3052func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
3053 out := new(EventFilters)
3054 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
3055 if err != nil {
3056 return nil, err
3057 }
3058 return out, nil
3059}
3060
3061func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
3062 out := new(Images)
3063 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
3064 if err != nil {
3065 return nil, err
3066 }
3067 return out, nil
3068}
3069
3070func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
3071 out := new(SelfTestResponse)
3072 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
3073 if err != nil {
3074 return nil, err
3075 }
3076 return out, nil
3077}
3078
3079func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
3080 out := new(omci.MibDeviceData)
3081 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
3082 if err != nil {
3083 return nil, err
3084 }
3085 return out, nil
3086}
3087
3088func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
3089 out := new(omci.AlarmDeviceData)
3090 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
3091 if err != nil {
3092 return nil, err
3093 }
3094 return out, nil
3095}
3096
3097func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
3098 out := new(common.OperationResp)
3099 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
3100 if err != nil {
3101 return nil, err
3102 }
3103 return out, nil
3104}
3105
3106func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
3107 out := new(OfAgentSubscriber)
3108 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
3109 if err != nil {
3110 return nil, err
3111 }
3112 return out, nil
3113}
3114
3115func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3116 out := new(empty.Empty)
3117 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3118 if err != nil {
3119 return nil, err
3120 }
3121 return out, nil
3122}
3123
3124func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3125 out := new(empty.Empty)
3126 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3127 if err != nil {
3128 return nil, err
3129 }
3130 return out, nil
3131}
3132
Matteo Scandolod132c0e2020-04-24 17:06:25 -07003133func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) {
3134 out := new(common.ReturnValues)
3135 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
3136 if err != nil {
3137 return nil, err
3138 }
3139 return out, nil
3140}
3141
dbainbri4d3a0dc2020-12-02 00:33:42 +00003142func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
3143 out := new(empty.Empty)
3144 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
3145 if err != nil {
3146 return nil, err
3147 }
3148 return out, nil
3149}
3150
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -07003151func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3152 out := new(TestResponse)
3153 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3154 if err != nil {
3155 return nil, err
3156 }
3157 return out, nil
3158}
3159
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003160// VolthaServiceServer is the server API for VolthaService service.
3161type VolthaServiceServer interface {
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003162 // Get the membership group of a Voltha Core
3163 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3164 // Set the membership group of a Voltha Core
3165 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3166 // Get high level information on the Voltha cluster
3167 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3168 // List all Voltha cluster core instances
3169 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3170 // Get details on a Voltha cluster instance
3171 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3172 // List all active adapters (plugins) in the Voltha cluster
3173 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3174 // List all logical devices managed by the Voltha cluster
3175 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3176 // Get additional information on a given logical device
3177 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3178 // List ports of a logical device
3179 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3180 // Gets a logical device port
3181 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3182 // Enables a logical device port
3183 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3184 // Disables a logical device port
3185 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3186 // List all flows of a logical device
3187 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3188 // Update flow table for logical device
3189 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3190 // Update meter table for logical device
3191 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
3192 // List all meters of a logical device
3193 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
3194 // List all flow groups of a logical device
3195 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3196 // Update group table for device
3197 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3198 // List all physical devices controlled by the Voltha cluster
3199 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3200 // List all physical devices IDs controlled by the Voltha cluster
3201 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3202 // Request to a voltha Core to reconcile a set of devices based on their IDs
3203 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
3204 // Get more information on a given physical device
3205 GetDevice(context.Context, *common.ID) (*Device, error)
3206 // Pre-provision a new physical device
3207 CreateDevice(context.Context, *Device) (*Device, error)
3208 // Enable a device. If the device was in pre-provisioned state then it
3209 // will transition to ENABLED state. If it was is DISABLED state then it
3210 // will transition to ENABLED state as well.
3211 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3212 // Disable a device
3213 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3214 // Reboot a device
3215 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3216 // Delete a device
3217 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
dbainbri4d3a0dc2020-12-02 00:33:42 +00003218 // Forcefully delete a device
3219 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003220 // Request an image download to the standby partition
3221 // of a device.
3222 // Note that the call is expected to be non-blocking.
3223 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3224 // Get image download status on a device
3225 // The request retrieves progress on device and updates db record
3226 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3227 // Get image download db record
3228 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3229 // List image download db records for a given device
3230 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3231 // Cancel an existing image download process on a device
3232 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3233 // Activate the specified image at a standby partition
3234 // to active partition.
3235 // Depending on the device implementation, this call
3236 // may or may not cause device reboot.
3237 // If no reboot, then a reboot is required to make the
3238 // activated image running on device
3239 // Note that the call is expected to be non-blocking.
3240 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3241 // Revert the specified image at standby partition
3242 // to active partition, and revert to previous image
3243 // Depending on the device implementation, this call
3244 // may or may not cause device reboot.
3245 // If no reboot, then a reboot is required to make the
3246 // previous image running on device
3247 // Note that the call is expected to be non-blocking.
3248 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3249 // List ports of a device
3250 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3251 // List pm config of a device
3252 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3253 // Update the pm config of a device
3254 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3255 // List all flows of a device
3256 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3257 // List all flow groups of a device
3258 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3259 // List device types known to Voltha
3260 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3261 // Get additional information on a device type
3262 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3263 // List all device sharding groups
3264 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3265 // Stream control packets to the dataplane
3266 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3267 // Receive control packet stream
3268 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3269 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3270 // Get additional information on a device group
3271 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
3272 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3273 // Get all filters present for a device
3274 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3275 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3276 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3277 // Get all the filters present
3278 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
3279 GetImages(context.Context, *common.ID) (*Images, error)
3280 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3281 // OpenOMCI MIB information
3282 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3283 // OpenOMCI ALARM information
3284 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3285 // Simulate an Alarm
3286 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3287 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
3288 EnablePort(context.Context, *Port) (*empty.Empty, error)
3289 DisablePort(context.Context, *Port) (*empty.Empty, error)
Matteo Scandolod132c0e2020-04-24 17:06:25 -07003290 GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error)
dbainbri4d3a0dc2020-12-02 00:33:42 +00003291 SetExtValue(context.Context, *ValueSet) (*empty.Empty, error)
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -07003292 // omci start and stop cli implementation
3293 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003294}
3295
3296func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3297 s.RegisterService(&_VolthaService_serviceDesc, srv)
3298}
3299
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003300func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3301 in := new(empty.Empty)
3302 if err := dec(in); err != nil {
3303 return nil, err
3304 }
3305 if interceptor == nil {
3306 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3307 }
3308 info := &grpc.UnaryServerInfo{
3309 Server: srv,
3310 FullMethod: "/voltha.VolthaService/GetMembership",
3311 }
3312 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3313 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3314 }
3315 return interceptor(ctx, in, info, handler)
3316}
3317
3318func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3319 in := new(Membership)
3320 if err := dec(in); err != nil {
3321 return nil, err
3322 }
3323 if interceptor == nil {
3324 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3325 }
3326 info := &grpc.UnaryServerInfo{
3327 Server: srv,
3328 FullMethod: "/voltha.VolthaService/UpdateMembership",
3329 }
3330 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3331 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3332 }
3333 return interceptor(ctx, in, info, handler)
3334}
3335
3336func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3337 in := new(empty.Empty)
3338 if err := dec(in); err != nil {
3339 return nil, err
3340 }
3341 if interceptor == nil {
3342 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3343 }
3344 info := &grpc.UnaryServerInfo{
3345 Server: srv,
3346 FullMethod: "/voltha.VolthaService/GetVoltha",
3347 }
3348 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3349 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3350 }
3351 return interceptor(ctx, in, info, handler)
3352}
3353
3354func _VolthaService_ListCoreInstances_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).ListCoreInstances(ctx, in)
3361 }
3362 info := &grpc.UnaryServerInfo{
3363 Server: srv,
3364 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3365 }
3366 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3367 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3368 }
3369 return interceptor(ctx, in, info, handler)
3370}
3371
3372func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3373 in := new(common.ID)
3374 if err := dec(in); err != nil {
3375 return nil, err
3376 }
3377 if interceptor == nil {
3378 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3379 }
3380 info := &grpc.UnaryServerInfo{
3381 Server: srv,
3382 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3383 }
3384 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3385 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3386 }
3387 return interceptor(ctx, in, info, handler)
3388}
3389
3390func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3391 in := new(empty.Empty)
3392 if err := dec(in); err != nil {
3393 return nil, err
3394 }
3395 if interceptor == nil {
3396 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3397 }
3398 info := &grpc.UnaryServerInfo{
3399 Server: srv,
3400 FullMethod: "/voltha.VolthaService/ListAdapters",
3401 }
3402 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3403 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3404 }
3405 return interceptor(ctx, in, info, handler)
3406}
3407
3408func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3409 in := new(empty.Empty)
3410 if err := dec(in); err != nil {
3411 return nil, err
3412 }
3413 if interceptor == nil {
3414 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3415 }
3416 info := &grpc.UnaryServerInfo{
3417 Server: srv,
3418 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3419 }
3420 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3421 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3422 }
3423 return interceptor(ctx, in, info, handler)
3424}
3425
3426func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3427 in := new(common.ID)
3428 if err := dec(in); err != nil {
3429 return nil, err
3430 }
3431 if interceptor == nil {
3432 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3433 }
3434 info := &grpc.UnaryServerInfo{
3435 Server: srv,
3436 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3437 }
3438 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3439 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3440 }
3441 return interceptor(ctx, in, info, handler)
3442}
3443
3444func _VolthaService_ListLogicalDevicePorts_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).ListLogicalDevicePorts(ctx, in)
3451 }
3452 info := &grpc.UnaryServerInfo{
3453 Server: srv,
3454 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3455 }
3456 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3457 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3458 }
3459 return interceptor(ctx, in, info, handler)
3460}
3461
3462func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3463 in := new(LogicalPortId)
3464 if err := dec(in); err != nil {
3465 return nil, err
3466 }
3467 if interceptor == nil {
3468 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3469 }
3470 info := &grpc.UnaryServerInfo{
3471 Server: srv,
3472 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3473 }
3474 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3475 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3476 }
3477 return interceptor(ctx, in, info, handler)
3478}
3479
3480func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3481 in := new(LogicalPortId)
3482 if err := dec(in); err != nil {
3483 return nil, err
3484 }
3485 if interceptor == nil {
3486 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3487 }
3488 info := &grpc.UnaryServerInfo{