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