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