blob: 49b2a5e71021a50f75a0b8ba3875933fb0644bba [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"
Matteo Scandolob3c08ae2020-10-14 13:15:43 -070011 common "github.com/opencord/voltha-protos/v4/go/common"
12 config "github.com/opencord/voltha-protos/v4/go/ext/config"
13 omci "github.com/opencord/voltha-protos/v4/go/omci"
14 openflow_13 "github.com/opencord/voltha-protos/v4/go/openflow_13"
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)
William Kurkian1b363f42019-03-12 15:28:12 -040094
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030095// OperStatus_Types from public import voltha_protos/common.proto
96type OperStatus_Types = common.OperStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -040097
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030098var OperStatus_Types_name = common.OperStatus_Types_name
99var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400100
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300101const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
102const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
103const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
104const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
105const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
106const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
Maninder4ed97f52021-03-15 10:14:55 +0530107const OperStatus_RECONCILING = OperStatus_Types(common.OperStatus_RECONCILING)
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)
Maninder2f9d63e2021-02-08 11:42:19 +0530128const OperationResp_OPERATION_IN_PROGRESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_IN_PROGRESS)
William Kurkian1b363f42019-03-12 15:28:12 -0400129
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800130// ValueType_Type from public import voltha_protos/common.proto
131type ValueType_Type = common.ValueType_Type
132
133var ValueType_Type_name = common.ValueType_Type_name
134var ValueType_Type_value = common.ValueType_Type_value
135
136const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY)
137const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE)
138
William Kurkianad745652019-03-20 08:45:51 -0400139// OfpHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400140type OfpHeader = openflow_13.OfpHeader
141
William Kurkianad745652019-03-20 08:45:51 -0400142// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400143type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
144type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
145
William Kurkianad745652019-03-20 08:45:51 -0400146// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400147type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
148
William Kurkianad745652019-03-20 08:45:51 -0400149// OfpHello from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400150type OfpHello = openflow_13.OfpHello
151
William Kurkianad745652019-03-20 08:45:51 -0400152// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400153type OfpSwitchConfig = openflow_13.OfpSwitchConfig
154
William Kurkianad745652019-03-20 08:45:51 -0400155// OfpTableMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400156type OfpTableMod = openflow_13.OfpTableMod
157
William Kurkianad745652019-03-20 08:45:51 -0400158// OfpPort from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400159type OfpPort = openflow_13.OfpPort
160
William Kurkianad745652019-03-20 08:45:51 -0400161// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400162type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
163
William Kurkianad745652019-03-20 08:45:51 -0400164// OfpPortStatus from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400165type OfpPortStatus = openflow_13.OfpPortStatus
166
William Kurkianad745652019-03-20 08:45:51 -0400167// OfpPortMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400168type OfpPortMod = openflow_13.OfpPortMod
169
William Kurkianad745652019-03-20 08:45:51 -0400170// OfpMatch from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400171type OfpMatch = openflow_13.OfpMatch
172
William Kurkianad745652019-03-20 08:45:51 -0400173// OfpOxmField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400174type OfpOxmField = openflow_13.OfpOxmField
175type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
176type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
177
William Kurkianad745652019-03-20 08:45:51 -0400178// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400179type OfpOxmOfbField = openflow_13.OfpOxmOfbField
180type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
181type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
182type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
183type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
184type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
185type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
186type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
187type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
188type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
189type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
190type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
191type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
192type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
193type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
194type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
195type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
196type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
197type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
198type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
199type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
200type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
201type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
202type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
203type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
204type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
205type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
206type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
207type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
208type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
209type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
210type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
211type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
212type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
213type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
214type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
215type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
216type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
217type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
218type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
219type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
220type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
221type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
222type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
223type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
224type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
225type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
226type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
227type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
228type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
229type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
230type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
231type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
232type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
233type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
234
William Kurkianad745652019-03-20 08:45:51 -0400235// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400236type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
237
William Kurkianad745652019-03-20 08:45:51 -0400238// OfpAction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400239type OfpAction = openflow_13.OfpAction
240type OfpAction_Output = openflow_13.OfpAction_Output
241type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
242type OfpAction_Push = openflow_13.OfpAction_Push
243type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
244type OfpAction_Group = openflow_13.OfpAction_Group
245type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
246type OfpAction_SetField = openflow_13.OfpAction_SetField
247type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
248
William Kurkianad745652019-03-20 08:45:51 -0400249// OfpActionOutput from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400250type OfpActionOutput = openflow_13.OfpActionOutput
251
William Kurkianad745652019-03-20 08:45:51 -0400252// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400253type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
254
William Kurkianad745652019-03-20 08:45:51 -0400255// OfpActionPush from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400256type OfpActionPush = openflow_13.OfpActionPush
257
William Kurkianad745652019-03-20 08:45:51 -0400258// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400259type OfpActionPopMpls = openflow_13.OfpActionPopMpls
260
William Kurkianad745652019-03-20 08:45:51 -0400261// OfpActionGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400262type OfpActionGroup = openflow_13.OfpActionGroup
263
William Kurkianad745652019-03-20 08:45:51 -0400264// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400265type OfpActionNwTtl = openflow_13.OfpActionNwTtl
266
William Kurkianad745652019-03-20 08:45:51 -0400267// OfpActionSetField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400268type OfpActionSetField = openflow_13.OfpActionSetField
269
William Kurkianad745652019-03-20 08:45:51 -0400270// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400271type OfpActionExperimenter = openflow_13.OfpActionExperimenter
272
William Kurkianad745652019-03-20 08:45:51 -0400273// OfpInstruction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400274type OfpInstruction = openflow_13.OfpInstruction
275type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
276type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
277type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
278type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
279type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
280
William Kurkianad745652019-03-20 08:45:51 -0400281// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400282type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
283
William Kurkianad745652019-03-20 08:45:51 -0400284// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400285type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
286
William Kurkianad745652019-03-20 08:45:51 -0400287// OfpInstructionActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400288type OfpInstructionActions = openflow_13.OfpInstructionActions
289
William Kurkianad745652019-03-20 08:45:51 -0400290// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400291type OfpInstructionMeter = openflow_13.OfpInstructionMeter
292
William Kurkianad745652019-03-20 08:45:51 -0400293// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400294type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
295
William Kurkianad745652019-03-20 08:45:51 -0400296// OfpFlowMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400297type OfpFlowMod = openflow_13.OfpFlowMod
298
William Kurkianad745652019-03-20 08:45:51 -0400299// OfpBucket from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400300type OfpBucket = openflow_13.OfpBucket
301
William Kurkianad745652019-03-20 08:45:51 -0400302// OfpGroupMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400303type OfpGroupMod = openflow_13.OfpGroupMod
304
William Kurkianad745652019-03-20 08:45:51 -0400305// OfpPacketOut from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400306type OfpPacketOut = openflow_13.OfpPacketOut
307
William Kurkianad745652019-03-20 08:45:51 -0400308// OfpPacketIn from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400309type OfpPacketIn = openflow_13.OfpPacketIn
310
William Kurkianad745652019-03-20 08:45:51 -0400311// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400312type OfpFlowRemoved = openflow_13.OfpFlowRemoved
313
William Kurkianad745652019-03-20 08:45:51 -0400314// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400315type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
316type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
317type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
318type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
319
William Kurkianad745652019-03-20 08:45:51 -0400320// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400321type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
322
William Kurkianad745652019-03-20 08:45:51 -0400323// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400324type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
325
William Kurkianad745652019-03-20 08:45:51 -0400326// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400327type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
328
William Kurkianad745652019-03-20 08:45:51 -0400329// OfpMeterMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400330type OfpMeterMod = openflow_13.OfpMeterMod
331
William Kurkianad745652019-03-20 08:45:51 -0400332// OfpErrorMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400333type OfpErrorMsg = openflow_13.OfpErrorMsg
334
William Kurkianad745652019-03-20 08:45:51 -0400335// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400336type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
337
William Kurkianad745652019-03-20 08:45:51 -0400338// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400339type OfpMultipartRequest = openflow_13.OfpMultipartRequest
340
William Kurkianad745652019-03-20 08:45:51 -0400341// OfpMultipartReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400342type OfpMultipartReply = openflow_13.OfpMultipartReply
343
William Kurkianad745652019-03-20 08:45:51 -0400344// OfpDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400345type OfpDesc = openflow_13.OfpDesc
346
William Kurkianad745652019-03-20 08:45:51 -0400347// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400348type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
349
William Kurkianad745652019-03-20 08:45:51 -0400350// OfpFlowStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400351type OfpFlowStats = openflow_13.OfpFlowStats
352
William Kurkianad745652019-03-20 08:45:51 -0400353// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400354type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
355
William Kurkianad745652019-03-20 08:45:51 -0400356// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400357type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
358
William Kurkianad745652019-03-20 08:45:51 -0400359// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400360type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
361type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
362type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
363type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
364type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
365type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
366
William Kurkianad745652019-03-20 08:45:51 -0400367// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400368type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
369
William Kurkianad745652019-03-20 08:45:51 -0400370// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400371type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
372
William Kurkianad745652019-03-20 08:45:51 -0400373// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400374type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
375
William Kurkianad745652019-03-20 08:45:51 -0400376// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400377type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
378
William Kurkianad745652019-03-20 08:45:51 -0400379// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400380type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
381
William Kurkianad745652019-03-20 08:45:51 -0400382// OfpTableFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400383type OfpTableFeatures = openflow_13.OfpTableFeatures
384
William Kurkianad745652019-03-20 08:45:51 -0400385// OfpTableStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400386type OfpTableStats = openflow_13.OfpTableStats
387
William Kurkianad745652019-03-20 08:45:51 -0400388// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400389type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
390
William Kurkianad745652019-03-20 08:45:51 -0400391// OfpPortStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400392type OfpPortStats = openflow_13.OfpPortStats
393
William Kurkianad745652019-03-20 08:45:51 -0400394// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400395type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
396
William Kurkianad745652019-03-20 08:45:51 -0400397// OfpBucketCounter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400398type OfpBucketCounter = openflow_13.OfpBucketCounter
399
William Kurkianad745652019-03-20 08:45:51 -0400400// OfpGroupStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400401type OfpGroupStats = openflow_13.OfpGroupStats
402
William Kurkianad745652019-03-20 08:45:51 -0400403// OfpGroupDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400404type OfpGroupDesc = openflow_13.OfpGroupDesc
405
William Kurkianad745652019-03-20 08:45:51 -0400406// OfpGroupEntry from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400407type OfpGroupEntry = openflow_13.OfpGroupEntry
408
William Kurkianad745652019-03-20 08:45:51 -0400409// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400410type OfpGroupFeatures = openflow_13.OfpGroupFeatures
411
William Kurkianad745652019-03-20 08:45:51 -0400412// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400413type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
414
William Kurkianad745652019-03-20 08:45:51 -0400415// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400416type OfpMeterBandStats = openflow_13.OfpMeterBandStats
417
William Kurkianad745652019-03-20 08:45:51 -0400418// OfpMeterStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400419type OfpMeterStats = openflow_13.OfpMeterStats
420
William Kurkianad745652019-03-20 08:45:51 -0400421// OfpMeterConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400422type OfpMeterConfig = openflow_13.OfpMeterConfig
423
William Kurkianad745652019-03-20 08:45:51 -0400424// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400425type OfpMeterFeatures = openflow_13.OfpMeterFeatures
426
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400427// OfpMeterEntry from public import voltha_protos/openflow_13.proto
428type OfpMeterEntry = openflow_13.OfpMeterEntry
429
William Kurkianad745652019-03-20 08:45:51 -0400430// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400431type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
432
William Kurkianad745652019-03-20 08:45:51 -0400433// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400434type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
435
William Kurkianad745652019-03-20 08:45:51 -0400436// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400437type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
438
William Kurkianad745652019-03-20 08:45:51 -0400439// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400440type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
441
William Kurkianad745652019-03-20 08:45:51 -0400442// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400443type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
444
William Kurkianad745652019-03-20 08:45:51 -0400445// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400446type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
447
William Kurkianad745652019-03-20 08:45:51 -0400448// OfpPacketQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400449type OfpPacketQueue = openflow_13.OfpPacketQueue
450
William Kurkianad745652019-03-20 08:45:51 -0400451// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400452type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
453
William Kurkianad745652019-03-20 08:45:51 -0400454// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400455type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
456
William Kurkianad745652019-03-20 08:45:51 -0400457// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400458type OfpActionSetQueue = openflow_13.OfpActionSetQueue
459
William Kurkianad745652019-03-20 08:45:51 -0400460// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400461type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
462
William Kurkianad745652019-03-20 08:45:51 -0400463// OfpQueueStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400464type OfpQueueStats = openflow_13.OfpQueueStats
465
William Kurkianad745652019-03-20 08:45:51 -0400466// OfpRoleRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400467type OfpRoleRequest = openflow_13.OfpRoleRequest
468
William Kurkianad745652019-03-20 08:45:51 -0400469// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400470type OfpAsyncConfig = openflow_13.OfpAsyncConfig
471
472// MeterModUpdate from public import voltha_protos/openflow_13.proto
473type MeterModUpdate = openflow_13.MeterModUpdate
474
475// MeterStatsReply from public import voltha_protos/openflow_13.proto
476type MeterStatsReply = openflow_13.MeterStatsReply
477
478// FlowTableUpdate from public import voltha_protos/openflow_13.proto
479type FlowTableUpdate = openflow_13.FlowTableUpdate
480
481// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
482type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
483
484// Flows from public import voltha_protos/openflow_13.proto
485type Flows = openflow_13.Flows
486
487// Meters from public import voltha_protos/openflow_13.proto
488type Meters = openflow_13.Meters
489
490// FlowGroups from public import voltha_protos/openflow_13.proto
491type FlowGroups = openflow_13.FlowGroups
492
493// FlowChanges from public import voltha_protos/openflow_13.proto
494type FlowChanges = openflow_13.FlowChanges
495
496// FlowGroupChanges from public import voltha_protos/openflow_13.proto
497type FlowGroupChanges = openflow_13.FlowGroupChanges
498
499// PacketIn from public import voltha_protos/openflow_13.proto
500type PacketIn = openflow_13.PacketIn
501
502// PacketOut from public import voltha_protos/openflow_13.proto
503type PacketOut = openflow_13.PacketOut
504
505// ChangeEvent from public import voltha_protos/openflow_13.proto
506type ChangeEvent = openflow_13.ChangeEvent
507type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
Maninderd4373b42020-12-10 04:58:13 +0530508type ChangeEvent_Error = openflow_13.ChangeEvent_Error
William Kurkian1b363f42019-03-12 15:28:12 -0400509
William Kurkianad745652019-03-20 08:45:51 -0400510// OfpPortNo from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400511type OfpPortNo = openflow_13.OfpPortNo
512
513var OfpPortNo_name = openflow_13.OfpPortNo_name
514var OfpPortNo_value = openflow_13.OfpPortNo_value
515
516const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
517const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
518const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
519const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
520const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
521const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
522const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
523const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
524const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
525const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
526
William Kurkianad745652019-03-20 08:45:51 -0400527// OfpType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400528type OfpType = openflow_13.OfpType
529
530var OfpType_name = openflow_13.OfpType_name
531var OfpType_value = openflow_13.OfpType_value
532
533const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
534const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
535const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
536const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
537const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
538const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
539const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
540const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
541const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
542const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
543const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
544const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
545const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
546const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
547const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
548const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
549const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
550const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
551const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
552const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
553const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
554const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
555const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
556const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
557const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
558const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
559const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
560const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
561const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
562const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
563
William Kurkianad745652019-03-20 08:45:51 -0400564// OfpHelloElemType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400565type OfpHelloElemType = openflow_13.OfpHelloElemType
566
567var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
568var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
569
570const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
571const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
572
William Kurkianad745652019-03-20 08:45:51 -0400573// OfpConfigFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400574type OfpConfigFlags = openflow_13.OfpConfigFlags
575
576var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
577var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
578
579const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
580const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
581const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
582const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
583
William Kurkianad745652019-03-20 08:45:51 -0400584// OfpTableConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400585type OfpTableConfig = openflow_13.OfpTableConfig
586
587var OfpTableConfig_name = openflow_13.OfpTableConfig_name
588var OfpTableConfig_value = openflow_13.OfpTableConfig_value
589
590const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
591const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
592
William Kurkianad745652019-03-20 08:45:51 -0400593// OfpTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400594type OfpTable = openflow_13.OfpTable
595
596var OfpTable_name = openflow_13.OfpTable_name
597var OfpTable_value = openflow_13.OfpTable_value
598
599const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
600const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
601const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
602
William Kurkianad745652019-03-20 08:45:51 -0400603// OfpCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400604type OfpCapabilities = openflow_13.OfpCapabilities
605
606var OfpCapabilities_name = openflow_13.OfpCapabilities_name
607var OfpCapabilities_value = openflow_13.OfpCapabilities_value
608
609const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
610const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
611const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
612const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
613const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
614const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
615const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
616const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
617
William Kurkianad745652019-03-20 08:45:51 -0400618// OfpPortConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400619type OfpPortConfig = openflow_13.OfpPortConfig
620
621var OfpPortConfig_name = openflow_13.OfpPortConfig_name
622var OfpPortConfig_value = openflow_13.OfpPortConfig_value
623
624const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
625const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
626const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
627const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
628const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
629
William Kurkianad745652019-03-20 08:45:51 -0400630// OfpPortState from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400631type OfpPortState = openflow_13.OfpPortState
632
633var OfpPortState_name = openflow_13.OfpPortState_name
634var OfpPortState_value = openflow_13.OfpPortState_value
635
636const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
637const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
638const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
639const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
640
William Kurkianad745652019-03-20 08:45:51 -0400641// OfpPortFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400642type OfpPortFeatures = openflow_13.OfpPortFeatures
643
644var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
645var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
646
647const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
648const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
649const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
650const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
651const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
652const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
653const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
654const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
655const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
656const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
657const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
658const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
659const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
660const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
661const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
662const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
663const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
664
William Kurkianad745652019-03-20 08:45:51 -0400665// OfpPortReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400666type OfpPortReason = openflow_13.OfpPortReason
667
668var OfpPortReason_name = openflow_13.OfpPortReason_name
669var OfpPortReason_value = openflow_13.OfpPortReason_value
670
671const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
672const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
673const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
674
William Kurkianad745652019-03-20 08:45:51 -0400675// OfpMatchType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400676type OfpMatchType = openflow_13.OfpMatchType
677
678var OfpMatchType_name = openflow_13.OfpMatchType_name
679var OfpMatchType_value = openflow_13.OfpMatchType_value
680
681const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
682const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
683
William Kurkianad745652019-03-20 08:45:51 -0400684// OfpOxmClass from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400685type OfpOxmClass = openflow_13.OfpOxmClass
686
687var OfpOxmClass_name = openflow_13.OfpOxmClass_name
688var OfpOxmClass_value = openflow_13.OfpOxmClass_value
689
690const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
691const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
692const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
693const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
694
William Kurkianad745652019-03-20 08:45:51 -0400695// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400696type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
697
698var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
699var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
700
701const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
702const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
703const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
704const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
705const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
706const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
707const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
708const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
709const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
710const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
711const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
712const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
713const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
714const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
715const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
716const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
717const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
718const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
719const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
720const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
721const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
722const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
723const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
724const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
725const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
726const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
727const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
728const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
729const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
730const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
731const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
732const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
733const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
734const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
735const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
736const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
737const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
738const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
739const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
740const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
741
William Kurkianad745652019-03-20 08:45:51 -0400742// OfpVlanId from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400743type OfpVlanId = openflow_13.OfpVlanId
744
745var OfpVlanId_name = openflow_13.OfpVlanId_name
746var OfpVlanId_value = openflow_13.OfpVlanId_value
747
748const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
749const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
750
William Kurkianad745652019-03-20 08:45:51 -0400751// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400752type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
753
754var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
755var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
756
757const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
758const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
759const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
760const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
761const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
762const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
763const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
764const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
765const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
766const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
767
William Kurkianad745652019-03-20 08:45:51 -0400768// OfpActionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400769type OfpActionType = openflow_13.OfpActionType
770
771var OfpActionType_name = openflow_13.OfpActionType_name
772var OfpActionType_value = openflow_13.OfpActionType_value
773
774const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
775const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
776const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
777const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
778const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
779const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
780const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
781const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
782const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
783const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
784const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
785const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
786const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
787const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
788const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
789const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
790const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
791
William Kurkianad745652019-03-20 08:45:51 -0400792// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400793type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
794
795var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
796var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
797
798const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
799const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
800const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
801
William Kurkianad745652019-03-20 08:45:51 -0400802// OfpInstructionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400803type OfpInstructionType = openflow_13.OfpInstructionType
804
805var OfpInstructionType_name = openflow_13.OfpInstructionType_name
806var OfpInstructionType_value = openflow_13.OfpInstructionType_value
807
808const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
809const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
810const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
811const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
812const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
813const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
814const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
815const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
816
William Kurkianad745652019-03-20 08:45:51 -0400817// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400818type OfpFlowModCommand = openflow_13.OfpFlowModCommand
819
820var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
821var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
822
823const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
824const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
825const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
826const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
827const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
828
William Kurkianad745652019-03-20 08:45:51 -0400829// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400830type OfpFlowModFlags = openflow_13.OfpFlowModFlags
831
832var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
833var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
834
835const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
836const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
837const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
838const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
839const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
840const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
841
William Kurkianad745652019-03-20 08:45:51 -0400842// OfpGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400843type OfpGroup = openflow_13.OfpGroup
844
845var OfpGroup_name = openflow_13.OfpGroup_name
846var OfpGroup_value = openflow_13.OfpGroup_value
847
848const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
849const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
850const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
851const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
852
William Kurkianad745652019-03-20 08:45:51 -0400853// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400854type OfpGroupModCommand = openflow_13.OfpGroupModCommand
855
856var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
857var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
858
859const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
860const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
861const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
862
William Kurkianad745652019-03-20 08:45:51 -0400863// OfpGroupType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400864type OfpGroupType = openflow_13.OfpGroupType
865
866var OfpGroupType_name = openflow_13.OfpGroupType_name
867var OfpGroupType_value = openflow_13.OfpGroupType_value
868
869const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
870const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
871const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
872const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
873
William Kurkianad745652019-03-20 08:45:51 -0400874// OfpPacketInReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400875type OfpPacketInReason = openflow_13.OfpPacketInReason
876
877var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
878var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
879
880const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
881const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
882const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
883
William Kurkianad745652019-03-20 08:45:51 -0400884// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400885type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
886
887var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
888var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
889
890const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
891const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
892const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
893const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
894const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
895
William Kurkianad745652019-03-20 08:45:51 -0400896// OfpMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400897type OfpMeter = openflow_13.OfpMeter
898
899var OfpMeter_name = openflow_13.OfpMeter_name
900var OfpMeter_value = openflow_13.OfpMeter_value
901
902const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
903const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
904const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
905const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
906const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
907
William Kurkianad745652019-03-20 08:45:51 -0400908// OfpMeterBandType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400909type OfpMeterBandType = openflow_13.OfpMeterBandType
910
911var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
912var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
913
914const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
915const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
916const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
917const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
918
William Kurkianad745652019-03-20 08:45:51 -0400919// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400920type OfpMeterModCommand = openflow_13.OfpMeterModCommand
921
922var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
923var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
924
925const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
926const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
927const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
928
William Kurkianad745652019-03-20 08:45:51 -0400929// OfpMeterFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400930type OfpMeterFlags = openflow_13.OfpMeterFlags
931
932var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
933var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
934
935const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
936const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
937const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
938const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
939const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
940
William Kurkianad745652019-03-20 08:45:51 -0400941// OfpErrorType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400942type OfpErrorType = openflow_13.OfpErrorType
943
944var OfpErrorType_name = openflow_13.OfpErrorType_name
945var OfpErrorType_value = openflow_13.OfpErrorType_value
946
947const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
948const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
949const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
950const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
951const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
952const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
953const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
954const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
955const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
956const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
957const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
958const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
959const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
960const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
961const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
962
William Kurkianad745652019-03-20 08:45:51 -0400963// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400964type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
965
966var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
967var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
968
969const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
970const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
971
William Kurkianad745652019-03-20 08:45:51 -0400972// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400973type OfpBadRequestCode = openflow_13.OfpBadRequestCode
974
975var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
976var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
977
978const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
979const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
980const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
981const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
982const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
983const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
984const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
985const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
986const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
987const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
988const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
989const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
990const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
991const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
992
William Kurkianad745652019-03-20 08:45:51 -0400993// OfpBadActionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400994type OfpBadActionCode = openflow_13.OfpBadActionCode
995
996var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
997var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
998
999const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
1000const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
1001const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
1002const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
1003const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
1004const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
1005const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
1006const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
1007const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
1008const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
1009const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
1010const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
1011const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
1012const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
1013const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
1014const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
1015
William Kurkianad745652019-03-20 08:45:51 -04001016// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001017type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
1018
1019var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
1020var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1021
1022const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1023const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1024const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1025const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1026const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1027const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1028const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1029const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1030const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1031
William Kurkianad745652019-03-20 08:45:51 -04001032// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001033type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1034
1035var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1036var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1037
1038const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1039const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1040const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1041const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1042const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1043const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1044const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1045const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1046const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1047const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1048const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1049const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1050
William Kurkianad745652019-03-20 08:45:51 -04001051// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001052type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1053
1054var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1055var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1056
1057const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1058const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1059const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1060const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1061const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1062const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1063const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1064const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1065
William Kurkianad745652019-03-20 08:45:51 -04001066// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001067type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1068
1069var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1070var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1071
1072const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1073const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1074const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1075const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1076const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1077const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1078const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1079const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1080const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1081const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1082const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1083const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1084const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1085const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1086const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1087
William Kurkianad745652019-03-20 08:45:51 -04001088// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001089type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1090
1091var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1092var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1093
1094const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1095const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1096const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1097const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1098const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1099
William Kurkianad745652019-03-20 08:45:51 -04001100// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001101type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1102
1103var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1104var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1105
1106const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1107const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1108const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1109
William Kurkianad745652019-03-20 08:45:51 -04001110// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001111type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1112
1113var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1114var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1115
1116const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1117const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1118const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1119
William Kurkianad745652019-03-20 08:45:51 -04001120// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001121type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1122
1123var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1124var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1125
1126const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1127const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1128const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1129
William Kurkianad745652019-03-20 08:45:51 -04001130// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001131type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1132
1133var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1134var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1135
1136const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1137const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1138const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1139
William Kurkianad745652019-03-20 08:45:51 -04001140// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001141type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1142
1143var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1144var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1145
1146const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1147const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1148const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1149const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1150const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1151const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1152const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1153const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1154const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03001155const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
William Kurkian1b363f42019-03-12 15:28:12 -04001156const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1157const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1158
William Kurkianad745652019-03-20 08:45:51 -04001159// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001160type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1161
1162var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1163var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1164
1165const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1166const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1167const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1168const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1169const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1170const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1171
William Kurkianad745652019-03-20 08:45:51 -04001172// OfpMultipartType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001173type OfpMultipartType = openflow_13.OfpMultipartType
1174
1175var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1176var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1177
1178const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1179const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1180const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1181const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1182const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1183const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1184const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1185const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1186const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1187const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1188const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1189const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1190const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1191const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1192const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1193
William Kurkianad745652019-03-20 08:45:51 -04001194// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001195type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1196
1197var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1198var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1199
1200const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1201const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1202
William Kurkianad745652019-03-20 08:45:51 -04001203// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001204type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1205
1206var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1207var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1208
1209const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1210const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1211
William Kurkianad745652019-03-20 08:45:51 -04001212// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001213type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1214
1215var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1216var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1217
1218const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1219const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1220const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1221const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1222const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1223const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1224const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1225const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1226const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1227const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1228const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1229const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1230const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1231const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1232const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1233const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1234
William Kurkianad745652019-03-20 08:45:51 -04001235// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001236type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1237
1238var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1239var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1240
1241const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1242const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1243const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1244const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1245const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1246
William Kurkianad745652019-03-20 08:45:51 -04001247// OfpQueueProperties from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001248type OfpQueueProperties = openflow_13.OfpQueueProperties
1249
1250var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1251var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1252
1253const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1254const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1255const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1256const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1257
William Kurkianad745652019-03-20 08:45:51 -04001258// OfpControllerRole from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001259type OfpControllerRole = openflow_13.OfpControllerRole
1260
1261var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1262var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1263
1264const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1265const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1266const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1267const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1268
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001269type EventFilterRuleKey_EventFilterRuleType int32
William Kurkian1b363f42019-03-12 15:28:12 -04001270
1271const (
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001272 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1273 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1274 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1275 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1276 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1277 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
William Kurkian1b363f42019-03-12 15:28:12 -04001278)
1279
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001280var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1281 0: "filter_all",
1282 1: "category",
1283 2: "sub_category",
1284 3: "kpi_event_type",
1285 4: "config_event_type",
1286 5: "device_event_type",
William Kurkian1b363f42019-03-12 15:28:12 -04001287}
William Kurkianad745652019-03-20 08:45:51 -04001288
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001289var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1290 "filter_all": 0,
1291 "category": 1,
1292 "sub_category": 2,
1293 "kpi_event_type": 3,
1294 "config_event_type": 4,
1295 "device_event_type": 5,
William Kurkian1b363f42019-03-12 15:28:12 -04001296}
1297
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001298func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1299 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -04001300}
William Kurkianad745652019-03-20 08:45:51 -04001301
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001302func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001303 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001304}
1305
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301306type TestResponse_TestResponseResult int32
1307
1308const (
1309 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
1310 TestResponse_FAILURE TestResponse_TestResponseResult = 1
1311)
1312
1313var TestResponse_TestResponseResult_name = map[int32]string{
1314 0: "SUCCESS",
1315 1: "FAILURE",
1316}
1317
1318var TestResponse_TestResponseResult_value = map[string]int32{
1319 "SUCCESS": 0,
1320 "FAILURE": 1,
1321}
1322
1323func (x TestResponse_TestResponseResult) String() string {
1324 return proto.EnumName(TestResponse_TestResponseResult_name, int32(x))
1325}
1326
1327func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
1328 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
1329}
1330
William Kurkian1b363f42019-03-12 15:28:12 -04001331type SelfTestResponse_SelfTestResult int32
1332
1333const (
1334 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1335 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1336 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1337 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1338)
1339
1340var SelfTestResponse_SelfTestResult_name = map[int32]string{
1341 0: "SUCCESS",
1342 1: "FAILURE",
1343 2: "NOT_SUPPORTED",
1344 3: "UNKNOWN_ERROR",
1345}
William Kurkianad745652019-03-20 08:45:51 -04001346
William Kurkian1b363f42019-03-12 15:28:12 -04001347var SelfTestResponse_SelfTestResult_value = map[string]int32{
1348 "SUCCESS": 0,
1349 "FAILURE": 1,
1350 "NOT_SUPPORTED": 2,
1351 "UNKNOWN_ERROR": 3,
1352}
1353
1354func (x SelfTestResponse_SelfTestResult) String() string {
1355 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1356}
William Kurkianad745652019-03-20 08:45:51 -04001357
William Kurkian1b363f42019-03-12 15:28:12 -04001358func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05301359 return fileDescriptor_e084f1a60ce7016c, []int{12, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001360}
1361
1362type DeviceGroup struct {
1363 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1364 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1365 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1366 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1367 XXX_unrecognized []byte `json:"-"`
1368 XXX_sizecache int32 `json:"-"`
1369}
1370
1371func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1372func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1373func (*DeviceGroup) ProtoMessage() {}
1374func (*DeviceGroup) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001375 return fileDescriptor_e084f1a60ce7016c, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -04001376}
William Kurkianad745652019-03-20 08:45:51 -04001377
William Kurkian1b363f42019-03-12 15:28:12 -04001378func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1379 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1380}
1381func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1382 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1383}
William Kurkianad745652019-03-20 08:45:51 -04001384func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1385 xxx_messageInfo_DeviceGroup.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001386}
1387func (m *DeviceGroup) XXX_Size() int {
1388 return xxx_messageInfo_DeviceGroup.Size(m)
1389}
1390func (m *DeviceGroup) XXX_DiscardUnknown() {
1391 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1392}
1393
1394var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1395
1396func (m *DeviceGroup) GetId() string {
1397 if m != nil {
1398 return m.Id
1399 }
1400 return ""
1401}
1402
1403func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1404 if m != nil {
1405 return m.LogicalDevices
1406 }
1407 return nil
1408}
1409
1410func (m *DeviceGroup) GetDevices() []*Device {
1411 if m != nil {
1412 return m.Devices
1413 }
1414 return nil
1415}
1416
1417type DeviceGroups struct {
1418 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1419 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1420 XXX_unrecognized []byte `json:"-"`
1421 XXX_sizecache int32 `json:"-"`
1422}
1423
1424func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1425func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1426func (*DeviceGroups) ProtoMessage() {}
1427func (*DeviceGroups) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001428 return fileDescriptor_e084f1a60ce7016c, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -04001429}
William Kurkianad745652019-03-20 08:45:51 -04001430
William Kurkian1b363f42019-03-12 15:28:12 -04001431func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1432 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1433}
1434func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1435 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1436}
William Kurkianad745652019-03-20 08:45:51 -04001437func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1438 xxx_messageInfo_DeviceGroups.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001439}
1440func (m *DeviceGroups) XXX_Size() int {
1441 return xxx_messageInfo_DeviceGroups.Size(m)
1442}
1443func (m *DeviceGroups) XXX_DiscardUnknown() {
1444 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1445}
1446
1447var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1448
1449func (m *DeviceGroups) GetItems() []*DeviceGroup {
1450 if m != nil {
1451 return m.Items
1452 }
1453 return nil
1454}
1455
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001456type EventFilterRuleKey struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001457 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1458 XXX_unrecognized []byte `json:"-"`
1459 XXX_sizecache int32 `json:"-"`
1460}
1461
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001462func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1463func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1464func (*EventFilterRuleKey) ProtoMessage() {}
1465func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001466 return fileDescriptor_e084f1a60ce7016c, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -04001467}
William Kurkianad745652019-03-20 08:45:51 -04001468
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001469func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1470 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001471}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001472func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1473 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001474}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001475func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1476 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001477}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001478func (m *EventFilterRuleKey) XXX_Size() int {
1479 return xxx_messageInfo_EventFilterRuleKey.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001480}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001481func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1482 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001483}
1484
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001485var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001486
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001487type EventFilterRule struct {
1488 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1489 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1490 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1491 XXX_unrecognized []byte `json:"-"`
1492 XXX_sizecache int32 `json:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -04001493}
1494
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001495func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1496func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1497func (*EventFilterRule) ProtoMessage() {}
1498func (*EventFilterRule) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001499 return fileDescriptor_e084f1a60ce7016c, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -04001500}
William Kurkianad745652019-03-20 08:45:51 -04001501
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001502func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1503 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001504}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001505func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1506 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001507}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001508func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1509 xxx_messageInfo_EventFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001510}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001511func (m *EventFilterRule) XXX_Size() int {
1512 return xxx_messageInfo_EventFilterRule.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001513}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001514func (m *EventFilterRule) XXX_DiscardUnknown() {
1515 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001516}
1517
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001518var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001519
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001520func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
William Kurkian1b363f42019-03-12 15:28:12 -04001521 if m != nil {
1522 return m.Key
1523 }
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001524 return EventFilterRuleKey_filter_all
William Kurkian1b363f42019-03-12 15:28:12 -04001525}
1526
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001527func (m *EventFilterRule) GetValue() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001528 if m != nil {
1529 return m.Value
1530 }
1531 return ""
1532}
1533
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001534type EventFilter struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001535 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001536 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1537 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1538 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1539 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001540 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1541 XXX_unrecognized []byte `json:"-"`
1542 XXX_sizecache int32 `json:"-"`
1543}
1544
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001545func (m *EventFilter) Reset() { *m = EventFilter{} }
1546func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1547func (*EventFilter) ProtoMessage() {}
1548func (*EventFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001549 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001550}
William Kurkianad745652019-03-20 08:45:51 -04001551
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001552func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1553 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001554}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001555func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1556 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001557}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001558func (m *EventFilter) XXX_Merge(src proto.Message) {
1559 xxx_messageInfo_EventFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001560}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001561func (m *EventFilter) XXX_Size() int {
1562 return xxx_messageInfo_EventFilter.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001563}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001564func (m *EventFilter) XXX_DiscardUnknown() {
1565 xxx_messageInfo_EventFilter.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001566}
1567
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001568var xxx_messageInfo_EventFilter proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001569
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001570func (m *EventFilter) GetId() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001571 if m != nil {
1572 return m.Id
1573 }
1574 return ""
1575}
1576
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001577func (m *EventFilter) GetEnable() bool {
1578 if m != nil {
1579 return m.Enable
1580 }
1581 return false
1582}
1583
1584func (m *EventFilter) GetDeviceId() string {
1585 if m != nil {
1586 return m.DeviceId
1587 }
1588 return ""
1589}
1590
1591func (m *EventFilter) GetEventType() string {
1592 if m != nil {
1593 return m.EventType
1594 }
1595 return ""
1596}
1597
1598func (m *EventFilter) GetRules() []*EventFilterRule {
William Kurkian1b363f42019-03-12 15:28:12 -04001599 if m != nil {
1600 return m.Rules
1601 }
1602 return nil
1603}
1604
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001605type EventFilters struct {
1606 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001607 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1608 XXX_unrecognized []byte `json:"-"`
1609 XXX_sizecache int32 `json:"-"`
1610}
1611
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001612func (m *EventFilters) Reset() { *m = EventFilters{} }
1613func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1614func (*EventFilters) ProtoMessage() {}
1615func (*EventFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001616 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001617}
William Kurkianad745652019-03-20 08:45:51 -04001618
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001619func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1620 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001621}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001622func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1623 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001624}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001625func (m *EventFilters) XXX_Merge(src proto.Message) {
1626 xxx_messageInfo_EventFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001627}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001628func (m *EventFilters) XXX_Size() int {
1629 return xxx_messageInfo_EventFilters.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001630}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001631func (m *EventFilters) XXX_DiscardUnknown() {
1632 xxx_messageInfo_EventFilters.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001633}
1634
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001635var xxx_messageInfo_EventFilters proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001636
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001637func (m *EventFilters) GetFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001638 if m != nil {
1639 return m.Filters
1640 }
1641 return nil
1642}
1643
William Kurkian1b363f42019-03-12 15:28:12 -04001644// CoreInstance represents a core instance. It is data held in memory when a core
1645// is running. This data is not persistent.
1646type CoreInstance struct {
1647 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1648 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1649 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1650 XXX_unrecognized []byte `json:"-"`
1651 XXX_sizecache int32 `json:"-"`
1652}
1653
1654func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1655func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1656func (*CoreInstance) ProtoMessage() {}
1657func (*CoreInstance) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001658 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001659}
William Kurkianad745652019-03-20 08:45:51 -04001660
William Kurkian1b363f42019-03-12 15:28:12 -04001661func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1662 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1663}
1664func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1665 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1666}
William Kurkianad745652019-03-20 08:45:51 -04001667func (m *CoreInstance) XXX_Merge(src proto.Message) {
1668 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001669}
1670func (m *CoreInstance) XXX_Size() int {
1671 return xxx_messageInfo_CoreInstance.Size(m)
1672}
1673func (m *CoreInstance) XXX_DiscardUnknown() {
1674 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1675}
1676
1677var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1678
1679func (m *CoreInstance) GetInstanceId() string {
1680 if m != nil {
1681 return m.InstanceId
1682 }
1683 return ""
1684}
1685
1686func (m *CoreInstance) GetHealth() *HealthStatus {
1687 if m != nil {
1688 return m.Health
1689 }
1690 return nil
1691}
1692
1693type CoreInstances struct {
1694 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1695 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1696 XXX_unrecognized []byte `json:"-"`
1697 XXX_sizecache int32 `json:"-"`
1698}
1699
1700func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1701func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1702func (*CoreInstances) ProtoMessage() {}
1703func (*CoreInstances) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001704 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001705}
William Kurkianad745652019-03-20 08:45:51 -04001706
William Kurkian1b363f42019-03-12 15:28:12 -04001707func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1708 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1709}
1710func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1711 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1712}
William Kurkianad745652019-03-20 08:45:51 -04001713func (m *CoreInstances) XXX_Merge(src proto.Message) {
1714 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001715}
1716func (m *CoreInstances) XXX_Size() int {
1717 return xxx_messageInfo_CoreInstances.Size(m)
1718}
1719func (m *CoreInstances) XXX_DiscardUnknown() {
1720 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1721}
1722
1723var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1724
1725func (m *CoreInstances) GetItems() []*CoreInstance {
1726 if m != nil {
1727 return m.Items
1728 }
1729 return nil
1730}
1731
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301732type OmciTestRequest struct {
1733 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1734 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
1735 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1736 XXX_unrecognized []byte `json:"-"`
1737 XXX_sizecache int32 `json:"-"`
1738}
1739
1740func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} }
1741func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) }
1742func (*OmciTestRequest) ProtoMessage() {}
1743func (*OmciTestRequest) Descriptor() ([]byte, []int) {
1744 return fileDescriptor_e084f1a60ce7016c, []int{8}
1745}
1746
1747func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error {
1748 return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b)
1749}
1750func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1751 return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic)
1752}
1753func (m *OmciTestRequest) XXX_Merge(src proto.Message) {
1754 xxx_messageInfo_OmciTestRequest.Merge(m, src)
1755}
1756func (m *OmciTestRequest) XXX_Size() int {
1757 return xxx_messageInfo_OmciTestRequest.Size(m)
1758}
1759func (m *OmciTestRequest) XXX_DiscardUnknown() {
1760 xxx_messageInfo_OmciTestRequest.DiscardUnknown(m)
1761}
1762
1763var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo
1764
1765func (m *OmciTestRequest) GetId() string {
1766 if m != nil {
1767 return m.Id
1768 }
1769 return ""
1770}
1771
1772func (m *OmciTestRequest) GetUuid() string {
1773 if m != nil {
1774 return m.Uuid
1775 }
1776 return ""
1777}
1778
1779type TestResponse struct {
1780 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.TestResponse_TestResponseResult" json:"result,omitempty"`
1781 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1782 XXX_unrecognized []byte `json:"-"`
1783 XXX_sizecache int32 `json:"-"`
1784}
1785
1786func (m *TestResponse) Reset() { *m = TestResponse{} }
1787func (m *TestResponse) String() string { return proto.CompactTextString(m) }
1788func (*TestResponse) ProtoMessage() {}
1789func (*TestResponse) Descriptor() ([]byte, []int) {
1790 return fileDescriptor_e084f1a60ce7016c, []int{9}
1791}
1792
1793func (m *TestResponse) XXX_Unmarshal(b []byte) error {
1794 return xxx_messageInfo_TestResponse.Unmarshal(m, b)
1795}
1796func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1797 return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic)
1798}
1799func (m *TestResponse) XXX_Merge(src proto.Message) {
1800 xxx_messageInfo_TestResponse.Merge(m, src)
1801}
1802func (m *TestResponse) XXX_Size() int {
1803 return xxx_messageInfo_TestResponse.Size(m)
1804}
1805func (m *TestResponse) XXX_DiscardUnknown() {
1806 xxx_messageInfo_TestResponse.DiscardUnknown(m)
1807}
1808
1809var xxx_messageInfo_TestResponse proto.InternalMessageInfo
1810
1811func (m *TestResponse) GetResult() TestResponse_TestResponseResult {
1812 if m != nil {
1813 return m.Result
1814 }
1815 return TestResponse_SUCCESS
1816}
1817
dpaul2b52e712020-06-23 13:02:28 +05301818type ValueSet struct {
1819 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1820 // Types that are valid to be assigned to Value:
1821 // *ValueSet_AlarmConfig
1822 Value isValueSet_Value `protobuf_oneof:"value"`
1823 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1824 XXX_unrecognized []byte `json:"-"`
1825 XXX_sizecache int32 `json:"-"`
1826}
1827
1828func (m *ValueSet) Reset() { *m = ValueSet{} }
1829func (m *ValueSet) String() string { return proto.CompactTextString(m) }
1830func (*ValueSet) ProtoMessage() {}
1831func (*ValueSet) Descriptor() ([]byte, []int) {
1832 return fileDescriptor_e084f1a60ce7016c, []int{10}
1833}
1834
1835func (m *ValueSet) XXX_Unmarshal(b []byte) error {
1836 return xxx_messageInfo_ValueSet.Unmarshal(m, b)
1837}
1838func (m *ValueSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1839 return xxx_messageInfo_ValueSet.Marshal(b, m, deterministic)
1840}
1841func (m *ValueSet) XXX_Merge(src proto.Message) {
1842 xxx_messageInfo_ValueSet.Merge(m, src)
1843}
1844func (m *ValueSet) XXX_Size() int {
1845 return xxx_messageInfo_ValueSet.Size(m)
1846}
1847func (m *ValueSet) XXX_DiscardUnknown() {
1848 xxx_messageInfo_ValueSet.DiscardUnknown(m)
1849}
1850
1851var xxx_messageInfo_ValueSet proto.InternalMessageInfo
1852
1853func (m *ValueSet) GetId() string {
1854 if m != nil {
1855 return m.Id
1856 }
1857 return ""
1858}
1859
1860type isValueSet_Value interface {
1861 isValueSet_Value()
1862}
1863
1864type ValueSet_AlarmConfig struct {
1865 AlarmConfig *config.AlarmConfig `protobuf:"bytes,2,opt,name=alarm_config,json=alarmConfig,proto3,oneof"`
1866}
1867
1868func (*ValueSet_AlarmConfig) isValueSet_Value() {}
1869
1870func (m *ValueSet) GetValue() isValueSet_Value {
1871 if m != nil {
1872 return m.Value
1873 }
1874 return nil
1875}
1876
1877func (m *ValueSet) GetAlarmConfig() *config.AlarmConfig {
1878 if x, ok := m.GetValue().(*ValueSet_AlarmConfig); ok {
1879 return x.AlarmConfig
1880 }
1881 return nil
1882}
1883
1884// XXX_OneofWrappers is for the internal use of the proto package.
1885func (*ValueSet) XXX_OneofWrappers() []interface{} {
1886 return []interface{}{
1887 (*ValueSet_AlarmConfig)(nil),
1888 }
1889}
1890
William Kurkian1b363f42019-03-12 15:28:12 -04001891// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1892// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1893// for better performance
1894type Voltha struct {
1895 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1896 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1897 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1898 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1899 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1900 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001901 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001902 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1903 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1904 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1905 XXX_unrecognized []byte `json:"-"`
1906 XXX_sizecache int32 `json:"-"`
1907}
1908
1909func (m *Voltha) Reset() { *m = Voltha{} }
1910func (m *Voltha) String() string { return proto.CompactTextString(m) }
1911func (*Voltha) ProtoMessage() {}
1912func (*Voltha) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05301913 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001914}
William Kurkianad745652019-03-20 08:45:51 -04001915
William Kurkian1b363f42019-03-12 15:28:12 -04001916func (m *Voltha) XXX_Unmarshal(b []byte) error {
1917 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1918}
1919func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1920 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1921}
William Kurkianad745652019-03-20 08:45:51 -04001922func (m *Voltha) XXX_Merge(src proto.Message) {
1923 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001924}
1925func (m *Voltha) XXX_Size() int {
1926 return xxx_messageInfo_Voltha.Size(m)
1927}
1928func (m *Voltha) XXX_DiscardUnknown() {
1929 xxx_messageInfo_Voltha.DiscardUnknown(m)
1930}
1931
1932var xxx_messageInfo_Voltha proto.InternalMessageInfo
1933
1934func (m *Voltha) GetVersion() string {
1935 if m != nil {
1936 return m.Version
1937 }
1938 return ""
1939}
1940
1941func (m *Voltha) GetAdapters() []*Adapter {
1942 if m != nil {
1943 return m.Adapters
1944 }
1945 return nil
1946}
1947
1948func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1949 if m != nil {
1950 return m.LogicalDevices
1951 }
1952 return nil
1953}
1954
1955func (m *Voltha) GetDevices() []*Device {
1956 if m != nil {
1957 return m.Devices
1958 }
1959 return nil
1960}
1961
1962func (m *Voltha) GetDeviceTypes() []*DeviceType {
1963 if m != nil {
1964 return m.DeviceTypes
1965 }
1966 return nil
1967}
1968
1969func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1970 if m != nil {
1971 return m.DeviceGroups
1972 }
1973 return nil
1974}
1975
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001976func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001977 if m != nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001978 return m.EventFilters
William Kurkian1b363f42019-03-12 15:28:12 -04001979 }
1980 return nil
1981}
1982
1983func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1984 if m != nil {
1985 return m.OmciMibDatabase
1986 }
1987 return nil
1988}
1989
1990func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1991 if m != nil {
1992 return m.OmciAlarmDatabase
1993 }
1994 return nil
1995}
1996
1997// Device Self Test Response
1998type SelfTestResponse struct {
1999 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
2000 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2001 XXX_unrecognized []byte `json:"-"`
2002 XXX_sizecache int32 `json:"-"`
2003}
2004
2005func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
2006func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
2007func (*SelfTestResponse) ProtoMessage() {}
2008func (*SelfTestResponse) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302009 return fileDescriptor_e084f1a60ce7016c, []int{12}
William Kurkian1b363f42019-03-12 15:28:12 -04002010}
William Kurkianad745652019-03-20 08:45:51 -04002011
William Kurkian1b363f42019-03-12 15:28:12 -04002012func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
2013 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
2014}
2015func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2016 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
2017}
William Kurkianad745652019-03-20 08:45:51 -04002018func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
2019 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002020}
2021func (m *SelfTestResponse) XXX_Size() int {
2022 return xxx_messageInfo_SelfTestResponse.Size(m)
2023}
2024func (m *SelfTestResponse) XXX_DiscardUnknown() {
2025 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
2026}
2027
2028var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
2029
2030func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
2031 if m != nil {
2032 return m.Result
2033 }
2034 return SelfTestResponse_SUCCESS
2035}
2036
2037type OfAgentSubscriber struct {
2038 // ID of ofagent instance
2039 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
2040 // ID of voltha instance to which the ofagent is subscribed
2041 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
2042 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2043 XXX_unrecognized []byte `json:"-"`
2044 XXX_sizecache int32 `json:"-"`
2045}
2046
2047func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
2048func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
2049func (*OfAgentSubscriber) ProtoMessage() {}
2050func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302051 return fileDescriptor_e084f1a60ce7016c, []int{13}
William Kurkian1b363f42019-03-12 15:28:12 -04002052}
William Kurkianad745652019-03-20 08:45:51 -04002053
William Kurkian1b363f42019-03-12 15:28:12 -04002054func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
2055 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
2056}
2057func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2058 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
2059}
William Kurkianad745652019-03-20 08:45:51 -04002060func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
2061 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002062}
2063func (m *OfAgentSubscriber) XXX_Size() int {
2064 return xxx_messageInfo_OfAgentSubscriber.Size(m)
2065}
2066func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
2067 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
2068}
2069
2070var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
2071
2072func (m *OfAgentSubscriber) GetOfagentId() string {
2073 if m != nil {
2074 return m.OfagentId
2075 }
2076 return ""
2077}
2078
2079func (m *OfAgentSubscriber) GetVolthaId() string {
2080 if m != nil {
2081 return m.VolthaId
2082 }
2083 return ""
2084}
2085
2086// Identifies a membership group a Core belongs to
2087type Membership struct {
2088 // Group name
2089 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
2090 // Unique ID of a container within that group
2091 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
2092 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2093 XXX_unrecognized []byte `json:"-"`
2094 XXX_sizecache int32 `json:"-"`
2095}
2096
2097func (m *Membership) Reset() { *m = Membership{} }
2098func (m *Membership) String() string { return proto.CompactTextString(m) }
2099func (*Membership) ProtoMessage() {}
2100func (*Membership) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302101 return fileDescriptor_e084f1a60ce7016c, []int{14}
William Kurkian1b363f42019-03-12 15:28:12 -04002102}
William Kurkianad745652019-03-20 08:45:51 -04002103
William Kurkian1b363f42019-03-12 15:28:12 -04002104func (m *Membership) XXX_Unmarshal(b []byte) error {
2105 return xxx_messageInfo_Membership.Unmarshal(m, b)
2106}
2107func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2108 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
2109}
William Kurkianad745652019-03-20 08:45:51 -04002110func (m *Membership) XXX_Merge(src proto.Message) {
2111 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002112}
2113func (m *Membership) XXX_Size() int {
2114 return xxx_messageInfo_Membership.Size(m)
2115}
2116func (m *Membership) XXX_DiscardUnknown() {
2117 xxx_messageInfo_Membership.DiscardUnknown(m)
2118}
2119
2120var xxx_messageInfo_Membership proto.InternalMessageInfo
2121
2122func (m *Membership) GetGroupName() string {
2123 if m != nil {
2124 return m.GroupName
2125 }
2126 return ""
2127}
2128
2129func (m *Membership) GetId() string {
2130 if m != nil {
2131 return m.Id
2132 }
2133 return ""
2134}
2135
manikkaraj k166cb202019-07-28 13:05:56 -04002136// Additional information required to process flow at device adapters
2137type FlowMetadata struct {
2138 // Meters associated with flow-update to adapter
2139 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
2140 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2141 XXX_unrecognized []byte `json:"-"`
2142 XXX_sizecache int32 `json:"-"`
2143}
2144
2145func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
2146func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
2147func (*FlowMetadata) ProtoMessage() {}
2148func (*FlowMetadata) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302149 return fileDescriptor_e084f1a60ce7016c, []int{15}
manikkaraj k166cb202019-07-28 13:05:56 -04002150}
2151
2152func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
2153 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
2154}
2155func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2156 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
2157}
2158func (m *FlowMetadata) XXX_Merge(src proto.Message) {
2159 xxx_messageInfo_FlowMetadata.Merge(m, src)
2160}
2161func (m *FlowMetadata) XXX_Size() int {
2162 return xxx_messageInfo_FlowMetadata.Size(m)
2163}
2164func (m *FlowMetadata) XXX_DiscardUnknown() {
2165 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
2166}
2167
2168var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
2169
2170func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
2171 if m != nil {
2172 return m.Meters
2173 }
2174 return nil
2175}
2176
William Kurkian1b363f42019-03-12 15:28:12 -04002177func init() {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002178 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302179 proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
William Kurkianad745652019-03-20 08:45:51 -04002180 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04002181 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2182 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002183 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2184 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2185 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2186 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
William Kurkian1b363f42019-03-12 15:28:12 -04002187 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2188 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302189 proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest")
2190 proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse")
dpaul2b52e712020-06-23 13:02:28 +05302191 proto.RegisterType((*ValueSet)(nil), "voltha.ValueSet")
William Kurkian1b363f42019-03-12 15:28:12 -04002192 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2193 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2194 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2195 proto.RegisterType((*Membership)(nil), "voltha.Membership")
manikkaraj k166cb202019-07-28 13:05:56 -04002196 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianad745652019-03-20 08:45:51 -04002197}
2198
2199func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2200
2201var fileDescriptor_e084f1a60ce7016c = []byte{
khenaidoo Nursimulue9ae0452021-01-13 15:23:48 +00002202 // 2613 bytes of a gzipped FileDescriptorProto
2203 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5b, 0x6f, 0x1b, 0xc7,
2204 0xf5, 0x17, 0x75, 0xd7, 0x21, 0x25, 0x91, 0x43, 0x5d, 0x68, 0x4a, 0xb2, 0xad, 0xc9, 0x4d, 0x51,
2205 0x62, 0xd2, 0xb1, 0x9c, 0x20, 0xff, 0xf8, 0x1f, 0x34, 0xba, 0x59, 0x61, 0x6d, 0x99, 0xec, 0x52,
2206 0xb2, 0xd3, 0x36, 0x06, 0xb1, 0xe4, 0x0e, 0xa9, 0x85, 0x97, 0x5c, 0x76, 0x77, 0x28, 0x5b, 0x30,
2207 0x82, 0x02, 0xe9, 0x25, 0x7d, 0xcf, 0x7b, 0x9f, 0x5a, 0x14, 0xe8, 0x77, 0xc9, 0x43, 0xd1, 0xa7,
2208 0xbe, 0x16, 0x7d, 0xe8, 0x27, 0xc8, 0x73, 0x31, 0x67, 0x66, 0xc9, 0x5d, 0xee, 0xae, 0x24, 0xa6,
2209 0x01, 0xfa, 0x24, 0xed, 0x39, 0x67, 0x7e, 0xe7, 0x36, 0x73, 0xe6, 0xec, 0x59, 0x42, 0xfe, 0xdc,
2210 0xb6, 0xf8, 0x99, 0x5e, 0xeb, 0x3a, 0x36, 0xb7, 0xdd, 0xa2, 0x7c, 0x2a, 0xe0, 0x13, 0x99, 0x96,
2211 0x4f, 0xf9, 0xf5, 0x96, 0x6d, 0xb7, 0x2c, 0x56, 0xd4, 0xbb, 0x66, 0x51, 0xef, 0x74, 0x6c, 0xae,
2212 0x73, 0xd3, 0xee, 0xb8, 0x52, 0x2a, 0xbf, 0xa6, 0xb8, 0xf8, 0x54, 0xef, 0x35, 0x8b, 0xac, 0xdd,
2213 0xe5, 0x17, 0x8a, 0x99, 0x0b, 0xc2, 0xb7, 0x19, 0x57, 0xe0, 0xf9, 0x21, 0xc5, 0x0d, 0xbb, 0xdd,
2214 0xb6, 0x3b, 0xd1, 0xbc, 0x33, 0xa6, 0x5b, 0xfc, 0x4c, 0xf1, 0x68, 0x90, 0x67, 0xd9, 0x2d, 0xb3,
2215 0xa1, 0x5b, 0x35, 0x83, 0x9d, 0x9b, 0x0d, 0x16, 0xbd, 0x3e, 0xc0, 0x5b, 0x0b, 0xf2, 0x74, 0x43,
2216 0xef, 0x72, 0xe6, 0x28, 0xe6, 0xad, 0x20, 0xd3, 0xee, 0xb2, 0x4e, 0xd3, 0xb2, 0x5f, 0xd6, 0x3e,
2217 0xd8, 0x89, 0x11, 0x68, 0x37, 0xcc, 0x5a, 0xdb, 0xac, 0xd7, 0x8c, 0xba, 0x12, 0xd8, 0x8c, 0x10,
2218 0xd0, 0x2d, 0xdd, 0x69, 0x0f, 0x44, 0x6e, 0x06, 0x45, 0xd8, 0x2b, 0x5e, 0x6b, 0xd8, 0x9d, 0xa6,
2219 0xd9, 0x92, 0x7c, 0xfa, 0xa7, 0x04, 0x24, 0x0f, 0xd0, 0xe4, 0x23, 0xc7, 0xee, 0x75, 0xc9, 0x32,
2220 0x8c, 0x9b, 0x46, 0x2e, 0x71, 0x3b, 0xb1, 0x35, 0xb7, 0x37, 0xf5, 0xef, 0xef, 0xbf, 0xdb, 0x48,
2221 0x68, 0xe3, 0xa6, 0x41, 0x4a, 0xb0, 0x18, 0x74, 0xde, 0xcd, 0x8d, 0xdf, 0x9e, 0xd8, 0x4a, 0xde,
2222 0x5b, 0x2e, 0xa8, 0x2c, 0x3e, 0x96, 0x6c, 0x89, 0xb5, 0x37, 0xf7, 0xcf, 0xef, 0xbf, 0xdb, 0x98,
2223 0x14, 0x58, 0xda, 0x82, 0xe5, 0xe7, 0xb8, 0x64, 0x07, 0x66, 0x3c, 0x88, 0x09, 0x84, 0x58, 0xf0,
2224 0x20, 0xc2, 0x6b, 0x3d, 0x49, 0xfa, 0x7f, 0x90, 0xf2, 0x59, 0xe9, 0x92, 0x77, 0x61, 0xca, 0xe4,
2225 0xac, 0xed, 0xe6, 0x12, 0x08, 0x91, 0x0d, 0x42, 0xa0, 0x90, 0x26, 0x25, 0xe8, 0x1f, 0x13, 0x40,
2226 0x0e, 0xcf, 0x59, 0x87, 0x3f, 0x34, 0x2d, 0xce, 0x1c, 0xad, 0x67, 0xb1, 0x47, 0xec, 0x82, 0x7e,
2227 0x93, 0x80, 0xec, 0x10, 0xf9, 0xe4, 0xa2, 0xcb, 0xc8, 0x02, 0x40, 0x13, 0x29, 0x35, 0xdd, 0xb2,
2228 0xd2, 0x63, 0x24, 0x05, 0xb3, 0x0d, 0x9d, 0xb3, 0x96, 0xed, 0x5c, 0xa4, 0x13, 0x24, 0x0d, 0x29,
2229 0xb7, 0x57, 0xaf, 0xf5, 0x29, 0xe3, 0x84, 0xc0, 0xc2, 0x8b, 0xae, 0x59, 0x63, 0x02, 0xaa, 0xc6,
2230 0x2f, 0xba, 0x2c, 0x3d, 0x41, 0x96, 0x21, 0x23, 0x83, 0xec, 0x27, 0x4f, 0x0a, 0xb2, 0xf4, 0xc7,
2231 0x4f, 0x9e, 0xa2, 0x26, 0x2c, 0x0e, 0x19, 0x42, 0x3e, 0x83, 0x89, 0x17, 0xec, 0x02, 0xd3, 0xb0,
2232 0x70, 0xaf, 0xe0, 0x39, 0x17, 0xf6, 0xa2, 0x10, 0xe1, 0x81, 0x26, 0x96, 0x92, 0x25, 0x98, 0x3a,
2233 0xd7, 0xad, 0x1e, 0xcb, 0x8d, 0x8b, 0x54, 0x6a, 0xf2, 0x81, 0xfe, 0x25, 0x01, 0x49, 0xdf, 0x92,
2234 0xb8, 0x6c, 0xaf, 0xc0, 0x34, 0xeb, 0xe8, 0x75, 0x4b, 0xae, 0x9e, 0xd5, 0xd4, 0x13, 0x59, 0x83,
2235 0x39, 0xe5, 0x80, 0x69, 0xe4, 0x26, 0x10, 0x78, 0x56, 0x12, 0x4a, 0x06, 0xd9, 0x00, 0x18, 0xb8,
2236 0x95, 0x9b, 0x44, 0xee, 0x1c, 0x52, 0x30, 0xae, 0x77, 0x60, 0xca, 0xe9, 0x59, 0xcc, 0xcd, 0x4d,
2237 0x61, 0xc6, 0x56, 0x63, 0x9c, 0xd2, 0xa4, 0x14, 0xfd, 0x14, 0x52, 0x3e, 0x8e, 0x4b, 0xee, 0xc0,
2238 0x8c, 0x4c, 0x4b, 0x28, 0xe5, 0x7e, 0x00, 0x4f, 0x86, 0xbe, 0x80, 0xd4, 0xbe, 0xed, 0xb0, 0x52,
2239 0xc7, 0xe5, 0x7a, 0xa7, 0xc1, 0xc8, 0xdb, 0x90, 0x34, 0xd5, 0xff, 0xb5, 0x61, 0x8f, 0xc1, 0xe3,
2240 0x94, 0x0c, 0xb2, 0x03, 0xd3, 0xb2, 0x00, 0xa0, 0xe7, 0xc9, 0x7b, 0x4b, 0x9e, 0x96, 0xcf, 0x91,
2241 0x5a, 0xe5, 0x3a, 0xef, 0xb9, 0x7b, 0x53, 0x62, 0x87, 0x8e, 0x69, 0x4a, 0x94, 0x3e, 0x80, 0x79,
2242 0xbf, 0x32, 0x97, 0x6c, 0x07, 0x77, 0x67, 0x1f, 0xc4, 0x2f, 0xe5, 0x6d, 0xcf, 0x0f, 0x61, 0xb1,
2243 0xdc, 0x6e, 0x98, 0x27, 0xcc, 0xe5, 0x1a, 0xfb, 0x55, 0x8f, 0xb9, 0x9c, 0x2c, 0x0c, 0xb2, 0x82,
2244 0xe9, 0x20, 0x30, 0xd9, 0xeb, 0x99, 0x86, 0x4a, 0x25, 0xfe, 0x4f, 0x7f, 0x0d, 0x29, 0xb9, 0xc4,
2245 0xed, 0xda, 0x1d, 0x97, 0x91, 0x9f, 0xc0, 0xb4, 0xc3, 0xdc, 0x9e, 0xc5, 0xd5, 0xa6, 0x79, 0xc7,
2246 0xd3, 0xe9, 0x97, 0x0a, 0x3c, 0x68, 0x28, 0xae, 0xa9, 0x65, 0xb4, 0x00, 0x24, 0xcc, 0x25, 0x49,
2247 0x98, 0xa9, 0x9e, 0xee, 0xef, 0x1f, 0x56, 0xab, 0xe9, 0x31, 0xf1, 0xf0, 0x70, 0xb7, 0xf4, 0xf8,
2248 0x54, 0x3b, 0x4c, 0x27, 0xe8, 0x73, 0x98, 0x7d, 0x2a, 0xf6, 0x54, 0x95, 0x85, 0x0d, 0xfe, 0x18,
2249 0x52, 0xb2, 0x0c, 0xc9, 0x53, 0xa0, 0x62, 0x99, 0x2d, 0xa8, 0xca, 0xb3, 0x2b, 0x78, 0xfb, 0xf8,
2250 0xff, 0xe7, 0x63, 0x5a, 0x52, 0x1f, 0x3c, 0xee, 0xcd, 0xa8, 0x6d, 0x4b, 0xff, 0x31, 0x09, 0xd3,
2251 0x4f, 0xd1, 0x03, 0x72, 0x0b, 0x66, 0xce, 0x99, 0xe3, 0x9a, 0x76, 0x27, 0x98, 0x37, 0x8f, 0x4a,
2252 0x3e, 0x82, 0x59, 0x55, 0x59, 0xbd, 0xaa, 0xb4, 0xe8, 0x79, 0xbf, 0x2b, 0xe9, 0xfe, 0x9a, 0xd2,
2253 0x97, 0x8d, 0x2a, 0x6a, 0x13, 0xff, 0x7d, 0x51, 0x9b, 0xbc, 0x6e, 0x51, 0x23, 0x9f, 0x41, 0x4a,
2254 0x1d, 0x27, 0x71, 0x64, 0xbc, 0x93, 0x41, 0x82, 0x2b, 0xc5, 0xe1, 0xf1, 0xaf, 0x4e, 0x1a, 0x7d,
2255 0xb2, 0x4b, 0xf6, 0x61, 0x5e, 0x21, 0xb4, 0xb0, 0x2e, 0xe6, 0xa6, 0x63, 0xcb, 0xa1, 0x1f, 0x43,
2256 0xa9, 0x55, 0xb5, 0x74, 0x1f, 0xe6, 0xe5, 0xc1, 0xf5, 0x0e, 0xd8, 0x4c, 0xec, 0x01, 0x0b, 0x80,
2257 0x30, 0xff, 0xf9, 0xfc, 0x19, 0x64, 0x06, 0xf7, 0x93, 0xce, 0xf5, 0xba, 0xee, 0xb2, 0xdc, 0xba,
2258 0x02, 0x12, 0x9c, 0xc2, 0xb1, 0x59, 0x97, 0xe6, 0x1c, 0xe8, 0x5c, 0xdf, 0x4b, 0x0b, 0xa0, 0xa4,
2259 0xaf, 0x9e, 0x68, 0x8b, 0x42, 0x4a, 0x08, 0xa9, 0xd5, 0xe4, 0x19, 0x64, 0xfd, 0x37, 0x9a, 0x07,
2260 0xba, 0xa1, 0x52, 0x84, 0xa0, 0xb8, 0x95, 0x2e, 0x85, 0x45, 0xb3, 0xa4, 0x98, 0x42, 0xa0, 0x7f,
2261 0x4e, 0x40, 0xba, 0xca, 0xac, 0xe6, 0xf5, 0x0e, 0xd0, 0xb0, 0xa4, 0x9f, 0xe0, 0x3f, 0x40, 0x15,
2262 0x58, 0x08, 0x72, 0xe2, 0x0f, 0x0f, 0xc9, 0xc0, 0xfc, 0x93, 0xf2, 0x49, 0xad, 0x7a, 0x5a, 0xa9,
2263 0x94, 0xb5, 0x93, 0xc3, 0x83, 0xf4, 0xb8, 0x20, 0x9d, 0x3e, 0x79, 0xf4, 0xa4, 0xfc, 0xec, 0x49,
2264 0xed, 0x50, 0xd3, 0xca, 0x5a, 0x7a, 0x82, 0x96, 0x21, 0x53, 0x6e, 0xee, 0xb6, 0x58, 0x87, 0x57,
2265 0x7b, 0x75, 0xb7, 0xe1, 0x98, 0x75, 0xe6, 0x88, 0x32, 0x6b, 0x37, 0x75, 0x41, 0xec, 0x17, 0x32,
2266 0x6d, 0x4e, 0x51, 0x4a, 0x86, 0x28, 0xd1, 0xea, 0xc6, 0xef, 0x17, 0x8c, 0x59, 0x49, 0x28, 0x19,
2267 0xf4, 0x01, 0xc0, 0x31, 0x6b, 0xd7, 0x99, 0xe3, 0x9e, 0x99, 0x5d, 0x81, 0x84, 0xbb, 0xa6, 0xd6,
2268 0xd1, 0xdb, 0xcc, 0x43, 0x42, 0xca, 0x13, 0xbd, 0xcd, 0xd4, 0xa1, 0x1e, 0xf7, 0x0e, 0x35, 0x3d,
2269 0x84, 0xd4, 0x43, 0xcb, 0x7e, 0x79, 0xcc, 0xb8, 0x2e, 0x72, 0x41, 0x3e, 0x84, 0xe9, 0x36, 0xf3,
2270 0x15, 0xe4, 0x8d, 0x82, 0xbf, 0x83, 0xb1, 0x9b, 0xdd, 0x1a, 0xb2, 0x55, 0x0d, 0xd0, 0x94, 0xf0,
2271 0xbd, 0xbf, 0xdd, 0x85, 0x79, 0x79, 0xb0, 0xab, 0xcc, 0x11, 0x49, 0x22, 0xcf, 0x60, 0xfe, 0x88,
2272 0x71, 0x9f, 0x61, 0x2b, 0x05, 0xd9, 0xe5, 0x15, 0xbc, 0x2e, 0xaf, 0x70, 0x28, 0xba, 0xbc, 0x7c,
2273 0xff, 0x64, 0x0c, 0x64, 0x69, 0xfe, 0xeb, 0xbf, 0xff, 0xeb, 0xdb, 0xf1, 0x25, 0x42, 0xb0, 0x61,
2274 0x3c, 0xff, 0xa0, 0xd8, 0x1e, 0xe0, 0x3c, 0x87, 0xf4, 0x69, 0xd7, 0xd0, 0x39, 0xf3, 0x61, 0x47,
2275 0x60, 0xe4, 0x63, 0xf4, 0xd1, 0x0d, 0xc4, 0x5e, 0xa5, 0x11, 0xd8, 0x9f, 0x24, 0xb6, 0xc9, 0x01,
2276 0xcc, 0x1d, 0x31, 0xae, 0x8a, 0x54, 0x9c, 0xcd, 0xfd, 0x3a, 0x20, 0xe5, 0xe8, 0x22, 0x62, 0xce,
2277 0x91, 0x19, 0x85, 0x49, 0x9e, 0x43, 0xe6, 0xb1, 0xe9, 0xf2, 0xe0, 0x05, 0x12, 0x87, 0xb6, 0x1c,
2278 0x75, 0x93, 0xb8, 0xf4, 0x06, 0x82, 0x66, 0x49, 0xc6, 0x33, 0xd4, 0xec, 0x23, 0x55, 0x61, 0xf1,
2279 0x88, 0x05, 0xd0, 0x09, 0x14, 0x54, 0xff, 0x5b, 0x3a, 0xc8, 0x47, 0x5e, 0x4d, 0xf4, 0x26, 0xe2,
2280 0xe5, 0xc8, 0x4a, 0x08, 0xaf, 0xf8, 0xda, 0x34, 0xbe, 0x22, 0x1a, 0xa4, 0x84, 0xcd, 0xbb, 0x5e,
2281 0x21, 0x8d, 0x33, 0x37, 0x3d, 0x54, 0x86, 0x5d, 0x9a, 0x43, 0x64, 0x42, 0xd2, 0x1e, 0x72, 0xbf,
2282 0x18, 0x33, 0x20, 0x02, 0xf3, 0x71, 0xb0, 0xae, 0xc6, 0x21, 0xaf, 0x44, 0x56, 0x68, 0x97, 0xde,
2283 0x42, 0xfc, 0x1b, 0x64, 0xd5, 0xc3, 0x1f, 0x2a, 0xf0, 0xe4, 0x97, 0x90, 0x3e, 0x62, 0x41, 0x2d,
2284 0x81, 0x80, 0x44, 0x97, 0x7e, 0xfa, 0x26, 0xe2, 0xde, 0x24, 0xeb, 0x31, 0xb8, 0x32, 0x2e, 0x4d,
2285 0x58, 0x09, 0xf9, 0x50, 0xb1, 0x1d, 0xee, 0x46, 0xc7, 0x5c, 0xc9, 0xa1, 0x04, 0xdd, 0x46, 0x0d,
2286 0x6f, 0x12, 0x7a, 0x99, 0x86, 0x62, 0x17, 0xd1, 0x5e, 0xc1, 0xd2, 0xb0, 0x13, 0x02, 0x84, 0x2c,
2287 0x47, 0x20, 0x97, 0x8c, 0x7c, 0x36, 0x82, 0x4c, 0xef, 0xa3, 0xbe, 0x02, 0x79, 0xff, 0x6a, 0x7d,
2288 0xc5, 0xd7, 0xe2, 0x4f, 0x4d, 0x78, 0xf8, 0xbb, 0x04, 0xac, 0x1e, 0x62, 0x33, 0x78, 0x6d, 0xed,
2289 0x71, 0xa7, 0xeb, 0x01, 0x1a, 0xf0, 0x21, 0xdd, 0x19, 0xc5, 0x80, 0xa2, 0xea, 0x44, 0xbf, 0x49,
2290 0x40, 0xee, 0xc0, 0x74, 0x7f, 0x14, 0x43, 0xfe, 0x1f, 0x0d, 0xf9, 0x88, 0xde, 0x1f, 0xc9, 0x10,
2291 0x43, 0x6a, 0x27, 0x46, 0x44, 0xce, 0x45, 0x9d, 0x0c, 0xe6, 0x9c, 0x04, 0x8a, 0x23, 0xf2, 0xaf,
2292 0x99, 0xf1, 0x26, 0x62, 0xfd, 0x26, 0x01, 0xeb, 0xb2, 0x96, 0x85, 0x14, 0x9d, 0xa0, 0x19, 0xeb,
2293 0x21, 0x05, 0x48, 0x97, 0x6b, 0x62, 0x5d, 0xbf, 0x83, 0x26, 0xbc, 0x43, 0xaf, 0x61, 0x82, 0xa8,
2294 0x78, 0xbf, 0x4d, 0xc0, 0x46, 0x84, 0x15, 0xc7, 0xa2, 0xb2, 0x4b, 0x33, 0xd6, 0x02, 0x66, 0x20,
2295 0xe3, 0xd8, 0x36, 0xae, 0xb0, 0xa2, 0x80, 0x56, 0x6c, 0xd1, 0x37, 0x2e, 0xb5, 0x42, 0xde, 0x1f,
2296 0xc2, 0x8c, 0x16, 0xac, 0x86, 0x42, 0x8e, 0xaa, 0x82, 0x31, 0xcf, 0x86, 0x6d, 0x71, 0xe9, 0x7b,
2297 0xa8, 0xeb, 0x2d, 0x72, 0x1d, 0x5d, 0x84, 0xc3, 0x5a, 0x64, 0x6e, 0x55, 0xe3, 0xe4, 0x57, 0xb6,
2298 0x1a, 0x8a, 0xbf, 0x14, 0xa2, 0x77, 0x51, 0xe1, 0x36, 0xd9, 0xba, 0x32, 0xc4, 0xaa, 0x87, 0x23,
2299 0xdf, 0x26, 0x60, 0x33, 0x26, 0xd7, 0x88, 0x29, 0x23, 0xbd, 0x19, 0xad, 0xf0, 0x3a, 0x59, 0xdf,
2300 0x41, 0x93, 0xee, 0xd0, 0x6b, 0x9b, 0x24, 0x82, 0x5e, 0x86, 0xa4, 0x88, 0xc5, 0x55, 0x85, 0x79,
2301 0x31, 0xd8, 0x7a, 0xba, 0x74, 0x15, 0x95, 0x65, 0xc8, 0xa2, 0xa7, 0xcc, 0xab, 0xc4, 0x65, 0x98,
2302 0x1f, 0x00, 0x96, 0x8c, 0x78, 0xc8, 0xe4, 0x20, 0xcc, 0x11, 0x57, 0x9d, 0x84, 0x33, 0x0d, 0x97,
2303 0x9c, 0x42, 0x5a, 0x63, 0x0d, 0xbb, 0xd3, 0x30, 0x2d, 0xe6, 0x99, 0xe9, 0x5f, 0x1b, 0x1b, 0x8f,
2304 0x75, 0xc4, 0x5c, 0xa1, 0x61, 0x4c, 0xe1, 0xf8, 0x21, 0x5e, 0xf3, 0x11, 0x57, 0xc5, 0x50, 0x8b,
2305 0xef, 0xc1, 0x90, 0xa5, 0x21, 0x4f, 0xe5, 0xdd, 0xf0, 0x53, 0x48, 0xed, 0x3b, 0x4c, 0xe7, 0xca,
2306 0x34, 0x32, 0xb4, 0x3a, 0x84, 0xa6, 0x1a, 0x1b, 0x3a, 0x1c, 0x37, 0x61, 0xd2, 0x33, 0x48, 0xc9,
2307 0x22, 0x1c, 0x61, 0x55, 0x9c, 0x93, 0x6f, 0x20, 0xde, 0x06, 0x5d, 0x8b, 0xb2, 0xce, 0x2b, 0xab,
2308 0x3f, 0x87, 0x79, 0x55, 0x55, 0x47, 0x40, 0x56, 0x77, 0x23, 0x5d, 0x8f, 0x44, 0xf6, 0xea, 0xe4,
2309 0x33, 0x48, 0x69, 0xac, 0x6e, 0xdb, 0xfc, 0x47, 0xb3, 0xd9, 0x41, 0x38, 0x01, 0x7c, 0xc0, 0x2c,
2310 0xc6, 0x7f, 0x40, 0x30, 0xb6, 0xa3, 0x81, 0x0d, 0x84, 0x23, 0x75, 0xc8, 0x3c, 0xb4, 0x9d, 0x06,
2311 0x1b, 0x19, 0xfd, 0x5d, 0x44, 0x7f, 0x63, 0x7b, 0x33, 0x12, 0xbd, 0x29, 0x30, 0x6b, 0x4a, 0x47,
2312 0x0f, 0xe6, 0x0f, 0xec, 0x97, 0x1d, 0xcb, 0xd6, 0x8d, 0x52, 0x5b, 0x6f, 0xb1, 0xc1, 0xdd, 0x85,
2313 0x8f, 0x1e, 0x2f, 0xbf, 0xec, 0xa9, 0x2d, 0x77, 0x99, 0x83, 0x13, 0x51, 0xf1, 0x3a, 0x42, 0x3f,
2314 0x42, 0x4d, 0x77, 0xe9, 0x7b, 0x91, 0x9a, 0x4c, 0x01, 0x51, 0x33, 0x14, 0x86, 0x5b, 0x7c, 0x2d,
2315 0x1a, 0xfd, 0xaf, 0xc4, 0x06, 0xfa, 0x3a, 0x01, 0x2b, 0x47, 0x8c, 0x07, 0x74, 0xc8, 0xd9, 0x46,
2316 0xbc, 0x01, 0x51, 0x64, 0xfa, 0x09, 0x1a, 0x70, 0x9f, 0xdc, 0x1b, 0xc1, 0x80, 0xa2, 0x2b, 0x35,
2317 0xf5, 0xb0, 0x15, 0x0b, 0xe0, 0x8d, 0xa8, 0x5d, 0x15, 0x32, 0x32, 0x8a, 0xfb, 0xa4, 0x29, 0x1b,
2318 0xcd, 0x00, 0x92, 0x3b, 0x94, 0xd7, 0x28, 0x6d, 0x2e, 0x7d, 0x1f, 0xd5, 0xbd, 0x4d, 0xde, 0xbc,
2319 0x8e, 0x3a, 0xf2, 0x0a, 0xb2, 0xfb, 0xa2, 0x67, 0xb6, 0xae, 0xe9, 0x61, 0x64, 0x82, 0x95, 0x87,
2320 0xdb, 0x23, 0x79, 0xf8, 0x87, 0x04, 0x64, 0x77, 0x1b, 0xdc, 0x3c, 0xd7, 0x39, 0x43, 0x2d, 0xf2,
2321 0x3e, 0x18, 0x51, 0xf5, 0x3e, 0xaa, 0xfe, 0x94, 0x7e, 0x3c, 0x4a, 0x6a, 0x25, 0xb9, 0x87, 0xfa,
2322 0xc4, 0x46, 0xfb, 0x7d, 0x02, 0x32, 0x1a, 0x3b, 0x67, 0x0e, 0xff, 0x9f, 0x18, 0xe2, 0xa0, 0x6a,
2323 0x61, 0x48, 0x05, 0x16, 0x07, 0xb7, 0x4d, 0xb8, 0x27, 0x9f, 0xf7, 0x2c, 0x92, 0xcd, 0x38, 0x45,
2324 0x95, 0xeb, 0x24, 0x1f, 0xa9, 0x52, 0x36, 0xe1, 0xcf, 0x21, 0xeb, 0x43, 0x54, 0x03, 0xac, 0x20,
2325 0x6a, 0xa6, 0x8f, 0xea, 0xb1, 0xe9, 0x3b, 0x88, 0xbc, 0x49, 0x6e, 0x45, 0x23, 0x7b, 0x23, 0x33,
2326 0x97, 0x74, 0x60, 0x59, 0x46, 0x6b, 0x58, 0x41, 0x18, 0x34, 0xb6, 0x10, 0xa9, 0x0e, 0x93, 0x5e,
2327 0xa5, 0x4c, 0x04, 0xe8, 0xd4, 0x1f, 0xa0, 0xeb, 0x35, 0xb0, 0x97, 0x47, 0x49, 0x36, 0xae, 0x0c,
2328 0x96, 0x82, 0xb0, 0xa3, 0xf4, 0x4e, 0x5b, 0xa8, 0x80, 0x92, 0xdb, 0xb1, 0x0a, 0xbc, 0x9e, 0xe9,
2329 0x4b, 0xbf, 0xf5, 0x72, 0x36, 0x16, 0xd7, 0x4e, 0x64, 0xc3, 0xf3, 0x35, 0x37, 0xee, 0xee, 0x96,
2330 0x83, 0x39, 0xa2, 0xe1, 0x84, 0x62, 0x20, 0x3f, 0x14, 0x99, 0x10, 0x1e, 0xdd, 0x44, 0xb8, 0x35,
2331 0x72, 0x23, 0x0a, 0x4e, 0xf6, 0x03, 0x35, 0x48, 0x0f, 0x2c, 0x56, 0x41, 0x89, 0x33, 0x79, 0x29,
2332 0x62, 0x9e, 0xe7, 0x7a, 0xe3, 0x09, 0xb2, 0x3c, 0xa4, 0x44, 0x85, 0xe4, 0x21, 0xa4, 0xab, 0xdc,
2333 0x61, 0x7a, 0xbb, 0xa2, 0x37, 0x5e, 0x30, 0xee, 0x96, 0x7b, 0x9c, 0xac, 0x04, 0x22, 0x2d, 0x19,
2334 0xe5, 0x1e, 0x8f, 0xdd, 0x40, 0x63, 0x5b, 0x09, 0x72, 0x88, 0x6d, 0x15, 0x33, 0xcf, 0x99, 0x02,
2335 0x2a, 0x75, 0x2e, 0x99, 0x4f, 0x84, 0xf1, 0x4b, 0x1d, 0x3a, 0x76, 0x37, 0x41, 0x1e, 0x41, 0x56,
2336 0xc1, 0xec, 0x9f, 0xe9, 0x9d, 0x16, 0xc3, 0xa9, 0x62, 0xbc, 0xcb, 0xb9, 0x00, 0x92, 0x6f, 0x09,
2337 0x82, 0x9d, 0xc2, 0x42, 0x3f, 0x21, 0xf2, 0xbb, 0x55, 0xb0, 0xf1, 0x0f, 0x87, 0x2b, 0x6e, 0xb3,
2338 0xaa, 0x68, 0x79, 0x39, 0xc9, 0xc8, 0x1e, 0xcd, 0xff, 0x8d, 0x24, 0x6a, 0x0e, 0x9a, 0x8f, 0x22,
2339 0xd2, 0xdb, 0xa8, 0x22, 0x4f, 0xfb, 0x09, 0x09, 0x8c, 0x55, 0xc5, 0x21, 0x7b, 0x8a, 0x76, 0xfb,
2340 0xd1, 0x23, 0x07, 0x03, 0xfe, 0x2f, 0x1f, 0x61, 0xc3, 0x03, 0xa8, 0xd2, 0x70, 0x03, 0x32, 0xb2,
2341 0x58, 0xfc, 0x30, 0xc3, 0xdf, 0x42, 0x15, 0xb7, 0xf2, 0x97, 0xa8, 0x10, 0xd6, 0x1b, 0x90, 0x91,
2342 0xbd, 0xd0, 0x95, 0x5a, 0xe2, 0xf6, 0x93, 0xf2, 0x65, 0xfb, 0x32, 0x5f, 0xd4, 0xc1, 0x08, 0x7c,
2343 0xfd, 0xb9, 0xf2, 0x60, 0x04, 0x22, 0x16, 0x3a, 0x18, 0x01, 0x2d, 0xe4, 0x31, 0x36, 0xf4, 0x78,
2344 0xf5, 0xb8, 0xd1, 0x0d, 0xbd, 0xe4, 0x79, 0x5d, 0x22, 0x59, 0x8b, 0xbf, 0x78, 0x5c, 0xf2, 0x05,
2345 0xcc, 0x7a, 0x63, 0xdf, 0x00, 0x58, 0x2e, 0x6e, 0x7e, 0x4c, 0xdf, 0x46, 0xd8, 0xdb, 0xf4, 0x66,
2346 0x24, 0xac, 0xcb, 0xac, 0x66, 0x8d, 0x0b, 0xb4, 0xa7, 0xd8, 0x1f, 0x05, 0xc6, 0xe6, 0xc3, 0xef,
2347 0xb7, 0xa1, 0xb9, 0x7a, 0xb8, 0xf2, 0x88, 0x63, 0x24, 0xe4, 0xd4, 0x8b, 0xad, 0x59, 0x27, 0x5f,
2348 0x02, 0x39, 0x62, 0x7c, 0x68, 0x72, 0x3e, 0x34, 0x04, 0x8b, 0x1a, 0xae, 0x87, 0xe3, 0x11, 0xc4,
2349 0xc6, 0x39, 0x3d, 0x71, 0x61, 0xbe, 0x6a, 0xb6, 0x7b, 0x96, 0xce, 0x19, 0xae, 0x27, 0xeb, 0xfd,
2350 0x40, 0xf8, 0xc9, 0xea, 0x5b, 0x57, 0xdc, 0x9d, 0x1f, 0x1a, 0x4c, 0x04, 0x63, 0xa4, 0x90, 0x6a,
2351 0x02, 0x49, 0xec, 0xcc, 0x7d, 0x98, 0xeb, 0x8f, 0xc8, 0xc9, 0x0d, 0x4f, 0x61, 0x68, 0x78, 0x9e,
2352 0x8f, 0x67, 0xd1, 0x31, 0x72, 0x0c, 0x20, 0xdf, 0xaa, 0x70, 0x88, 0x94, 0xf2, 0x77, 0x04, 0xb1,
2353 0x1b, 0x5a, 0xbd, 0x8e, 0xd2, 0x05, 0x61, 0xe3, 0x60, 0xb5, 0x7a, 0x61, 0x56, 0xef, 0x52, 0x23,
2354 0xe0, 0x0d, 0xde, 0xfa, 0xce, 0x3f, 0x28, 0xfa, 0x96, 0x0b, 0xc0, 0x2f, 0x20, 0x29, 0x8a, 0xc7,
2355 0x2b, 0x8e, 0xdf, 0xdd, 0xc8, 0x8a, 0x17, 0x39, 0xf9, 0x19, 0xae, 0xcb, 0x1a, 0x66, 0xd3, 0x64,
2356 0x4e, 0x7e, 0xc9, 0xa3, 0x6b, 0x8c, 0xf7, 0x9c, 0x0e, 0x72, 0x5d, 0xba, 0x86, 0xc0, 0xcb, 0x24,
2357 0xeb, 0x05, 0xd4, 0x0f, 0x75, 0x02, 0xc9, 0xaa, 0xef, 0xb1, 0x3f, 0xb6, 0xf5, 0x3e, 0xf0, 0xc5,
2358 0x9a, 0x1b, 0x42, 0xf5, 0xc3, 0x9c, 0x41, 0xb6, 0xca, 0x75, 0x87, 0x7b, 0x9f, 0x37, 0x45, 0x4b,
2359 0x6a, 0x77, 0x48, 0xff, 0xcb, 0xef, 0xd0, 0x67, 0xcf, 0xc1, 0x61, 0x0e, 0x9c, 0x16, 0x55, 0x32,
2360 0x68, 0x7f, 0xa2, 0xeb, 0x0a, 0xcc, 0x1a, 0x7e, 0x19, 0x12, 0xc7, 0xe4, 0x93, 0xc4, 0xf6, 0x9e,
2361 0x05, 0x59, 0xdb, 0x69, 0xe1, 0x8d, 0xd1, 0xb0, 0x1d, 0x43, 0xe1, 0xec, 0xa5, 0xe4, 0xcc, 0xbd,
2362 0x82, 0x3f, 0x7d, 0xf8, 0x45, 0xa1, 0x65, 0xf2, 0xb3, 0x5e, 0x5d, 0x44, 0xa7, 0xe8, 0x49, 0xaa,
2363 0x9f, 0xa0, 0xdc, 0xf1, 0x7e, 0x90, 0x72, 0xbf, 0xd8, 0xb2, 0x15, 0xed, 0xaf, 0xe3, 0x2b, 0x65,
2364 0x0f, 0xef, 0xa9, 0x7f, 0x84, 0x5f, 0x19, 0xaf, 0x4c, 0x54, 0x26, 0x2b, 0x53, 0x95, 0xe9, 0xca,
2365 0x4c, 0x65, 0xb6, 0x3e, 0x8d, 0x6b, 0x77, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x0e, 0xe5,
2366 0xbc, 0xdc, 0x22, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002367}
2368
2369// Reference imports to suppress errors if they are not otherwise used.
2370var _ context.Context
2371var _ grpc.ClientConn
2372
2373// This is a compile-time assertion to ensure that this generated file
2374// is compatible with the grpc package it is being compiled against.
2375const _ = grpc.SupportPackageIsVersion4
2376
2377// VolthaServiceClient is the client API for VolthaService service.
2378//
2379// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2380type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -04002381 // Get the membership group of a Voltha Core
2382 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2383 // Set the membership group of a Voltha Core
2384 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2385 // Get high level information on the Voltha cluster
2386 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2387 // List all Voltha cluster core instances
2388 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2389 // Get details on a Voltha cluster instance
2390 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2391 // List all active adapters (plugins) in the Voltha cluster
2392 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2393 // List all logical devices managed by the Voltha cluster
2394 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2395 // Get additional information on a given logical device
2396 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2397 // List ports of a logical device
2398 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2399 // Gets a logical device port
2400 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2401 // Enables a logical device port
2402 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2403 // Disables a logical device port
2404 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2405 // List all flows of a logical device
2406 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2407 // Update flow table for logical device
2408 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2409 // Update meter table for logical device
2410 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002411 // List all meters of a logical device
2412 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002413 // List all flow groups of a logical device
2414 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2415 // Update group table for device
2416 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2417 // List all physical devices controlled by the Voltha cluster
2418 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2419 // List all physical devices IDs controlled by the Voltha cluster
2420 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2421 // Request to a voltha Core to reconcile a set of devices based on their IDs
2422 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2423 // Get more information on a given physical device
2424 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2425 // Pre-provision a new physical device
2426 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2427 // Enable a device. If the device was in pre-provisioned state then it
2428 // will transition to ENABLED state. If it was is DISABLED state then it
2429 // will transition to ENABLED state as well.
2430 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2431 // Disable a device
2432 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2433 // Reboot a device
2434 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2435 // Delete a device
2436 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05302437 // Forcefully delete a device
2438 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002439 // Request an image download to the standby partition
2440 // of a device.
2441 // Note that the call is expected to be non-blocking.
2442 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2443 // Get image download status on a device
2444 // The request retrieves progress on device and updates db record
2445 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2446 // Get image download db record
2447 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2448 // List image download db records for a given device
2449 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2450 // Cancel an existing image download process on a device
2451 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2452 // Activate the specified image at a standby partition
2453 // to active partition.
2454 // Depending on the device implementation, this call
2455 // may or may not cause device reboot.
2456 // If no reboot, then a reboot is required to make the
2457 // activated image running on device
2458 // Note that the call is expected to be non-blocking.
2459 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2460 // Revert the specified image at standby partition
2461 // to active partition, and revert to previous image
2462 // Depending on the device implementation, this call
2463 // may or may not cause device reboot.
2464 // If no reboot, then a reboot is required to make the
2465 // previous image running on device
2466 // Note that the call is expected to be non-blocking.
2467 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2468 // List ports of a device
2469 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2470 // List pm config of a device
2471 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2472 // Update the pm config of a device
2473 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2474 // List all flows of a device
2475 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2476 // List all flow groups of a device
2477 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2478 // List device types known to Voltha
2479 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2480 // Get additional information on a device type
2481 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2482 // List all device sharding groups
2483 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2484 // Stream control packets to the dataplane
2485 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2486 // Receive control packet stream
2487 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2488 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2489 // Get additional information on a device group
2490 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002491 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2492 // Get all filters present for a device
2493 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2494 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2495 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2496 // Get all the filters present
2497 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002498 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2499 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2500 // OpenOMCI MIB information
2501 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2502 // OpenOMCI ALARM information
2503 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2504 // Simulate an Alarm
2505 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2506 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05002507 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2508 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002509 GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error)
dpaul2b52e712020-06-23 13:02:28 +05302510 SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302511 // omci start and stop cli implementation
2512 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002513}
2514
2515type volthaServiceClient struct {
2516 cc *grpc.ClientConn
2517}
2518
2519func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2520 return &volthaServiceClient{cc}
2521}
2522
William Kurkian1b363f42019-03-12 15:28:12 -04002523func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2524 out := new(Membership)
2525 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2526 if err != nil {
2527 return nil, err
2528 }
2529 return out, nil
2530}
2531
2532func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2533 out := new(empty.Empty)
2534 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2535 if err != nil {
2536 return nil, err
2537 }
2538 return out, nil
2539}
2540
2541func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2542 out := new(Voltha)
2543 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2544 if err != nil {
2545 return nil, err
2546 }
2547 return out, nil
2548}
2549
2550func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2551 out := new(CoreInstances)
2552 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2553 if err != nil {
2554 return nil, err
2555 }
2556 return out, nil
2557}
2558
2559func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2560 out := new(CoreInstance)
2561 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2562 if err != nil {
2563 return nil, err
2564 }
2565 return out, nil
2566}
2567
2568func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2569 out := new(Adapters)
2570 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2571 if err != nil {
2572 return nil, err
2573 }
2574 return out, nil
2575}
2576
2577func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2578 out := new(LogicalDevices)
2579 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2580 if err != nil {
2581 return nil, err
2582 }
2583 return out, nil
2584}
2585
2586func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2587 out := new(LogicalDevice)
2588 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2589 if err != nil {
2590 return nil, err
2591 }
2592 return out, nil
2593}
2594
2595func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2596 out := new(LogicalPorts)
2597 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2598 if err != nil {
2599 return nil, err
2600 }
2601 return out, nil
2602}
2603
2604func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2605 out := new(LogicalPort)
2606 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2607 if err != nil {
2608 return nil, err
2609 }
2610 return out, nil
2611}
2612
2613func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2614 out := new(empty.Empty)
2615 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2616 if err != nil {
2617 return nil, err
2618 }
2619 return out, nil
2620}
2621
2622func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2623 out := new(empty.Empty)
2624 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2625 if err != nil {
2626 return nil, err
2627 }
2628 return out, nil
2629}
2630
2631func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2632 out := new(openflow_13.Flows)
2633 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2634 if err != nil {
2635 return nil, err
2636 }
2637 return out, nil
2638}
2639
2640func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2641 out := new(empty.Empty)
2642 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2643 if err != nil {
2644 return nil, err
2645 }
2646 return out, nil
2647}
2648
2649func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2650 out := new(empty.Empty)
2651 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2652 if err != nil {
2653 return nil, err
2654 }
2655 return out, nil
2656}
2657
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002658func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2659 out := new(openflow_13.Meters)
2660 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002661 if err != nil {
2662 return nil, err
2663 }
2664 return out, nil
2665}
2666
2667func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2668 out := new(openflow_13.FlowGroups)
2669 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2670 if err != nil {
2671 return nil, err
2672 }
2673 return out, nil
2674}
2675
2676func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2677 out := new(empty.Empty)
2678 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2679 if err != nil {
2680 return nil, err
2681 }
2682 return out, nil
2683}
2684
2685func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2686 out := new(Devices)
2687 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2688 if err != nil {
2689 return nil, err
2690 }
2691 return out, nil
2692}
2693
2694func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2695 out := new(common.IDs)
2696 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2697 if err != nil {
2698 return nil, err
2699 }
2700 return out, nil
2701}
2702
2703func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2704 out := new(empty.Empty)
2705 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2706 if err != nil {
2707 return nil, err
2708 }
2709 return out, nil
2710}
2711
2712func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2713 out := new(Device)
2714 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2715 if err != nil {
2716 return nil, err
2717 }
2718 return out, nil
2719}
2720
2721func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2722 out := new(Device)
2723 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2724 if err != nil {
2725 return nil, err
2726 }
2727 return out, nil
2728}
2729
2730func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2731 out := new(empty.Empty)
2732 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2733 if err != nil {
2734 return nil, err
2735 }
2736 return out, nil
2737}
2738
2739func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2740 out := new(empty.Empty)
2741 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2742 if err != nil {
2743 return nil, err
2744 }
2745 return out, nil
2746}
2747
2748func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2749 out := new(empty.Empty)
2750 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2751 if err != nil {
2752 return nil, err
2753 }
2754 return out, nil
2755}
2756
2757func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2758 out := new(empty.Empty)
2759 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2760 if err != nil {
2761 return nil, err
2762 }
2763 return out, nil
2764}
2765
Himani Chawla503b7ce2020-10-07 13:20:03 +05302766func (c *volthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2767 out := new(empty.Empty)
2768 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ForceDeleteDevice", in, out, opts...)
2769 if err != nil {
2770 return nil, err
2771 }
2772 return out, nil
2773}
2774
William Kurkian1b363f42019-03-12 15:28:12 -04002775func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2776 out := new(common.OperationResp)
2777 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2778 if err != nil {
2779 return nil, err
2780 }
2781 return out, nil
2782}
2783
2784func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2785 out := new(ImageDownload)
2786 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2787 if err != nil {
2788 return nil, err
2789 }
2790 return out, nil
2791}
2792
2793func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2794 out := new(ImageDownload)
2795 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2796 if err != nil {
2797 return nil, err
2798 }
2799 return out, nil
2800}
2801
2802func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2803 out := new(ImageDownloads)
2804 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2805 if err != nil {
2806 return nil, err
2807 }
2808 return out, nil
2809}
2810
2811func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2812 out := new(common.OperationResp)
2813 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2814 if err != nil {
2815 return nil, err
2816 }
2817 return out, nil
2818}
2819
2820func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2821 out := new(common.OperationResp)
2822 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2823 if err != nil {
2824 return nil, err
2825 }
2826 return out, nil
2827}
2828
2829func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2830 out := new(common.OperationResp)
2831 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2832 if err != nil {
2833 return nil, err
2834 }
2835 return out, nil
2836}
2837
2838func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2839 out := new(Ports)
2840 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2841 if err != nil {
2842 return nil, err
2843 }
2844 return out, nil
2845}
2846
2847func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2848 out := new(PmConfigs)
2849 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2850 if err != nil {
2851 return nil, err
2852 }
2853 return out, nil
2854}
2855
2856func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2857 out := new(empty.Empty)
2858 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2859 if err != nil {
2860 return nil, err
2861 }
2862 return out, nil
2863}
2864
2865func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2866 out := new(openflow_13.Flows)
2867 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2868 if err != nil {
2869 return nil, err
2870 }
2871 return out, nil
2872}
2873
2874func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2875 out := new(openflow_13.FlowGroups)
2876 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2877 if err != nil {
2878 return nil, err
2879 }
2880 return out, nil
2881}
2882
2883func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2884 out := new(DeviceTypes)
2885 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2886 if err != nil {
2887 return nil, err
2888 }
2889 return out, nil
2890}
2891
2892func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2893 out := new(DeviceType)
2894 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2895 if err != nil {
2896 return nil, err
2897 }
2898 return out, nil
2899}
2900
2901func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2902 out := new(DeviceGroups)
2903 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2904 if err != nil {
2905 return nil, err
2906 }
2907 return out, nil
2908}
2909
2910func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2911 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2912 if err != nil {
2913 return nil, err
2914 }
2915 x := &volthaServiceStreamPacketsOutClient{stream}
2916 return x, nil
2917}
2918
2919type VolthaService_StreamPacketsOutClient interface {
2920 Send(*openflow_13.PacketOut) error
2921 CloseAndRecv() (*empty.Empty, error)
2922 grpc.ClientStream
2923}
2924
2925type volthaServiceStreamPacketsOutClient struct {
2926 grpc.ClientStream
2927}
2928
2929func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2930 return x.ClientStream.SendMsg(m)
2931}
2932
2933func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2934 if err := x.ClientStream.CloseSend(); err != nil {
2935 return nil, err
2936 }
2937 m := new(empty.Empty)
2938 if err := x.ClientStream.RecvMsg(m); err != nil {
2939 return nil, err
2940 }
2941 return m, nil
2942}
2943
2944func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2945 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2946 if err != nil {
2947 return nil, err
2948 }
2949 x := &volthaServiceReceivePacketsInClient{stream}
2950 if err := x.ClientStream.SendMsg(in); err != nil {
2951 return nil, err
2952 }
2953 if err := x.ClientStream.CloseSend(); err != nil {
2954 return nil, err
2955 }
2956 return x, nil
2957}
2958
2959type VolthaService_ReceivePacketsInClient interface {
2960 Recv() (*openflow_13.PacketIn, error)
2961 grpc.ClientStream
2962}
2963
2964type volthaServiceReceivePacketsInClient struct {
2965 grpc.ClientStream
2966}
2967
2968func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2969 m := new(openflow_13.PacketIn)
2970 if err := x.ClientStream.RecvMsg(m); err != nil {
2971 return nil, err
2972 }
2973 return m, nil
2974}
2975
2976func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2977 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2978 if err != nil {
2979 return nil, err
2980 }
2981 x := &volthaServiceReceiveChangeEventsClient{stream}
2982 if err := x.ClientStream.SendMsg(in); err != nil {
2983 return nil, err
2984 }
2985 if err := x.ClientStream.CloseSend(); err != nil {
2986 return nil, err
2987 }
2988 return x, nil
2989}
2990
2991type VolthaService_ReceiveChangeEventsClient interface {
2992 Recv() (*openflow_13.ChangeEvent, error)
2993 grpc.ClientStream
2994}
2995
2996type volthaServiceReceiveChangeEventsClient struct {
2997 grpc.ClientStream
2998}
2999
3000func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
3001 m := new(openflow_13.ChangeEvent)
3002 if err := x.ClientStream.RecvMsg(m); err != nil {
3003 return nil, err
3004 }
3005 return m, nil
3006}
3007
3008func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
3009 out := new(DeviceGroup)
3010 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
3011 if err != nil {
3012 return nil, err
3013 }
3014 return out, nil
3015}
3016
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003017func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3018 out := new(EventFilter)
3019 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003020 if err != nil {
3021 return nil, err
3022 }
3023 return out, nil
3024}
3025
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003026func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
3027 out := new(EventFilters)
3028 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003029 if err != nil {
3030 return nil, err
3031 }
3032 return out, nil
3033}
3034
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003035func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3036 out := new(EventFilter)
3037 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003038 if err != nil {
3039 return nil, err
3040 }
3041 return out, nil
3042}
3043
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003044func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003045 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003046 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003047 if err != nil {
3048 return nil, err
3049 }
3050 return out, nil
3051}
3052
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003053func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
3054 out := new(EventFilters)
3055 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003056 if err != nil {
3057 return nil, err
3058 }
3059 return out, nil
3060}
3061
3062func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
3063 out := new(Images)
3064 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
3065 if err != nil {
3066 return nil, err
3067 }
3068 return out, nil
3069}
3070
3071func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
3072 out := new(SelfTestResponse)
3073 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
3074 if err != nil {
3075 return nil, err
3076 }
3077 return out, nil
3078}
3079
3080func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
3081 out := new(omci.MibDeviceData)
3082 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
3083 if err != nil {
3084 return nil, err
3085 }
3086 return out, nil
3087}
3088
3089func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
3090 out := new(omci.AlarmDeviceData)
3091 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
3092 if err != nil {
3093 return nil, err
3094 }
3095 return out, nil
3096}
3097
3098func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
3099 out := new(common.OperationResp)
3100 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
3101 if err != nil {
3102 return nil, err
3103 }
3104 return out, nil
3105}
3106
3107func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
3108 out := new(OfAgentSubscriber)
3109 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
3110 if err != nil {
3111 return nil, err
3112 }
3113 return out, nil
3114}
3115
kesavand4a002b02020-01-23 21:29:47 -05003116func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3117 out := new(empty.Empty)
3118 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3119 if err != nil {
3120 return nil, err
3121 }
3122 return out, nil
3123}
3124
3125func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3126 out := new(empty.Empty)
3127 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3128 if err != nil {
3129 return nil, err
3130 }
3131 return out, nil
3132}
3133
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003134func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) {
3135 out := new(common.ReturnValues)
3136 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
3137 if err != nil {
3138 return nil, err
3139 }
3140 return out, nil
3141}
3142
dpaul2b52e712020-06-23 13:02:28 +05303143func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
3144 out := new(empty.Empty)
3145 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
3146 if err != nil {
3147 return nil, err
3148 }
3149 return out, nil
3150}
3151
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303152func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3153 out := new(TestResponse)
3154 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3155 if err != nil {
3156 return nil, err
3157 }
3158 return out, nil
3159}
3160
William Kurkian1b363f42019-03-12 15:28:12 -04003161// VolthaServiceServer is the server API for VolthaService service.
3162type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04003163 // Get the membership group of a Voltha Core
3164 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3165 // Set the membership group of a Voltha Core
3166 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3167 // Get high level information on the Voltha cluster
3168 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3169 // List all Voltha cluster core instances
3170 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3171 // Get details on a Voltha cluster instance
3172 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3173 // List all active adapters (plugins) in the Voltha cluster
3174 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3175 // List all logical devices managed by the Voltha cluster
3176 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3177 // Get additional information on a given logical device
3178 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3179 // List ports of a logical device
3180 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3181 // Gets a logical device port
3182 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3183 // Enables a logical device port
3184 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3185 // Disables a logical device port
3186 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3187 // List all flows of a logical device
3188 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3189 // Update flow table for logical device
3190 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3191 // Update meter table for logical device
3192 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003193 // List all meters of a logical device
3194 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003195 // List all flow groups of a logical device
3196 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3197 // Update group table for device
3198 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3199 // List all physical devices controlled by the Voltha cluster
3200 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3201 // List all physical devices IDs controlled by the Voltha cluster
3202 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3203 // Request to a voltha Core to reconcile a set of devices based on their IDs
3204 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
3205 // Get more information on a given physical device
3206 GetDevice(context.Context, *common.ID) (*Device, error)
3207 // Pre-provision a new physical device
3208 CreateDevice(context.Context, *Device) (*Device, error)
3209 // Enable a device. If the device was in pre-provisioned state then it
3210 // will transition to ENABLED state. If it was is DISABLED state then it
3211 // will transition to ENABLED state as well.
3212 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3213 // Disable a device
3214 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3215 // Reboot a device
3216 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3217 // Delete a device
3218 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05303219 // Forcefully delete a device
3220 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003221 // Request an image download to the standby partition
3222 // of a device.
3223 // Note that the call is expected to be non-blocking.
3224 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3225 // Get image download status on a device
3226 // The request retrieves progress on device and updates db record
3227 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3228 // Get image download db record
3229 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3230 // List image download db records for a given device
3231 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3232 // Cancel an existing image download process on a device
3233 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3234 // Activate the specified image at a standby partition
3235 // to active partition.
3236 // Depending on the device implementation, this call
3237 // may or may not cause device reboot.
3238 // If no reboot, then a reboot is required to make the
3239 // activated image running on device
3240 // Note that the call is expected to be non-blocking.
3241 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3242 // Revert the specified image at standby partition
3243 // to active partition, and revert to previous image
3244 // Depending on the device implementation, this call
3245 // may or may not cause device reboot.
3246 // If no reboot, then a reboot is required to make the
3247 // previous image running on device
3248 // Note that the call is expected to be non-blocking.
3249 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3250 // List ports of a device
3251 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3252 // List pm config of a device
3253 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3254 // Update the pm config of a device
3255 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3256 // List all flows of a device
3257 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3258 // List all flow groups of a device
3259 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3260 // List device types known to Voltha
3261 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3262 // Get additional information on a device type
3263 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3264 // List all device sharding groups
3265 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3266 // Stream control packets to the dataplane
3267 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3268 // Receive control packet stream
3269 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3270 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3271 // Get additional information on a device group
3272 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003273 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3274 // Get all filters present for a device
3275 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3276 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3277 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3278 // Get all the filters present
3279 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003280 GetImages(context.Context, *common.ID) (*Images, error)
3281 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3282 // OpenOMCI MIB information
3283 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3284 // OpenOMCI ALARM information
3285 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3286 // Simulate an Alarm
3287 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3288 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05003289 EnablePort(context.Context, *Port) (*empty.Empty, error)
3290 DisablePort(context.Context, *Port) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003291 GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error)
dpaul2b52e712020-06-23 13:02:28 +05303292 SetExtValue(context.Context, *ValueSet) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303293 // omci start and stop cli implementation
3294 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003295}
3296
3297func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3298 s.RegisterService(&_VolthaService_serviceDesc, srv)
3299}
3300
William Kurkian1b363f42019-03-12 15:28:12 -04003301func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3302 in := new(empty.Empty)
3303 if err := dec(in); err != nil {
3304 return nil, err
3305 }
3306 if interceptor == nil {
3307 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3308 }
3309 info := &grpc.UnaryServerInfo{
3310 Server: srv,
3311 FullMethod: "/voltha.VolthaService/GetMembership",
3312 }
3313 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3314 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3315 }
3316 return interceptor(ctx, in, info, handler)
3317}
3318
3319func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3320 in := new(Membership)
3321 if err := dec(in); err != nil {
3322 return nil, err
3323 }
3324 if interceptor == nil {
3325 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3326 }
3327 info := &grpc.UnaryServerInfo{
3328 Server: srv,
3329 FullMethod: "/voltha.VolthaService/UpdateMembership",
3330 }
3331 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3332 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3333 }
3334 return interceptor(ctx, in, info, handler)
3335}
3336
3337func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3338 in := new(empty.Empty)
3339 if err := dec(in); err != nil {
3340 return nil, err
3341 }
3342 if interceptor == nil {
3343 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3344 }
3345 info := &grpc.UnaryServerInfo{
3346 Server: srv,
3347 FullMethod: "/voltha.VolthaService/GetVoltha",
3348 }
3349 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3350 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3351 }
3352 return interceptor(ctx, in, info, handler)
3353}
3354
3355func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3356 in := new(empty.Empty)
3357 if err := dec(in); err != nil {
3358 return nil, err
3359 }
3360 if interceptor == nil {
3361 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3362 }
3363 info := &grpc.UnaryServerInfo{
3364 Server: srv,
3365 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3366 }
3367 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3368 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3369 }
3370 return interceptor(ctx, in, info, handler)
3371}
3372
3373func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3374 in := new(common.ID)
3375 if err := dec(in); err != nil {
3376 return nil, err
3377 }
3378 if interceptor == nil {
3379 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3380 }
3381 info := &grpc.UnaryServerInfo{
3382 Server: srv,
3383 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3384 }
3385 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3386 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3387 }
3388 return interceptor(ctx, in, info, handler)
3389}
3390
3391func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3392 in := new(empty.Empty)
3393 if err := dec(in); err != nil {
3394 return nil, err
3395 }
3396 if interceptor == nil {
3397 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3398 }
3399 info := &grpc.UnaryServerInfo{
3400 Server: srv,
3401 FullMethod: "/voltha.VolthaService/ListAdapters",
3402 }
3403 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3404 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3405 }
3406 return interceptor(ctx, in, info, handler)
3407}
3408
3409func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3410 in := new(empty.Empty)
3411 if err := dec(in); err != nil {
3412 return nil, err
3413 }
3414 if interceptor == nil {
3415 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3416 }
3417 info := &grpc.UnaryServerInfo{
3418 Server: srv,
3419 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3420 }
3421 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3422 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3423 }
3424 return interceptor(ctx, in, info, handler)
3425}
3426
3427func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3428 in := new(common.ID)
3429 if err := dec(in); err != nil {
3430 return nil, err
3431 }
3432 if interceptor == nil {
3433 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3434 }
3435 info := &grpc.UnaryServerInfo{
3436 Server: srv,
3437 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3438 }
3439 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3440 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3441 }
3442 return interceptor(ctx, in, info, handler)
3443}
3444
3445func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3446 in := new(common.ID)
3447 if err := dec(in); err != nil {
3448 return nil, err
3449 }
3450 if interceptor == nil {
3451 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3452 }
3453 info := &grpc.UnaryServerInfo{
3454 Server: srv,
3455 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3456 }
3457 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3458 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3459 }
3460 return interceptor(ctx, in, info, handler)
3461}
3462
3463func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3464 in := new(LogicalPortId)
3465 if err := dec(in); err != nil {
3466 return nil, err
3467 }
3468 if interceptor == nil {
3469 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3470 }
3471 info := &grpc.UnaryServerInfo{
3472 Server: srv,
3473 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3474 }
3475 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3476 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3477 }
3478 return interceptor(ctx, in, info, handler)
3479}
3480
3481func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3482 in := new(LogicalPortId)
3483 if err := dec(in); err != nil {
3484 return nil, err
3485 }
3486 if interceptor == nil {
3487 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3488 }
3489 info := &grpc.UnaryServerInfo{
3490 Server: srv,
3491 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3492 }
3493 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3494 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3495 }
3496 return interceptor(ctx, in, info, handler)
3497}
3498
3499func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3500 in := new(LogicalPortId)
3501 if err := dec(in); err != nil {
3502 return nil, err
3503 }
3504 if interceptor == nil {
3505 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3506 }
3507 info := &grpc.UnaryServerInfo{
3508 Server: srv,
3509 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3510 }
3511 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3512 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3513 }
3514 return interceptor(ctx, in, info, handler)
3515}
3516
3517func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3518 in := new(common.ID)
3519 if err := dec(in); err != nil {
3520 return nil, err
3521 }
3522 if interceptor == nil {
3523 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3524 }
3525 info := &grpc.UnaryServerInfo{
3526 Server: srv,
3527 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3528 }
3529 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3530 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3531 }
3532 return interceptor(ctx, in, info, handler)
3533}
3534
3535func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3536 in := new(openflow_13.FlowTableUpdate)
3537 if err := dec(in); err != nil {
3538 return nil, err
3539 }
3540 if interceptor == nil {
3541 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3542 }
3543 info := &grpc.UnaryServerInfo{
3544 Server: srv,
3545 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3546 }
3547 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3548 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3549 }
3550 return interceptor(ctx, in, info, handler)
3551}
3552
3553func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3554 in := new(openflow_13.MeterModUpdate)
3555 if err := dec(in); err != nil {
3556 return nil, err
3557 }
3558 if interceptor == nil {
3559 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3560 }
3561 info := &grpc.UnaryServerInfo{
3562 Server: srv,
3563 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3564 }
3565 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3566 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3567 }
3568 return interceptor(ctx, in, info, handler)
3569}
3570
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003571func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003572 in := new(common.ID)
3573 if err := dec(in); err != nil {
3574 return nil, err
3575 }
3576 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003577 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003578 }
3579 info := &grpc.UnaryServerInfo{
3580 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003581 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003582 }
3583 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003584 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003585 }
3586 return interceptor(ctx, in, info, handler)
3587}
3588
3589func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3590 in := new(common.ID)
3591 if err := dec(in); err != nil {
3592 return nil, err
3593 }
3594 if interceptor == nil {
3595 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3596 }
3597 info := &grpc.UnaryServerInfo{
3598 Server: srv,
3599 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3600 }
3601 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3602 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3603 }
3604 return interceptor(ctx, in, info, handler)
3605}
3606
3607func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3608 in := new(openflow_13.FlowGroupTableUpdate)
3609 if err := dec(in); err != nil {
3610 return nil, err
3611 }
3612 if interceptor == nil {
3613 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3614 }
3615 info := &grpc.UnaryServerInfo{
3616 Server: srv,
3617 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3618 }
3619 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3620 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3621 }
3622 return interceptor(ctx, in, info, handler)
3623}
3624
3625func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3626 in := new(empty.Empty)
3627 if err := dec(in); err != nil {
3628 return nil, err
3629 }
3630 if interceptor == nil {
3631 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3632 }
3633 info := &grpc.UnaryServerInfo{
3634 Server: srv,
3635 FullMethod: "/voltha.VolthaService/ListDevices",
3636 }
3637 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3638 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3639 }
3640 return interceptor(ctx, in, info, handler)
3641}
3642
3643func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3644 in := new(empty.Empty)
3645 if err := dec(in); err != nil {
3646 return nil, err
3647 }
3648 if interceptor == nil {
3649 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3650 }
3651 info := &grpc.UnaryServerInfo{
3652 Server: srv,
3653 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3654 }
3655 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3656 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3657 }
3658 return interceptor(ctx, in, info, handler)
3659}
3660
3661func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3662 in := new(common.IDs)
3663 if err := dec(in); err != nil {
3664 return nil, err
3665 }
3666 if interceptor == nil {
3667 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3668 }
3669 info := &grpc.UnaryServerInfo{
3670 Server: srv,
3671 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3672 }
3673 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3674 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3675 }
3676 return interceptor(ctx, in, info, handler)
3677}
3678
3679func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3680 in := new(common.ID)
3681 if err := dec(in); err != nil {
3682 return nil, err
3683 }
3684 if interceptor == nil {
3685 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3686 }
3687 info := &grpc.UnaryServerInfo{
3688 Server: srv,
3689 FullMethod: "/voltha.VolthaService/GetDevice",
3690 }
3691 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3692 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3693 }
3694 return interceptor(ctx, in, info, handler)
3695}
3696
3697func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3698 in := new(Device)
3699 if err := dec(in); err != nil {
3700 return nil, err
3701 }
3702 if interceptor == nil {
3703 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3704 }
3705 info := &grpc.UnaryServerInfo{
3706 Server: srv,
3707 FullMethod: "/voltha.VolthaService/CreateDevice",
3708 }
3709 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3710 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3711 }
3712 return interceptor(ctx, in, info, handler)
3713}
3714
3715func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3716 in := new(common.ID)
3717 if err := dec(in); err != nil {
3718 return nil, err
3719 }
3720 if interceptor == nil {
3721 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3722 }
3723 info := &grpc.UnaryServerInfo{
3724 Server: srv,
3725 FullMethod: "/voltha.VolthaService/EnableDevice",
3726 }
3727 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3728 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3729 }
3730 return interceptor(ctx, in, info, handler)
3731}
3732
3733func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3734 in := new(common.ID)
3735 if err := dec(in); err != nil {
3736 return nil, err
3737 }
3738 if interceptor == nil {
3739 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3740 }
3741 info := &grpc.UnaryServerInfo{
3742 Server: srv,
3743 FullMethod: "/voltha.VolthaService/DisableDevice",
3744 }
3745 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3746 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3747 }
3748 return interceptor(ctx, in, info, handler)
3749}
3750
3751func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3752 in := new(common.ID)
3753 if err := dec(in); err != nil {
3754 return nil, err
3755 }
3756 if interceptor == nil {
3757 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3758 }
3759 info := &grpc.UnaryServerInfo{
3760 Server: srv,
3761 FullMethod: "/voltha.VolthaService/RebootDevice",
3762 }
3763 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3764 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3765 }
3766 return interceptor(ctx, in, info, handler)
3767}
3768
3769func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3770 in := new(common.ID)
3771 if err := dec(in); err != nil {
3772 return nil, err
3773 }
3774 if interceptor == nil {
3775 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3776 }
3777 info := &grpc.UnaryServerInfo{
3778 Server: srv,
3779 FullMethod: "/voltha.VolthaService/DeleteDevice",
3780 }
3781 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3782 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3783 }
3784 return interceptor(ctx, in, info, handler)
3785}
3786
Himani Chawla503b7ce2020-10-07 13:20:03 +05303787func _VolthaService_ForceDeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3788 in := new(common.ID)
3789 if err := dec(in); err != nil {
3790 return nil, err
3791 }
3792 if interceptor == nil {
3793 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, in)
3794 }
3795 info := &grpc.UnaryServerInfo{
3796 Server: srv,
3797 FullMethod: "/voltha.VolthaService/ForceDeleteDevice",
3798 }
3799 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3800 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, req.(*common.ID))
3801 }
3802 return interceptor(ctx, in, info, handler)
3803}
3804
William Kurkian1b363f42019-03-12 15:28:12 -04003805func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3806 in := new(ImageDownload)
3807 if err := dec(in); err != nil {
3808 return nil, err
3809 }
3810 if interceptor == nil {
3811 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3812 }
3813 info := &grpc.UnaryServerInfo{
3814 Server: srv,
3815 FullMethod: "/voltha.VolthaService/DownloadImage",
3816 }
3817 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3818 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3819 }
3820 return interceptor(ctx, in, info, handler)
3821}
3822
3823func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3824 in := new(ImageDownload)
3825 if err := dec(in); err != nil {
3826 return nil, err
3827 }
3828 if interceptor == nil {
3829 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3830 }
3831 info := &grpc.UnaryServerInfo{
3832 Server: srv,
3833 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3834 }
3835 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3836 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3837 }
3838 return interceptor(ctx, in, info, handler)
3839}
3840
3841func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3842 in := new(ImageDownload)
3843 if err := dec(in); err != nil {
3844 return nil, err
3845 }
3846 if interceptor == nil {
3847 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3848 }
3849 info := &grpc.UnaryServerInfo{
3850 Server: srv,
3851 FullMethod: "/voltha.VolthaService/GetImageDownload",
3852 }
3853 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3854 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3855 }
3856 return interceptor(ctx, in, info, handler)
3857}
3858
3859func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3860 in := new(common.ID)
3861 if err := dec(in); err != nil {
3862 return nil, err
3863 }
3864 if interceptor == nil {
3865 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3866 }
3867 info := &grpc.UnaryServerInfo{
3868 Server: srv,
3869 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3870 }
3871 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3872 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3873 }
3874 return interceptor(ctx, in, info, handler)
3875}
3876
3877func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3878 in := new(ImageDownload)
3879 if err := dec(in); err != nil {
3880 return nil, err
3881 }
3882 if interceptor == nil {
3883 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3884 }
3885 info := &grpc.UnaryServerInfo{
3886 Server: srv,
3887 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3888 }
3889 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3890 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3891 }
3892 return interceptor(ctx, in, info, handler)
3893}
3894
3895func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3896 in := new(ImageDownload)
3897 if err := dec(in); err != nil {
3898 return nil, err
3899 }
3900 if interceptor == nil {
3901 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3902 }
3903 info := &grpc.UnaryServerInfo{
3904 Server: srv,
3905 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3906 }
3907 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3908 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3909 }
3910 return interceptor(ctx, in, info, handler)
3911}
3912
3913func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3914 in := new(ImageDownload)
3915 if err := dec(in); err != nil {
3916 return nil, err
3917 }
3918 if interceptor == nil {
3919 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3920 }
3921 info := &grpc.UnaryServerInfo{
3922 Server: srv,
3923 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3924 }
3925 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3926 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3927 }
3928 return interceptor(ctx, in, info, handler)
3929}
3930
3931func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3932 in := new(common.ID)
3933 if err := dec(in); err != nil {
3934 return nil, err
3935 }
3936 if interceptor == nil {
3937 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3938 }
3939 info := &grpc.UnaryServerInfo{
3940 Server: srv,
3941 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3942 }
3943 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3944 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3945 }
3946 return interceptor(ctx, in, info, handler)
3947}
3948
3949func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3950 in := new(common.ID)
3951 if err := dec(in); err != nil {
3952 return nil, err
3953 }
3954 if interceptor == nil {
3955 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3956 }
3957 info := &grpc.UnaryServerInfo{
3958 Server: srv,
3959 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3960 }
3961 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3962 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3963 }
3964 return interceptor(ctx, in, info, handler)
3965}
3966
3967func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3968 in := new(PmConfigs)
3969 if err := dec(in); err != nil {
3970 return nil, err
3971 }
3972 if interceptor == nil {
3973 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3974 }
3975 info := &grpc.UnaryServerInfo{
3976 Server: srv,
3977 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3978 }
3979 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3980 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3981 }
3982 return interceptor(ctx, in, info, handler)
3983}
3984
3985func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3986 in := new(common.ID)
3987 if err := dec(in); err != nil {
3988 return nil, err
3989 }
3990 if interceptor == nil {
3991 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3992 }
3993 info := &grpc.UnaryServerInfo{
3994 Server: srv,
3995 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3996 }
3997 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3998 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3999 }
4000 return interceptor(ctx, in, info, handler)
4001}
4002
4003func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4004 in := new(common.ID)
4005 if err := dec(in); err != nil {
4006 return nil, err
4007 }
4008 if interceptor == nil {
4009 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
4010 }
4011 info := &grpc.UnaryServerInfo{
4012 Server: srv,
4013 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
4014 }
4015 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4016 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
4017 }
4018 return interceptor(ctx, in, info, handler)
4019}
4020
4021func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4022 in := new(empty.Empty)
4023 if err := dec(in); err != nil {
4024 return nil, err
4025 }
4026 if interceptor == nil {
4027 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
4028 }
4029 info := &grpc.UnaryServerInfo{
4030 Server: srv,
4031 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
4032 }
4033 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4034 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
4035 }
4036 return interceptor(ctx, in, info, handler)
4037}
4038
4039func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4040 in := new(common.ID)
4041 if err := dec(in); err != nil {
4042 return nil, err
4043 }
4044 if interceptor == nil {
4045 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
4046 }
4047 info := &grpc.UnaryServerInfo{
4048 Server: srv,
4049 FullMethod: "/voltha.VolthaService/GetDeviceType",
4050 }
4051 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4052 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
4053 }
4054 return interceptor(ctx, in, info, handler)
4055}
4056
4057func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4058 in := new(empty.Empty)
4059 if err := dec(in); err != nil {
4060 return nil, err
4061 }
4062 if interceptor == nil {
4063 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
4064 }
4065 info := &grpc.UnaryServerInfo{
4066 Server: srv,
4067 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
4068 }
4069 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4070 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
4071 }
4072 return interceptor(ctx, in, info, handler)
4073}
4074
4075func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
4076 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
4077}
4078
4079type VolthaService_StreamPacketsOutServer interface {
4080 SendAndClose(*empty.Empty) error
4081 Recv() (*openflow_13.PacketOut, error)
4082 grpc.ServerStream
4083}
4084
4085type volthaServiceStreamPacketsOutServer struct {
4086 grpc.ServerStream
4087}
4088
4089func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
4090 return x.ServerStream.SendMsg(m)
4091}
4092
4093func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
4094 m := new(openflow_13.PacketOut)
4095 if err := x.ServerStream.RecvMsg(m); err != nil {
4096 return nil, err
4097 }
4098 return m, nil
4099}
4100
4101func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
4102 m := new(empty.Empty)
4103 if err := stream.RecvMsg(m); err != nil {
4104 return err
4105 }
4106 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
4107}
4108
4109type VolthaService_ReceivePacketsInServer interface {
4110 Send(*openflow_13.PacketIn) error
4111 grpc.ServerStream
4112}
4113
4114type volthaServiceReceivePacketsInServer struct {
4115 grpc.ServerStream
4116}
4117
4118func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
4119 return x.ServerStream.SendMsg(m)
4120}
4121
4122func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
4123 m := new(empty.Empty)
4124 if err := stream.RecvMsg(m); err != nil {
4125 return err
4126 }
4127 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
4128}
4129
4130type VolthaService_ReceiveChangeEventsServer interface {
4131 Send(*openflow_13.ChangeEvent) error
4132 grpc.ServerStream
4133}
4134
4135type volthaServiceReceiveChangeEventsServer struct {
4136 grpc.ServerStream
4137}
4138
4139func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
4140 return x.ServerStream.SendMsg(m)
4141}
4142
4143func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4144 in := new(common.ID)
4145 if err := dec(in); err != nil {
4146 return nil, err
4147 }
4148 if interceptor == nil {
4149 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
4150 }
4151 info := &grpc.UnaryServerInfo{
4152 Server: srv,
4153 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
4154 }
4155 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4156 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
4157 }
4158 return interceptor(ctx, in, info, handler)
4159}
4160
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004161func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4162 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004163 if err := dec(in); err != nil {
4164 return nil, err
4165 }
4166 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004167 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004168 }
4169 info := &grpc.UnaryServerInfo{
4170 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004171 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004172 }
4173 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004174 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004175 }
4176 return interceptor(ctx, in, info, handler)
4177}
4178
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004179func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004180 in := new(common.ID)
4181 if err := dec(in); err != nil {
4182 return nil, err
4183 }
4184 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004185 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004186 }
4187 info := &grpc.UnaryServerInfo{
4188 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004189 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004190 }
4191 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004192 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04004193 }
4194 return interceptor(ctx, in, info, handler)
4195}
4196
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004197func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4198 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004199 if err := dec(in); err != nil {
4200 return nil, err
4201 }
4202 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004203 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004204 }
4205 info := &grpc.UnaryServerInfo{
4206 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004207 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004208 }
4209 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004210 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004211 }
4212 return interceptor(ctx, in, info, handler)
4213}
4214
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004215func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4216 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004217 if err := dec(in); err != nil {
4218 return nil, err
4219 }
4220 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004221 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004222 }
4223 info := &grpc.UnaryServerInfo{
4224 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004225 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004226 }
4227 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004228 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004229 }
4230 return interceptor(ctx, in, info, handler)
4231}
4232
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004233func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004234 in := new(empty.Empty)
4235 if err := dec(in); err != nil {
4236 return nil, err
4237 }
4238 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004239 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004240 }
4241 info := &grpc.UnaryServerInfo{
4242 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004243 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04004244 }
4245 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004246 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04004247 }
4248 return interceptor(ctx, in, info, handler)
4249}
4250
4251func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4252 in := new(common.ID)
4253 if err := dec(in); err != nil {
4254 return nil, err
4255 }
4256 if interceptor == nil {
4257 return srv.(VolthaServiceServer).GetImages(ctx, in)
4258 }
4259 info := &grpc.UnaryServerInfo{
4260 Server: srv,
4261 FullMethod: "/voltha.VolthaService/GetImages",
4262 }
4263 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4264 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4265 }
4266 return interceptor(ctx, in, info, handler)
4267}
4268
4269func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4270 in := new(common.ID)
4271 if err := dec(in); err != nil {
4272 return nil, err
4273 }
4274 if interceptor == nil {
4275 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4276 }
4277 info := &grpc.UnaryServerInfo{
4278 Server: srv,
4279 FullMethod: "/voltha.VolthaService/SelfTest",
4280 }
4281 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4282 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4283 }
4284 return interceptor(ctx, in, info, handler)
4285}
4286
4287func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4288 in := new(common.ID)
4289 if err := dec(in); err != nil {
4290 return nil, err
4291 }
4292 if interceptor == nil {
4293 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4294 }
4295 info := &grpc.UnaryServerInfo{
4296 Server: srv,
4297 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4298 }
4299 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4300 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4301 }
4302 return interceptor(ctx, in, info, handler)
4303}
4304
4305func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4306 in := new(common.ID)
4307 if err := dec(in); err != nil {
4308 return nil, err
4309 }
4310 if interceptor == nil {
4311 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4312 }
4313 info := &grpc.UnaryServerInfo{
4314 Server: srv,
4315 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4316 }
4317 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4318 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4319 }
4320 return interceptor(ctx, in, info, handler)
4321}
4322
4323func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4324 in := new(SimulateAlarmRequest)
4325 if err := dec(in); err != nil {
4326 return nil, err
4327 }
4328 if interceptor == nil {
4329 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4330 }
4331 info := &grpc.UnaryServerInfo{
4332 Server: srv,
4333 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4334 }
4335 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4336 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4337 }
4338 return interceptor(ctx, in, info, handler)
4339}
4340
4341func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4342 in := new(OfAgentSubscriber)
4343 if err := dec(in); err != nil {
4344 return nil, err
4345 }
4346 if interceptor == nil {
4347 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4348 }
4349 info := &grpc.UnaryServerInfo{
4350 Server: srv,
4351 FullMethod: "/voltha.VolthaService/Subscribe",
4352 }
4353 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4354 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4355 }
4356 return interceptor(ctx, in, info, handler)
4357}
4358
kesavand4a002b02020-01-23 21:29:47 -05004359func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4360 in := new(Port)
4361 if err := dec(in); err != nil {
4362 return nil, err
4363 }
4364 if interceptor == nil {
4365 return srv.(VolthaServiceServer).EnablePort(ctx, in)
4366 }
4367 info := &grpc.UnaryServerInfo{
4368 Server: srv,
4369 FullMethod: "/voltha.VolthaService/EnablePort",
4370 }
4371 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4372 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
4373 }
4374 return interceptor(ctx, in, info, handler)
4375}
4376
4377func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4378 in := new(Port)
4379 if err := dec(in); err != nil {
4380 return nil, err
4381 }
4382 if interceptor == nil {
4383 return srv.(VolthaServiceServer).DisablePort(ctx, in)
4384 }
4385 info := &grpc.UnaryServerInfo{
4386 Server: srv,
4387 FullMethod: "/voltha.VolthaService/DisablePort",
4388 }
4389 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4390 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
4391 }
4392 return interceptor(ctx, in, info, handler)
4393}
4394
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004395func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4396 in := new(common.ValueSpecifier)
4397 if err := dec(in); err != nil {
4398 return nil, err
4399 }
4400 if interceptor == nil {
4401 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
4402 }
4403 info := &grpc.UnaryServerInfo{
4404 Server: srv,
4405 FullMethod: "/voltha.VolthaService/GetExtValue",
4406 }
4407 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4408 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*common.ValueSpecifier))
4409 }
4410 return interceptor(ctx, in, info, handler)
4411}
4412
dpaul2b52e712020-06-23 13:02:28 +05304413func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4414 in := new(ValueSet)
4415 if err := dec(in); err != nil {
4416 return nil, err
4417 }
4418 if interceptor == nil {
4419 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
4420 }
4421 info := &grpc.UnaryServerInfo{
4422 Server: srv,
4423 FullMethod: "/voltha.VolthaService/SetExtValue",
4424 }
4425 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4426 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*ValueSet))
4427 }
4428 return interceptor(ctx, in, info, handler)
4429}
4430
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304431func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4432 in := new(OmciTestRequest)
4433 if err := dec(in); err != nil {
4434 return nil, err
4435 }
4436 if interceptor == nil {
4437 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
4438 }
4439 info := &grpc.UnaryServerInfo{
4440 Server: srv,
4441 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
4442 }
4443 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4444 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest))
4445 }
4446 return interceptor(ctx, in, info, handler)
4447}
4448
William Kurkian1b363f42019-03-12 15:28:12 -04004449var _VolthaService_serviceDesc = grpc.ServiceDesc{
4450 ServiceName: "voltha.VolthaService",
4451 HandlerType: (*VolthaServiceServer)(nil),
4452 Methods: []grpc.MethodDesc{
4453 {
William Kurkian1b363f42019-03-12 15:28:12 -04004454 MethodName: "GetMembership",
4455 Handler: _VolthaService_GetMembership_Handler,
4456 },
4457 {
4458 MethodName: "UpdateMembership",
4459 Handler: _VolthaService_UpdateMembership_Handler,
4460 },
4461 {
4462 MethodName: "GetVoltha",
4463 Handler: _VolthaService_GetVoltha_Handler,
4464 },
4465 {
4466 MethodName: "ListCoreInstances",
4467 Handler: _VolthaService_ListCoreInstances_Handler,
4468 },
4469 {
4470 MethodName: "GetCoreInstance",
4471 Handler: _VolthaService_GetCoreInstance_Handler,
4472 },
4473 {
4474 MethodName: "ListAdapters",
4475 Handler: _VolthaService_ListAdapters_Handler,
4476 },
4477 {
4478 MethodName: "ListLogicalDevices",
4479 Handler: _VolthaService_ListLogicalDevices_Handler,
4480 },
4481 {
4482 MethodName: "GetLogicalDevice",
4483 Handler: _VolthaService_GetLogicalDevice_Handler,
4484 },
4485 {
4486 MethodName: "ListLogicalDevicePorts",
4487 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4488 },
4489 {
4490 MethodName: "GetLogicalDevicePort",
4491 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4492 },
4493 {
4494 MethodName: "EnableLogicalDevicePort",
4495 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4496 },
4497 {
4498 MethodName: "DisableLogicalDevicePort",
4499 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4500 },
4501 {
4502 MethodName: "ListLogicalDeviceFlows",
4503 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4504 },
4505 {
4506 MethodName: "UpdateLogicalDeviceFlowTable",
4507 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4508 },
4509 {
4510 MethodName: "UpdateLogicalDeviceMeterTable",
4511 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4512 },
4513 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004514 MethodName: "ListLogicalDeviceMeters",
4515 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004516 },
4517 {
4518 MethodName: "ListLogicalDeviceFlowGroups",
4519 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4520 },
4521 {
4522 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4523 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4524 },
4525 {
4526 MethodName: "ListDevices",
4527 Handler: _VolthaService_ListDevices_Handler,
4528 },
4529 {
4530 MethodName: "ListDeviceIds",
4531 Handler: _VolthaService_ListDeviceIds_Handler,
4532 },
4533 {
4534 MethodName: "ReconcileDevices",
4535 Handler: _VolthaService_ReconcileDevices_Handler,
4536 },
4537 {
4538 MethodName: "GetDevice",
4539 Handler: _VolthaService_GetDevice_Handler,
4540 },
4541 {
4542 MethodName: "CreateDevice",
4543 Handler: _VolthaService_CreateDevice_Handler,
4544 },
4545 {
4546 MethodName: "EnableDevice",
4547 Handler: _VolthaService_EnableDevice_Handler,
4548 },
4549 {
4550 MethodName: "DisableDevice",
4551 Handler: _VolthaService_DisableDevice_Handler,
4552 },
4553 {
4554 MethodName: "RebootDevice",
4555 Handler: _VolthaService_RebootDevice_Handler,
4556 },
4557 {
4558 MethodName: "DeleteDevice",
4559 Handler: _VolthaService_DeleteDevice_Handler,
4560 },
4561 {
Himani Chawla503b7ce2020-10-07 13:20:03 +05304562 MethodName: "ForceDeleteDevice",
4563 Handler: _VolthaService_ForceDeleteDevice_Handler,
4564 },
4565 {
William Kurkian1b363f42019-03-12 15:28:12 -04004566 MethodName: "DownloadImage",
4567 Handler: _VolthaService_DownloadImage_Handler,
4568 },
4569 {
4570 MethodName: "GetImageDownloadStatus",
4571 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4572 },
4573 {
4574 MethodName: "GetImageDownload",
4575 Handler: _VolthaService_GetImageDownload_Handler,
4576 },
4577 {
4578 MethodName: "ListImageDownloads",
4579 Handler: _VolthaService_ListImageDownloads_Handler,
4580 },
4581 {
4582 MethodName: "CancelImageDownload",
4583 Handler: _VolthaService_CancelImageDownload_Handler,
4584 },
4585 {
4586 MethodName: "ActivateImageUpdate",
4587 Handler: _VolthaService_ActivateImageUpdate_Handler,
4588 },
4589 {
4590 MethodName: "RevertImageUpdate",
4591 Handler: _VolthaService_RevertImageUpdate_Handler,
4592 },
4593 {
4594 MethodName: "ListDevicePorts",
4595 Handler: _VolthaService_ListDevicePorts_Handler,
4596 },
4597 {
4598 MethodName: "ListDevicePmConfigs",
4599 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4600 },
4601 {
4602 MethodName: "UpdateDevicePmConfigs",
4603 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4604 },
4605 {
4606 MethodName: "ListDeviceFlows",
4607 Handler: _VolthaService_ListDeviceFlows_Handler,
4608 },
4609 {
4610 MethodName: "ListDeviceFlowGroups",
4611 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4612 },
4613 {
4614 MethodName: "ListDeviceTypes",
4615 Handler: _VolthaService_ListDeviceTypes_Handler,
4616 },
4617 {
4618 MethodName: "GetDeviceType",
4619 Handler: _VolthaService_GetDeviceType_Handler,
4620 },
4621 {
4622 MethodName: "ListDeviceGroups",
4623 Handler: _VolthaService_ListDeviceGroups_Handler,
4624 },
4625 {
4626 MethodName: "GetDeviceGroup",
4627 Handler: _VolthaService_GetDeviceGroup_Handler,
4628 },
4629 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004630 MethodName: "CreateEventFilter",
4631 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004632 },
4633 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004634 MethodName: "GetEventFilter",
4635 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004636 },
4637 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004638 MethodName: "UpdateEventFilter",
4639 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004640 },
4641 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004642 MethodName: "DeleteEventFilter",
4643 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004644 },
4645 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004646 MethodName: "ListEventFilters",
4647 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004648 },
4649 {
4650 MethodName: "GetImages",
4651 Handler: _VolthaService_GetImages_Handler,
4652 },
4653 {
4654 MethodName: "SelfTest",
4655 Handler: _VolthaService_SelfTest_Handler,
4656 },
4657 {
4658 MethodName: "GetMibDeviceData",
4659 Handler: _VolthaService_GetMibDeviceData_Handler,
4660 },
4661 {
4662 MethodName: "GetAlarmDeviceData",
4663 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4664 },
4665 {
4666 MethodName: "SimulateAlarm",
4667 Handler: _VolthaService_SimulateAlarm_Handler,
4668 },
4669 {
4670 MethodName: "Subscribe",
4671 Handler: _VolthaService_Subscribe_Handler,
4672 },
kesavand4a002b02020-01-23 21:29:47 -05004673 {
4674 MethodName: "EnablePort",
4675 Handler: _VolthaService_EnablePort_Handler,
4676 },
4677 {
4678 MethodName: "DisablePort",
4679 Handler: _VolthaService_DisablePort_Handler,
4680 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304681 {
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004682 MethodName: "GetExtValue",
4683 Handler: _VolthaService_GetExtValue_Handler,
4684 },
4685 {
dpaul2b52e712020-06-23 13:02:28 +05304686 MethodName: "SetExtValue",
4687 Handler: _VolthaService_SetExtValue_Handler,
4688 },
4689 {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304690 MethodName: "StartOmciTestAction",
4691 Handler: _VolthaService_StartOmciTestAction_Handler,
4692 },
William Kurkian1b363f42019-03-12 15:28:12 -04004693 },
4694 Streams: []grpc.StreamDesc{
4695 {
4696 StreamName: "StreamPacketsOut",
4697 Handler: _VolthaService_StreamPacketsOut_Handler,
4698 ClientStreams: true,
4699 },
4700 {
4701 StreamName: "ReceivePacketsIn",
4702 Handler: _VolthaService_ReceivePacketsIn_Handler,
4703 ServerStreams: true,
4704 },
4705 {
4706 StreamName: "ReceiveChangeEvents",
4707 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4708 ServerStreams: true,
4709 },
4710 },
4711 Metadata: "voltha_protos/voltha.proto",
4712}