blob: 7010792835ac1fb35694c419131167a2e05475ce [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"
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030011 common "github.com/opencord/voltha-protos/v3/go/common"
dpaul2b52e712020-06-23 13:02:28 +053012 config "github.com/opencord/voltha-protos/v3/go/ext/config"
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030013 omci "github.com/opencord/voltha-protos/v3/go/omci"
14 openflow_13 "github.com/opencord/voltha-protos/v3/go/openflow_13"
William Kurkianad745652019-03-20 08:45:51 -040015 _ "google.golang.org/genproto/googleapis/api/annotations"
William Kurkian1b363f42019-03-12 15:28:12 -040016 grpc "google.golang.org/grpc"
William Kurkianad745652019-03-20 08:45:51 -040017 math "math"
William Kurkian1b363f42019-03-12 15:28:12 -040018)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040029const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040030
31// ChildNode from public import voltha_protos/meta.proto
32type ChildNode = common.ChildNode
33
34// Access from public import voltha_protos/meta.proto
35type Access = common.Access
36
37var Access_name = common.Access_name
38var Access_value = common.Access_value
39
40const Access_CONFIG = Access(common.Access_CONFIG)
41const Access_READ_ONLY = Access(common.Access_READ_ONLY)
42const Access_REAL_TIME = Access(common.Access_REAL_TIME)
43
William Kurkian1b363f42019-03-12 15:28:12 -040044var E_ChildNode = common.E_ChildNode
45
William Kurkian1b363f42019-03-12 15:28:12 -040046var E_Access = common.E_Access
47
48// ID from public import voltha_protos/common.proto
49type ID = common.ID
50
51// IDs from public import voltha_protos/common.proto
52type IDs = common.IDs
53
William Kurkian1b363f42019-03-12 15:28:12 -040054// AdminState from public import voltha_protos/common.proto
55type AdminState = common.AdminState
56
57// OperStatus from public import voltha_protos/common.proto
58type OperStatus = common.OperStatus
59
60// ConnectStatus from public import voltha_protos/common.proto
61type ConnectStatus = common.ConnectStatus
62
63// OperationResp from public import voltha_protos/common.proto
64type OperationResp = common.OperationResp
65
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -080066// ValueType from public import voltha_protos/common.proto
67type ValueType = common.ValueType
68
69// ValueSpecifier from public import voltha_protos/common.proto
70type ValueSpecifier = common.ValueSpecifier
71
72// ReturnValues from public import voltha_protos/common.proto
73type ReturnValues = common.ReturnValues
74
William Kurkian1b363f42019-03-12 15:28:12 -040075// TestModeKeys from public import voltha_protos/common.proto
76type TestModeKeys = common.TestModeKeys
77
78var TestModeKeys_name = common.TestModeKeys_name
79var TestModeKeys_value = common.TestModeKeys_value
80
81const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
82
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030083// AdminState_Types from public import voltha_protos/common.proto
84type AdminState_Types = common.AdminState_Types
William Kurkian1b363f42019-03-12 15:28:12 -040085
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030086var AdminState_Types_name = common.AdminState_Types_name
87var AdminState_Types_value = common.AdminState_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040088
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030089const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
90const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
91const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
92const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
93const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
94const AdminState_DELETED = AdminState_Types(common.AdminState_DELETED)
William Kurkian1b363f42019-03-12 15:28:12 -040095
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030096// OperStatus_Types from public import voltha_protos/common.proto
97type OperStatus_Types = common.OperStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -040098
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099var OperStatus_Types_name = common.OperStatus_Types_name
100var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400101
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300102const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
103const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
104const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
105const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
106const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
107const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
William Kurkian1b363f42019-03-12 15:28:12 -0400108
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300109// ConnectStatus_Types from public import voltha_protos/common.proto
110type ConnectStatus_Types = common.ConnectStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400111
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300112var ConnectStatus_Types_name = common.ConnectStatus_Types_name
113var ConnectStatus_Types_value = common.ConnectStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400114
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300115const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
116const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
117const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
William Kurkian1b363f42019-03-12 15:28:12 -0400118
William Kurkianad745652019-03-20 08:45:51 -0400119// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400120type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
121
122var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
123var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
124
125const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
126const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
127const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
128
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800129// ValueType_Type from public import voltha_protos/common.proto
130type ValueType_Type = common.ValueType_Type
131
132var ValueType_Type_name = common.ValueType_Type_name
133var ValueType_Type_value = common.ValueType_Type_value
134
135const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY)
136const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE)
137
William Kurkianad745652019-03-20 08:45:51 -0400138// OfpHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400139type OfpHeader = openflow_13.OfpHeader
140
William Kurkianad745652019-03-20 08:45:51 -0400141// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400142type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
143type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
144
William Kurkianad745652019-03-20 08:45:51 -0400145// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400146type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
147
William Kurkianad745652019-03-20 08:45:51 -0400148// OfpHello from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400149type OfpHello = openflow_13.OfpHello
150
William Kurkianad745652019-03-20 08:45:51 -0400151// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400152type OfpSwitchConfig = openflow_13.OfpSwitchConfig
153
William Kurkianad745652019-03-20 08:45:51 -0400154// OfpTableMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400155type OfpTableMod = openflow_13.OfpTableMod
156
William Kurkianad745652019-03-20 08:45:51 -0400157// OfpPort from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400158type OfpPort = openflow_13.OfpPort
159
William Kurkianad745652019-03-20 08:45:51 -0400160// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400161type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
162
William Kurkianad745652019-03-20 08:45:51 -0400163// OfpPortStatus from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400164type OfpPortStatus = openflow_13.OfpPortStatus
165
William Kurkianad745652019-03-20 08:45:51 -0400166// OfpPortMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400167type OfpPortMod = openflow_13.OfpPortMod
168
William Kurkianad745652019-03-20 08:45:51 -0400169// OfpMatch from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400170type OfpMatch = openflow_13.OfpMatch
171
William Kurkianad745652019-03-20 08:45:51 -0400172// OfpOxmField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400173type OfpOxmField = openflow_13.OfpOxmField
174type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
175type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
176
William Kurkianad745652019-03-20 08:45:51 -0400177// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400178type OfpOxmOfbField = openflow_13.OfpOxmOfbField
179type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
180type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
181type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
182type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
183type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
184type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
185type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
186type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
187type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
188type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
189type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
190type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
191type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
192type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
193type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
194type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
195type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
196type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
197type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
198type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
199type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
200type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
201type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
202type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
203type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
204type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
205type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
206type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
207type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
208type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
209type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
210type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
211type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
212type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
213type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
214type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
215type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
216type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
217type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
218type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
219type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
220type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
221type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
222type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
223type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
224type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
225type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
226type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
227type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
228type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
229type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
230type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
231type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
232type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
233
William Kurkianad745652019-03-20 08:45:51 -0400234// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400235type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
236
William Kurkianad745652019-03-20 08:45:51 -0400237// OfpAction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400238type OfpAction = openflow_13.OfpAction
239type OfpAction_Output = openflow_13.OfpAction_Output
240type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
241type OfpAction_Push = openflow_13.OfpAction_Push
242type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
243type OfpAction_Group = openflow_13.OfpAction_Group
244type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
245type OfpAction_SetField = openflow_13.OfpAction_SetField
246type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
247
William Kurkianad745652019-03-20 08:45:51 -0400248// OfpActionOutput from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400249type OfpActionOutput = openflow_13.OfpActionOutput
250
William Kurkianad745652019-03-20 08:45:51 -0400251// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400252type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
253
William Kurkianad745652019-03-20 08:45:51 -0400254// OfpActionPush from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400255type OfpActionPush = openflow_13.OfpActionPush
256
William Kurkianad745652019-03-20 08:45:51 -0400257// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400258type OfpActionPopMpls = openflow_13.OfpActionPopMpls
259
William Kurkianad745652019-03-20 08:45:51 -0400260// OfpActionGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400261type OfpActionGroup = openflow_13.OfpActionGroup
262
William Kurkianad745652019-03-20 08:45:51 -0400263// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400264type OfpActionNwTtl = openflow_13.OfpActionNwTtl
265
William Kurkianad745652019-03-20 08:45:51 -0400266// OfpActionSetField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400267type OfpActionSetField = openflow_13.OfpActionSetField
268
William Kurkianad745652019-03-20 08:45:51 -0400269// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400270type OfpActionExperimenter = openflow_13.OfpActionExperimenter
271
William Kurkianad745652019-03-20 08:45:51 -0400272// OfpInstruction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400273type OfpInstruction = openflow_13.OfpInstruction
274type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
275type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
276type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
277type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
278type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
279
William Kurkianad745652019-03-20 08:45:51 -0400280// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400281type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
282
William Kurkianad745652019-03-20 08:45:51 -0400283// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400284type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
285
William Kurkianad745652019-03-20 08:45:51 -0400286// OfpInstructionActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400287type OfpInstructionActions = openflow_13.OfpInstructionActions
288
William Kurkianad745652019-03-20 08:45:51 -0400289// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400290type OfpInstructionMeter = openflow_13.OfpInstructionMeter
291
William Kurkianad745652019-03-20 08:45:51 -0400292// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400293type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
294
William Kurkianad745652019-03-20 08:45:51 -0400295// OfpFlowMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400296type OfpFlowMod = openflow_13.OfpFlowMod
297
William Kurkianad745652019-03-20 08:45:51 -0400298// OfpBucket from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400299type OfpBucket = openflow_13.OfpBucket
300
William Kurkianad745652019-03-20 08:45:51 -0400301// OfpGroupMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400302type OfpGroupMod = openflow_13.OfpGroupMod
303
William Kurkianad745652019-03-20 08:45:51 -0400304// OfpPacketOut from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400305type OfpPacketOut = openflow_13.OfpPacketOut
306
William Kurkianad745652019-03-20 08:45:51 -0400307// OfpPacketIn from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400308type OfpPacketIn = openflow_13.OfpPacketIn
309
William Kurkianad745652019-03-20 08:45:51 -0400310// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400311type OfpFlowRemoved = openflow_13.OfpFlowRemoved
312
William Kurkianad745652019-03-20 08:45:51 -0400313// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400314type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
315type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
316type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
317type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
318
William Kurkianad745652019-03-20 08:45:51 -0400319// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400320type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
321
William Kurkianad745652019-03-20 08:45:51 -0400322// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400323type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
324
William Kurkianad745652019-03-20 08:45:51 -0400325// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400326type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
327
William Kurkianad745652019-03-20 08:45:51 -0400328// OfpMeterMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400329type OfpMeterMod = openflow_13.OfpMeterMod
330
William Kurkianad745652019-03-20 08:45:51 -0400331// OfpErrorMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400332type OfpErrorMsg = openflow_13.OfpErrorMsg
333
William Kurkianad745652019-03-20 08:45:51 -0400334// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400335type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
336
William Kurkianad745652019-03-20 08:45:51 -0400337// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400338type OfpMultipartRequest = openflow_13.OfpMultipartRequest
339
William Kurkianad745652019-03-20 08:45:51 -0400340// OfpMultipartReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400341type OfpMultipartReply = openflow_13.OfpMultipartReply
342
William Kurkianad745652019-03-20 08:45:51 -0400343// OfpDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400344type OfpDesc = openflow_13.OfpDesc
345
William Kurkianad745652019-03-20 08:45:51 -0400346// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400347type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
348
William Kurkianad745652019-03-20 08:45:51 -0400349// OfpFlowStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400350type OfpFlowStats = openflow_13.OfpFlowStats
351
William Kurkianad745652019-03-20 08:45:51 -0400352// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400353type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
354
William Kurkianad745652019-03-20 08:45:51 -0400355// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400356type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
357
William Kurkianad745652019-03-20 08:45:51 -0400358// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400359type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
360type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
361type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
362type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
363type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
364type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
365
William Kurkianad745652019-03-20 08:45:51 -0400366// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400367type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
368
William Kurkianad745652019-03-20 08:45:51 -0400369// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400370type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
371
William Kurkianad745652019-03-20 08:45:51 -0400372// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400373type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
374
William Kurkianad745652019-03-20 08:45:51 -0400375// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400376type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
377
William Kurkianad745652019-03-20 08:45:51 -0400378// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400379type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
380
William Kurkianad745652019-03-20 08:45:51 -0400381// OfpTableFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400382type OfpTableFeatures = openflow_13.OfpTableFeatures
383
William Kurkianad745652019-03-20 08:45:51 -0400384// OfpTableStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400385type OfpTableStats = openflow_13.OfpTableStats
386
William Kurkianad745652019-03-20 08:45:51 -0400387// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400388type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
389
William Kurkianad745652019-03-20 08:45:51 -0400390// OfpPortStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400391type OfpPortStats = openflow_13.OfpPortStats
392
William Kurkianad745652019-03-20 08:45:51 -0400393// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400394type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
395
William Kurkianad745652019-03-20 08:45:51 -0400396// OfpBucketCounter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400397type OfpBucketCounter = openflow_13.OfpBucketCounter
398
William Kurkianad745652019-03-20 08:45:51 -0400399// OfpGroupStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400400type OfpGroupStats = openflow_13.OfpGroupStats
401
William Kurkianad745652019-03-20 08:45:51 -0400402// OfpGroupDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400403type OfpGroupDesc = openflow_13.OfpGroupDesc
404
William Kurkianad745652019-03-20 08:45:51 -0400405// OfpGroupEntry from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400406type OfpGroupEntry = openflow_13.OfpGroupEntry
407
William Kurkianad745652019-03-20 08:45:51 -0400408// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400409type OfpGroupFeatures = openflow_13.OfpGroupFeatures
410
William Kurkianad745652019-03-20 08:45:51 -0400411// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400412type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
413
William Kurkianad745652019-03-20 08:45:51 -0400414// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400415type OfpMeterBandStats = openflow_13.OfpMeterBandStats
416
William Kurkianad745652019-03-20 08:45:51 -0400417// OfpMeterStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400418type OfpMeterStats = openflow_13.OfpMeterStats
419
William Kurkianad745652019-03-20 08:45:51 -0400420// OfpMeterConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400421type OfpMeterConfig = openflow_13.OfpMeterConfig
422
William Kurkianad745652019-03-20 08:45:51 -0400423// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400424type OfpMeterFeatures = openflow_13.OfpMeterFeatures
425
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400426// OfpMeterEntry from public import voltha_protos/openflow_13.proto
427type OfpMeterEntry = openflow_13.OfpMeterEntry
428
William Kurkianad745652019-03-20 08:45:51 -0400429// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400430type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
431
William Kurkianad745652019-03-20 08:45:51 -0400432// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400433type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
434
William Kurkianad745652019-03-20 08:45:51 -0400435// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400436type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
437
William Kurkianad745652019-03-20 08:45:51 -0400438// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400439type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
440
William Kurkianad745652019-03-20 08:45:51 -0400441// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400442type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
443
William Kurkianad745652019-03-20 08:45:51 -0400444// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400445type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
446
William Kurkianad745652019-03-20 08:45:51 -0400447// OfpPacketQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400448type OfpPacketQueue = openflow_13.OfpPacketQueue
449
William Kurkianad745652019-03-20 08:45:51 -0400450// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400451type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
452
William Kurkianad745652019-03-20 08:45:51 -0400453// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400454type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
455
William Kurkianad745652019-03-20 08:45:51 -0400456// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400457type OfpActionSetQueue = openflow_13.OfpActionSetQueue
458
William Kurkianad745652019-03-20 08:45:51 -0400459// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400460type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
461
William Kurkianad745652019-03-20 08:45:51 -0400462// OfpQueueStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400463type OfpQueueStats = openflow_13.OfpQueueStats
464
William Kurkianad745652019-03-20 08:45:51 -0400465// OfpRoleRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400466type OfpRoleRequest = openflow_13.OfpRoleRequest
467
William Kurkianad745652019-03-20 08:45:51 -0400468// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400469type OfpAsyncConfig = openflow_13.OfpAsyncConfig
470
471// MeterModUpdate from public import voltha_protos/openflow_13.proto
472type MeterModUpdate = openflow_13.MeterModUpdate
473
474// MeterStatsReply from public import voltha_protos/openflow_13.proto
475type MeterStatsReply = openflow_13.MeterStatsReply
476
477// FlowTableUpdate from public import voltha_protos/openflow_13.proto
478type FlowTableUpdate = openflow_13.FlowTableUpdate
479
480// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
481type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
482
483// Flows from public import voltha_protos/openflow_13.proto
484type Flows = openflow_13.Flows
485
486// Meters from public import voltha_protos/openflow_13.proto
487type Meters = openflow_13.Meters
488
489// FlowGroups from public import voltha_protos/openflow_13.proto
490type FlowGroups = openflow_13.FlowGroups
491
492// FlowChanges from public import voltha_protos/openflow_13.proto
493type FlowChanges = openflow_13.FlowChanges
494
495// FlowGroupChanges from public import voltha_protos/openflow_13.proto
496type FlowGroupChanges = openflow_13.FlowGroupChanges
497
498// PacketIn from public import voltha_protos/openflow_13.proto
499type PacketIn = openflow_13.PacketIn
500
501// PacketOut from public import voltha_protos/openflow_13.proto
502type PacketOut = openflow_13.PacketOut
503
504// ChangeEvent from public import voltha_protos/openflow_13.proto
505type ChangeEvent = openflow_13.ChangeEvent
506type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
507
William Kurkianad745652019-03-20 08:45:51 -0400508// OfpPortNo from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400509type OfpPortNo = openflow_13.OfpPortNo
510
511var OfpPortNo_name = openflow_13.OfpPortNo_name
512var OfpPortNo_value = openflow_13.OfpPortNo_value
513
514const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
515const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
516const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
517const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
518const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
519const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
520const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
521const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
522const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
523const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
524
William Kurkianad745652019-03-20 08:45:51 -0400525// OfpType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400526type OfpType = openflow_13.OfpType
527
528var OfpType_name = openflow_13.OfpType_name
529var OfpType_value = openflow_13.OfpType_value
530
531const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
532const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
533const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
534const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
535const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
536const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
537const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
538const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
539const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
540const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
541const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
542const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
543const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
544const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
545const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
546const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
547const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
548const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
549const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
550const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
551const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
552const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
553const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
554const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
555const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
556const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
557const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
558const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
559const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
560const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
561
William Kurkianad745652019-03-20 08:45:51 -0400562// OfpHelloElemType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400563type OfpHelloElemType = openflow_13.OfpHelloElemType
564
565var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
566var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
567
568const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
569const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
570
William Kurkianad745652019-03-20 08:45:51 -0400571// OfpConfigFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400572type OfpConfigFlags = openflow_13.OfpConfigFlags
573
574var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
575var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
576
577const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
578const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
579const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
580const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
581
William Kurkianad745652019-03-20 08:45:51 -0400582// OfpTableConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400583type OfpTableConfig = openflow_13.OfpTableConfig
584
585var OfpTableConfig_name = openflow_13.OfpTableConfig_name
586var OfpTableConfig_value = openflow_13.OfpTableConfig_value
587
588const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
589const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
590
William Kurkianad745652019-03-20 08:45:51 -0400591// OfpTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400592type OfpTable = openflow_13.OfpTable
593
594var OfpTable_name = openflow_13.OfpTable_name
595var OfpTable_value = openflow_13.OfpTable_value
596
597const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
598const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
599const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
600
William Kurkianad745652019-03-20 08:45:51 -0400601// OfpCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400602type OfpCapabilities = openflow_13.OfpCapabilities
603
604var OfpCapabilities_name = openflow_13.OfpCapabilities_name
605var OfpCapabilities_value = openflow_13.OfpCapabilities_value
606
607const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
608const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
609const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
610const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
611const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
612const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
613const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
614const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
615
William Kurkianad745652019-03-20 08:45:51 -0400616// OfpPortConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400617type OfpPortConfig = openflow_13.OfpPortConfig
618
619var OfpPortConfig_name = openflow_13.OfpPortConfig_name
620var OfpPortConfig_value = openflow_13.OfpPortConfig_value
621
622const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
623const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
624const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
625const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
626const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
627
William Kurkianad745652019-03-20 08:45:51 -0400628// OfpPortState from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400629type OfpPortState = openflow_13.OfpPortState
630
631var OfpPortState_name = openflow_13.OfpPortState_name
632var OfpPortState_value = openflow_13.OfpPortState_value
633
634const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
635const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
636const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
637const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
638
William Kurkianad745652019-03-20 08:45:51 -0400639// OfpPortFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400640type OfpPortFeatures = openflow_13.OfpPortFeatures
641
642var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
643var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
644
645const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
646const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
647const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
648const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
649const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
650const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
651const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
652const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
653const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
654const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
655const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
656const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
657const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
658const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
659const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
660const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
661const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
662
William Kurkianad745652019-03-20 08:45:51 -0400663// OfpPortReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400664type OfpPortReason = openflow_13.OfpPortReason
665
666var OfpPortReason_name = openflow_13.OfpPortReason_name
667var OfpPortReason_value = openflow_13.OfpPortReason_value
668
669const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
670const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
671const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
672
William Kurkianad745652019-03-20 08:45:51 -0400673// OfpMatchType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400674type OfpMatchType = openflow_13.OfpMatchType
675
676var OfpMatchType_name = openflow_13.OfpMatchType_name
677var OfpMatchType_value = openflow_13.OfpMatchType_value
678
679const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
680const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
681
William Kurkianad745652019-03-20 08:45:51 -0400682// OfpOxmClass from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400683type OfpOxmClass = openflow_13.OfpOxmClass
684
685var OfpOxmClass_name = openflow_13.OfpOxmClass_name
686var OfpOxmClass_value = openflow_13.OfpOxmClass_value
687
688const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
689const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
690const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
691const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
692
William Kurkianad745652019-03-20 08:45:51 -0400693// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400694type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
695
696var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
697var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
698
699const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
700const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
701const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
702const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
703const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
704const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
705const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
706const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
707const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
708const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
709const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
710const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
711const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
712const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
713const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
714const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
715const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
716const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
717const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
718const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
719const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
720const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
721const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
722const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
723const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
724const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
725const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
726const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
727const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
728const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
729const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
730const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
731const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
732const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
733const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
734const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
735const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
736const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
737const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
738const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
739
William Kurkianad745652019-03-20 08:45:51 -0400740// OfpVlanId from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400741type OfpVlanId = openflow_13.OfpVlanId
742
743var OfpVlanId_name = openflow_13.OfpVlanId_name
744var OfpVlanId_value = openflow_13.OfpVlanId_value
745
746const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
747const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
748
William Kurkianad745652019-03-20 08:45:51 -0400749// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400750type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
751
752var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
753var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
754
755const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
756const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
757const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
758const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
759const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
760const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
761const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
762const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
763const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
764const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
765
William Kurkianad745652019-03-20 08:45:51 -0400766// OfpActionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400767type OfpActionType = openflow_13.OfpActionType
768
769var OfpActionType_name = openflow_13.OfpActionType_name
770var OfpActionType_value = openflow_13.OfpActionType_value
771
772const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
773const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
774const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
775const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
776const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
777const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
778const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
779const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
780const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
781const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
782const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
783const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
784const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
785const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
786const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
787const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
788const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
789
William Kurkianad745652019-03-20 08:45:51 -0400790// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400791type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
792
793var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
794var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
795
796const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
797const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
798const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
799
William Kurkianad745652019-03-20 08:45:51 -0400800// OfpInstructionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400801type OfpInstructionType = openflow_13.OfpInstructionType
802
803var OfpInstructionType_name = openflow_13.OfpInstructionType_name
804var OfpInstructionType_value = openflow_13.OfpInstructionType_value
805
806const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
807const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
808const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
809const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
810const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
811const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
812const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
813const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
814
William Kurkianad745652019-03-20 08:45:51 -0400815// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400816type OfpFlowModCommand = openflow_13.OfpFlowModCommand
817
818var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
819var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
820
821const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
822const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
823const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
824const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
825const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
826
William Kurkianad745652019-03-20 08:45:51 -0400827// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400828type OfpFlowModFlags = openflow_13.OfpFlowModFlags
829
830var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
831var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
832
833const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
834const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
835const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
836const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
837const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
838const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
839
William Kurkianad745652019-03-20 08:45:51 -0400840// OfpGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400841type OfpGroup = openflow_13.OfpGroup
842
843var OfpGroup_name = openflow_13.OfpGroup_name
844var OfpGroup_value = openflow_13.OfpGroup_value
845
846const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
847const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
848const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
849const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
850
William Kurkianad745652019-03-20 08:45:51 -0400851// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400852type OfpGroupModCommand = openflow_13.OfpGroupModCommand
853
854var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
855var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
856
857const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
858const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
859const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
860
William Kurkianad745652019-03-20 08:45:51 -0400861// OfpGroupType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400862type OfpGroupType = openflow_13.OfpGroupType
863
864var OfpGroupType_name = openflow_13.OfpGroupType_name
865var OfpGroupType_value = openflow_13.OfpGroupType_value
866
867const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
868const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
869const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
870const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
871
William Kurkianad745652019-03-20 08:45:51 -0400872// OfpPacketInReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400873type OfpPacketInReason = openflow_13.OfpPacketInReason
874
875var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
876var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
877
878const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
879const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
880const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
881
William Kurkianad745652019-03-20 08:45:51 -0400882// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400883type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
884
885var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
886var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
887
888const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
889const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
890const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
891const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
892const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
893
William Kurkianad745652019-03-20 08:45:51 -0400894// OfpMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400895type OfpMeter = openflow_13.OfpMeter
896
897var OfpMeter_name = openflow_13.OfpMeter_name
898var OfpMeter_value = openflow_13.OfpMeter_value
899
900const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
901const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
902const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
903const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
904const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
905
William Kurkianad745652019-03-20 08:45:51 -0400906// OfpMeterBandType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400907type OfpMeterBandType = openflow_13.OfpMeterBandType
908
909var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
910var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
911
912const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
913const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
914const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
915const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
916
William Kurkianad745652019-03-20 08:45:51 -0400917// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400918type OfpMeterModCommand = openflow_13.OfpMeterModCommand
919
920var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
921var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
922
923const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
924const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
925const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
926
William Kurkianad745652019-03-20 08:45:51 -0400927// OfpMeterFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400928type OfpMeterFlags = openflow_13.OfpMeterFlags
929
930var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
931var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
932
933const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
934const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
935const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
936const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
937const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
938
William Kurkianad745652019-03-20 08:45:51 -0400939// OfpErrorType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400940type OfpErrorType = openflow_13.OfpErrorType
941
942var OfpErrorType_name = openflow_13.OfpErrorType_name
943var OfpErrorType_value = openflow_13.OfpErrorType_value
944
945const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
946const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
947const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
948const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
949const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
950const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
951const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
952const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
953const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
954const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
955const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
956const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
957const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
958const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
959const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
960
William Kurkianad745652019-03-20 08:45:51 -0400961// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400962type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
963
964var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
965var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
966
967const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
968const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
969
William Kurkianad745652019-03-20 08:45:51 -0400970// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400971type OfpBadRequestCode = openflow_13.OfpBadRequestCode
972
973var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
974var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
975
976const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
977const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
978const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
979const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
980const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
981const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
982const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
983const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
984const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
985const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
986const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
987const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
988const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
989const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
990
William Kurkianad745652019-03-20 08:45:51 -0400991// OfpBadActionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400992type OfpBadActionCode = openflow_13.OfpBadActionCode
993
994var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
995var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
996
997const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
998const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
999const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
1000const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
1001const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
1002const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
1003const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
1004const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
1005const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
1006const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
1007const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
1008const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
1009const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
1010const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
1011const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
1012const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
1013
William Kurkianad745652019-03-20 08:45:51 -04001014// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001015type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
1016
1017var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
1018var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1019
1020const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1021const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1022const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1023const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1024const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1025const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1026const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1027const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1028const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1029
William Kurkianad745652019-03-20 08:45:51 -04001030// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001031type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1032
1033var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1034var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1035
1036const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1037const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1038const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1039const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1040const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1041const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1042const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1043const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1044const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1045const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1046const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1047const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1048
William Kurkianad745652019-03-20 08:45:51 -04001049// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001050type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1051
1052var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1053var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1054
1055const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1056const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1057const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1058const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1059const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1060const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1061const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1062const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1063
William Kurkianad745652019-03-20 08:45:51 -04001064// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001065type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1066
1067var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1068var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1069
1070const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1071const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1072const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1073const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1074const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1075const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1076const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1077const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1078const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1079const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1080const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1081const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1082const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1083const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1084const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1085
William Kurkianad745652019-03-20 08:45:51 -04001086// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001087type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1088
1089var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1090var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1091
1092const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1093const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1094const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1095const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1096const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1097
William Kurkianad745652019-03-20 08:45:51 -04001098// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001099type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1100
1101var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1102var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1103
1104const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1105const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1106const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1107
William Kurkianad745652019-03-20 08:45:51 -04001108// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001109type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1110
1111var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1112var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1113
1114const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1115const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1116const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1117
William Kurkianad745652019-03-20 08:45:51 -04001118// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001119type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1120
1121var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1122var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1123
1124const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1125const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1126const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1127
William Kurkianad745652019-03-20 08:45:51 -04001128// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001129type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1130
1131var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1132var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1133
1134const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1135const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1136const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1137
William Kurkianad745652019-03-20 08:45:51 -04001138// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001139type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1140
1141var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1142var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1143
1144const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1145const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1146const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1147const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1148const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1149const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1150const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1151const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1152const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03001153const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
William Kurkian1b363f42019-03-12 15:28:12 -04001154const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1155const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1156
William Kurkianad745652019-03-20 08:45:51 -04001157// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001158type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1159
1160var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1161var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1162
1163const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1164const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1165const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1166const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1167const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1168const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1169
William Kurkianad745652019-03-20 08:45:51 -04001170// OfpMultipartType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001171type OfpMultipartType = openflow_13.OfpMultipartType
1172
1173var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1174var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1175
1176const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1177const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1178const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1179const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1180const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1181const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1182const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1183const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1184const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1185const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1186const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1187const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1188const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1189const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1190const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1191
William Kurkianad745652019-03-20 08:45:51 -04001192// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001193type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1194
1195var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1196var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1197
1198const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1199const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1200
William Kurkianad745652019-03-20 08:45:51 -04001201// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001202type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1203
1204var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1205var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1206
1207const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1208const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1209
William Kurkianad745652019-03-20 08:45:51 -04001210// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001211type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1212
1213var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1214var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1215
1216const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1217const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1218const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1219const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1220const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1221const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1222const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1223const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1224const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1225const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1226const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1227const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1228const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1229const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1230const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1231const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1232
William Kurkianad745652019-03-20 08:45:51 -04001233// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001234type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1235
1236var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1237var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1238
1239const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1240const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1241const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1242const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1243const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1244
William Kurkianad745652019-03-20 08:45:51 -04001245// OfpQueueProperties from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001246type OfpQueueProperties = openflow_13.OfpQueueProperties
1247
1248var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1249var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1250
1251const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1252const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1253const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1254const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1255
William Kurkianad745652019-03-20 08:45:51 -04001256// OfpControllerRole from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001257type OfpControllerRole = openflow_13.OfpControllerRole
1258
1259var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1260var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1261
1262const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1263const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1264const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1265const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1266
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001267type EventFilterRuleKey_EventFilterRuleType int32
William Kurkian1b363f42019-03-12 15:28:12 -04001268
1269const (
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001270 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1271 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1272 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1273 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1274 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1275 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
William Kurkian1b363f42019-03-12 15:28:12 -04001276)
1277
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001278var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1279 0: "filter_all",
1280 1: "category",
1281 2: "sub_category",
1282 3: "kpi_event_type",
1283 4: "config_event_type",
1284 5: "device_event_type",
William Kurkian1b363f42019-03-12 15:28:12 -04001285}
William Kurkianad745652019-03-20 08:45:51 -04001286
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001287var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1288 "filter_all": 0,
1289 "category": 1,
1290 "sub_category": 2,
1291 "kpi_event_type": 3,
1292 "config_event_type": 4,
1293 "device_event_type": 5,
William Kurkian1b363f42019-03-12 15:28:12 -04001294}
1295
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001296func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1297 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -04001298}
William Kurkianad745652019-03-20 08:45:51 -04001299
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001300func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001301 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001302}
1303
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301304type TestResponse_TestResponseResult int32
1305
1306const (
1307 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
1308 TestResponse_FAILURE TestResponse_TestResponseResult = 1
1309)
1310
1311var TestResponse_TestResponseResult_name = map[int32]string{
1312 0: "SUCCESS",
1313 1: "FAILURE",
1314}
1315
1316var TestResponse_TestResponseResult_value = map[string]int32{
1317 "SUCCESS": 0,
1318 "FAILURE": 1,
1319}
1320
1321func (x TestResponse_TestResponseResult) String() string {
1322 return proto.EnumName(TestResponse_TestResponseResult_name, int32(x))
1323}
1324
1325func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
1326 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
1327}
1328
William Kurkian1b363f42019-03-12 15:28:12 -04001329type SelfTestResponse_SelfTestResult int32
1330
1331const (
1332 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1333 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1334 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1335 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1336)
1337
1338var SelfTestResponse_SelfTestResult_name = map[int32]string{
1339 0: "SUCCESS",
1340 1: "FAILURE",
1341 2: "NOT_SUPPORTED",
1342 3: "UNKNOWN_ERROR",
1343}
William Kurkianad745652019-03-20 08:45:51 -04001344
William Kurkian1b363f42019-03-12 15:28:12 -04001345var SelfTestResponse_SelfTestResult_value = map[string]int32{
1346 "SUCCESS": 0,
1347 "FAILURE": 1,
1348 "NOT_SUPPORTED": 2,
1349 "UNKNOWN_ERROR": 3,
1350}
1351
1352func (x SelfTestResponse_SelfTestResult) String() string {
1353 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1354}
William Kurkianad745652019-03-20 08:45:51 -04001355
William Kurkian1b363f42019-03-12 15:28:12 -04001356func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05301357 return fileDescriptor_e084f1a60ce7016c, []int{12, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001358}
1359
1360type DeviceGroup struct {
1361 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1362 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1363 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1364 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1365 XXX_unrecognized []byte `json:"-"`
1366 XXX_sizecache int32 `json:"-"`
1367}
1368
1369func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1370func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1371func (*DeviceGroup) ProtoMessage() {}
1372func (*DeviceGroup) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001373 return fileDescriptor_e084f1a60ce7016c, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -04001374}
William Kurkianad745652019-03-20 08:45:51 -04001375
William Kurkian1b363f42019-03-12 15:28:12 -04001376func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1377 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1378}
1379func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1380 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1381}
William Kurkianad745652019-03-20 08:45:51 -04001382func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1383 xxx_messageInfo_DeviceGroup.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001384}
1385func (m *DeviceGroup) XXX_Size() int {
1386 return xxx_messageInfo_DeviceGroup.Size(m)
1387}
1388func (m *DeviceGroup) XXX_DiscardUnknown() {
1389 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1390}
1391
1392var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1393
1394func (m *DeviceGroup) GetId() string {
1395 if m != nil {
1396 return m.Id
1397 }
1398 return ""
1399}
1400
1401func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1402 if m != nil {
1403 return m.LogicalDevices
1404 }
1405 return nil
1406}
1407
1408func (m *DeviceGroup) GetDevices() []*Device {
1409 if m != nil {
1410 return m.Devices
1411 }
1412 return nil
1413}
1414
1415type DeviceGroups struct {
1416 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1417 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1418 XXX_unrecognized []byte `json:"-"`
1419 XXX_sizecache int32 `json:"-"`
1420}
1421
1422func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1423func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1424func (*DeviceGroups) ProtoMessage() {}
1425func (*DeviceGroups) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001426 return fileDescriptor_e084f1a60ce7016c, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -04001427}
William Kurkianad745652019-03-20 08:45:51 -04001428
William Kurkian1b363f42019-03-12 15:28:12 -04001429func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1430 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1431}
1432func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1433 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1434}
William Kurkianad745652019-03-20 08:45:51 -04001435func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1436 xxx_messageInfo_DeviceGroups.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001437}
1438func (m *DeviceGroups) XXX_Size() int {
1439 return xxx_messageInfo_DeviceGroups.Size(m)
1440}
1441func (m *DeviceGroups) XXX_DiscardUnknown() {
1442 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1443}
1444
1445var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1446
1447func (m *DeviceGroups) GetItems() []*DeviceGroup {
1448 if m != nil {
1449 return m.Items
1450 }
1451 return nil
1452}
1453
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001454type EventFilterRuleKey struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001455 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1456 XXX_unrecognized []byte `json:"-"`
1457 XXX_sizecache int32 `json:"-"`
1458}
1459
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001460func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1461func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1462func (*EventFilterRuleKey) ProtoMessage() {}
1463func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001464 return fileDescriptor_e084f1a60ce7016c, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -04001465}
William Kurkianad745652019-03-20 08:45:51 -04001466
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001467func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1468 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001469}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001470func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1471 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001472}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001473func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1474 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001475}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001476func (m *EventFilterRuleKey) XXX_Size() int {
1477 return xxx_messageInfo_EventFilterRuleKey.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001478}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001479func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1480 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001481}
1482
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001483var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001484
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001485type EventFilterRule struct {
1486 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1487 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1488 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1489 XXX_unrecognized []byte `json:"-"`
1490 XXX_sizecache int32 `json:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -04001491}
1492
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001493func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1494func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1495func (*EventFilterRule) ProtoMessage() {}
1496func (*EventFilterRule) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001497 return fileDescriptor_e084f1a60ce7016c, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -04001498}
William Kurkianad745652019-03-20 08:45:51 -04001499
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001500func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1501 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001502}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001503func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1504 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001505}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001506func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1507 xxx_messageInfo_EventFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001508}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001509func (m *EventFilterRule) XXX_Size() int {
1510 return xxx_messageInfo_EventFilterRule.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001511}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001512func (m *EventFilterRule) XXX_DiscardUnknown() {
1513 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001514}
1515
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001516var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001517
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001518func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
William Kurkian1b363f42019-03-12 15:28:12 -04001519 if m != nil {
1520 return m.Key
1521 }
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001522 return EventFilterRuleKey_filter_all
William Kurkian1b363f42019-03-12 15:28:12 -04001523}
1524
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001525func (m *EventFilterRule) GetValue() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001526 if m != nil {
1527 return m.Value
1528 }
1529 return ""
1530}
1531
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001532type EventFilter struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001533 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001534 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1535 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1536 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1537 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001538 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1539 XXX_unrecognized []byte `json:"-"`
1540 XXX_sizecache int32 `json:"-"`
1541}
1542
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001543func (m *EventFilter) Reset() { *m = EventFilter{} }
1544func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1545func (*EventFilter) ProtoMessage() {}
1546func (*EventFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001547 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001548}
William Kurkianad745652019-03-20 08:45:51 -04001549
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001550func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1551 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001552}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001553func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1554 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001555}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001556func (m *EventFilter) XXX_Merge(src proto.Message) {
1557 xxx_messageInfo_EventFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001558}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001559func (m *EventFilter) XXX_Size() int {
1560 return xxx_messageInfo_EventFilter.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001561}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001562func (m *EventFilter) XXX_DiscardUnknown() {
1563 xxx_messageInfo_EventFilter.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001564}
1565
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001566var xxx_messageInfo_EventFilter proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001567
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001568func (m *EventFilter) GetId() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001569 if m != nil {
1570 return m.Id
1571 }
1572 return ""
1573}
1574
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001575func (m *EventFilter) GetEnable() bool {
1576 if m != nil {
1577 return m.Enable
1578 }
1579 return false
1580}
1581
1582func (m *EventFilter) GetDeviceId() string {
1583 if m != nil {
1584 return m.DeviceId
1585 }
1586 return ""
1587}
1588
1589func (m *EventFilter) GetEventType() string {
1590 if m != nil {
1591 return m.EventType
1592 }
1593 return ""
1594}
1595
1596func (m *EventFilter) GetRules() []*EventFilterRule {
William Kurkian1b363f42019-03-12 15:28:12 -04001597 if m != nil {
1598 return m.Rules
1599 }
1600 return nil
1601}
1602
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001603type EventFilters struct {
1604 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001605 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1606 XXX_unrecognized []byte `json:"-"`
1607 XXX_sizecache int32 `json:"-"`
1608}
1609
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001610func (m *EventFilters) Reset() { *m = EventFilters{} }
1611func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1612func (*EventFilters) ProtoMessage() {}
1613func (*EventFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001614 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001615}
William Kurkianad745652019-03-20 08:45:51 -04001616
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001617func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1618 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001619}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001620func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1621 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001622}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001623func (m *EventFilters) XXX_Merge(src proto.Message) {
1624 xxx_messageInfo_EventFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001625}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001626func (m *EventFilters) XXX_Size() int {
1627 return xxx_messageInfo_EventFilters.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001628}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001629func (m *EventFilters) XXX_DiscardUnknown() {
1630 xxx_messageInfo_EventFilters.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001631}
1632
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001633var xxx_messageInfo_EventFilters proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001634
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001635func (m *EventFilters) GetFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001636 if m != nil {
1637 return m.Filters
1638 }
1639 return nil
1640}
1641
William Kurkian1b363f42019-03-12 15:28:12 -04001642// CoreInstance represents a core instance. It is data held in memory when a core
1643// is running. This data is not persistent.
1644type CoreInstance struct {
1645 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1646 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1647 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1648 XXX_unrecognized []byte `json:"-"`
1649 XXX_sizecache int32 `json:"-"`
1650}
1651
1652func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1653func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1654func (*CoreInstance) ProtoMessage() {}
1655func (*CoreInstance) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001656 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001657}
William Kurkianad745652019-03-20 08:45:51 -04001658
William Kurkian1b363f42019-03-12 15:28:12 -04001659func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1660 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1661}
1662func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1663 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1664}
William Kurkianad745652019-03-20 08:45:51 -04001665func (m *CoreInstance) XXX_Merge(src proto.Message) {
1666 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001667}
1668func (m *CoreInstance) XXX_Size() int {
1669 return xxx_messageInfo_CoreInstance.Size(m)
1670}
1671func (m *CoreInstance) XXX_DiscardUnknown() {
1672 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1673}
1674
1675var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1676
1677func (m *CoreInstance) GetInstanceId() string {
1678 if m != nil {
1679 return m.InstanceId
1680 }
1681 return ""
1682}
1683
1684func (m *CoreInstance) GetHealth() *HealthStatus {
1685 if m != nil {
1686 return m.Health
1687 }
1688 return nil
1689}
1690
1691type CoreInstances struct {
1692 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1693 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1694 XXX_unrecognized []byte `json:"-"`
1695 XXX_sizecache int32 `json:"-"`
1696}
1697
1698func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1699func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1700func (*CoreInstances) ProtoMessage() {}
1701func (*CoreInstances) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001702 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001703}
William Kurkianad745652019-03-20 08:45:51 -04001704
William Kurkian1b363f42019-03-12 15:28:12 -04001705func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1706 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1707}
1708func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1709 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1710}
William Kurkianad745652019-03-20 08:45:51 -04001711func (m *CoreInstances) XXX_Merge(src proto.Message) {
1712 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001713}
1714func (m *CoreInstances) XXX_Size() int {
1715 return xxx_messageInfo_CoreInstances.Size(m)
1716}
1717func (m *CoreInstances) XXX_DiscardUnknown() {
1718 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1719}
1720
1721var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1722
1723func (m *CoreInstances) GetItems() []*CoreInstance {
1724 if m != nil {
1725 return m.Items
1726 }
1727 return nil
1728}
1729
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301730type OmciTestRequest struct {
1731 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1732 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
1733 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1734 XXX_unrecognized []byte `json:"-"`
1735 XXX_sizecache int32 `json:"-"`
1736}
1737
1738func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} }
1739func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) }
1740func (*OmciTestRequest) ProtoMessage() {}
1741func (*OmciTestRequest) Descriptor() ([]byte, []int) {
1742 return fileDescriptor_e084f1a60ce7016c, []int{8}
1743}
1744
1745func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error {
1746 return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b)
1747}
1748func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1749 return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic)
1750}
1751func (m *OmciTestRequest) XXX_Merge(src proto.Message) {
1752 xxx_messageInfo_OmciTestRequest.Merge(m, src)
1753}
1754func (m *OmciTestRequest) XXX_Size() int {
1755 return xxx_messageInfo_OmciTestRequest.Size(m)
1756}
1757func (m *OmciTestRequest) XXX_DiscardUnknown() {
1758 xxx_messageInfo_OmciTestRequest.DiscardUnknown(m)
1759}
1760
1761var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo
1762
1763func (m *OmciTestRequest) GetId() string {
1764 if m != nil {
1765 return m.Id
1766 }
1767 return ""
1768}
1769
1770func (m *OmciTestRequest) GetUuid() string {
1771 if m != nil {
1772 return m.Uuid
1773 }
1774 return ""
1775}
1776
1777type TestResponse struct {
1778 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.TestResponse_TestResponseResult" json:"result,omitempty"`
1779 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1780 XXX_unrecognized []byte `json:"-"`
1781 XXX_sizecache int32 `json:"-"`
1782}
1783
1784func (m *TestResponse) Reset() { *m = TestResponse{} }
1785func (m *TestResponse) String() string { return proto.CompactTextString(m) }
1786func (*TestResponse) ProtoMessage() {}
1787func (*TestResponse) Descriptor() ([]byte, []int) {
1788 return fileDescriptor_e084f1a60ce7016c, []int{9}
1789}
1790
1791func (m *TestResponse) XXX_Unmarshal(b []byte) error {
1792 return xxx_messageInfo_TestResponse.Unmarshal(m, b)
1793}
1794func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1795 return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic)
1796}
1797func (m *TestResponse) XXX_Merge(src proto.Message) {
1798 xxx_messageInfo_TestResponse.Merge(m, src)
1799}
1800func (m *TestResponse) XXX_Size() int {
1801 return xxx_messageInfo_TestResponse.Size(m)
1802}
1803func (m *TestResponse) XXX_DiscardUnknown() {
1804 xxx_messageInfo_TestResponse.DiscardUnknown(m)
1805}
1806
1807var xxx_messageInfo_TestResponse proto.InternalMessageInfo
1808
1809func (m *TestResponse) GetResult() TestResponse_TestResponseResult {
1810 if m != nil {
1811 return m.Result
1812 }
1813 return TestResponse_SUCCESS
1814}
1815
dpaul2b52e712020-06-23 13:02:28 +05301816type ValueSet struct {
1817 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1818 // Types that are valid to be assigned to Value:
1819 // *ValueSet_AlarmConfig
1820 Value isValueSet_Value `protobuf_oneof:"value"`
1821 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1822 XXX_unrecognized []byte `json:"-"`
1823 XXX_sizecache int32 `json:"-"`
1824}
1825
1826func (m *ValueSet) Reset() { *m = ValueSet{} }
1827func (m *ValueSet) String() string { return proto.CompactTextString(m) }
1828func (*ValueSet) ProtoMessage() {}
1829func (*ValueSet) Descriptor() ([]byte, []int) {
1830 return fileDescriptor_e084f1a60ce7016c, []int{10}
1831}
1832
1833func (m *ValueSet) XXX_Unmarshal(b []byte) error {
1834 return xxx_messageInfo_ValueSet.Unmarshal(m, b)
1835}
1836func (m *ValueSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1837 return xxx_messageInfo_ValueSet.Marshal(b, m, deterministic)
1838}
1839func (m *ValueSet) XXX_Merge(src proto.Message) {
1840 xxx_messageInfo_ValueSet.Merge(m, src)
1841}
1842func (m *ValueSet) XXX_Size() int {
1843 return xxx_messageInfo_ValueSet.Size(m)
1844}
1845func (m *ValueSet) XXX_DiscardUnknown() {
1846 xxx_messageInfo_ValueSet.DiscardUnknown(m)
1847}
1848
1849var xxx_messageInfo_ValueSet proto.InternalMessageInfo
1850
1851func (m *ValueSet) GetId() string {
1852 if m != nil {
1853 return m.Id
1854 }
1855 return ""
1856}
1857
1858type isValueSet_Value interface {
1859 isValueSet_Value()
1860}
1861
1862type ValueSet_AlarmConfig struct {
1863 AlarmConfig *config.AlarmConfig `protobuf:"bytes,2,opt,name=alarm_config,json=alarmConfig,proto3,oneof"`
1864}
1865
1866func (*ValueSet_AlarmConfig) isValueSet_Value() {}
1867
1868func (m *ValueSet) GetValue() isValueSet_Value {
1869 if m != nil {
1870 return m.Value
1871 }
1872 return nil
1873}
1874
1875func (m *ValueSet) GetAlarmConfig() *config.AlarmConfig {
1876 if x, ok := m.GetValue().(*ValueSet_AlarmConfig); ok {
1877 return x.AlarmConfig
1878 }
1879 return nil
1880}
1881
1882// XXX_OneofWrappers is for the internal use of the proto package.
1883func (*ValueSet) XXX_OneofWrappers() []interface{} {
1884 return []interface{}{
1885 (*ValueSet_AlarmConfig)(nil),
1886 }
1887}
1888
William Kurkian1b363f42019-03-12 15:28:12 -04001889// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1890// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1891// for better performance
1892type Voltha struct {
1893 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1894 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1895 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1896 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1897 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1898 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001899 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001900 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1901 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1902 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1903 XXX_unrecognized []byte `json:"-"`
1904 XXX_sizecache int32 `json:"-"`
1905}
1906
1907func (m *Voltha) Reset() { *m = Voltha{} }
1908func (m *Voltha) String() string { return proto.CompactTextString(m) }
1909func (*Voltha) ProtoMessage() {}
1910func (*Voltha) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05301911 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001912}
William Kurkianad745652019-03-20 08:45:51 -04001913
William Kurkian1b363f42019-03-12 15:28:12 -04001914func (m *Voltha) XXX_Unmarshal(b []byte) error {
1915 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1916}
1917func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1918 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1919}
William Kurkianad745652019-03-20 08:45:51 -04001920func (m *Voltha) XXX_Merge(src proto.Message) {
1921 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001922}
1923func (m *Voltha) XXX_Size() int {
1924 return xxx_messageInfo_Voltha.Size(m)
1925}
1926func (m *Voltha) XXX_DiscardUnknown() {
1927 xxx_messageInfo_Voltha.DiscardUnknown(m)
1928}
1929
1930var xxx_messageInfo_Voltha proto.InternalMessageInfo
1931
1932func (m *Voltha) GetVersion() string {
1933 if m != nil {
1934 return m.Version
1935 }
1936 return ""
1937}
1938
1939func (m *Voltha) GetAdapters() []*Adapter {
1940 if m != nil {
1941 return m.Adapters
1942 }
1943 return nil
1944}
1945
1946func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1947 if m != nil {
1948 return m.LogicalDevices
1949 }
1950 return nil
1951}
1952
1953func (m *Voltha) GetDevices() []*Device {
1954 if m != nil {
1955 return m.Devices
1956 }
1957 return nil
1958}
1959
1960func (m *Voltha) GetDeviceTypes() []*DeviceType {
1961 if m != nil {
1962 return m.DeviceTypes
1963 }
1964 return nil
1965}
1966
1967func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1968 if m != nil {
1969 return m.DeviceGroups
1970 }
1971 return nil
1972}
1973
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001974func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001975 if m != nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001976 return m.EventFilters
William Kurkian1b363f42019-03-12 15:28:12 -04001977 }
1978 return nil
1979}
1980
1981func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1982 if m != nil {
1983 return m.OmciMibDatabase
1984 }
1985 return nil
1986}
1987
1988func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1989 if m != nil {
1990 return m.OmciAlarmDatabase
1991 }
1992 return nil
1993}
1994
1995// Device Self Test Response
1996type SelfTestResponse struct {
1997 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1998 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1999 XXX_unrecognized []byte `json:"-"`
2000 XXX_sizecache int32 `json:"-"`
2001}
2002
2003func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
2004func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
2005func (*SelfTestResponse) ProtoMessage() {}
2006func (*SelfTestResponse) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302007 return fileDescriptor_e084f1a60ce7016c, []int{12}
William Kurkian1b363f42019-03-12 15:28:12 -04002008}
William Kurkianad745652019-03-20 08:45:51 -04002009
William Kurkian1b363f42019-03-12 15:28:12 -04002010func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
2011 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
2012}
2013func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2014 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
2015}
William Kurkianad745652019-03-20 08:45:51 -04002016func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
2017 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002018}
2019func (m *SelfTestResponse) XXX_Size() int {
2020 return xxx_messageInfo_SelfTestResponse.Size(m)
2021}
2022func (m *SelfTestResponse) XXX_DiscardUnknown() {
2023 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
2024}
2025
2026var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
2027
2028func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
2029 if m != nil {
2030 return m.Result
2031 }
2032 return SelfTestResponse_SUCCESS
2033}
2034
2035type OfAgentSubscriber struct {
2036 // ID of ofagent instance
2037 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
2038 // ID of voltha instance to which the ofagent is subscribed
2039 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
2040 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2041 XXX_unrecognized []byte `json:"-"`
2042 XXX_sizecache int32 `json:"-"`
2043}
2044
2045func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
2046func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
2047func (*OfAgentSubscriber) ProtoMessage() {}
2048func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302049 return fileDescriptor_e084f1a60ce7016c, []int{13}
William Kurkian1b363f42019-03-12 15:28:12 -04002050}
William Kurkianad745652019-03-20 08:45:51 -04002051
William Kurkian1b363f42019-03-12 15:28:12 -04002052func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
2053 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
2054}
2055func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2056 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
2057}
William Kurkianad745652019-03-20 08:45:51 -04002058func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
2059 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002060}
2061func (m *OfAgentSubscriber) XXX_Size() int {
2062 return xxx_messageInfo_OfAgentSubscriber.Size(m)
2063}
2064func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
2065 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
2066}
2067
2068var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
2069
2070func (m *OfAgentSubscriber) GetOfagentId() string {
2071 if m != nil {
2072 return m.OfagentId
2073 }
2074 return ""
2075}
2076
2077func (m *OfAgentSubscriber) GetVolthaId() string {
2078 if m != nil {
2079 return m.VolthaId
2080 }
2081 return ""
2082}
2083
2084// Identifies a membership group a Core belongs to
2085type Membership struct {
2086 // Group name
2087 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
2088 // Unique ID of a container within that group
2089 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
2090 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2091 XXX_unrecognized []byte `json:"-"`
2092 XXX_sizecache int32 `json:"-"`
2093}
2094
2095func (m *Membership) Reset() { *m = Membership{} }
2096func (m *Membership) String() string { return proto.CompactTextString(m) }
2097func (*Membership) ProtoMessage() {}
2098func (*Membership) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302099 return fileDescriptor_e084f1a60ce7016c, []int{14}
William Kurkian1b363f42019-03-12 15:28:12 -04002100}
William Kurkianad745652019-03-20 08:45:51 -04002101
William Kurkian1b363f42019-03-12 15:28:12 -04002102func (m *Membership) XXX_Unmarshal(b []byte) error {
2103 return xxx_messageInfo_Membership.Unmarshal(m, b)
2104}
2105func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2106 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
2107}
William Kurkianad745652019-03-20 08:45:51 -04002108func (m *Membership) XXX_Merge(src proto.Message) {
2109 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002110}
2111func (m *Membership) XXX_Size() int {
2112 return xxx_messageInfo_Membership.Size(m)
2113}
2114func (m *Membership) XXX_DiscardUnknown() {
2115 xxx_messageInfo_Membership.DiscardUnknown(m)
2116}
2117
2118var xxx_messageInfo_Membership proto.InternalMessageInfo
2119
2120func (m *Membership) GetGroupName() string {
2121 if m != nil {
2122 return m.GroupName
2123 }
2124 return ""
2125}
2126
2127func (m *Membership) GetId() string {
2128 if m != nil {
2129 return m.Id
2130 }
2131 return ""
2132}
2133
manikkaraj k166cb202019-07-28 13:05:56 -04002134// Additional information required to process flow at device adapters
2135type FlowMetadata struct {
2136 // Meters associated with flow-update to adapter
2137 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
2138 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2139 XXX_unrecognized []byte `json:"-"`
2140 XXX_sizecache int32 `json:"-"`
2141}
2142
2143func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
2144func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
2145func (*FlowMetadata) ProtoMessage() {}
2146func (*FlowMetadata) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302147 return fileDescriptor_e084f1a60ce7016c, []int{15}
manikkaraj k166cb202019-07-28 13:05:56 -04002148}
2149
2150func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
2151 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
2152}
2153func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2154 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
2155}
2156func (m *FlowMetadata) XXX_Merge(src proto.Message) {
2157 xxx_messageInfo_FlowMetadata.Merge(m, src)
2158}
2159func (m *FlowMetadata) XXX_Size() int {
2160 return xxx_messageInfo_FlowMetadata.Size(m)
2161}
2162func (m *FlowMetadata) XXX_DiscardUnknown() {
2163 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
2164}
2165
2166var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
2167
2168func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
2169 if m != nil {
2170 return m.Meters
2171 }
2172 return nil
2173}
2174
William Kurkian1b363f42019-03-12 15:28:12 -04002175func init() {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002176 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302177 proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
William Kurkianad745652019-03-20 08:45:51 -04002178 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04002179 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2180 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002181 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2182 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2183 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2184 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
William Kurkian1b363f42019-03-12 15:28:12 -04002185 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2186 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302187 proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest")
2188 proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse")
dpaul2b52e712020-06-23 13:02:28 +05302189 proto.RegisterType((*ValueSet)(nil), "voltha.ValueSet")
William Kurkian1b363f42019-03-12 15:28:12 -04002190 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2191 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2192 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2193 proto.RegisterType((*Membership)(nil), "voltha.Membership")
manikkaraj k166cb202019-07-28 13:05:56 -04002194 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianad745652019-03-20 08:45:51 -04002195}
2196
2197func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2198
2199var fileDescriptor_e084f1a60ce7016c = []byte{
dpaul2b52e712020-06-23 13:02:28 +05302200 // 2589 bytes of a gzipped FileDescriptorProto
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002201 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4b, 0x73, 0x1b, 0xc7,
dpaul2b52e712020-06-23 13:02:28 +05302202 0x11, 0x26, 0xf8, 0x66, 0x03, 0x24, 0x81, 0x01, 0x1f, 0x10, 0x48, 0xea, 0x31, 0xb6, 0x25, 0x86,
2203 0xb6, 0x00, 0x49, 0x94, 0x54, 0x8e, 0x14, 0x57, 0xcc, 0x97, 0x68, 0x44, 0xa2, 0x80, 0x2c, 0x48,
2204 0xc9, 0x49, 0xac, 0x42, 0x2d, 0xb0, 0x03, 0x70, 0x4b, 0x0b, 0x2c, 0xb2, 0x3b, 0xa0, 0xc4, 0x52,
2205 0xb9, 0x52, 0xe5, 0x3c, 0x9c, 0xbb, 0xef, 0x39, 0x25, 0x95, 0xaa, 0xfc, 0x17, 0x9f, 0x72, 0xca,
2206 0x35, 0x95, 0x43, 0x2e, 0xb9, 0xfa, 0x9c, 0x9a, 0x9e, 0x59, 0x60, 0x17, 0xbb, 0xcb, 0x87, 0xe3,
2207 0xaa, 0x9c, 0xc8, 0xed, 0xee, 0xf9, 0xfa, 0x35, 0xd3, 0xd3, 0xdb, 0x0b, 0xc8, 0x9f, 0xd8, 0x16,
2208 0x3f, 0xd6, 0x6b, 0x5d, 0xc7, 0xe6, 0xb6, 0x5b, 0x94, 0x4f, 0x05, 0x7c, 0x22, 0x93, 0xf2, 0x29,
2209 0xbf, 0xda, 0xb2, 0xed, 0x96, 0xc5, 0x8a, 0x7a, 0xd7, 0x2c, 0xea, 0x9d, 0x8e, 0xcd, 0x75, 0x6e,
2210 0xda, 0x1d, 0x57, 0x4a, 0xe5, 0x57, 0x14, 0x17, 0x9f, 0xea, 0xbd, 0x66, 0x91, 0xb5, 0xbb, 0xfc,
2211 0x54, 0x31, 0x73, 0x41, 0xf8, 0x36, 0xe3, 0x0a, 0x3c, 0x3f, 0xa4, 0xb8, 0x61, 0xb7, 0xdb, 0x76,
2212 0x27, 0x9a, 0x77, 0xcc, 0x74, 0x8b, 0x1f, 0x2b, 0x1e, 0x0d, 0xf2, 0x2c, 0xbb, 0x65, 0x36, 0x74,
2213 0xab, 0x66, 0xb0, 0x13, 0xb3, 0xc1, 0xa2, 0xd7, 0x07, 0x78, 0x2b, 0x41, 0x9e, 0x6e, 0xe8, 0x5d,
2214 0xce, 0x1c, 0xc5, 0xbc, 0x16, 0x64, 0xda, 0x5d, 0xd6, 0x69, 0x5a, 0xf6, 0x9b, 0xda, 0xdd, 0xcd,
2215 0x18, 0x81, 0x76, 0xc3, 0xac, 0xb5, 0xcd, 0x7a, 0xcd, 0xa8, 0x2b, 0x81, 0x1b, 0x11, 0x02, 0xba,
2216 0xa5, 0x3b, 0xed, 0x81, 0xc8, 0xd5, 0xa0, 0x08, 0x7b, 0xcb, 0x6b, 0x0d, 0xbb, 0xd3, 0x34, 0x5b,
2217 0x92, 0x4f, 0xff, 0x9c, 0x80, 0xe4, 0x2e, 0x9a, 0xbc, 0xef, 0xd8, 0xbd, 0x2e, 0x59, 0x84, 0x51,
2218 0xd3, 0xc8, 0x25, 0xae, 0x27, 0xd6, 0x67, 0xb6, 0x27, 0xfe, 0xfd, 0xdd, 0xb7, 0x6b, 0x09, 0x6d,
2219 0xd4, 0x34, 0x48, 0x09, 0xe6, 0x83, 0xce, 0xbb, 0xb9, 0xd1, 0xeb, 0x63, 0xeb, 0xc9, 0x7b, 0x8b,
2220 0x05, 0x95, 0xc5, 0x67, 0x92, 0x2d, 0xb1, 0xb6, 0x67, 0xfe, 0xf9, 0xdd, 0xb7, 0x6b, 0xe3, 0x02,
2221 0x4b, 0x9b, 0xb3, 0xfc, 0x1c, 0x97, 0x6c, 0xc2, 0x94, 0x07, 0x31, 0x86, 0x10, 0x73, 0x1e, 0x44,
2222 0x78, 0xad, 0x27, 0x49, 0x7f, 0x0c, 0x29, 0x9f, 0x95, 0x2e, 0xf9, 0x11, 0x4c, 0x98, 0x9c, 0xb5,
2223 0xdd, 0x5c, 0x02, 0x21, 0xb2, 0x41, 0x08, 0x14, 0xd2, 0xa4, 0x04, 0xfd, 0x53, 0x02, 0xc8, 0xde,
2224 0x09, 0xeb, 0xf0, 0x27, 0xa6, 0xc5, 0x99, 0xa3, 0xf5, 0x2c, 0xf6, 0x94, 0x9d, 0xd2, 0xaf, 0x13,
2225 0x90, 0x1d, 0x22, 0x1f, 0x9e, 0x76, 0x19, 0x99, 0x03, 0x68, 0x22, 0xa5, 0xa6, 0x5b, 0x56, 0x7a,
2226 0x84, 0xa4, 0x60, 0xba, 0xa1, 0x73, 0xd6, 0xb2, 0x9d, 0xd3, 0x74, 0x82, 0xa4, 0x21, 0xe5, 0xf6,
2227 0xea, 0xb5, 0x3e, 0x65, 0x94, 0x10, 0x98, 0x7b, 0xdd, 0x35, 0x6b, 0x4c, 0x40, 0xd5, 0xf8, 0x69,
2228 0x97, 0xa5, 0xc7, 0xc8, 0x22, 0x64, 0x64, 0x90, 0xfd, 0xe4, 0x71, 0x41, 0x96, 0xfe, 0xf8, 0xc9,
2229 0x13, 0xd4, 0x84, 0xf9, 0x21, 0x43, 0xc8, 0xa7, 0x30, 0xf6, 0x9a, 0x9d, 0x62, 0x1a, 0xe6, 0xee,
2230 0x15, 0x3c, 0xe7, 0xc2, 0x5e, 0x14, 0x22, 0x3c, 0xd0, 0xc4, 0x52, 0xb2, 0x00, 0x13, 0x27, 0xba,
2231 0xd5, 0x63, 0xb9, 0x51, 0x91, 0x4a, 0x4d, 0x3e, 0xd0, 0xbf, 0x26, 0x20, 0xe9, 0x5b, 0x12, 0x97,
2232 0xed, 0x25, 0x98, 0x64, 0x1d, 0xbd, 0x6e, 0xc9, 0xd5, 0xd3, 0x9a, 0x7a, 0x22, 0x2b, 0x30, 0xa3,
2233 0x1c, 0x30, 0x8d, 0xdc, 0x18, 0x02, 0x4f, 0x4b, 0x42, 0xc9, 0x20, 0x6b, 0x00, 0x03, 0xb7, 0x72,
2234 0xe3, 0xc8, 0x9d, 0x41, 0x0a, 0xc6, 0xf5, 0x36, 0x4c, 0x38, 0x3d, 0x8b, 0xb9, 0xb9, 0x09, 0xcc,
2235 0xd8, 0x72, 0x8c, 0x53, 0x9a, 0x94, 0xa2, 0x9f, 0x40, 0xca, 0xc7, 0x71, 0xc9, 0x6d, 0x98, 0x92,
2236 0x69, 0x09, 0xa5, 0xdc, 0x0f, 0xe0, 0xc9, 0xd0, 0xd7, 0x90, 0xda, 0xb1, 0x1d, 0x56, 0xea, 0xb8,
2237 0x5c, 0xef, 0x34, 0x18, 0xb9, 0x09, 0x49, 0x53, 0xfd, 0x5f, 0x1b, 0xf6, 0x18, 0x3c, 0x4e, 0xc9,
2238 0x20, 0x9b, 0x30, 0x29, 0x0b, 0x00, 0x7a, 0x9e, 0xbc, 0xb7, 0xe0, 0x69, 0xf9, 0x0c, 0xa9, 0x55,
2239 0xae, 0xf3, 0x9e, 0xbb, 0x3d, 0x21, 0x76, 0xe8, 0x88, 0xa6, 0x44, 0xe9, 0x63, 0x98, 0xf5, 0x2b,
2240 0x73, 0xc9, 0x46, 0x70, 0x77, 0xf6, 0x41, 0xfc, 0x52, 0xde, 0xf6, 0x7c, 0x00, 0xf3, 0xe5, 0x76,
2241 0xc3, 0x3c, 0x64, 0x2e, 0xd7, 0xd8, 0xaf, 0x7b, 0xcc, 0xe5, 0x64, 0x6e, 0x90, 0x15, 0x4c, 0x07,
2242 0x81, 0xf1, 0x5e, 0xcf, 0x34, 0x54, 0x2a, 0xf1, 0x7f, 0xfa, 0x1b, 0x48, 0xc9, 0x25, 0x6e, 0xd7,
2243 0xee, 0xb8, 0x8c, 0xfc, 0x14, 0x26, 0x1d, 0xe6, 0xf6, 0x2c, 0xae, 0x36, 0xcd, 0x2d, 0x4f, 0xa7,
2244 0x5f, 0x2a, 0xf0, 0xa0, 0xa1, 0xb8, 0xa6, 0x96, 0xd1, 0x02, 0x90, 0x30, 0x97, 0x24, 0x61, 0xaa,
2245 0x7a, 0xb4, 0xb3, 0xb3, 0x57, 0xad, 0xa6, 0x47, 0xc4, 0xc3, 0x93, 0xad, 0xd2, 0xb3, 0x23, 0x6d,
2246 0x2f, 0x9d, 0xa0, 0xaf, 0x60, 0xfa, 0x85, 0xd8, 0x53, 0x55, 0x16, 0x36, 0xf8, 0x63, 0x48, 0xc9,
2247 0x32, 0x24, 0x4f, 0x81, 0x8a, 0x65, 0xb6, 0xa0, 0x2a, 0xcf, 0x96, 0xe0, 0xed, 0xe0, 0xff, 0x9f,
2248 0x8d, 0x68, 0x49, 0x7d, 0xf0, 0xb8, 0x3d, 0xa5, 0xb6, 0x2d, 0xfd, 0xc7, 0x38, 0x4c, 0xbe, 0x40,
2249 0x0f, 0xc8, 0x35, 0x98, 0x3a, 0x61, 0x8e, 0x6b, 0xda, 0x9d, 0x60, 0xde, 0x3c, 0x2a, 0x79, 0x08,
2250 0xd3, 0xaa, 0xb2, 0x7a, 0x55, 0x69, 0xde, 0xf3, 0x7e, 0x4b, 0xd2, 0xfd, 0x35, 0xa5, 0x2f, 0x1b,
2251 0x55, 0xd4, 0xc6, 0xfe, 0xf7, 0xa2, 0x36, 0x7e, 0xd1, 0xa2, 0x46, 0x3e, 0x85, 0x94, 0x3a, 0x4e,
2252 0xe2, 0xc8, 0x78, 0x27, 0x83, 0x04, 0x57, 0x8a, 0xc3, 0xe3, 0x5f, 0x9d, 0x34, 0xfa, 0x64, 0x97,
2253 0xec, 0xc0, 0xac, 0x42, 0x68, 0x61, 0x5d, 0xcc, 0x4d, 0xc6, 0x96, 0x43, 0x3f, 0x86, 0x52, 0xab,
2254 0x6a, 0xe9, 0x0e, 0xcc, 0xca, 0x83, 0xeb, 0x1d, 0xb0, 0xa9, 0xd8, 0x03, 0x16, 0x00, 0x61, 0xfe,
2255 0xf3, 0xf9, 0x73, 0xc8, 0x0c, 0xee, 0x27, 0x9d, 0xeb, 0x75, 0xdd, 0x65, 0xb9, 0x55, 0x05, 0x24,
2256 0x38, 0x85, 0x03, 0xb3, 0x2e, 0xcd, 0xd9, 0xd5, 0xb9, 0xbe, 0x9d, 0x16, 0x40, 0x49, 0x5f, 0x3d,
2257 0xd1, 0xe6, 0x85, 0x94, 0x10, 0x52, 0xab, 0xc9, 0x4b, 0xc8, 0xfa, 0x6f, 0x34, 0x0f, 0x74, 0x4d,
2258 0xa5, 0x08, 0x41, 0x71, 0x2b, 0x9d, 0x09, 0x8b, 0x66, 0x49, 0x31, 0x85, 0x40, 0xff, 0x92, 0x80,
2259 0x74, 0x95, 0x59, 0xcd, 0x8b, 0x1d, 0xa0, 0x61, 0x49, 0x3f, 0xc1, 0x7f, 0x80, 0x2a, 0x30, 0x17,
2260 0xe4, 0xc4, 0x1f, 0x1e, 0x92, 0x81, 0xd9, 0xe7, 0xe5, 0xc3, 0x5a, 0xf5, 0xa8, 0x52, 0x29, 0x6b,
2261 0x87, 0x7b, 0xbb, 0xe9, 0x51, 0x41, 0x3a, 0x7a, 0xfe, 0xf4, 0x79, 0xf9, 0xe5, 0xf3, 0xda, 0x9e,
2262 0xa6, 0x95, 0xb5, 0xf4, 0x18, 0x2d, 0x43, 0xa6, 0xdc, 0xdc, 0x6a, 0xb1, 0x0e, 0xaf, 0xf6, 0xea,
2263 0x6e, 0xc3, 0x31, 0xeb, 0xcc, 0x11, 0x65, 0xd6, 0x6e, 0xea, 0x82, 0xd8, 0x2f, 0x64, 0xda, 0x8c,
2264 0xa2, 0x94, 0x0c, 0x51, 0xa2, 0xd5, 0x8d, 0xdf, 0x2f, 0x18, 0xd3, 0x92, 0x50, 0x32, 0xe8, 0x63,
2265 0x80, 0x03, 0xd6, 0xae, 0x33, 0xc7, 0x3d, 0x36, 0xbb, 0x02, 0x09, 0x77, 0x4d, 0xad, 0xa3, 0xb7,
2266 0x99, 0x87, 0x84, 0x94, 0xe7, 0x7a, 0x9b, 0xa9, 0x43, 0x3d, 0xea, 0x1d, 0x6a, 0xba, 0x07, 0xa9,
2267 0x27, 0x96, 0xfd, 0xe6, 0x80, 0x71, 0x5d, 0xe4, 0x82, 0x3c, 0x80, 0xc9, 0x36, 0xf3, 0x15, 0xe4,
2268 0xb5, 0x82, 0xbf, 0x83, 0xb1, 0x9b, 0xdd, 0x1a, 0xb2, 0x55, 0x0d, 0xd0, 0x94, 0xf0, 0xbd, 0xff,
2269 0x14, 0x61, 0x56, 0x1e, 0xec, 0x2a, 0x73, 0x44, 0x92, 0xc8, 0x4b, 0x98, 0xdd, 0x67, 0xdc, 0x67,
2270 0xd8, 0x52, 0x41, 0x76, 0x79, 0x05, 0xaf, 0xcb, 0x2b, 0xec, 0x89, 0x2e, 0x2f, 0xdf, 0x3f, 0x19,
2271 0x03, 0x59, 0x9a, 0xff, 0xea, 0xef, 0xff, 0xfa, 0x66, 0x74, 0x81, 0x10, 0x6c, 0x18, 0x4f, 0xee,
2272 0x16, 0xdb, 0x03, 0x9c, 0x57, 0x90, 0x3e, 0xea, 0x1a, 0x3a, 0x67, 0x3e, 0xec, 0x08, 0x8c, 0x7c,
2273 0x8c, 0x3e, 0xba, 0x86, 0xd8, 0xcb, 0x34, 0x02, 0xfb, 0x51, 0x62, 0x83, 0xec, 0xc2, 0xcc, 0x3e,
2274 0xe3, 0xaa, 0x48, 0xc5, 0xd9, 0xdc, 0xaf, 0x03, 0x52, 0x8e, 0xce, 0x23, 0xe6, 0x0c, 0x99, 0x52,
2275 0x98, 0xe4, 0x15, 0x64, 0x9e, 0x99, 0x2e, 0x0f, 0x5e, 0x20, 0x71, 0x68, 0x8b, 0x51, 0x37, 0x89,
2276 0x4b, 0xaf, 0x20, 0x68, 0x96, 0x64, 0x3c, 0x43, 0xcd, 0x3e, 0x52, 0x15, 0xe6, 0xf7, 0x59, 0x00,
2277 0x9d, 0x40, 0x41, 0xf5, 0xbf, 0xa5, 0xdd, 0x7c, 0xe4, 0xd5, 0x44, 0xaf, 0x22, 0x5e, 0x8e, 0x2c,
2278 0x85, 0xf0, 0x8a, 0xef, 0x4c, 0xe3, 0x4b, 0xa2, 0x41, 0x4a, 0xd8, 0xbc, 0xe5, 0x15, 0xd2, 0x38,
2279 0x73, 0xd3, 0x43, 0x65, 0xd8, 0xa5, 0x39, 0x44, 0x26, 0x24, 0xed, 0x21, 0xf7, 0x8b, 0x31, 0x03,
2280 0x22, 0x30, 0x9f, 0x05, 0xeb, 0x6a, 0x1c, 0xf2, 0x52, 0x64, 0x85, 0x76, 0xe9, 0x35, 0xc4, 0xbf,
2281 0x42, 0x96, 0x3d, 0xfc, 0xa1, 0x02, 0x4f, 0x7e, 0x05, 0xe9, 0x7d, 0x16, 0xd4, 0x12, 0x08, 0x48,
2282 0x74, 0xe9, 0xa7, 0xef, 0x23, 0xee, 0x55, 0xb2, 0x1a, 0x83, 0x2b, 0xe3, 0xd2, 0x84, 0xa5, 0x90,
2283 0x0f, 0x15, 0xdb, 0xe1, 0x6e, 0x74, 0xcc, 0x95, 0x1c, 0x4a, 0xd0, 0x0d, 0xd4, 0xf0, 0x3e, 0xa1,
2284 0x67, 0x69, 0x28, 0x76, 0x11, 0xed, 0x2d, 0x2c, 0x0c, 0x3b, 0x21, 0x40, 0xc8, 0x62, 0x04, 0x72,
2285 0xc9, 0xc8, 0x67, 0x23, 0xc8, 0xf4, 0x3e, 0xea, 0x2b, 0x90, 0x8f, 0xce, 0xd7, 0x57, 0x7c, 0x27,
2286 0xfe, 0xd4, 0x84, 0x87, 0xbf, 0x4f, 0xc0, 0xf2, 0x1e, 0x36, 0x83, 0x17, 0xd6, 0x1e, 0x77, 0xba,
2287 0x1e, 0xa3, 0x01, 0x0f, 0xe8, 0xe6, 0x65, 0x0c, 0x28, 0xaa, 0x4e, 0xf4, 0xeb, 0x04, 0xe4, 0x76,
2288 0x4d, 0xf7, 0x07, 0x31, 0xe4, 0x27, 0x68, 0xc8, 0x43, 0x7a, 0xff, 0x52, 0x86, 0x18, 0x52, 0x3b,
2289 0x31, 0x22, 0x72, 0x2e, 0xea, 0x64, 0x30, 0xe7, 0x24, 0x50, 0x1c, 0x91, 0x7f, 0xc1, 0x8c, 0x37,
2290 0x11, 0xeb, 0xb7, 0x09, 0x58, 0x95, 0xb5, 0x2c, 0xa4, 0xe8, 0x10, 0xcd, 0x58, 0x0d, 0x29, 0x40,
2291 0xba, 0x5c, 0x13, 0xeb, 0xfa, 0x6d, 0x34, 0xe1, 0x16, 0xbd, 0x80, 0x09, 0xa2, 0xe2, 0xfd, 0x2e,
2292 0x01, 0x6b, 0x11, 0x56, 0x1c, 0x88, 0xca, 0x2e, 0xcd, 0x58, 0x09, 0x98, 0x81, 0x8c, 0x03, 0xdb,
2293 0x38, 0xc7, 0x8a, 0x02, 0x5a, 0xb1, 0x4e, 0xdf, 0x3b, 0xd3, 0x0a, 0x79, 0x7f, 0x08, 0x33, 0x5a,
2294 0xb0, 0x1c, 0x0a, 0x39, 0xaa, 0x0a, 0xc6, 0x3c, 0x1b, 0xb6, 0xc5, 0xa5, 0x1f, 0xa2, 0xae, 0x0f,
2295 0xc8, 0x45, 0x74, 0x11, 0x0e, 0x2b, 0x91, 0xb9, 0x55, 0x8d, 0x93, 0x5f, 0xd9, 0x72, 0x28, 0xfe,
2296 0x52, 0x88, 0xde, 0x41, 0x85, 0x1b, 0x64, 0xfd, 0xdc, 0x10, 0xab, 0x1e, 0x8e, 0x7c, 0x93, 0x80,
2297 0x1b, 0x31, 0xb9, 0x46, 0x4c, 0x19, 0xe9, 0x1b, 0xd1, 0x0a, 0x2f, 0x92, 0xf5, 0x4d, 0x34, 0xe9,
2298 0x36, 0xbd, 0xb0, 0x49, 0x22, 0xe8, 0x65, 0x48, 0x8a, 0x58, 0x9c, 0x57, 0x98, 0xe7, 0x83, 0xad,
2299 0xa7, 0x4b, 0x97, 0x51, 0x59, 0x86, 0xcc, 0x7b, 0xca, 0xbc, 0x4a, 0x5c, 0x86, 0xd9, 0x01, 0x60,
2300 0xc9, 0x88, 0x87, 0x4c, 0x0e, 0xc2, 0x1c, 0x71, 0xd5, 0x49, 0x38, 0xd3, 0x70, 0xc9, 0x11, 0xa4,
2301 0x35, 0xd6, 0xb0, 0x3b, 0x0d, 0xd3, 0x62, 0x9e, 0x99, 0xfe, 0xb5, 0xb1, 0xf1, 0x58, 0x45, 0xcc,
2302 0x25, 0x1a, 0xc6, 0x14, 0x8e, 0xef, 0xe1, 0x35, 0x1f, 0x71, 0x55, 0x0c, 0xb5, 0xf8, 0x1e, 0x0c,
2303 0x59, 0x18, 0xf2, 0x54, 0xde, 0x0d, 0x3f, 0x83, 0xd4, 0x8e, 0xc3, 0x74, 0xae, 0x4c, 0x23, 0x43,
2304 0xab, 0x43, 0x68, 0xaa, 0xb1, 0xa1, 0xc3, 0x71, 0x13, 0x26, 0xbd, 0x84, 0x94, 0x2c, 0xc2, 0x11,
2305 0x56, 0xc5, 0x39, 0xf9, 0x1e, 0xe2, 0xad, 0xd1, 0x95, 0x28, 0xeb, 0xbc, 0xb2, 0xfa, 0x0b, 0x98,
2306 0x55, 0x55, 0xf5, 0x12, 0xc8, 0xea, 0x6e, 0xa4, 0xab, 0x91, 0xc8, 0x5e, 0x9d, 0x7c, 0x09, 0x29,
2307 0x8d, 0xd5, 0x6d, 0x9b, 0xff, 0x60, 0x36, 0x3b, 0x08, 0x27, 0x80, 0x77, 0x99, 0xc5, 0xf8, 0xf7,
2308 0x08, 0xc6, 0x46, 0x34, 0xb0, 0x81, 0x70, 0xa4, 0x07, 0xb3, 0xbb, 0xf6, 0x9b, 0x8e, 0x65, 0xeb,
2309 0x46, 0xa9, 0xad, 0xb7, 0xd8, 0xe0, 0x5e, 0xc1, 0x47, 0x8f, 0x97, 0x5f, 0xf4, 0x14, 0x96, 0xbb,
2310 0xcc, 0xc1, 0x69, 0xa5, 0x78, 0x55, 0xa0, 0x0f, 0x51, 0xc7, 0x1d, 0xfa, 0x61, 0xa4, 0x0e, 0x53,
2311 0x40, 0xd4, 0x0c, 0x85, 0xe1, 0x16, 0xdf, 0x89, 0x26, 0xfc, 0x4b, 0x91, 0xdc, 0xaf, 0x12, 0xb0,
2312 0xb4, 0xcf, 0x78, 0x40, 0x87, 0x9c, 0x3b, 0xc4, 0x1b, 0x10, 0x45, 0xa6, 0x8f, 0xd0, 0x80, 0xfb,
2313 0xe4, 0xde, 0x25, 0x0c, 0x28, 0xba, 0x52, 0x53, 0x0f, 0xdb, 0xa4, 0x00, 0xde, 0x25, 0xb5, 0xab,
2314 0x22, 0x43, 0x2e, 0xe3, 0x3e, 0x69, 0xca, 0x26, 0x30, 0x80, 0xe4, 0x0e, 0x65, 0x34, 0x4a, 0x9b,
2315 0x4b, 0x3f, 0x42, 0x75, 0x37, 0xc9, 0xfb, 0x17, 0x51, 0x47, 0xde, 0x42, 0x76, 0x47, 0xf4, 0xb3,
2316 0xd6, 0x05, 0x3d, 0x8c, 0x4c, 0xb0, 0xf2, 0x70, 0xe3, 0x52, 0x1e, 0xfe, 0x31, 0x01, 0xd9, 0xad,
2317 0x06, 0x37, 0x4f, 0x74, 0xce, 0x50, 0x8b, 0xac, 0xd5, 0x97, 0x54, 0xbd, 0x83, 0xaa, 0x3f, 0xa1,
2318 0x1f, 0x5f, 0x26, 0xb5, 0x92, 0xdc, 0x43, 0x7d, 0x62, 0xa3, 0xfd, 0x21, 0x01, 0x19, 0x8d, 0x9d,
2319 0x30, 0x87, 0xff, 0x5f, 0x0c, 0x71, 0x50, 0xb5, 0x30, 0xa4, 0x02, 0xf3, 0x83, 0x9b, 0x20, 0xdc,
2320 0x2f, 0xcf, 0x7a, 0x16, 0xc9, 0x46, 0x99, 0xa2, 0xca, 0x55, 0x92, 0x8f, 0x54, 0x29, 0x1b, 0xe4,
2321 0x57, 0x90, 0xf5, 0x21, 0xaa, 0xe1, 0x52, 0x10, 0x35, 0xd3, 0x47, 0xf5, 0xd8, 0xf4, 0x16, 0x22,
2322 0xdf, 0x20, 0xd7, 0xa2, 0x91, 0xbd, 0x71, 0x96, 0x4b, 0x3a, 0xb0, 0x28, 0xa3, 0x35, 0xac, 0x20,
2323 0x0c, 0x1a, 0x5b, 0x82, 0x54, 0xf7, 0x47, 0xcf, 0x53, 0x26, 0x02, 0x74, 0xe4, 0x0f, 0xd0, 0xc5,
2324 0x9a, 0xcb, 0xb3, 0xa3, 0x24, 0x9b, 0x4a, 0x06, 0x0b, 0x41, 0xd8, 0xcb, 0xf4, 0x35, 0xeb, 0xa8,
2325 0x80, 0x92, 0xeb, 0xb1, 0x0a, 0xbc, 0x7e, 0xe6, 0x0b, 0xbf, 0xf5, 0x72, 0x6e, 0x15, 0x77, 0xd5,
2326 0x67, 0xc3, 0xb3, 0x2f, 0x37, 0xee, 0x5e, 0x95, 0x43, 0x33, 0xa2, 0xe1, 0xf4, 0x60, 0x20, 0x3f,
2327 0x14, 0x99, 0x10, 0x1e, 0xbd, 0x81, 0x70, 0x2b, 0xe4, 0x4a, 0x14, 0x9c, 0xbc, 0xab, 0x6b, 0x90,
2328 0x1e, 0x58, 0xac, 0x82, 0x12, 0x67, 0xf2, 0x42, 0xc4, 0xac, 0xcd, 0xf5, 0x46, 0x07, 0x64, 0x71,
2329 0x48, 0x89, 0x0a, 0xc9, 0x13, 0x48, 0x57, 0xb9, 0xc3, 0xf4, 0x76, 0x45, 0x6f, 0xbc, 0x66, 0xdc,
2330 0x2d, 0xf7, 0x38, 0x59, 0x0a, 0x44, 0x5a, 0x32, 0xca, 0x3d, 0x1e, 0xbb, 0x81, 0x46, 0xd6, 0x13,
2331 0x64, 0x0f, 0x5b, 0x1e, 0x66, 0x9e, 0x30, 0x05, 0x54, 0xea, 0x9c, 0x31, 0x3b, 0x08, 0xe3, 0x97,
2332 0x3a, 0x74, 0xe4, 0x4e, 0x82, 0x3c, 0x85, 0xac, 0x82, 0xd9, 0x39, 0xd6, 0x3b, 0x2d, 0x86, 0x13,
2333 0xbf, 0x78, 0x97, 0x73, 0x01, 0x24, 0xdf, 0x12, 0x04, 0x3b, 0x82, 0xb9, 0x7e, 0x42, 0xe4, 0x37,
2334 0xa5, 0x60, 0x53, 0x1e, 0x0e, 0x57, 0xdc, 0x66, 0x55, 0xd1, 0xf2, 0x72, 0x92, 0x91, 0xfd, 0x93,
2335 0xff, 0xfb, 0x45, 0xd4, 0x8c, 0x32, 0x1f, 0x45, 0xa4, 0xd7, 0x51, 0x45, 0x9e, 0xf6, 0x13, 0x12,
2336 0x18, 0x79, 0x8a, 0x43, 0xf6, 0x02, 0xed, 0xf6, 0xa3, 0x47, 0xbe, 0xb4, 0xfb, 0xbf, 0x4a, 0x84,
2337 0x0d, 0x0f, 0xa0, 0x4a, 0xc3, 0x0d, 0xc8, 0xc8, 0x62, 0xf1, 0xfd, 0x0c, 0xff, 0x00, 0x55, 0x5c,
2338 0xcb, 0x9f, 0xa1, 0x42, 0x58, 0x6f, 0x40, 0x46, 0x76, 0x41, 0xe7, 0x6a, 0x89, 0xdb, 0x4f, 0xca,
2339 0x97, 0x8d, 0xb3, 0x7c, 0x51, 0x07, 0x23, 0xf0, 0x65, 0xe6, 0xdc, 0x83, 0x11, 0x88, 0x58, 0xe8,
2340 0x60, 0x04, 0xb4, 0x90, 0x67, 0xd8, 0x6c, 0xe3, 0xd5, 0xe3, 0x46, 0x37, 0xdb, 0x92, 0xe7, 0x75,
2341 0x70, 0x64, 0x25, 0xfe, 0xe2, 0x71, 0xc9, 0xe7, 0x30, 0xed, 0x8d, 0x64, 0x03, 0x60, 0xb9, 0xb8,
2342 0xd9, 0x2e, 0xbd, 0x89, 0xb0, 0xd7, 0xe9, 0xd5, 0x48, 0x58, 0x97, 0x59, 0xcd, 0x1a, 0x17, 0x68,
2343 0x2f, 0xb0, 0x3f, 0x0a, 0x8c, 0xb4, 0x87, 0xdf, 0x3d, 0x43, 0x33, 0xef, 0x70, 0xe5, 0x11, 0xc7,
2344 0x48, 0xc8, 0xa9, 0x97, 0x4e, 0xb3, 0x4e, 0xbe, 0x00, 0xb2, 0xcf, 0xf8, 0xd0, 0x54, 0x7b, 0x68,
2345 0x40, 0x15, 0x35, 0xf8, 0x0e, 0xc7, 0x23, 0x88, 0x8d, 0x33, 0x74, 0xe2, 0xc2, 0x6c, 0xd5, 0x6c,
2346 0xf7, 0x2c, 0x9d, 0x33, 0x5c, 0x4f, 0x56, 0xfb, 0x81, 0xf0, 0x93, 0xd5, 0x77, 0xa8, 0xb8, 0x3b,
2347 0x3f, 0x34, 0x34, 0x08, 0xc6, 0x48, 0x21, 0xd5, 0x04, 0x92, 0xd8, 0x99, 0x3b, 0x30, 0xd3, 0x1f,
2348 0x5f, 0x93, 0x2b, 0x9e, 0xc2, 0xd0, 0x60, 0x3b, 0x1f, 0xcf, 0xa2, 0x23, 0xe4, 0x00, 0x40, 0xbe,
2349 0xf1, 0xe0, 0x80, 0x27, 0xe5, 0xef, 0x08, 0x62, 0x37, 0xb4, 0x7a, 0x55, 0xa4, 0x73, 0xc2, 0xc6,
2350 0xc1, 0x6a, 0xf5, 0x32, 0xab, 0xde, 0x73, 0x2e, 0x81, 0x37, 0x78, 0x23, 0x3b, 0xb9, 0x5b, 0xf4,
2351 0x2d, 0x17, 0x80, 0x9f, 0x43, 0x52, 0x14, 0x8f, 0xb7, 0x1c, 0xbf, 0x89, 0x91, 0x25, 0x2f, 0x72,
2352 0xf2, 0x13, 0x59, 0x97, 0x35, 0xcc, 0xa6, 0xc9, 0x9c, 0xfc, 0x82, 0x47, 0xd7, 0x18, 0xef, 0x39,
2353 0x1d, 0xe4, 0xba, 0x74, 0x05, 0x81, 0x17, 0x49, 0xd6, 0x0b, 0xa8, 0x1f, 0xea, 0x10, 0x92, 0x55,
2354 0xdf, 0x63, 0x7f, 0xa4, 0xea, 0x7d, 0x7c, 0x8b, 0x35, 0x37, 0x84, 0xea, 0x87, 0x39, 0x86, 0x6c,
2355 0x95, 0xeb, 0x0e, 0xf7, 0x3e, 0x3d, 0x8a, 0x96, 0xd4, 0xee, 0x90, 0xfe, 0x57, 0xd9, 0xa1, 0x4f,
2356 0x92, 0x83, 0xc3, 0x1c, 0x38, 0x2d, 0xaa, 0x64, 0xd0, 0xfe, 0xb4, 0xd5, 0x15, 0x98, 0x35, 0xfc,
2357 0x6a, 0x23, 0x8e, 0xc9, 0xa3, 0xc4, 0xc6, 0xb6, 0x05, 0x59, 0xdb, 0x69, 0xe1, 0x8d, 0xd1, 0xb0,
2358 0x1d, 0x43, 0xe1, 0x6c, 0xa7, 0xe4, 0x3c, 0xbc, 0x82, 0x3f, 0x4b, 0xf8, 0x65, 0xa1, 0x65, 0xf2,
2359 0xe3, 0x5e, 0x5d, 0x44, 0xa7, 0xe8, 0x49, 0xaa, 0x9f, 0x87, 0xdc, 0xf6, 0x7e, 0x2c, 0xb2, 0x59,
2360 0x6c, 0xd9, 0x8a, 0xf6, 0xb7, 0xd1, 0xa5, 0xb2, 0x87, 0xf7, 0xc2, 0x3f, 0x5e, 0xaf, 0x8c, 0x56,
2361 0xc6, 0x2a, 0xe3, 0x95, 0x89, 0xca, 0x64, 0x65, 0xaa, 0x32, 0x5d, 0x9f, 0xc4, 0xb5, 0x9b, 0xff,
2362 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x88, 0xe2, 0x00, 0x78, 0x22, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002363}
2364
2365// Reference imports to suppress errors if they are not otherwise used.
2366var _ context.Context
2367var _ grpc.ClientConn
2368
2369// This is a compile-time assertion to ensure that this generated file
2370// is compatible with the grpc package it is being compiled against.
2371const _ = grpc.SupportPackageIsVersion4
2372
2373// VolthaServiceClient is the client API for VolthaService service.
2374//
2375// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2376type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -04002377 // Get the membership group of a Voltha Core
2378 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2379 // Set the membership group of a Voltha Core
2380 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2381 // Get high level information on the Voltha cluster
2382 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2383 // List all Voltha cluster core instances
2384 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2385 // Get details on a Voltha cluster instance
2386 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2387 // List all active adapters (plugins) in the Voltha cluster
2388 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2389 // List all logical devices managed by the Voltha cluster
2390 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2391 // Get additional information on a given logical device
2392 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2393 // List ports of a logical device
2394 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2395 // Gets a logical device port
2396 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2397 // Enables a logical device port
2398 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2399 // Disables a logical device port
2400 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2401 // List all flows of a logical device
2402 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2403 // Update flow table for logical device
2404 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2405 // Update meter table for logical device
2406 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002407 // List all meters of a logical device
2408 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002409 // List all flow groups of a logical device
2410 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2411 // Update group table for device
2412 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2413 // List all physical devices controlled by the Voltha cluster
2414 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2415 // List all physical devices IDs controlled by the Voltha cluster
2416 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2417 // Request to a voltha Core to reconcile a set of devices based on their IDs
2418 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2419 // Get more information on a given physical device
2420 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2421 // Pre-provision a new physical device
2422 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2423 // Enable a device. If the device was in pre-provisioned state then it
2424 // will transition to ENABLED state. If it was is DISABLED state then it
2425 // will transition to ENABLED state as well.
2426 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2427 // Disable a device
2428 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2429 // Reboot a device
2430 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2431 // Delete a device
2432 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2433 // Request an image download to the standby partition
2434 // of a device.
2435 // Note that the call is expected to be non-blocking.
2436 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2437 // Get image download status on a device
2438 // The request retrieves progress on device and updates db record
2439 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2440 // Get image download db record
2441 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2442 // List image download db records for a given device
2443 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2444 // Cancel an existing image download process on a device
2445 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2446 // Activate the specified image at a standby partition
2447 // to active partition.
2448 // Depending on the device implementation, this call
2449 // may or may not cause device reboot.
2450 // If no reboot, then a reboot is required to make the
2451 // activated image running on device
2452 // Note that the call is expected to be non-blocking.
2453 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2454 // Revert the specified image at standby partition
2455 // to active partition, and revert to previous image
2456 // Depending on the device implementation, this call
2457 // may or may not cause device reboot.
2458 // If no reboot, then a reboot is required to make the
2459 // previous image running on device
2460 // Note that the call is expected to be non-blocking.
2461 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2462 // List ports of a device
2463 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2464 // List pm config of a device
2465 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2466 // Update the pm config of a device
2467 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2468 // List all flows of a device
2469 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2470 // List all flow groups of a device
2471 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2472 // List device types known to Voltha
2473 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2474 // Get additional information on a device type
2475 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2476 // List all device sharding groups
2477 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2478 // Stream control packets to the dataplane
2479 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2480 // Receive control packet stream
2481 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2482 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2483 // Get additional information on a device group
2484 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002485 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2486 // Get all filters present for a device
2487 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2488 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2489 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2490 // Get all the filters present
2491 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002492 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2493 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2494 // OpenOMCI MIB information
2495 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2496 // OpenOMCI ALARM information
2497 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2498 // Simulate an Alarm
2499 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2500 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05002501 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2502 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002503 GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error)
dpaul2b52e712020-06-23 13:02:28 +05302504 SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302505 // omci start and stop cli implementation
2506 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002507}
2508
2509type volthaServiceClient struct {
2510 cc *grpc.ClientConn
2511}
2512
2513func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2514 return &volthaServiceClient{cc}
2515}
2516
William Kurkian1b363f42019-03-12 15:28:12 -04002517func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2518 out := new(Membership)
2519 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2520 if err != nil {
2521 return nil, err
2522 }
2523 return out, nil
2524}
2525
2526func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2527 out := new(empty.Empty)
2528 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2529 if err != nil {
2530 return nil, err
2531 }
2532 return out, nil
2533}
2534
2535func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2536 out := new(Voltha)
2537 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2538 if err != nil {
2539 return nil, err
2540 }
2541 return out, nil
2542}
2543
2544func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2545 out := new(CoreInstances)
2546 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2547 if err != nil {
2548 return nil, err
2549 }
2550 return out, nil
2551}
2552
2553func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2554 out := new(CoreInstance)
2555 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2556 if err != nil {
2557 return nil, err
2558 }
2559 return out, nil
2560}
2561
2562func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2563 out := new(Adapters)
2564 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2565 if err != nil {
2566 return nil, err
2567 }
2568 return out, nil
2569}
2570
2571func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2572 out := new(LogicalDevices)
2573 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2574 if err != nil {
2575 return nil, err
2576 }
2577 return out, nil
2578}
2579
2580func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2581 out := new(LogicalDevice)
2582 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2583 if err != nil {
2584 return nil, err
2585 }
2586 return out, nil
2587}
2588
2589func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2590 out := new(LogicalPorts)
2591 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2592 if err != nil {
2593 return nil, err
2594 }
2595 return out, nil
2596}
2597
2598func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2599 out := new(LogicalPort)
2600 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2601 if err != nil {
2602 return nil, err
2603 }
2604 return out, nil
2605}
2606
2607func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2608 out := new(empty.Empty)
2609 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2610 if err != nil {
2611 return nil, err
2612 }
2613 return out, nil
2614}
2615
2616func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2617 out := new(empty.Empty)
2618 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2619 if err != nil {
2620 return nil, err
2621 }
2622 return out, nil
2623}
2624
2625func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2626 out := new(openflow_13.Flows)
2627 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2628 if err != nil {
2629 return nil, err
2630 }
2631 return out, nil
2632}
2633
2634func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2635 out := new(empty.Empty)
2636 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2637 if err != nil {
2638 return nil, err
2639 }
2640 return out, nil
2641}
2642
2643func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2644 out := new(empty.Empty)
2645 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2646 if err != nil {
2647 return nil, err
2648 }
2649 return out, nil
2650}
2651
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002652func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2653 out := new(openflow_13.Meters)
2654 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002655 if err != nil {
2656 return nil, err
2657 }
2658 return out, nil
2659}
2660
2661func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2662 out := new(openflow_13.FlowGroups)
2663 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2664 if err != nil {
2665 return nil, err
2666 }
2667 return out, nil
2668}
2669
2670func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2671 out := new(empty.Empty)
2672 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2673 if err != nil {
2674 return nil, err
2675 }
2676 return out, nil
2677}
2678
2679func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2680 out := new(Devices)
2681 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2682 if err != nil {
2683 return nil, err
2684 }
2685 return out, nil
2686}
2687
2688func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2689 out := new(common.IDs)
2690 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2691 if err != nil {
2692 return nil, err
2693 }
2694 return out, nil
2695}
2696
2697func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2698 out := new(empty.Empty)
2699 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2700 if err != nil {
2701 return nil, err
2702 }
2703 return out, nil
2704}
2705
2706func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2707 out := new(Device)
2708 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2709 if err != nil {
2710 return nil, err
2711 }
2712 return out, nil
2713}
2714
2715func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2716 out := new(Device)
2717 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2718 if err != nil {
2719 return nil, err
2720 }
2721 return out, nil
2722}
2723
2724func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2725 out := new(empty.Empty)
2726 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2727 if err != nil {
2728 return nil, err
2729 }
2730 return out, nil
2731}
2732
2733func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2734 out := new(empty.Empty)
2735 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2736 if err != nil {
2737 return nil, err
2738 }
2739 return out, nil
2740}
2741
2742func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2743 out := new(empty.Empty)
2744 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2745 if err != nil {
2746 return nil, err
2747 }
2748 return out, nil
2749}
2750
2751func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2752 out := new(empty.Empty)
2753 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2754 if err != nil {
2755 return nil, err
2756 }
2757 return out, nil
2758}
2759
2760func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2761 out := new(common.OperationResp)
2762 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2763 if err != nil {
2764 return nil, err
2765 }
2766 return out, nil
2767}
2768
2769func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2770 out := new(ImageDownload)
2771 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2772 if err != nil {
2773 return nil, err
2774 }
2775 return out, nil
2776}
2777
2778func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2779 out := new(ImageDownload)
2780 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2781 if err != nil {
2782 return nil, err
2783 }
2784 return out, nil
2785}
2786
2787func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2788 out := new(ImageDownloads)
2789 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2790 if err != nil {
2791 return nil, err
2792 }
2793 return out, nil
2794}
2795
2796func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2797 out := new(common.OperationResp)
2798 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2799 if err != nil {
2800 return nil, err
2801 }
2802 return out, nil
2803}
2804
2805func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2806 out := new(common.OperationResp)
2807 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2808 if err != nil {
2809 return nil, err
2810 }
2811 return out, nil
2812}
2813
2814func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2815 out := new(common.OperationResp)
2816 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2817 if err != nil {
2818 return nil, err
2819 }
2820 return out, nil
2821}
2822
2823func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2824 out := new(Ports)
2825 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2826 if err != nil {
2827 return nil, err
2828 }
2829 return out, nil
2830}
2831
2832func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2833 out := new(PmConfigs)
2834 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2835 if err != nil {
2836 return nil, err
2837 }
2838 return out, nil
2839}
2840
2841func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2842 out := new(empty.Empty)
2843 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2844 if err != nil {
2845 return nil, err
2846 }
2847 return out, nil
2848}
2849
2850func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2851 out := new(openflow_13.Flows)
2852 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2853 if err != nil {
2854 return nil, err
2855 }
2856 return out, nil
2857}
2858
2859func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2860 out := new(openflow_13.FlowGroups)
2861 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2862 if err != nil {
2863 return nil, err
2864 }
2865 return out, nil
2866}
2867
2868func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2869 out := new(DeviceTypes)
2870 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2871 if err != nil {
2872 return nil, err
2873 }
2874 return out, nil
2875}
2876
2877func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2878 out := new(DeviceType)
2879 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2880 if err != nil {
2881 return nil, err
2882 }
2883 return out, nil
2884}
2885
2886func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2887 out := new(DeviceGroups)
2888 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2889 if err != nil {
2890 return nil, err
2891 }
2892 return out, nil
2893}
2894
2895func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2896 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2897 if err != nil {
2898 return nil, err
2899 }
2900 x := &volthaServiceStreamPacketsOutClient{stream}
2901 return x, nil
2902}
2903
2904type VolthaService_StreamPacketsOutClient interface {
2905 Send(*openflow_13.PacketOut) error
2906 CloseAndRecv() (*empty.Empty, error)
2907 grpc.ClientStream
2908}
2909
2910type volthaServiceStreamPacketsOutClient struct {
2911 grpc.ClientStream
2912}
2913
2914func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2915 return x.ClientStream.SendMsg(m)
2916}
2917
2918func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2919 if err := x.ClientStream.CloseSend(); err != nil {
2920 return nil, err
2921 }
2922 m := new(empty.Empty)
2923 if err := x.ClientStream.RecvMsg(m); err != nil {
2924 return nil, err
2925 }
2926 return m, nil
2927}
2928
2929func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2930 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2931 if err != nil {
2932 return nil, err
2933 }
2934 x := &volthaServiceReceivePacketsInClient{stream}
2935 if err := x.ClientStream.SendMsg(in); err != nil {
2936 return nil, err
2937 }
2938 if err := x.ClientStream.CloseSend(); err != nil {
2939 return nil, err
2940 }
2941 return x, nil
2942}
2943
2944type VolthaService_ReceivePacketsInClient interface {
2945 Recv() (*openflow_13.PacketIn, error)
2946 grpc.ClientStream
2947}
2948
2949type volthaServiceReceivePacketsInClient struct {
2950 grpc.ClientStream
2951}
2952
2953func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2954 m := new(openflow_13.PacketIn)
2955 if err := x.ClientStream.RecvMsg(m); err != nil {
2956 return nil, err
2957 }
2958 return m, nil
2959}
2960
2961func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2962 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2963 if err != nil {
2964 return nil, err
2965 }
2966 x := &volthaServiceReceiveChangeEventsClient{stream}
2967 if err := x.ClientStream.SendMsg(in); err != nil {
2968 return nil, err
2969 }
2970 if err := x.ClientStream.CloseSend(); err != nil {
2971 return nil, err
2972 }
2973 return x, nil
2974}
2975
2976type VolthaService_ReceiveChangeEventsClient interface {
2977 Recv() (*openflow_13.ChangeEvent, error)
2978 grpc.ClientStream
2979}
2980
2981type volthaServiceReceiveChangeEventsClient struct {
2982 grpc.ClientStream
2983}
2984
2985func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2986 m := new(openflow_13.ChangeEvent)
2987 if err := x.ClientStream.RecvMsg(m); err != nil {
2988 return nil, err
2989 }
2990 return m, nil
2991}
2992
2993func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2994 out := new(DeviceGroup)
2995 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2996 if err != nil {
2997 return nil, err
2998 }
2999 return out, nil
3000}
3001
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003002func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3003 out := new(EventFilter)
3004 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003005 if err != nil {
3006 return nil, err
3007 }
3008 return out, nil
3009}
3010
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003011func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
3012 out := new(EventFilters)
3013 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003014 if err != nil {
3015 return nil, err
3016 }
3017 return out, nil
3018}
3019
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003020func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3021 out := new(EventFilter)
3022 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003023 if err != nil {
3024 return nil, err
3025 }
3026 return out, nil
3027}
3028
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003029func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003030 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003031 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003032 if err != nil {
3033 return nil, err
3034 }
3035 return out, nil
3036}
3037
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003038func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
3039 out := new(EventFilters)
3040 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003041 if err != nil {
3042 return nil, err
3043 }
3044 return out, nil
3045}
3046
3047func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
3048 out := new(Images)
3049 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
3050 if err != nil {
3051 return nil, err
3052 }
3053 return out, nil
3054}
3055
3056func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
3057 out := new(SelfTestResponse)
3058 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
3059 if err != nil {
3060 return nil, err
3061 }
3062 return out, nil
3063}
3064
3065func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
3066 out := new(omci.MibDeviceData)
3067 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
3068 if err != nil {
3069 return nil, err
3070 }
3071 return out, nil
3072}
3073
3074func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
3075 out := new(omci.AlarmDeviceData)
3076 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
3077 if err != nil {
3078 return nil, err
3079 }
3080 return out, nil
3081}
3082
3083func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
3084 out := new(common.OperationResp)
3085 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
3086 if err != nil {
3087 return nil, err
3088 }
3089 return out, nil
3090}
3091
3092func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
3093 out := new(OfAgentSubscriber)
3094 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
3095 if err != nil {
3096 return nil, err
3097 }
3098 return out, nil
3099}
3100
kesavand4a002b02020-01-23 21:29:47 -05003101func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3102 out := new(empty.Empty)
3103 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3104 if err != nil {
3105 return nil, err
3106 }
3107 return out, nil
3108}
3109
3110func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3111 out := new(empty.Empty)
3112 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3113 if err != nil {
3114 return nil, err
3115 }
3116 return out, nil
3117}
3118
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003119func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) {
3120 out := new(common.ReturnValues)
3121 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
3122 if err != nil {
3123 return nil, err
3124 }
3125 return out, nil
3126}
3127
dpaul2b52e712020-06-23 13:02:28 +05303128func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
3129 out := new(empty.Empty)
3130 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
3131 if err != nil {
3132 return nil, err
3133 }
3134 return out, nil
3135}
3136
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303137func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3138 out := new(TestResponse)
3139 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3140 if err != nil {
3141 return nil, err
3142 }
3143 return out, nil
3144}
3145
William Kurkian1b363f42019-03-12 15:28:12 -04003146// VolthaServiceServer is the server API for VolthaService service.
3147type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04003148 // Get the membership group of a Voltha Core
3149 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3150 // Set the membership group of a Voltha Core
3151 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3152 // Get high level information on the Voltha cluster
3153 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3154 // List all Voltha cluster core instances
3155 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3156 // Get details on a Voltha cluster instance
3157 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3158 // List all active adapters (plugins) in the Voltha cluster
3159 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3160 // List all logical devices managed by the Voltha cluster
3161 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3162 // Get additional information on a given logical device
3163 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3164 // List ports of a logical device
3165 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3166 // Gets a logical device port
3167 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3168 // Enables a logical device port
3169 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3170 // Disables a logical device port
3171 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3172 // List all flows of a logical device
3173 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3174 // Update flow table for logical device
3175 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3176 // Update meter table for logical device
3177 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003178 // List all meters of a logical device
3179 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003180 // List all flow groups of a logical device
3181 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3182 // Update group table for device
3183 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3184 // List all physical devices controlled by the Voltha cluster
3185 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3186 // List all physical devices IDs controlled by the Voltha cluster
3187 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3188 // Request to a voltha Core to reconcile a set of devices based on their IDs
3189 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
3190 // Get more information on a given physical device
3191 GetDevice(context.Context, *common.ID) (*Device, error)
3192 // Pre-provision a new physical device
3193 CreateDevice(context.Context, *Device) (*Device, error)
3194 // Enable a device. If the device was in pre-provisioned state then it
3195 // will transition to ENABLED state. If it was is DISABLED state then it
3196 // will transition to ENABLED state as well.
3197 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3198 // Disable a device
3199 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3200 // Reboot a device
3201 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3202 // Delete a device
3203 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
3204 // Request an image download to the standby partition
3205 // of a device.
3206 // Note that the call is expected to be non-blocking.
3207 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3208 // Get image download status on a device
3209 // The request retrieves progress on device and updates db record
3210 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3211 // Get image download db record
3212 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3213 // List image download db records for a given device
3214 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3215 // Cancel an existing image download process on a device
3216 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3217 // Activate the specified image at a standby partition
3218 // to active partition.
3219 // Depending on the device implementation, this call
3220 // may or may not cause device reboot.
3221 // If no reboot, then a reboot is required to make the
3222 // activated image running on device
3223 // Note that the call is expected to be non-blocking.
3224 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3225 // Revert the specified image at standby partition
3226 // to active partition, and revert to previous image
3227 // Depending on the device implementation, this call
3228 // may or may not cause device reboot.
3229 // If no reboot, then a reboot is required to make the
3230 // previous image running on device
3231 // Note that the call is expected to be non-blocking.
3232 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3233 // List ports of a device
3234 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3235 // List pm config of a device
3236 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3237 // Update the pm config of a device
3238 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3239 // List all flows of a device
3240 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3241 // List all flow groups of a device
3242 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3243 // List device types known to Voltha
3244 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3245 // Get additional information on a device type
3246 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3247 // List all device sharding groups
3248 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3249 // Stream control packets to the dataplane
3250 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3251 // Receive control packet stream
3252 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3253 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3254 // Get additional information on a device group
3255 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003256 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3257 // Get all filters present for a device
3258 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3259 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3260 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3261 // Get all the filters present
3262 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003263 GetImages(context.Context, *common.ID) (*Images, error)
3264 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3265 // OpenOMCI MIB information
3266 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3267 // OpenOMCI ALARM information
3268 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3269 // Simulate an Alarm
3270 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3271 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05003272 EnablePort(context.Context, *Port) (*empty.Empty, error)
3273 DisablePort(context.Context, *Port) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003274 GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error)
dpaul2b52e712020-06-23 13:02:28 +05303275 SetExtValue(context.Context, *ValueSet) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303276 // omci start and stop cli implementation
3277 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003278}
3279
3280func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3281 s.RegisterService(&_VolthaService_serviceDesc, srv)
3282}
3283
William Kurkian1b363f42019-03-12 15:28:12 -04003284func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3285 in := new(empty.Empty)
3286 if err := dec(in); err != nil {
3287 return nil, err
3288 }
3289 if interceptor == nil {
3290 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3291 }
3292 info := &grpc.UnaryServerInfo{
3293 Server: srv,
3294 FullMethod: "/voltha.VolthaService/GetMembership",
3295 }
3296 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3297 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3298 }
3299 return interceptor(ctx, in, info, handler)
3300}
3301
3302func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3303 in := new(Membership)
3304 if err := dec(in); err != nil {
3305 return nil, err
3306 }
3307 if interceptor == nil {
3308 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3309 }
3310 info := &grpc.UnaryServerInfo{
3311 Server: srv,
3312 FullMethod: "/voltha.VolthaService/UpdateMembership",
3313 }
3314 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3315 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3316 }
3317 return interceptor(ctx, in, info, handler)
3318}
3319
3320func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3321 in := new(empty.Empty)
3322 if err := dec(in); err != nil {
3323 return nil, err
3324 }
3325 if interceptor == nil {
3326 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3327 }
3328 info := &grpc.UnaryServerInfo{
3329 Server: srv,
3330 FullMethod: "/voltha.VolthaService/GetVoltha",
3331 }
3332 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3333 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3334 }
3335 return interceptor(ctx, in, info, handler)
3336}
3337
3338func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3339 in := new(empty.Empty)
3340 if err := dec(in); err != nil {
3341 return nil, err
3342 }
3343 if interceptor == nil {
3344 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3345 }
3346 info := &grpc.UnaryServerInfo{
3347 Server: srv,
3348 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3349 }
3350 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3351 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3352 }
3353 return interceptor(ctx, in, info, handler)
3354}
3355
3356func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3357 in := new(common.ID)
3358 if err := dec(in); err != nil {
3359 return nil, err
3360 }
3361 if interceptor == nil {
3362 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3363 }
3364 info := &grpc.UnaryServerInfo{
3365 Server: srv,
3366 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3367 }
3368 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3369 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3370 }
3371 return interceptor(ctx, in, info, handler)
3372}
3373
3374func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3375 in := new(empty.Empty)
3376 if err := dec(in); err != nil {
3377 return nil, err
3378 }
3379 if interceptor == nil {
3380 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3381 }
3382 info := &grpc.UnaryServerInfo{
3383 Server: srv,
3384 FullMethod: "/voltha.VolthaService/ListAdapters",
3385 }
3386 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3387 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3388 }
3389 return interceptor(ctx, in, info, handler)
3390}
3391
3392func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3393 in := new(empty.Empty)
3394 if err := dec(in); err != nil {
3395 return nil, err
3396 }
3397 if interceptor == nil {
3398 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3399 }
3400 info := &grpc.UnaryServerInfo{
3401 Server: srv,
3402 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3403 }
3404 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3405 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3406 }
3407 return interceptor(ctx, in, info, handler)
3408}
3409
3410func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3411 in := new(common.ID)
3412 if err := dec(in); err != nil {
3413 return nil, err
3414 }
3415 if interceptor == nil {
3416 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3417 }
3418 info := &grpc.UnaryServerInfo{
3419 Server: srv,
3420 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3421 }
3422 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3423 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3424 }
3425 return interceptor(ctx, in, info, handler)
3426}
3427
3428func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3429 in := new(common.ID)
3430 if err := dec(in); err != nil {
3431 return nil, err
3432 }
3433 if interceptor == nil {
3434 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3435 }
3436 info := &grpc.UnaryServerInfo{
3437 Server: srv,
3438 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3439 }
3440 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3441 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3442 }
3443 return interceptor(ctx, in, info, handler)
3444}
3445
3446func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3447 in := new(LogicalPortId)
3448 if err := dec(in); err != nil {
3449 return nil, err
3450 }
3451 if interceptor == nil {
3452 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3453 }
3454 info := &grpc.UnaryServerInfo{
3455 Server: srv,
3456 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3457 }
3458 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3459 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3460 }
3461 return interceptor(ctx, in, info, handler)
3462}
3463
3464func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3465 in := new(LogicalPortId)
3466 if err := dec(in); err != nil {
3467 return nil, err
3468 }
3469 if interceptor == nil {
3470 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3471 }
3472 info := &grpc.UnaryServerInfo{
3473 Server: srv,
3474 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3475 }
3476 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3477 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3478 }
3479 return interceptor(ctx, in, info, handler)
3480}
3481
3482func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3483 in := new(LogicalPortId)
3484 if err := dec(in); err != nil {
3485 return nil, err
3486 }
3487 if interceptor == nil {
3488 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3489 }
3490 info := &grpc.UnaryServerInfo{
3491 Server: srv,
3492 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3493 }
3494 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3495 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3496 }
3497 return interceptor(ctx, in, info, handler)
3498}
3499
3500func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3501 in := new(common.ID)
3502 if err := dec(in); err != nil {
3503 return nil, err
3504 }
3505 if interceptor == nil {
3506 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3507 }
3508 info := &grpc.UnaryServerInfo{
3509 Server: srv,
3510 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3511 }
3512 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3513 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3514 }
3515 return interceptor(ctx, in, info, handler)
3516}
3517
3518func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3519 in := new(openflow_13.FlowTableUpdate)
3520 if err := dec(in); err != nil {
3521 return nil, err
3522 }
3523 if interceptor == nil {
3524 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3525 }
3526 info := &grpc.UnaryServerInfo{
3527 Server: srv,
3528 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3529 }
3530 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3531 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3532 }
3533 return interceptor(ctx, in, info, handler)
3534}
3535
3536func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3537 in := new(openflow_13.MeterModUpdate)
3538 if err := dec(in); err != nil {
3539 return nil, err
3540 }
3541 if interceptor == nil {
3542 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3543 }
3544 info := &grpc.UnaryServerInfo{
3545 Server: srv,
3546 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3547 }
3548 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3549 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3550 }
3551 return interceptor(ctx, in, info, handler)
3552}
3553
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003554func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003555 in := new(common.ID)
3556 if err := dec(in); err != nil {
3557 return nil, err
3558 }
3559 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003560 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003561 }
3562 info := &grpc.UnaryServerInfo{
3563 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003564 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003565 }
3566 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003567 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003568 }
3569 return interceptor(ctx, in, info, handler)
3570}
3571
3572func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3573 in := new(common.ID)
3574 if err := dec(in); err != nil {
3575 return nil, err
3576 }
3577 if interceptor == nil {
3578 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3579 }
3580 info := &grpc.UnaryServerInfo{
3581 Server: srv,
3582 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3583 }
3584 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3585 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3586 }
3587 return interceptor(ctx, in, info, handler)
3588}
3589
3590func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3591 in := new(openflow_13.FlowGroupTableUpdate)
3592 if err := dec(in); err != nil {
3593 return nil, err
3594 }
3595 if interceptor == nil {
3596 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3597 }
3598 info := &grpc.UnaryServerInfo{
3599 Server: srv,
3600 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3601 }
3602 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3603 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3604 }
3605 return interceptor(ctx, in, info, handler)
3606}
3607
3608func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3609 in := new(empty.Empty)
3610 if err := dec(in); err != nil {
3611 return nil, err
3612 }
3613 if interceptor == nil {
3614 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3615 }
3616 info := &grpc.UnaryServerInfo{
3617 Server: srv,
3618 FullMethod: "/voltha.VolthaService/ListDevices",
3619 }
3620 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3621 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3622 }
3623 return interceptor(ctx, in, info, handler)
3624}
3625
3626func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3627 in := new(empty.Empty)
3628 if err := dec(in); err != nil {
3629 return nil, err
3630 }
3631 if interceptor == nil {
3632 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3633 }
3634 info := &grpc.UnaryServerInfo{
3635 Server: srv,
3636 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3637 }
3638 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3639 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3640 }
3641 return interceptor(ctx, in, info, handler)
3642}
3643
3644func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3645 in := new(common.IDs)
3646 if err := dec(in); err != nil {
3647 return nil, err
3648 }
3649 if interceptor == nil {
3650 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3651 }
3652 info := &grpc.UnaryServerInfo{
3653 Server: srv,
3654 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3655 }
3656 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3657 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3658 }
3659 return interceptor(ctx, in, info, handler)
3660}
3661
3662func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3663 in := new(common.ID)
3664 if err := dec(in); err != nil {
3665 return nil, err
3666 }
3667 if interceptor == nil {
3668 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3669 }
3670 info := &grpc.UnaryServerInfo{
3671 Server: srv,
3672 FullMethod: "/voltha.VolthaService/GetDevice",
3673 }
3674 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3675 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3676 }
3677 return interceptor(ctx, in, info, handler)
3678}
3679
3680func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3681 in := new(Device)
3682 if err := dec(in); err != nil {
3683 return nil, err
3684 }
3685 if interceptor == nil {
3686 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3687 }
3688 info := &grpc.UnaryServerInfo{
3689 Server: srv,
3690 FullMethod: "/voltha.VolthaService/CreateDevice",
3691 }
3692 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3693 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3694 }
3695 return interceptor(ctx, in, info, handler)
3696}
3697
3698func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3699 in := new(common.ID)
3700 if err := dec(in); err != nil {
3701 return nil, err
3702 }
3703 if interceptor == nil {
3704 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3705 }
3706 info := &grpc.UnaryServerInfo{
3707 Server: srv,
3708 FullMethod: "/voltha.VolthaService/EnableDevice",
3709 }
3710 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3711 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3712 }
3713 return interceptor(ctx, in, info, handler)
3714}
3715
3716func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3717 in := new(common.ID)
3718 if err := dec(in); err != nil {
3719 return nil, err
3720 }
3721 if interceptor == nil {
3722 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3723 }
3724 info := &grpc.UnaryServerInfo{
3725 Server: srv,
3726 FullMethod: "/voltha.VolthaService/DisableDevice",
3727 }
3728 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3729 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3730 }
3731 return interceptor(ctx, in, info, handler)
3732}
3733
3734func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3735 in := new(common.ID)
3736 if err := dec(in); err != nil {
3737 return nil, err
3738 }
3739 if interceptor == nil {
3740 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3741 }
3742 info := &grpc.UnaryServerInfo{
3743 Server: srv,
3744 FullMethod: "/voltha.VolthaService/RebootDevice",
3745 }
3746 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3747 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3748 }
3749 return interceptor(ctx, in, info, handler)
3750}
3751
3752func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3753 in := new(common.ID)
3754 if err := dec(in); err != nil {
3755 return nil, err
3756 }
3757 if interceptor == nil {
3758 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3759 }
3760 info := &grpc.UnaryServerInfo{
3761 Server: srv,
3762 FullMethod: "/voltha.VolthaService/DeleteDevice",
3763 }
3764 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3765 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3766 }
3767 return interceptor(ctx, in, info, handler)
3768}
3769
3770func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3771 in := new(ImageDownload)
3772 if err := dec(in); err != nil {
3773 return nil, err
3774 }
3775 if interceptor == nil {
3776 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3777 }
3778 info := &grpc.UnaryServerInfo{
3779 Server: srv,
3780 FullMethod: "/voltha.VolthaService/DownloadImage",
3781 }
3782 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3783 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3784 }
3785 return interceptor(ctx, in, info, handler)
3786}
3787
3788func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3789 in := new(ImageDownload)
3790 if err := dec(in); err != nil {
3791 return nil, err
3792 }
3793 if interceptor == nil {
3794 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3795 }
3796 info := &grpc.UnaryServerInfo{
3797 Server: srv,
3798 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3799 }
3800 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3801 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3802 }
3803 return interceptor(ctx, in, info, handler)
3804}
3805
3806func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3807 in := new(ImageDownload)
3808 if err := dec(in); err != nil {
3809 return nil, err
3810 }
3811 if interceptor == nil {
3812 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3813 }
3814 info := &grpc.UnaryServerInfo{
3815 Server: srv,
3816 FullMethod: "/voltha.VolthaService/GetImageDownload",
3817 }
3818 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3819 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3820 }
3821 return interceptor(ctx, in, info, handler)
3822}
3823
3824func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3825 in := new(common.ID)
3826 if err := dec(in); err != nil {
3827 return nil, err
3828 }
3829 if interceptor == nil {
3830 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3831 }
3832 info := &grpc.UnaryServerInfo{
3833 Server: srv,
3834 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3835 }
3836 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3837 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3838 }
3839 return interceptor(ctx, in, info, handler)
3840}
3841
3842func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3843 in := new(ImageDownload)
3844 if err := dec(in); err != nil {
3845 return nil, err
3846 }
3847 if interceptor == nil {
3848 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3849 }
3850 info := &grpc.UnaryServerInfo{
3851 Server: srv,
3852 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3853 }
3854 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3855 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3856 }
3857 return interceptor(ctx, in, info, handler)
3858}
3859
3860func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3861 in := new(ImageDownload)
3862 if err := dec(in); err != nil {
3863 return nil, err
3864 }
3865 if interceptor == nil {
3866 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3867 }
3868 info := &grpc.UnaryServerInfo{
3869 Server: srv,
3870 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3871 }
3872 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3873 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3874 }
3875 return interceptor(ctx, in, info, handler)
3876}
3877
3878func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3879 in := new(ImageDownload)
3880 if err := dec(in); err != nil {
3881 return nil, err
3882 }
3883 if interceptor == nil {
3884 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3885 }
3886 info := &grpc.UnaryServerInfo{
3887 Server: srv,
3888 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3889 }
3890 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3891 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3892 }
3893 return interceptor(ctx, in, info, handler)
3894}
3895
3896func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3897 in := new(common.ID)
3898 if err := dec(in); err != nil {
3899 return nil, err
3900 }
3901 if interceptor == nil {
3902 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3903 }
3904 info := &grpc.UnaryServerInfo{
3905 Server: srv,
3906 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3907 }
3908 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3909 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3910 }
3911 return interceptor(ctx, in, info, handler)
3912}
3913
3914func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3915 in := new(common.ID)
3916 if err := dec(in); err != nil {
3917 return nil, err
3918 }
3919 if interceptor == nil {
3920 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3921 }
3922 info := &grpc.UnaryServerInfo{
3923 Server: srv,
3924 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3925 }
3926 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3927 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3928 }
3929 return interceptor(ctx, in, info, handler)
3930}
3931
3932func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3933 in := new(PmConfigs)
3934 if err := dec(in); err != nil {
3935 return nil, err
3936 }
3937 if interceptor == nil {
3938 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3939 }
3940 info := &grpc.UnaryServerInfo{
3941 Server: srv,
3942 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3943 }
3944 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3945 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3946 }
3947 return interceptor(ctx, in, info, handler)
3948}
3949
3950func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3951 in := new(common.ID)
3952 if err := dec(in); err != nil {
3953 return nil, err
3954 }
3955 if interceptor == nil {
3956 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3957 }
3958 info := &grpc.UnaryServerInfo{
3959 Server: srv,
3960 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3961 }
3962 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3963 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3964 }
3965 return interceptor(ctx, in, info, handler)
3966}
3967
3968func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3969 in := new(common.ID)
3970 if err := dec(in); err != nil {
3971 return nil, err
3972 }
3973 if interceptor == nil {
3974 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3975 }
3976 info := &grpc.UnaryServerInfo{
3977 Server: srv,
3978 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3979 }
3980 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3981 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3982 }
3983 return interceptor(ctx, in, info, handler)
3984}
3985
3986func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3987 in := new(empty.Empty)
3988 if err := dec(in); err != nil {
3989 return nil, err
3990 }
3991 if interceptor == nil {
3992 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3993 }
3994 info := &grpc.UnaryServerInfo{
3995 Server: srv,
3996 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3997 }
3998 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3999 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
4000 }
4001 return interceptor(ctx, in, info, handler)
4002}
4003
4004func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4005 in := new(common.ID)
4006 if err := dec(in); err != nil {
4007 return nil, err
4008 }
4009 if interceptor == nil {
4010 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
4011 }
4012 info := &grpc.UnaryServerInfo{
4013 Server: srv,
4014 FullMethod: "/voltha.VolthaService/GetDeviceType",
4015 }
4016 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4017 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
4018 }
4019 return interceptor(ctx, in, info, handler)
4020}
4021
4022func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4023 in := new(empty.Empty)
4024 if err := dec(in); err != nil {
4025 return nil, err
4026 }
4027 if interceptor == nil {
4028 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
4029 }
4030 info := &grpc.UnaryServerInfo{
4031 Server: srv,
4032 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
4033 }
4034 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4035 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
4036 }
4037 return interceptor(ctx, in, info, handler)
4038}
4039
4040func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
4041 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
4042}
4043
4044type VolthaService_StreamPacketsOutServer interface {
4045 SendAndClose(*empty.Empty) error
4046 Recv() (*openflow_13.PacketOut, error)
4047 grpc.ServerStream
4048}
4049
4050type volthaServiceStreamPacketsOutServer struct {
4051 grpc.ServerStream
4052}
4053
4054func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
4055 return x.ServerStream.SendMsg(m)
4056}
4057
4058func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
4059 m := new(openflow_13.PacketOut)
4060 if err := x.ServerStream.RecvMsg(m); err != nil {
4061 return nil, err
4062 }
4063 return m, nil
4064}
4065
4066func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
4067 m := new(empty.Empty)
4068 if err := stream.RecvMsg(m); err != nil {
4069 return err
4070 }
4071 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
4072}
4073
4074type VolthaService_ReceivePacketsInServer interface {
4075 Send(*openflow_13.PacketIn) error
4076 grpc.ServerStream
4077}
4078
4079type volthaServiceReceivePacketsInServer struct {
4080 grpc.ServerStream
4081}
4082
4083func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
4084 return x.ServerStream.SendMsg(m)
4085}
4086
4087func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
4088 m := new(empty.Empty)
4089 if err := stream.RecvMsg(m); err != nil {
4090 return err
4091 }
4092 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
4093}
4094
4095type VolthaService_ReceiveChangeEventsServer interface {
4096 Send(*openflow_13.ChangeEvent) error
4097 grpc.ServerStream
4098}
4099
4100type volthaServiceReceiveChangeEventsServer struct {
4101 grpc.ServerStream
4102}
4103
4104func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
4105 return x.ServerStream.SendMsg(m)
4106}
4107
4108func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4109 in := new(common.ID)
4110 if err := dec(in); err != nil {
4111 return nil, err
4112 }
4113 if interceptor == nil {
4114 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
4115 }
4116 info := &grpc.UnaryServerInfo{
4117 Server: srv,
4118 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
4119 }
4120 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4121 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
4122 }
4123 return interceptor(ctx, in, info, handler)
4124}
4125
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004126func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4127 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004128 if err := dec(in); err != nil {
4129 return nil, err
4130 }
4131 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004132 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004133 }
4134 info := &grpc.UnaryServerInfo{
4135 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004136 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004137 }
4138 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004139 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004140 }
4141 return interceptor(ctx, in, info, handler)
4142}
4143
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004144func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004145 in := new(common.ID)
4146 if err := dec(in); err != nil {
4147 return nil, err
4148 }
4149 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004150 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004151 }
4152 info := &grpc.UnaryServerInfo{
4153 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004154 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004155 }
4156 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004157 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04004158 }
4159 return interceptor(ctx, in, info, handler)
4160}
4161
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004162func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4163 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004164 if err := dec(in); err != nil {
4165 return nil, err
4166 }
4167 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004168 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004169 }
4170 info := &grpc.UnaryServerInfo{
4171 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004172 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004173 }
4174 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004175 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004176 }
4177 return interceptor(ctx, in, info, handler)
4178}
4179
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004180func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4181 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004182 if err := dec(in); err != nil {
4183 return nil, err
4184 }
4185 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004186 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004187 }
4188 info := &grpc.UnaryServerInfo{
4189 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004190 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004191 }
4192 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004193 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004194 }
4195 return interceptor(ctx, in, info, handler)
4196}
4197
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004198func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004199 in := new(empty.Empty)
4200 if err := dec(in); err != nil {
4201 return nil, err
4202 }
4203 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004204 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004205 }
4206 info := &grpc.UnaryServerInfo{
4207 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004208 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04004209 }
4210 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004211 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04004212 }
4213 return interceptor(ctx, in, info, handler)
4214}
4215
4216func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4217 in := new(common.ID)
4218 if err := dec(in); err != nil {
4219 return nil, err
4220 }
4221 if interceptor == nil {
4222 return srv.(VolthaServiceServer).GetImages(ctx, in)
4223 }
4224 info := &grpc.UnaryServerInfo{
4225 Server: srv,
4226 FullMethod: "/voltha.VolthaService/GetImages",
4227 }
4228 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4229 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4230 }
4231 return interceptor(ctx, in, info, handler)
4232}
4233
4234func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4235 in := new(common.ID)
4236 if err := dec(in); err != nil {
4237 return nil, err
4238 }
4239 if interceptor == nil {
4240 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4241 }
4242 info := &grpc.UnaryServerInfo{
4243 Server: srv,
4244 FullMethod: "/voltha.VolthaService/SelfTest",
4245 }
4246 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4247 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4248 }
4249 return interceptor(ctx, in, info, handler)
4250}
4251
4252func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4253 in := new(common.ID)
4254 if err := dec(in); err != nil {
4255 return nil, err
4256 }
4257 if interceptor == nil {
4258 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4259 }
4260 info := &grpc.UnaryServerInfo{
4261 Server: srv,
4262 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4263 }
4264 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4265 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4266 }
4267 return interceptor(ctx, in, info, handler)
4268}
4269
4270func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4271 in := new(common.ID)
4272 if err := dec(in); err != nil {
4273 return nil, err
4274 }
4275 if interceptor == nil {
4276 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4277 }
4278 info := &grpc.UnaryServerInfo{
4279 Server: srv,
4280 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4281 }
4282 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4283 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4284 }
4285 return interceptor(ctx, in, info, handler)
4286}
4287
4288func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4289 in := new(SimulateAlarmRequest)
4290 if err := dec(in); err != nil {
4291 return nil, err
4292 }
4293 if interceptor == nil {
4294 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4295 }
4296 info := &grpc.UnaryServerInfo{
4297 Server: srv,
4298 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4299 }
4300 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4301 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4302 }
4303 return interceptor(ctx, in, info, handler)
4304}
4305
4306func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4307 in := new(OfAgentSubscriber)
4308 if err := dec(in); err != nil {
4309 return nil, err
4310 }
4311 if interceptor == nil {
4312 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4313 }
4314 info := &grpc.UnaryServerInfo{
4315 Server: srv,
4316 FullMethod: "/voltha.VolthaService/Subscribe",
4317 }
4318 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4319 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4320 }
4321 return interceptor(ctx, in, info, handler)
4322}
4323
kesavand4a002b02020-01-23 21:29:47 -05004324func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4325 in := new(Port)
4326 if err := dec(in); err != nil {
4327 return nil, err
4328 }
4329 if interceptor == nil {
4330 return srv.(VolthaServiceServer).EnablePort(ctx, in)
4331 }
4332 info := &grpc.UnaryServerInfo{
4333 Server: srv,
4334 FullMethod: "/voltha.VolthaService/EnablePort",
4335 }
4336 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4337 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
4338 }
4339 return interceptor(ctx, in, info, handler)
4340}
4341
4342func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4343 in := new(Port)
4344 if err := dec(in); err != nil {
4345 return nil, err
4346 }
4347 if interceptor == nil {
4348 return srv.(VolthaServiceServer).DisablePort(ctx, in)
4349 }
4350 info := &grpc.UnaryServerInfo{
4351 Server: srv,
4352 FullMethod: "/voltha.VolthaService/DisablePort",
4353 }
4354 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4355 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
4356 }
4357 return interceptor(ctx, in, info, handler)
4358}
4359
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004360func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4361 in := new(common.ValueSpecifier)
4362 if err := dec(in); err != nil {
4363 return nil, err
4364 }
4365 if interceptor == nil {
4366 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
4367 }
4368 info := &grpc.UnaryServerInfo{
4369 Server: srv,
4370 FullMethod: "/voltha.VolthaService/GetExtValue",
4371 }
4372 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4373 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*common.ValueSpecifier))
4374 }
4375 return interceptor(ctx, in, info, handler)
4376}
4377
dpaul2b52e712020-06-23 13:02:28 +05304378func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4379 in := new(ValueSet)
4380 if err := dec(in); err != nil {
4381 return nil, err
4382 }
4383 if interceptor == nil {
4384 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
4385 }
4386 info := &grpc.UnaryServerInfo{
4387 Server: srv,
4388 FullMethod: "/voltha.VolthaService/SetExtValue",
4389 }
4390 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4391 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*ValueSet))
4392 }
4393 return interceptor(ctx, in, info, handler)
4394}
4395
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304396func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4397 in := new(OmciTestRequest)
4398 if err := dec(in); err != nil {
4399 return nil, err
4400 }
4401 if interceptor == nil {
4402 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
4403 }
4404 info := &grpc.UnaryServerInfo{
4405 Server: srv,
4406 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
4407 }
4408 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4409 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest))
4410 }
4411 return interceptor(ctx, in, info, handler)
4412}
4413
William Kurkian1b363f42019-03-12 15:28:12 -04004414var _VolthaService_serviceDesc = grpc.ServiceDesc{
4415 ServiceName: "voltha.VolthaService",
4416 HandlerType: (*VolthaServiceServer)(nil),
4417 Methods: []grpc.MethodDesc{
4418 {
William Kurkian1b363f42019-03-12 15:28:12 -04004419 MethodName: "GetMembership",
4420 Handler: _VolthaService_GetMembership_Handler,
4421 },
4422 {
4423 MethodName: "UpdateMembership",
4424 Handler: _VolthaService_UpdateMembership_Handler,
4425 },
4426 {
4427 MethodName: "GetVoltha",
4428 Handler: _VolthaService_GetVoltha_Handler,
4429 },
4430 {
4431 MethodName: "ListCoreInstances",
4432 Handler: _VolthaService_ListCoreInstances_Handler,
4433 },
4434 {
4435 MethodName: "GetCoreInstance",
4436 Handler: _VolthaService_GetCoreInstance_Handler,
4437 },
4438 {
4439 MethodName: "ListAdapters",
4440 Handler: _VolthaService_ListAdapters_Handler,
4441 },
4442 {
4443 MethodName: "ListLogicalDevices",
4444 Handler: _VolthaService_ListLogicalDevices_Handler,
4445 },
4446 {
4447 MethodName: "GetLogicalDevice",
4448 Handler: _VolthaService_GetLogicalDevice_Handler,
4449 },
4450 {
4451 MethodName: "ListLogicalDevicePorts",
4452 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4453 },
4454 {
4455 MethodName: "GetLogicalDevicePort",
4456 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4457 },
4458 {
4459 MethodName: "EnableLogicalDevicePort",
4460 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4461 },
4462 {
4463 MethodName: "DisableLogicalDevicePort",
4464 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4465 },
4466 {
4467 MethodName: "ListLogicalDeviceFlows",
4468 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4469 },
4470 {
4471 MethodName: "UpdateLogicalDeviceFlowTable",
4472 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4473 },
4474 {
4475 MethodName: "UpdateLogicalDeviceMeterTable",
4476 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4477 },
4478 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004479 MethodName: "ListLogicalDeviceMeters",
4480 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004481 },
4482 {
4483 MethodName: "ListLogicalDeviceFlowGroups",
4484 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4485 },
4486 {
4487 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4488 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4489 },
4490 {
4491 MethodName: "ListDevices",
4492 Handler: _VolthaService_ListDevices_Handler,
4493 },
4494 {
4495 MethodName: "ListDeviceIds",
4496 Handler: _VolthaService_ListDeviceIds_Handler,
4497 },
4498 {
4499 MethodName: "ReconcileDevices",
4500 Handler: _VolthaService_ReconcileDevices_Handler,
4501 },
4502 {
4503 MethodName: "GetDevice",
4504 Handler: _VolthaService_GetDevice_Handler,
4505 },
4506 {
4507 MethodName: "CreateDevice",
4508 Handler: _VolthaService_CreateDevice_Handler,
4509 },
4510 {
4511 MethodName: "EnableDevice",
4512 Handler: _VolthaService_EnableDevice_Handler,
4513 },
4514 {
4515 MethodName: "DisableDevice",
4516 Handler: _VolthaService_DisableDevice_Handler,
4517 },
4518 {
4519 MethodName: "RebootDevice",
4520 Handler: _VolthaService_RebootDevice_Handler,
4521 },
4522 {
4523 MethodName: "DeleteDevice",
4524 Handler: _VolthaService_DeleteDevice_Handler,
4525 },
4526 {
4527 MethodName: "DownloadImage",
4528 Handler: _VolthaService_DownloadImage_Handler,
4529 },
4530 {
4531 MethodName: "GetImageDownloadStatus",
4532 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4533 },
4534 {
4535 MethodName: "GetImageDownload",
4536 Handler: _VolthaService_GetImageDownload_Handler,
4537 },
4538 {
4539 MethodName: "ListImageDownloads",
4540 Handler: _VolthaService_ListImageDownloads_Handler,
4541 },
4542 {
4543 MethodName: "CancelImageDownload",
4544 Handler: _VolthaService_CancelImageDownload_Handler,
4545 },
4546 {
4547 MethodName: "ActivateImageUpdate",
4548 Handler: _VolthaService_ActivateImageUpdate_Handler,
4549 },
4550 {
4551 MethodName: "RevertImageUpdate",
4552 Handler: _VolthaService_RevertImageUpdate_Handler,
4553 },
4554 {
4555 MethodName: "ListDevicePorts",
4556 Handler: _VolthaService_ListDevicePorts_Handler,
4557 },
4558 {
4559 MethodName: "ListDevicePmConfigs",
4560 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4561 },
4562 {
4563 MethodName: "UpdateDevicePmConfigs",
4564 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4565 },
4566 {
4567 MethodName: "ListDeviceFlows",
4568 Handler: _VolthaService_ListDeviceFlows_Handler,
4569 },
4570 {
4571 MethodName: "ListDeviceFlowGroups",
4572 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4573 },
4574 {
4575 MethodName: "ListDeviceTypes",
4576 Handler: _VolthaService_ListDeviceTypes_Handler,
4577 },
4578 {
4579 MethodName: "GetDeviceType",
4580 Handler: _VolthaService_GetDeviceType_Handler,
4581 },
4582 {
4583 MethodName: "ListDeviceGroups",
4584 Handler: _VolthaService_ListDeviceGroups_Handler,
4585 },
4586 {
4587 MethodName: "GetDeviceGroup",
4588 Handler: _VolthaService_GetDeviceGroup_Handler,
4589 },
4590 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004591 MethodName: "CreateEventFilter",
4592 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004593 },
4594 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004595 MethodName: "GetEventFilter",
4596 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004597 },
4598 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004599 MethodName: "UpdateEventFilter",
4600 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004601 },
4602 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004603 MethodName: "DeleteEventFilter",
4604 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004605 },
4606 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004607 MethodName: "ListEventFilters",
4608 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004609 },
4610 {
4611 MethodName: "GetImages",
4612 Handler: _VolthaService_GetImages_Handler,
4613 },
4614 {
4615 MethodName: "SelfTest",
4616 Handler: _VolthaService_SelfTest_Handler,
4617 },
4618 {
4619 MethodName: "GetMibDeviceData",
4620 Handler: _VolthaService_GetMibDeviceData_Handler,
4621 },
4622 {
4623 MethodName: "GetAlarmDeviceData",
4624 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4625 },
4626 {
4627 MethodName: "SimulateAlarm",
4628 Handler: _VolthaService_SimulateAlarm_Handler,
4629 },
4630 {
4631 MethodName: "Subscribe",
4632 Handler: _VolthaService_Subscribe_Handler,
4633 },
kesavand4a002b02020-01-23 21:29:47 -05004634 {
4635 MethodName: "EnablePort",
4636 Handler: _VolthaService_EnablePort_Handler,
4637 },
4638 {
4639 MethodName: "DisablePort",
4640 Handler: _VolthaService_DisablePort_Handler,
4641 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304642 {
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004643 MethodName: "GetExtValue",
4644 Handler: _VolthaService_GetExtValue_Handler,
4645 },
4646 {
dpaul2b52e712020-06-23 13:02:28 +05304647 MethodName: "SetExtValue",
4648 Handler: _VolthaService_SetExtValue_Handler,
4649 },
4650 {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304651 MethodName: "StartOmciTestAction",
4652 Handler: _VolthaService_StartOmciTestAction_Handler,
4653 },
William Kurkian1b363f42019-03-12 15:28:12 -04004654 },
4655 Streams: []grpc.StreamDesc{
4656 {
4657 StreamName: "StreamPacketsOut",
4658 Handler: _VolthaService_StreamPacketsOut_Handler,
4659 ClientStreams: true,
4660 },
4661 {
4662 StreamName: "ReceivePacketsIn",
4663 Handler: _VolthaService_ReceivePacketsIn_Handler,
4664 ServerStreams: true,
4665 },
4666 {
4667 StreamName: "ReceiveChangeEvents",
4668 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4669 ServerStreams: true,
4670 },
4671 },
4672 Metadata: "voltha_protos/voltha.proto",
4673}