blob: 0874c0064ebc49f6e660c1f12d7b6d01043db8d5 [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/voltha.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package voltha
William Kurkian1b363f42019-03-12 15:28:12 -04005
6import (
William Kurkianad745652019-03-20 08:45:51 -04007 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
10 empty "github.com/golang/protobuf/ptypes/empty"
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030011 common "github.com/opencord/voltha-protos/v3/go/common"
dpaul2b52e712020-06-23 13:02:28 +053012 config "github.com/opencord/voltha-protos/v3/go/ext/config"
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030013 omci "github.com/opencord/voltha-protos/v3/go/omci"
14 openflow_13 "github.com/opencord/voltha-protos/v3/go/openflow_13"
William Kurkianad745652019-03-20 08:45:51 -040015 _ "google.golang.org/genproto/googleapis/api/annotations"
William Kurkian1b363f42019-03-12 15:28:12 -040016 grpc "google.golang.org/grpc"
William Kurkianad745652019-03-20 08:45:51 -040017 math "math"
William Kurkian1b363f42019-03-12 15:28:12 -040018)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040029const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040030
31// ChildNode from public import voltha_protos/meta.proto
32type ChildNode = common.ChildNode
33
34// Access from public import voltha_protos/meta.proto
35type Access = common.Access
36
37var Access_name = common.Access_name
38var Access_value = common.Access_value
39
40const Access_CONFIG = Access(common.Access_CONFIG)
41const Access_READ_ONLY = Access(common.Access_READ_ONLY)
42const Access_REAL_TIME = Access(common.Access_REAL_TIME)
43
William Kurkian1b363f42019-03-12 15:28:12 -040044var E_ChildNode = common.E_ChildNode
45
William Kurkian1b363f42019-03-12 15:28:12 -040046var E_Access = common.E_Access
47
48// ID from public import voltha_protos/common.proto
49type ID = common.ID
50
51// IDs from public import voltha_protos/common.proto
52type IDs = common.IDs
53
William Kurkian1b363f42019-03-12 15:28:12 -040054// AdminState from public import voltha_protos/common.proto
55type AdminState = common.AdminState
56
57// OperStatus from public import voltha_protos/common.proto
58type OperStatus = common.OperStatus
59
60// ConnectStatus from public import voltha_protos/common.proto
61type ConnectStatus = common.ConnectStatus
62
63// OperationResp from public import voltha_protos/common.proto
64type OperationResp = common.OperationResp
65
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -080066// ValueType from public import voltha_protos/common.proto
67type ValueType = common.ValueType
68
69// ValueSpecifier from public import voltha_protos/common.proto
70type ValueSpecifier = common.ValueSpecifier
71
72// ReturnValues from public import voltha_protos/common.proto
73type ReturnValues = common.ReturnValues
74
William Kurkian1b363f42019-03-12 15:28:12 -040075// TestModeKeys from public import voltha_protos/common.proto
76type TestModeKeys = common.TestModeKeys
77
78var TestModeKeys_name = common.TestModeKeys_name
79var TestModeKeys_value = common.TestModeKeys_value
80
81const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
82
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030083// AdminState_Types from public import voltha_protos/common.proto
84type AdminState_Types = common.AdminState_Types
William Kurkian1b363f42019-03-12 15:28:12 -040085
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030086var AdminState_Types_name = common.AdminState_Types_name
87var AdminState_Types_value = common.AdminState_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040088
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030089const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
90const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
91const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
92const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
93const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
94const AdminState_DELETED = AdminState_Types(common.AdminState_DELETED)
Himani Chawla503b7ce2020-10-07 13:20:03 +053095const AdminState_DELETING = AdminState_Types(common.AdminState_DELETING)
William Kurkian1b363f42019-03-12 15:28:12 -040096
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030097// OperStatus_Types from public import voltha_protos/common.proto
98type OperStatus_Types = common.OperStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -040099
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300100var OperStatus_Types_name = common.OperStatus_Types_name
101var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400102
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300103const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
104const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
105const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
106const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
107const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
108const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
William Kurkian1b363f42019-03-12 15:28:12 -0400109
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300110// ConnectStatus_Types from public import voltha_protos/common.proto
111type ConnectStatus_Types = common.ConnectStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400112
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300113var ConnectStatus_Types_name = common.ConnectStatus_Types_name
114var ConnectStatus_Types_value = common.ConnectStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400115
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300116const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
117const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
118const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
William Kurkian1b363f42019-03-12 15:28:12 -0400119
William Kurkianad745652019-03-20 08:45:51 -0400120// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400121type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
122
123var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
124var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
125
126const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
127const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
128const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
129
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
508
William Kurkianad745652019-03-20 08:45:51 -0400509// OfpPortNo from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400510type OfpPortNo = openflow_13.OfpPortNo
511
512var OfpPortNo_name = openflow_13.OfpPortNo_name
513var OfpPortNo_value = openflow_13.OfpPortNo_value
514
515const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
516const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
517const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
518const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
519const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
520const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
521const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
522const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
523const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
524const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
525
William Kurkianad745652019-03-20 08:45:51 -0400526// OfpType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400527type OfpType = openflow_13.OfpType
528
529var OfpType_name = openflow_13.OfpType_name
530var OfpType_value = openflow_13.OfpType_value
531
532const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
533const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
534const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
535const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
536const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
537const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
538const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
539const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
540const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
541const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
542const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
543const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
544const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
545const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
546const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
547const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
548const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
549const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
550const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
551const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
552const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
553const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
554const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
555const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
556const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
557const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
558const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
559const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
560const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
561const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
562
William Kurkianad745652019-03-20 08:45:51 -0400563// OfpHelloElemType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400564type OfpHelloElemType = openflow_13.OfpHelloElemType
565
566var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
567var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
568
569const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
570const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
571
William Kurkianad745652019-03-20 08:45:51 -0400572// OfpConfigFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400573type OfpConfigFlags = openflow_13.OfpConfigFlags
574
575var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
576var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
577
578const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
579const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
580const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
581const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
582
William Kurkianad745652019-03-20 08:45:51 -0400583// OfpTableConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400584type OfpTableConfig = openflow_13.OfpTableConfig
585
586var OfpTableConfig_name = openflow_13.OfpTableConfig_name
587var OfpTableConfig_value = openflow_13.OfpTableConfig_value
588
589const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
590const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
591
William Kurkianad745652019-03-20 08:45:51 -0400592// OfpTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400593type OfpTable = openflow_13.OfpTable
594
595var OfpTable_name = openflow_13.OfpTable_name
596var OfpTable_value = openflow_13.OfpTable_value
597
598const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
599const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
600const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
601
William Kurkianad745652019-03-20 08:45:51 -0400602// OfpCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400603type OfpCapabilities = openflow_13.OfpCapabilities
604
605var OfpCapabilities_name = openflow_13.OfpCapabilities_name
606var OfpCapabilities_value = openflow_13.OfpCapabilities_value
607
608const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
609const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
610const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
611const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
612const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
613const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
614const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
615const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
616
William Kurkianad745652019-03-20 08:45:51 -0400617// OfpPortConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400618type OfpPortConfig = openflow_13.OfpPortConfig
619
620var OfpPortConfig_name = openflow_13.OfpPortConfig_name
621var OfpPortConfig_value = openflow_13.OfpPortConfig_value
622
623const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
624const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
625const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
626const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
627const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
628
William Kurkianad745652019-03-20 08:45:51 -0400629// OfpPortState from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400630type OfpPortState = openflow_13.OfpPortState
631
632var OfpPortState_name = openflow_13.OfpPortState_name
633var OfpPortState_value = openflow_13.OfpPortState_value
634
635const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
636const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
637const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
638const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
639
William Kurkianad745652019-03-20 08:45:51 -0400640// OfpPortFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400641type OfpPortFeatures = openflow_13.OfpPortFeatures
642
643var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
644var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
645
646const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
647const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
648const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
649const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
650const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
651const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
652const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
653const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
654const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
655const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
656const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
657const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
658const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
659const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
660const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
661const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
662const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
663
William Kurkianad745652019-03-20 08:45:51 -0400664// OfpPortReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400665type OfpPortReason = openflow_13.OfpPortReason
666
667var OfpPortReason_name = openflow_13.OfpPortReason_name
668var OfpPortReason_value = openflow_13.OfpPortReason_value
669
670const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
671const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
672const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
673
William Kurkianad745652019-03-20 08:45:51 -0400674// OfpMatchType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400675type OfpMatchType = openflow_13.OfpMatchType
676
677var OfpMatchType_name = openflow_13.OfpMatchType_name
678var OfpMatchType_value = openflow_13.OfpMatchType_value
679
680const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
681const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
682
William Kurkianad745652019-03-20 08:45:51 -0400683// OfpOxmClass from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400684type OfpOxmClass = openflow_13.OfpOxmClass
685
686var OfpOxmClass_name = openflow_13.OfpOxmClass_name
687var OfpOxmClass_value = openflow_13.OfpOxmClass_value
688
689const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
690const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
691const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
692const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
693
William Kurkianad745652019-03-20 08:45:51 -0400694// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400695type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
696
697var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
698var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
699
700const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
701const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
702const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
703const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
704const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
705const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
706const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
707const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
708const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
709const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
710const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
711const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
712const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
713const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
714const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
715const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
716const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
717const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
718const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
719const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
720const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
721const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
722const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
723const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
724const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
725const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
726const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
727const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
728const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
729const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
730const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
731const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
732const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
733const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
734const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
735const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
736const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
737const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
738const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
739const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
740
William Kurkianad745652019-03-20 08:45:51 -0400741// OfpVlanId from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400742type OfpVlanId = openflow_13.OfpVlanId
743
744var OfpVlanId_name = openflow_13.OfpVlanId_name
745var OfpVlanId_value = openflow_13.OfpVlanId_value
746
747const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
748const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
749
William Kurkianad745652019-03-20 08:45:51 -0400750// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400751type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
752
753var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
754var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
755
756const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
757const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
758const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
759const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
760const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
761const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
762const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
763const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
764const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
765const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
766
William Kurkianad745652019-03-20 08:45:51 -0400767// OfpActionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400768type OfpActionType = openflow_13.OfpActionType
769
770var OfpActionType_name = openflow_13.OfpActionType_name
771var OfpActionType_value = openflow_13.OfpActionType_value
772
773const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
774const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
775const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
776const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
777const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
778const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
779const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
780const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
781const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
782const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
783const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
784const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
785const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
786const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
787const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
788const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
789const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
790
William Kurkianad745652019-03-20 08:45:51 -0400791// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400792type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
793
794var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
795var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
796
797const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
798const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
799const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
800
William Kurkianad745652019-03-20 08:45:51 -0400801// OfpInstructionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400802type OfpInstructionType = openflow_13.OfpInstructionType
803
804var OfpInstructionType_name = openflow_13.OfpInstructionType_name
805var OfpInstructionType_value = openflow_13.OfpInstructionType_value
806
807const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
808const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
809const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
810const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
811const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
812const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
813const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
814const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
815
William Kurkianad745652019-03-20 08:45:51 -0400816// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400817type OfpFlowModCommand = openflow_13.OfpFlowModCommand
818
819var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
820var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
821
822const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
823const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
824const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
825const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
826const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
827
William Kurkianad745652019-03-20 08:45:51 -0400828// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400829type OfpFlowModFlags = openflow_13.OfpFlowModFlags
830
831var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
832var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
833
834const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
835const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
836const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
837const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
838const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
839const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
840
William Kurkianad745652019-03-20 08:45:51 -0400841// OfpGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400842type OfpGroup = openflow_13.OfpGroup
843
844var OfpGroup_name = openflow_13.OfpGroup_name
845var OfpGroup_value = openflow_13.OfpGroup_value
846
847const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
848const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
849const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
850const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
851
William Kurkianad745652019-03-20 08:45:51 -0400852// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400853type OfpGroupModCommand = openflow_13.OfpGroupModCommand
854
855var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
856var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
857
858const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
859const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
860const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
861
William Kurkianad745652019-03-20 08:45:51 -0400862// OfpGroupType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400863type OfpGroupType = openflow_13.OfpGroupType
864
865var OfpGroupType_name = openflow_13.OfpGroupType_name
866var OfpGroupType_value = openflow_13.OfpGroupType_value
867
868const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
869const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
870const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
871const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
872
William Kurkianad745652019-03-20 08:45:51 -0400873// OfpPacketInReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400874type OfpPacketInReason = openflow_13.OfpPacketInReason
875
876var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
877var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
878
879const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
880const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
881const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
882
William Kurkianad745652019-03-20 08:45:51 -0400883// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400884type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
885
886var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
887var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
888
889const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
890const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
891const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
892const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
893const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
894
William Kurkianad745652019-03-20 08:45:51 -0400895// OfpMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400896type OfpMeter = openflow_13.OfpMeter
897
898var OfpMeter_name = openflow_13.OfpMeter_name
899var OfpMeter_value = openflow_13.OfpMeter_value
900
901const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
902const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
903const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
904const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
905const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
906
William Kurkianad745652019-03-20 08:45:51 -0400907// OfpMeterBandType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400908type OfpMeterBandType = openflow_13.OfpMeterBandType
909
910var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
911var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
912
913const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
914const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
915const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
916const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
917
William Kurkianad745652019-03-20 08:45:51 -0400918// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400919type OfpMeterModCommand = openflow_13.OfpMeterModCommand
920
921var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
922var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
923
924const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
925const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
926const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
927
William Kurkianad745652019-03-20 08:45:51 -0400928// OfpMeterFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400929type OfpMeterFlags = openflow_13.OfpMeterFlags
930
931var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
932var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
933
934const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
935const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
936const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
937const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
938const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
939
William Kurkianad745652019-03-20 08:45:51 -0400940// OfpErrorType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400941type OfpErrorType = openflow_13.OfpErrorType
942
943var OfpErrorType_name = openflow_13.OfpErrorType_name
944var OfpErrorType_value = openflow_13.OfpErrorType_value
945
946const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
947const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
948const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
949const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
950const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
951const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
952const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
953const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
954const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
955const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
956const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
957const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
958const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
959const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
960const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
961
William Kurkianad745652019-03-20 08:45:51 -0400962// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400963type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
964
965var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
966var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
967
968const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
969const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
970
William Kurkianad745652019-03-20 08:45:51 -0400971// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400972type OfpBadRequestCode = openflow_13.OfpBadRequestCode
973
974var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
975var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
976
977const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
978const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
979const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
980const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
981const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
982const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
983const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
984const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
985const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
986const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
987const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
988const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
989const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
990const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
991
William Kurkianad745652019-03-20 08:45:51 -0400992// OfpBadActionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400993type OfpBadActionCode = openflow_13.OfpBadActionCode
994
995var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
996var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
997
998const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
999const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
1000const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
1001const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
1002const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
1003const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
1004const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
1005const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
1006const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
1007const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
1008const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
1009const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
1010const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
1011const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
1012const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
1013const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
1014
William Kurkianad745652019-03-20 08:45:51 -04001015// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001016type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
1017
1018var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
1019var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1020
1021const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1022const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1023const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1024const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1025const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1026const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1027const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1028const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1029const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1030
William Kurkianad745652019-03-20 08:45:51 -04001031// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001032type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1033
1034var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1035var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1036
1037const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1038const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1039const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1040const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1041const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1042const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1043const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1044const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1045const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1046const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1047const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1048const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1049
William Kurkianad745652019-03-20 08:45:51 -04001050// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001051type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1052
1053var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1054var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1055
1056const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1057const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1058const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1059const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1060const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1061const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1062const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1063const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1064
William Kurkianad745652019-03-20 08:45:51 -04001065// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001066type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1067
1068var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1069var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1070
1071const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1072const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1073const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1074const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1075const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1076const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1077const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1078const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1079const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1080const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1081const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1082const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1083const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1084const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1085const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1086
William Kurkianad745652019-03-20 08:45:51 -04001087// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001088type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1089
1090var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1091var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1092
1093const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1094const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1095const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1096const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1097const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1098
William Kurkianad745652019-03-20 08:45:51 -04001099// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001100type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1101
1102var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1103var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1104
1105const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1106const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1107const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1108
William Kurkianad745652019-03-20 08:45:51 -04001109// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001110type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1111
1112var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1113var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1114
1115const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1116const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1117const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1118
William Kurkianad745652019-03-20 08:45:51 -04001119// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001120type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1121
1122var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1123var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1124
1125const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1126const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1127const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1128
William Kurkianad745652019-03-20 08:45:51 -04001129// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001130type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1131
1132var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1133var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1134
1135const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1136const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1137const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1138
William Kurkianad745652019-03-20 08:45:51 -04001139// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001140type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1141
1142var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1143var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1144
1145const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1146const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1147const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1148const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1149const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1150const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1151const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1152const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1153const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03001154const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
William Kurkian1b363f42019-03-12 15:28:12 -04001155const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1156const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1157
William Kurkianad745652019-03-20 08:45:51 -04001158// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001159type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1160
1161var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1162var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1163
1164const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1165const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1166const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1167const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1168const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1169const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1170
William Kurkianad745652019-03-20 08:45:51 -04001171// OfpMultipartType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001172type OfpMultipartType = openflow_13.OfpMultipartType
1173
1174var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1175var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1176
1177const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1178const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1179const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1180const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1181const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1182const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1183const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1184const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1185const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1186const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1187const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1188const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1189const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1190const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1191const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1192
William Kurkianad745652019-03-20 08:45:51 -04001193// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001194type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1195
1196var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1197var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1198
1199const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1200const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1201
William Kurkianad745652019-03-20 08:45:51 -04001202// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001203type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1204
1205var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1206var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1207
1208const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1209const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1210
William Kurkianad745652019-03-20 08:45:51 -04001211// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001212type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1213
1214var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1215var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1216
1217const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1218const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1219const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1220const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1221const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1222const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1223const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1224const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1225const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1226const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1227const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1228const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1229const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1230const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1231const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1232const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1233
William Kurkianad745652019-03-20 08:45:51 -04001234// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001235type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1236
1237var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1238var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1239
1240const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1241const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1242const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1243const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1244const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1245
William Kurkianad745652019-03-20 08:45:51 -04001246// OfpQueueProperties from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001247type OfpQueueProperties = openflow_13.OfpQueueProperties
1248
1249var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1250var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1251
1252const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1253const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1254const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1255const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1256
William Kurkianad745652019-03-20 08:45:51 -04001257// OfpControllerRole from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001258type OfpControllerRole = openflow_13.OfpControllerRole
1259
1260var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1261var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1262
1263const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1264const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1265const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1266const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1267
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001268type EventFilterRuleKey_EventFilterRuleType int32
William Kurkian1b363f42019-03-12 15:28:12 -04001269
1270const (
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001271 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1272 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1273 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1274 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1275 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1276 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
William Kurkian1b363f42019-03-12 15:28:12 -04001277)
1278
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001279var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1280 0: "filter_all",
1281 1: "category",
1282 2: "sub_category",
1283 3: "kpi_event_type",
1284 4: "config_event_type",
1285 5: "device_event_type",
William Kurkian1b363f42019-03-12 15:28:12 -04001286}
William Kurkianad745652019-03-20 08:45:51 -04001287
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001288var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1289 "filter_all": 0,
1290 "category": 1,
1291 "sub_category": 2,
1292 "kpi_event_type": 3,
1293 "config_event_type": 4,
1294 "device_event_type": 5,
William Kurkian1b363f42019-03-12 15:28:12 -04001295}
1296
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001297func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1298 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -04001299}
William Kurkianad745652019-03-20 08:45:51 -04001300
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001301func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001302 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001303}
1304
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301305type TestResponse_TestResponseResult int32
1306
1307const (
1308 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
1309 TestResponse_FAILURE TestResponse_TestResponseResult = 1
1310)
1311
1312var TestResponse_TestResponseResult_name = map[int32]string{
1313 0: "SUCCESS",
1314 1: "FAILURE",
1315}
1316
1317var TestResponse_TestResponseResult_value = map[string]int32{
1318 "SUCCESS": 0,
1319 "FAILURE": 1,
1320}
1321
1322func (x TestResponse_TestResponseResult) String() string {
1323 return proto.EnumName(TestResponse_TestResponseResult_name, int32(x))
1324}
1325
1326func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
1327 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
1328}
1329
William Kurkian1b363f42019-03-12 15:28:12 -04001330type SelfTestResponse_SelfTestResult int32
1331
1332const (
1333 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1334 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1335 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1336 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1337)
1338
1339var SelfTestResponse_SelfTestResult_name = map[int32]string{
1340 0: "SUCCESS",
1341 1: "FAILURE",
1342 2: "NOT_SUPPORTED",
1343 3: "UNKNOWN_ERROR",
1344}
William Kurkianad745652019-03-20 08:45:51 -04001345
William Kurkian1b363f42019-03-12 15:28:12 -04001346var SelfTestResponse_SelfTestResult_value = map[string]int32{
1347 "SUCCESS": 0,
1348 "FAILURE": 1,
1349 "NOT_SUPPORTED": 2,
1350 "UNKNOWN_ERROR": 3,
1351}
1352
1353func (x SelfTestResponse_SelfTestResult) String() string {
1354 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1355}
William Kurkianad745652019-03-20 08:45:51 -04001356
William Kurkian1b363f42019-03-12 15:28:12 -04001357func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05301358 return fileDescriptor_e084f1a60ce7016c, []int{12, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001359}
1360
1361type DeviceGroup struct {
1362 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1363 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1364 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1365 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1366 XXX_unrecognized []byte `json:"-"`
1367 XXX_sizecache int32 `json:"-"`
1368}
1369
1370func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1371func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1372func (*DeviceGroup) ProtoMessage() {}
1373func (*DeviceGroup) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001374 return fileDescriptor_e084f1a60ce7016c, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -04001375}
William Kurkianad745652019-03-20 08:45:51 -04001376
William Kurkian1b363f42019-03-12 15:28:12 -04001377func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1378 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1379}
1380func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1381 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1382}
William Kurkianad745652019-03-20 08:45:51 -04001383func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1384 xxx_messageInfo_DeviceGroup.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001385}
1386func (m *DeviceGroup) XXX_Size() int {
1387 return xxx_messageInfo_DeviceGroup.Size(m)
1388}
1389func (m *DeviceGroup) XXX_DiscardUnknown() {
1390 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1391}
1392
1393var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1394
1395func (m *DeviceGroup) GetId() string {
1396 if m != nil {
1397 return m.Id
1398 }
1399 return ""
1400}
1401
1402func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1403 if m != nil {
1404 return m.LogicalDevices
1405 }
1406 return nil
1407}
1408
1409func (m *DeviceGroup) GetDevices() []*Device {
1410 if m != nil {
1411 return m.Devices
1412 }
1413 return nil
1414}
1415
1416type DeviceGroups struct {
1417 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1418 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1419 XXX_unrecognized []byte `json:"-"`
1420 XXX_sizecache int32 `json:"-"`
1421}
1422
1423func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1424func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1425func (*DeviceGroups) ProtoMessage() {}
1426func (*DeviceGroups) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001427 return fileDescriptor_e084f1a60ce7016c, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -04001428}
William Kurkianad745652019-03-20 08:45:51 -04001429
William Kurkian1b363f42019-03-12 15:28:12 -04001430func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1431 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1432}
1433func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1434 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1435}
William Kurkianad745652019-03-20 08:45:51 -04001436func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1437 xxx_messageInfo_DeviceGroups.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001438}
1439func (m *DeviceGroups) XXX_Size() int {
1440 return xxx_messageInfo_DeviceGroups.Size(m)
1441}
1442func (m *DeviceGroups) XXX_DiscardUnknown() {
1443 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1444}
1445
1446var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1447
1448func (m *DeviceGroups) GetItems() []*DeviceGroup {
1449 if m != nil {
1450 return m.Items
1451 }
1452 return nil
1453}
1454
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001455type EventFilterRuleKey struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001456 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1457 XXX_unrecognized []byte `json:"-"`
1458 XXX_sizecache int32 `json:"-"`
1459}
1460
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001461func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1462func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1463func (*EventFilterRuleKey) ProtoMessage() {}
1464func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001465 return fileDescriptor_e084f1a60ce7016c, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -04001466}
William Kurkianad745652019-03-20 08:45:51 -04001467
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001468func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1469 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001470}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001471func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1472 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001473}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001474func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1475 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001476}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001477func (m *EventFilterRuleKey) XXX_Size() int {
1478 return xxx_messageInfo_EventFilterRuleKey.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001479}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001480func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1481 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001482}
1483
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001484var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001485
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001486type EventFilterRule struct {
1487 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1488 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1489 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1490 XXX_unrecognized []byte `json:"-"`
1491 XXX_sizecache int32 `json:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -04001492}
1493
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001494func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1495func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1496func (*EventFilterRule) ProtoMessage() {}
1497func (*EventFilterRule) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001498 return fileDescriptor_e084f1a60ce7016c, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -04001499}
William Kurkianad745652019-03-20 08:45:51 -04001500
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001501func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1502 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001503}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001504func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1505 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001506}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001507func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1508 xxx_messageInfo_EventFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001509}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001510func (m *EventFilterRule) XXX_Size() int {
1511 return xxx_messageInfo_EventFilterRule.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001512}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001513func (m *EventFilterRule) XXX_DiscardUnknown() {
1514 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001515}
1516
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001517var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001518
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001519func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
William Kurkian1b363f42019-03-12 15:28:12 -04001520 if m != nil {
1521 return m.Key
1522 }
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001523 return EventFilterRuleKey_filter_all
William Kurkian1b363f42019-03-12 15:28:12 -04001524}
1525
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001526func (m *EventFilterRule) GetValue() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001527 if m != nil {
1528 return m.Value
1529 }
1530 return ""
1531}
1532
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001533type EventFilter struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001534 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001535 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1536 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1537 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1538 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001539 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1540 XXX_unrecognized []byte `json:"-"`
1541 XXX_sizecache int32 `json:"-"`
1542}
1543
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001544func (m *EventFilter) Reset() { *m = EventFilter{} }
1545func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1546func (*EventFilter) ProtoMessage() {}
1547func (*EventFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001548 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001549}
William Kurkianad745652019-03-20 08:45:51 -04001550
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001551func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1552 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001553}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001554func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1555 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001556}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001557func (m *EventFilter) XXX_Merge(src proto.Message) {
1558 xxx_messageInfo_EventFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001559}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001560func (m *EventFilter) XXX_Size() int {
1561 return xxx_messageInfo_EventFilter.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001562}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001563func (m *EventFilter) XXX_DiscardUnknown() {
1564 xxx_messageInfo_EventFilter.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001565}
1566
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001567var xxx_messageInfo_EventFilter proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001568
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001569func (m *EventFilter) GetId() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001570 if m != nil {
1571 return m.Id
1572 }
1573 return ""
1574}
1575
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001576func (m *EventFilter) GetEnable() bool {
1577 if m != nil {
1578 return m.Enable
1579 }
1580 return false
1581}
1582
1583func (m *EventFilter) GetDeviceId() string {
1584 if m != nil {
1585 return m.DeviceId
1586 }
1587 return ""
1588}
1589
1590func (m *EventFilter) GetEventType() string {
1591 if m != nil {
1592 return m.EventType
1593 }
1594 return ""
1595}
1596
1597func (m *EventFilter) GetRules() []*EventFilterRule {
William Kurkian1b363f42019-03-12 15:28:12 -04001598 if m != nil {
1599 return m.Rules
1600 }
1601 return nil
1602}
1603
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001604type EventFilters struct {
1605 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001606 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1607 XXX_unrecognized []byte `json:"-"`
1608 XXX_sizecache int32 `json:"-"`
1609}
1610
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001611func (m *EventFilters) Reset() { *m = EventFilters{} }
1612func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1613func (*EventFilters) ProtoMessage() {}
1614func (*EventFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001615 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001616}
William Kurkianad745652019-03-20 08:45:51 -04001617
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001618func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1619 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001620}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001621func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1622 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001623}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001624func (m *EventFilters) XXX_Merge(src proto.Message) {
1625 xxx_messageInfo_EventFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001626}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001627func (m *EventFilters) XXX_Size() int {
1628 return xxx_messageInfo_EventFilters.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001629}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001630func (m *EventFilters) XXX_DiscardUnknown() {
1631 xxx_messageInfo_EventFilters.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001632}
1633
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001634var xxx_messageInfo_EventFilters proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001635
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001636func (m *EventFilters) GetFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001637 if m != nil {
1638 return m.Filters
1639 }
1640 return nil
1641}
1642
William Kurkian1b363f42019-03-12 15:28:12 -04001643// CoreInstance represents a core instance. It is data held in memory when a core
1644// is running. This data is not persistent.
1645type CoreInstance struct {
1646 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1647 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1648 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1649 XXX_unrecognized []byte `json:"-"`
1650 XXX_sizecache int32 `json:"-"`
1651}
1652
1653func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1654func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1655func (*CoreInstance) ProtoMessage() {}
1656func (*CoreInstance) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001657 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001658}
William Kurkianad745652019-03-20 08:45:51 -04001659
William Kurkian1b363f42019-03-12 15:28:12 -04001660func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1661 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1662}
1663func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1664 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1665}
William Kurkianad745652019-03-20 08:45:51 -04001666func (m *CoreInstance) XXX_Merge(src proto.Message) {
1667 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001668}
1669func (m *CoreInstance) XXX_Size() int {
1670 return xxx_messageInfo_CoreInstance.Size(m)
1671}
1672func (m *CoreInstance) XXX_DiscardUnknown() {
1673 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1674}
1675
1676var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1677
1678func (m *CoreInstance) GetInstanceId() string {
1679 if m != nil {
1680 return m.InstanceId
1681 }
1682 return ""
1683}
1684
1685func (m *CoreInstance) GetHealth() *HealthStatus {
1686 if m != nil {
1687 return m.Health
1688 }
1689 return nil
1690}
1691
1692type CoreInstances struct {
1693 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1694 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1695 XXX_unrecognized []byte `json:"-"`
1696 XXX_sizecache int32 `json:"-"`
1697}
1698
1699func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1700func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1701func (*CoreInstances) ProtoMessage() {}
1702func (*CoreInstances) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001703 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001704}
William Kurkianad745652019-03-20 08:45:51 -04001705
William Kurkian1b363f42019-03-12 15:28:12 -04001706func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1707 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1708}
1709func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1710 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1711}
William Kurkianad745652019-03-20 08:45:51 -04001712func (m *CoreInstances) XXX_Merge(src proto.Message) {
1713 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001714}
1715func (m *CoreInstances) XXX_Size() int {
1716 return xxx_messageInfo_CoreInstances.Size(m)
1717}
1718func (m *CoreInstances) XXX_DiscardUnknown() {
1719 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1720}
1721
1722var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1723
1724func (m *CoreInstances) GetItems() []*CoreInstance {
1725 if m != nil {
1726 return m.Items
1727 }
1728 return nil
1729}
1730
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301731type OmciTestRequest struct {
1732 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1733 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
1734 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1735 XXX_unrecognized []byte `json:"-"`
1736 XXX_sizecache int32 `json:"-"`
1737}
1738
1739func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} }
1740func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) }
1741func (*OmciTestRequest) ProtoMessage() {}
1742func (*OmciTestRequest) Descriptor() ([]byte, []int) {
1743 return fileDescriptor_e084f1a60ce7016c, []int{8}
1744}
1745
1746func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error {
1747 return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b)
1748}
1749func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1750 return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic)
1751}
1752func (m *OmciTestRequest) XXX_Merge(src proto.Message) {
1753 xxx_messageInfo_OmciTestRequest.Merge(m, src)
1754}
1755func (m *OmciTestRequest) XXX_Size() int {
1756 return xxx_messageInfo_OmciTestRequest.Size(m)
1757}
1758func (m *OmciTestRequest) XXX_DiscardUnknown() {
1759 xxx_messageInfo_OmciTestRequest.DiscardUnknown(m)
1760}
1761
1762var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo
1763
1764func (m *OmciTestRequest) GetId() string {
1765 if m != nil {
1766 return m.Id
1767 }
1768 return ""
1769}
1770
1771func (m *OmciTestRequest) GetUuid() string {
1772 if m != nil {
1773 return m.Uuid
1774 }
1775 return ""
1776}
1777
1778type TestResponse struct {
1779 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.TestResponse_TestResponseResult" json:"result,omitempty"`
1780 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1781 XXX_unrecognized []byte `json:"-"`
1782 XXX_sizecache int32 `json:"-"`
1783}
1784
1785func (m *TestResponse) Reset() { *m = TestResponse{} }
1786func (m *TestResponse) String() string { return proto.CompactTextString(m) }
1787func (*TestResponse) ProtoMessage() {}
1788func (*TestResponse) Descriptor() ([]byte, []int) {
1789 return fileDescriptor_e084f1a60ce7016c, []int{9}
1790}
1791
1792func (m *TestResponse) XXX_Unmarshal(b []byte) error {
1793 return xxx_messageInfo_TestResponse.Unmarshal(m, b)
1794}
1795func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1796 return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic)
1797}
1798func (m *TestResponse) XXX_Merge(src proto.Message) {
1799 xxx_messageInfo_TestResponse.Merge(m, src)
1800}
1801func (m *TestResponse) XXX_Size() int {
1802 return xxx_messageInfo_TestResponse.Size(m)
1803}
1804func (m *TestResponse) XXX_DiscardUnknown() {
1805 xxx_messageInfo_TestResponse.DiscardUnknown(m)
1806}
1807
1808var xxx_messageInfo_TestResponse proto.InternalMessageInfo
1809
1810func (m *TestResponse) GetResult() TestResponse_TestResponseResult {
1811 if m != nil {
1812 return m.Result
1813 }
1814 return TestResponse_SUCCESS
1815}
1816
dpaul2b52e712020-06-23 13:02:28 +05301817type ValueSet struct {
1818 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1819 // Types that are valid to be assigned to Value:
1820 // *ValueSet_AlarmConfig
1821 Value isValueSet_Value `protobuf_oneof:"value"`
1822 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1823 XXX_unrecognized []byte `json:"-"`
1824 XXX_sizecache int32 `json:"-"`
1825}
1826
1827func (m *ValueSet) Reset() { *m = ValueSet{} }
1828func (m *ValueSet) String() string { return proto.CompactTextString(m) }
1829func (*ValueSet) ProtoMessage() {}
1830func (*ValueSet) Descriptor() ([]byte, []int) {
1831 return fileDescriptor_e084f1a60ce7016c, []int{10}
1832}
1833
1834func (m *ValueSet) XXX_Unmarshal(b []byte) error {
1835 return xxx_messageInfo_ValueSet.Unmarshal(m, b)
1836}
1837func (m *ValueSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1838 return xxx_messageInfo_ValueSet.Marshal(b, m, deterministic)
1839}
1840func (m *ValueSet) XXX_Merge(src proto.Message) {
1841 xxx_messageInfo_ValueSet.Merge(m, src)
1842}
1843func (m *ValueSet) XXX_Size() int {
1844 return xxx_messageInfo_ValueSet.Size(m)
1845}
1846func (m *ValueSet) XXX_DiscardUnknown() {
1847 xxx_messageInfo_ValueSet.DiscardUnknown(m)
1848}
1849
1850var xxx_messageInfo_ValueSet proto.InternalMessageInfo
1851
1852func (m *ValueSet) GetId() string {
1853 if m != nil {
1854 return m.Id
1855 }
1856 return ""
1857}
1858
1859type isValueSet_Value interface {
1860 isValueSet_Value()
1861}
1862
1863type ValueSet_AlarmConfig struct {
1864 AlarmConfig *config.AlarmConfig `protobuf:"bytes,2,opt,name=alarm_config,json=alarmConfig,proto3,oneof"`
1865}
1866
1867func (*ValueSet_AlarmConfig) isValueSet_Value() {}
1868
1869func (m *ValueSet) GetValue() isValueSet_Value {
1870 if m != nil {
1871 return m.Value
1872 }
1873 return nil
1874}
1875
1876func (m *ValueSet) GetAlarmConfig() *config.AlarmConfig {
1877 if x, ok := m.GetValue().(*ValueSet_AlarmConfig); ok {
1878 return x.AlarmConfig
1879 }
1880 return nil
1881}
1882
1883// XXX_OneofWrappers is for the internal use of the proto package.
1884func (*ValueSet) XXX_OneofWrappers() []interface{} {
1885 return []interface{}{
1886 (*ValueSet_AlarmConfig)(nil),
1887 }
1888}
1889
William Kurkian1b363f42019-03-12 15:28:12 -04001890// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1891// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1892// for better performance
1893type Voltha struct {
1894 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1895 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1896 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1897 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1898 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1899 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001900 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001901 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1902 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1903 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1904 XXX_unrecognized []byte `json:"-"`
1905 XXX_sizecache int32 `json:"-"`
1906}
1907
1908func (m *Voltha) Reset() { *m = Voltha{} }
1909func (m *Voltha) String() string { return proto.CompactTextString(m) }
1910func (*Voltha) ProtoMessage() {}
1911func (*Voltha) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05301912 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001913}
William Kurkianad745652019-03-20 08:45:51 -04001914
William Kurkian1b363f42019-03-12 15:28:12 -04001915func (m *Voltha) XXX_Unmarshal(b []byte) error {
1916 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1917}
1918func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1919 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1920}
William Kurkianad745652019-03-20 08:45:51 -04001921func (m *Voltha) XXX_Merge(src proto.Message) {
1922 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001923}
1924func (m *Voltha) XXX_Size() int {
1925 return xxx_messageInfo_Voltha.Size(m)
1926}
1927func (m *Voltha) XXX_DiscardUnknown() {
1928 xxx_messageInfo_Voltha.DiscardUnknown(m)
1929}
1930
1931var xxx_messageInfo_Voltha proto.InternalMessageInfo
1932
1933func (m *Voltha) GetVersion() string {
1934 if m != nil {
1935 return m.Version
1936 }
1937 return ""
1938}
1939
1940func (m *Voltha) GetAdapters() []*Adapter {
1941 if m != nil {
1942 return m.Adapters
1943 }
1944 return nil
1945}
1946
1947func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1948 if m != nil {
1949 return m.LogicalDevices
1950 }
1951 return nil
1952}
1953
1954func (m *Voltha) GetDevices() []*Device {
1955 if m != nil {
1956 return m.Devices
1957 }
1958 return nil
1959}
1960
1961func (m *Voltha) GetDeviceTypes() []*DeviceType {
1962 if m != nil {
1963 return m.DeviceTypes
1964 }
1965 return nil
1966}
1967
1968func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1969 if m != nil {
1970 return m.DeviceGroups
1971 }
1972 return nil
1973}
1974
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001975func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001976 if m != nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001977 return m.EventFilters
William Kurkian1b363f42019-03-12 15:28:12 -04001978 }
1979 return nil
1980}
1981
1982func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1983 if m != nil {
1984 return m.OmciMibDatabase
1985 }
1986 return nil
1987}
1988
1989func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1990 if m != nil {
1991 return m.OmciAlarmDatabase
1992 }
1993 return nil
1994}
1995
1996// Device Self Test Response
1997type SelfTestResponse struct {
1998 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1999 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2000 XXX_unrecognized []byte `json:"-"`
2001 XXX_sizecache int32 `json:"-"`
2002}
2003
2004func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
2005func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
2006func (*SelfTestResponse) ProtoMessage() {}
2007func (*SelfTestResponse) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302008 return fileDescriptor_e084f1a60ce7016c, []int{12}
William Kurkian1b363f42019-03-12 15:28:12 -04002009}
William Kurkianad745652019-03-20 08:45:51 -04002010
William Kurkian1b363f42019-03-12 15:28:12 -04002011func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
2012 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
2013}
2014func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2015 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
2016}
William Kurkianad745652019-03-20 08:45:51 -04002017func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
2018 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002019}
2020func (m *SelfTestResponse) XXX_Size() int {
2021 return xxx_messageInfo_SelfTestResponse.Size(m)
2022}
2023func (m *SelfTestResponse) XXX_DiscardUnknown() {
2024 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
2025}
2026
2027var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
2028
2029func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
2030 if m != nil {
2031 return m.Result
2032 }
2033 return SelfTestResponse_SUCCESS
2034}
2035
2036type OfAgentSubscriber struct {
2037 // ID of ofagent instance
2038 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
2039 // ID of voltha instance to which the ofagent is subscribed
2040 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
2041 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2042 XXX_unrecognized []byte `json:"-"`
2043 XXX_sizecache int32 `json:"-"`
2044}
2045
2046func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
2047func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
2048func (*OfAgentSubscriber) ProtoMessage() {}
2049func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302050 return fileDescriptor_e084f1a60ce7016c, []int{13}
William Kurkian1b363f42019-03-12 15:28:12 -04002051}
William Kurkianad745652019-03-20 08:45:51 -04002052
William Kurkian1b363f42019-03-12 15:28:12 -04002053func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
2054 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
2055}
2056func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2057 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
2058}
William Kurkianad745652019-03-20 08:45:51 -04002059func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
2060 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002061}
2062func (m *OfAgentSubscriber) XXX_Size() int {
2063 return xxx_messageInfo_OfAgentSubscriber.Size(m)
2064}
2065func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
2066 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
2067}
2068
2069var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
2070
2071func (m *OfAgentSubscriber) GetOfagentId() string {
2072 if m != nil {
2073 return m.OfagentId
2074 }
2075 return ""
2076}
2077
2078func (m *OfAgentSubscriber) GetVolthaId() string {
2079 if m != nil {
2080 return m.VolthaId
2081 }
2082 return ""
2083}
2084
2085// Identifies a membership group a Core belongs to
2086type Membership struct {
2087 // Group name
2088 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
2089 // Unique ID of a container within that group
2090 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
2091 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2092 XXX_unrecognized []byte `json:"-"`
2093 XXX_sizecache int32 `json:"-"`
2094}
2095
2096func (m *Membership) Reset() { *m = Membership{} }
2097func (m *Membership) String() string { return proto.CompactTextString(m) }
2098func (*Membership) ProtoMessage() {}
2099func (*Membership) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302100 return fileDescriptor_e084f1a60ce7016c, []int{14}
William Kurkian1b363f42019-03-12 15:28:12 -04002101}
William Kurkianad745652019-03-20 08:45:51 -04002102
William Kurkian1b363f42019-03-12 15:28:12 -04002103func (m *Membership) XXX_Unmarshal(b []byte) error {
2104 return xxx_messageInfo_Membership.Unmarshal(m, b)
2105}
2106func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2107 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
2108}
William Kurkianad745652019-03-20 08:45:51 -04002109func (m *Membership) XXX_Merge(src proto.Message) {
2110 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002111}
2112func (m *Membership) XXX_Size() int {
2113 return xxx_messageInfo_Membership.Size(m)
2114}
2115func (m *Membership) XXX_DiscardUnknown() {
2116 xxx_messageInfo_Membership.DiscardUnknown(m)
2117}
2118
2119var xxx_messageInfo_Membership proto.InternalMessageInfo
2120
2121func (m *Membership) GetGroupName() string {
2122 if m != nil {
2123 return m.GroupName
2124 }
2125 return ""
2126}
2127
2128func (m *Membership) GetId() string {
2129 if m != nil {
2130 return m.Id
2131 }
2132 return ""
2133}
2134
manikkaraj k166cb202019-07-28 13:05:56 -04002135// Additional information required to process flow at device adapters
2136type FlowMetadata struct {
2137 // Meters associated with flow-update to adapter
2138 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
2139 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2140 XXX_unrecognized []byte `json:"-"`
2141 XXX_sizecache int32 `json:"-"`
2142}
2143
2144func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
2145func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
2146func (*FlowMetadata) ProtoMessage() {}
2147func (*FlowMetadata) Descriptor() ([]byte, []int) {
dpaul2b52e712020-06-23 13:02:28 +05302148 return fileDescriptor_e084f1a60ce7016c, []int{15}
manikkaraj k166cb202019-07-28 13:05:56 -04002149}
2150
2151func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
2152 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
2153}
2154func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2155 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
2156}
2157func (m *FlowMetadata) XXX_Merge(src proto.Message) {
2158 xxx_messageInfo_FlowMetadata.Merge(m, src)
2159}
2160func (m *FlowMetadata) XXX_Size() int {
2161 return xxx_messageInfo_FlowMetadata.Size(m)
2162}
2163func (m *FlowMetadata) XXX_DiscardUnknown() {
2164 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
2165}
2166
2167var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
2168
2169func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
2170 if m != nil {
2171 return m.Meters
2172 }
2173 return nil
2174}
2175
William Kurkian1b363f42019-03-12 15:28:12 -04002176func init() {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002177 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302178 proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
William Kurkianad745652019-03-20 08:45:51 -04002179 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04002180 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2181 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002182 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2183 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2184 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2185 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
William Kurkian1b363f42019-03-12 15:28:12 -04002186 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2187 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302188 proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest")
2189 proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse")
dpaul2b52e712020-06-23 13:02:28 +05302190 proto.RegisterType((*ValueSet)(nil), "voltha.ValueSet")
William Kurkian1b363f42019-03-12 15:28:12 -04002191 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2192 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2193 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2194 proto.RegisterType((*Membership)(nil), "voltha.Membership")
manikkaraj k166cb202019-07-28 13:05:56 -04002195 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianad745652019-03-20 08:45:51 -04002196}
2197
2198func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2199
2200var fileDescriptor_e084f1a60ce7016c = []byte{
Himani Chawla503b7ce2020-10-07 13:20:03 +05302201 // 2613 bytes of a gzipped FileDescriptorProto
2202 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5b, 0x6f, 0x1b, 0xc7,
2203 0xf5, 0x17, 0x75, 0xd7, 0x21, 0x25, 0x91, 0x43, 0x5d, 0x68, 0x4a, 0xb2, 0xad, 0xc9, 0x4d, 0x51,
2204 0x62, 0xd2, 0xb1, 0x92, 0x20, 0x7f, 0xfb, 0x1f, 0x34, 0xba, 0x59, 0x61, 0x6d, 0x99, 0xec, 0x52,
2205 0xb2, 0xd3, 0x36, 0x06, 0xb1, 0xe4, 0x0e, 0xa9, 0x85, 0x97, 0x5c, 0x76, 0x77, 0x28, 0x5b, 0x30,
2206 0x82, 0x02, 0xe9, 0x25, 0x7d, 0xcf, 0x7b, 0x9f, 0x5a, 0x14, 0xe8, 0x77, 0xc9, 0x43, 0xd1, 0xa7,
2207 0xbe, 0x16, 0x7d, 0xe8, 0x27, 0xc8, 0x73, 0x31, 0x67, 0x66, 0xc9, 0x5d, 0xee, 0xae, 0x24, 0xa6,
2208 0x01, 0xfa, 0x24, 0xed, 0x39, 0x67, 0x7e, 0xe7, 0x36, 0x73, 0xe6, 0xec, 0x59, 0x42, 0xfe, 0xdc,
2209 0xb6, 0xf8, 0x99, 0x5e, 0xeb, 0x3a, 0x36, 0xb7, 0xdd, 0xa2, 0x7c, 0x2a, 0xe0, 0x13, 0x99, 0x96,
2210 0x4f, 0xf9, 0xf5, 0x96, 0x6d, 0xb7, 0x2c, 0x56, 0xd4, 0xbb, 0x66, 0x51, 0xef, 0x74, 0x6c, 0xae,
2211 0x73, 0xd3, 0xee, 0xb8, 0x52, 0x2a, 0xbf, 0xa6, 0xb8, 0xf8, 0x54, 0xef, 0x35, 0x8b, 0xac, 0xdd,
2212 0xe5, 0x17, 0x8a, 0x99, 0x0b, 0xc2, 0xb7, 0x19, 0x57, 0xe0, 0xf9, 0x21, 0xc5, 0x0d, 0xbb, 0xdd,
2213 0xb6, 0x3b, 0xd1, 0xbc, 0x33, 0xa6, 0x5b, 0xfc, 0x4c, 0xf1, 0x68, 0x90, 0x67, 0xd9, 0x2d, 0xb3,
2214 0xa1, 0x5b, 0x35, 0x83, 0x9d, 0x9b, 0x0d, 0x16, 0xbd, 0x3e, 0xc0, 0x5b, 0x0b, 0xf2, 0x74, 0x43,
2215 0xef, 0x72, 0xe6, 0x28, 0xe6, 0xad, 0x20, 0xd3, 0xee, 0xb2, 0x4e, 0xd3, 0xb2, 0x5f, 0xd6, 0x3e,
2216 0xd8, 0x89, 0x11, 0x68, 0x37, 0xcc, 0x5a, 0xdb, 0xac, 0xd7, 0x8c, 0xba, 0x12, 0xd8, 0x8c, 0x10,
2217 0xd0, 0x2d, 0xdd, 0x69, 0x0f, 0x44, 0x6e, 0x06, 0x45, 0xd8, 0x2b, 0x5e, 0x6b, 0xd8, 0x9d, 0xa6,
2218 0xd9, 0x92, 0x7c, 0xfa, 0xa7, 0x04, 0x24, 0x0f, 0xd0, 0xe4, 0x23, 0xc7, 0xee, 0x75, 0xc9, 0x32,
2219 0x8c, 0x9b, 0x46, 0x2e, 0x71, 0x3b, 0xb1, 0x35, 0xb7, 0x37, 0xf5, 0xef, 0xef, 0xbf, 0xdb, 0x48,
2220 0x68, 0xe3, 0xa6, 0x41, 0x4a, 0xb0, 0x18, 0x74, 0xde, 0xcd, 0x8d, 0xdf, 0x9e, 0xd8, 0x4a, 0xde,
2221 0x5b, 0x2e, 0xa8, 0x2c, 0x3e, 0x96, 0x6c, 0x89, 0xb5, 0x37, 0xf7, 0xcf, 0xef, 0xbf, 0xdb, 0x98,
2222 0x14, 0x58, 0xda, 0x82, 0xe5, 0xe7, 0xb8, 0x64, 0x07, 0x66, 0x3c, 0x88, 0x09, 0x84, 0x58, 0xf0,
2223 0x20, 0xc2, 0x6b, 0x3d, 0x49, 0xfa, 0x7f, 0x90, 0xf2, 0x59, 0xe9, 0x92, 0x77, 0x61, 0xca, 0xe4,
2224 0xac, 0xed, 0xe6, 0x12, 0x08, 0x91, 0x0d, 0x42, 0xa0, 0x90, 0x26, 0x25, 0xe8, 0x1f, 0x13, 0x40,
2225 0x0e, 0xcf, 0x59, 0x87, 0x3f, 0x34, 0x2d, 0xce, 0x1c, 0xad, 0x67, 0xb1, 0x47, 0xec, 0x82, 0x7e,
2226 0x93, 0x80, 0xec, 0x10, 0xf9, 0xe4, 0xa2, 0xcb, 0xc8, 0x02, 0x40, 0x13, 0x29, 0x35, 0xdd, 0xb2,
2227 0xd2, 0x63, 0x24, 0x05, 0xb3, 0x0d, 0x9d, 0xb3, 0x96, 0xed, 0x5c, 0xa4, 0x13, 0x24, 0x0d, 0x29,
2228 0xb7, 0x57, 0xaf, 0xf5, 0x29, 0xe3, 0x84, 0xc0, 0xc2, 0x8b, 0xae, 0x59, 0x63, 0x02, 0xaa, 0xc6,
2229 0x2f, 0xba, 0x2c, 0x3d, 0x41, 0x96, 0x21, 0x23, 0x83, 0xec, 0x27, 0x4f, 0x0a, 0xb2, 0xf4, 0xc7,
2230 0x4f, 0x9e, 0xa2, 0x26, 0x2c, 0x0e, 0x19, 0x42, 0x3e, 0x83, 0x89, 0x17, 0xec, 0x02, 0xd3, 0xb0,
2231 0x70, 0xaf, 0xe0, 0x39, 0x17, 0xf6, 0xa2, 0x10, 0xe1, 0x81, 0x26, 0x96, 0x92, 0x25, 0x98, 0x3a,
2232 0xd7, 0xad, 0x1e, 0xcb, 0x8d, 0x8b, 0x54, 0x6a, 0xf2, 0x81, 0xfe, 0x25, 0x01, 0x49, 0xdf, 0x92,
2233 0xb8, 0x6c, 0xaf, 0xc0, 0x34, 0xeb, 0xe8, 0x75, 0x4b, 0xae, 0x9e, 0xd5, 0xd4, 0x13, 0x59, 0x83,
2234 0x39, 0xe5, 0x80, 0x69, 0xe4, 0x26, 0x10, 0x78, 0x56, 0x12, 0x4a, 0x06, 0xd9, 0x00, 0x18, 0xb8,
2235 0x95, 0x9b, 0x44, 0xee, 0x1c, 0x52, 0x30, 0xae, 0x77, 0x60, 0xca, 0xe9, 0x59, 0xcc, 0xcd, 0x4d,
2236 0x61, 0xc6, 0x56, 0x63, 0x9c, 0xd2, 0xa4, 0x14, 0xfd, 0x14, 0x52, 0x3e, 0x8e, 0x4b, 0xee, 0xc0,
2237 0x8c, 0x4c, 0x4b, 0x28, 0xe5, 0x7e, 0x00, 0x4f, 0x86, 0xbe, 0x80, 0xd4, 0xbe, 0xed, 0xb0, 0x52,
2238 0xc7, 0xe5, 0x7a, 0xa7, 0xc1, 0xc8, 0xdb, 0x90, 0x34, 0xd5, 0xff, 0xb5, 0x61, 0x8f, 0xc1, 0xe3,
2239 0x94, 0x0c, 0xb2, 0x03, 0xd3, 0xb2, 0x00, 0xa0, 0xe7, 0xc9, 0x7b, 0x4b, 0x9e, 0x96, 0xcf, 0x91,
2240 0x5a, 0xe5, 0x3a, 0xef, 0xb9, 0x7b, 0x53, 0x62, 0x87, 0x8e, 0x69, 0x4a, 0x94, 0x3e, 0x80, 0x79,
2241 0xbf, 0x32, 0x97, 0x6c, 0x07, 0x77, 0x67, 0x1f, 0xc4, 0x2f, 0xe5, 0x6d, 0xcf, 0x8f, 0x60, 0xb1,
2242 0xdc, 0x6e, 0x98, 0x27, 0xcc, 0xe5, 0x1a, 0xfb, 0x55, 0x8f, 0xb9, 0x9c, 0x2c, 0x0c, 0xb2, 0x82,
2243 0xe9, 0x20, 0x30, 0xd9, 0xeb, 0x99, 0x86, 0x4a, 0x25, 0xfe, 0x4f, 0x7f, 0x0d, 0x29, 0xb9, 0xc4,
2244 0xed, 0xda, 0x1d, 0x97, 0x91, 0x9f, 0xc0, 0xb4, 0xc3, 0xdc, 0x9e, 0xc5, 0xd5, 0xa6, 0x79, 0xc7,
2245 0xd3, 0xe9, 0x97, 0x0a, 0x3c, 0x68, 0x28, 0xae, 0xa9, 0x65, 0xb4, 0x00, 0x24, 0xcc, 0x25, 0x49,
2246 0x98, 0xa9, 0x9e, 0xee, 0xef, 0x1f, 0x56, 0xab, 0xe9, 0x31, 0xf1, 0xf0, 0x70, 0xb7, 0xf4, 0xf8,
2247 0x54, 0x3b, 0x4c, 0x27, 0xe8, 0x73, 0x98, 0x7d, 0x2a, 0xf6, 0x54, 0x95, 0x85, 0x0d, 0xfe, 0x04,
2248 0x52, 0xb2, 0x0c, 0xc9, 0x53, 0xa0, 0x62, 0x99, 0x2d, 0xa8, 0xca, 0xb3, 0x2b, 0x78, 0xfb, 0xf8,
2249 0xff, 0xe7, 0x63, 0x5a, 0x52, 0x1f, 0x3c, 0xee, 0xcd, 0xa8, 0x6d, 0x4b, 0xff, 0x31, 0x09, 0xd3,
2250 0x4f, 0xd1, 0x03, 0x72, 0x0b, 0x66, 0xce, 0x99, 0xe3, 0x9a, 0x76, 0x27, 0x98, 0x37, 0x8f, 0x4a,
2251 0x3e, 0x86, 0x59, 0x55, 0x59, 0xbd, 0xaa, 0xb4, 0xe8, 0x79, 0xbf, 0x2b, 0xe9, 0xfe, 0x9a, 0xd2,
2252 0x97, 0x8d, 0x2a, 0x6a, 0x13, 0xff, 0x7d, 0x51, 0x9b, 0xbc, 0x6e, 0x51, 0x23, 0x9f, 0x41, 0x4a,
2253 0x1d, 0x27, 0x71, 0x64, 0xbc, 0x93, 0x41, 0x82, 0x2b, 0xc5, 0xe1, 0xf1, 0xaf, 0x4e, 0x1a, 0x7d,
2254 0xb2, 0x4b, 0xf6, 0x61, 0x5e, 0x21, 0xb4, 0xb0, 0x2e, 0xe6, 0xa6, 0x63, 0xcb, 0xa1, 0x1f, 0x43,
2255 0xa9, 0x55, 0xb5, 0x74, 0x1f, 0xe6, 0xe5, 0xc1, 0xf5, 0x0e, 0xd8, 0x4c, 0xec, 0x01, 0x0b, 0x80,
2256 0x30, 0xff, 0xf9, 0xfc, 0x19, 0x64, 0x06, 0xf7, 0x93, 0xce, 0xf5, 0xba, 0xee, 0xb2, 0xdc, 0xba,
2257 0x02, 0x12, 0x9c, 0xc2, 0xb1, 0x59, 0x97, 0xe6, 0x1c, 0xe8, 0x5c, 0xdf, 0x4b, 0x0b, 0xa0, 0xa4,
2258 0xaf, 0x9e, 0x68, 0x8b, 0x42, 0x4a, 0x08, 0xa9, 0xd5, 0xe4, 0x19, 0x64, 0xfd, 0x37, 0x9a, 0x07,
2259 0xba, 0xa1, 0x52, 0x84, 0xa0, 0xb8, 0x95, 0x2e, 0x85, 0x45, 0xb3, 0xa4, 0x98, 0x42, 0xa0, 0x7f,
2260 0x4e, 0x40, 0xba, 0xca, 0xac, 0xe6, 0xf5, 0x0e, 0xd0, 0xb0, 0xa4, 0x9f, 0xe0, 0x3f, 0x40, 0x15,
2261 0x58, 0x08, 0x72, 0xe2, 0x0f, 0x0f, 0xc9, 0xc0, 0xfc, 0x93, 0xf2, 0x49, 0xad, 0x7a, 0x5a, 0xa9,
2262 0x94, 0xb5, 0x93, 0xc3, 0x83, 0xf4, 0xb8, 0x20, 0x9d, 0x3e, 0x79, 0xf4, 0xa4, 0xfc, 0xec, 0x49,
2263 0xed, 0x50, 0xd3, 0xca, 0x5a, 0x7a, 0x82, 0x96, 0x21, 0x53, 0x6e, 0xee, 0xb6, 0x58, 0x87, 0x57,
2264 0x7b, 0x75, 0xb7, 0xe1, 0x98, 0x75, 0xe6, 0x88, 0x32, 0x6b, 0x37, 0x75, 0x41, 0xec, 0x17, 0x32,
2265 0x6d, 0x4e, 0x51, 0x4a, 0x86, 0x28, 0xd1, 0xea, 0xc6, 0xef, 0x17, 0x8c, 0x59, 0x49, 0x28, 0x19,
2266 0xf4, 0x01, 0xc0, 0x31, 0x6b, 0xd7, 0x99, 0xe3, 0x9e, 0x99, 0x5d, 0x81, 0x84, 0xbb, 0xa6, 0xd6,
2267 0xd1, 0xdb, 0xcc, 0x43, 0x42, 0xca, 0x13, 0xbd, 0xcd, 0xd4, 0xa1, 0x1e, 0xf7, 0x0e, 0x35, 0x3d,
2268 0x84, 0xd4, 0x43, 0xcb, 0x7e, 0x79, 0xcc, 0xb8, 0x2e, 0x72, 0x41, 0x3e, 0x82, 0xe9, 0x36, 0xf3,
2269 0x15, 0xe4, 0x8d, 0x82, 0xbf, 0x83, 0xb1, 0x9b, 0xdd, 0x1a, 0xb2, 0x55, 0x0d, 0xd0, 0x94, 0xf0,
2270 0xbd, 0xbf, 0xdd, 0x85, 0x79, 0x79, 0xb0, 0xab, 0xcc, 0x11, 0x49, 0x22, 0xcf, 0x60, 0xfe, 0x88,
2271 0x71, 0x9f, 0x61, 0x2b, 0x05, 0xd9, 0xe5, 0x15, 0xbc, 0x2e, 0xaf, 0x70, 0x28, 0xba, 0xbc, 0x7c,
2272 0xff, 0x64, 0x0c, 0x64, 0x69, 0xfe, 0xeb, 0xbf, 0xff, 0xeb, 0xdb, 0xf1, 0x25, 0x42, 0xb0, 0x61,
2273 0x3c, 0xff, 0xa0, 0xd8, 0x1e, 0xe0, 0x3c, 0x87, 0xf4, 0x69, 0xd7, 0xd0, 0x39, 0xf3, 0x61, 0x47,
2274 0x60, 0xe4, 0x63, 0xf4, 0xd1, 0x0d, 0xc4, 0x5e, 0xa5, 0x11, 0xd8, 0xf7, 0x13, 0xdb, 0xe4, 0x00,
2275 0xe6, 0x8e, 0x18, 0x57, 0x45, 0x2a, 0xce, 0xe6, 0x7e, 0x1d, 0x90, 0x72, 0x74, 0x11, 0x31, 0xe7,
2276 0xc8, 0x8c, 0xc2, 0x24, 0xcf, 0x21, 0xf3, 0xd8, 0x74, 0x79, 0xf0, 0x02, 0x89, 0x43, 0x5b, 0x8e,
2277 0xba, 0x49, 0x5c, 0x7a, 0x03, 0x41, 0xb3, 0x24, 0xe3, 0x19, 0x6a, 0xf6, 0x91, 0xaa, 0xb0, 0x78,
2278 0xc4, 0x02, 0xe8, 0x04, 0x0a, 0xaa, 0xff, 0x2d, 0x1d, 0xe4, 0x23, 0xaf, 0x26, 0x7a, 0x13, 0xf1,
2279 0x72, 0x64, 0x25, 0x84, 0x57, 0x7c, 0x6d, 0x1a, 0x5f, 0x11, 0x0d, 0x52, 0xc2, 0xe6, 0x5d, 0xaf,
2280 0x90, 0xc6, 0x99, 0x9b, 0x1e, 0x2a, 0xc3, 0x2e, 0xcd, 0x21, 0x32, 0x21, 0x69, 0x0f, 0xb9, 0x5f,
2281 0x8c, 0x19, 0x10, 0x81, 0xf9, 0x38, 0x58, 0x57, 0xe3, 0x90, 0x57, 0x22, 0x2b, 0xb4, 0x4b, 0x6f,
2282 0x21, 0xfe, 0x0d, 0xb2, 0xea, 0xe1, 0x0f, 0x15, 0x78, 0xf2, 0x4b, 0x48, 0x1f, 0xb1, 0xa0, 0x96,
2283 0x40, 0x40, 0xa2, 0x4b, 0x3f, 0x7d, 0x13, 0x71, 0x6f, 0x92, 0xf5, 0x18, 0x5c, 0x19, 0x97, 0x26,
2284 0xac, 0x84, 0x7c, 0xa8, 0xd8, 0x0e, 0x77, 0xa3, 0x63, 0xae, 0xe4, 0x50, 0x82, 0x6e, 0xa3, 0x86,
2285 0x37, 0x09, 0xbd, 0x4c, 0x43, 0xb1, 0x8b, 0x68, 0xaf, 0x60, 0x69, 0xd8, 0x09, 0x01, 0x42, 0x96,
2286 0x23, 0x90, 0x4b, 0x46, 0x3e, 0x1b, 0x41, 0xa6, 0x1f, 0xa2, 0xbe, 0x02, 0x79, 0xff, 0x6a, 0x7d,
2287 0xc5, 0xd7, 0xe2, 0x4f, 0x4d, 0x78, 0xf8, 0xbb, 0x04, 0xac, 0x1e, 0x62, 0x33, 0x78, 0x6d, 0xed,
2288 0x71, 0xa7, 0xeb, 0x01, 0x1a, 0xf0, 0x11, 0xdd, 0x19, 0xc5, 0x80, 0xa2, 0xea, 0x44, 0xbf, 0x49,
2289 0x40, 0xee, 0xc0, 0x74, 0x7f, 0x14, 0x43, 0xfe, 0x1f, 0x0d, 0xf9, 0x98, 0x7e, 0x38, 0x92, 0x21,
2290 0x86, 0xd4, 0x4e, 0x8c, 0x88, 0x9c, 0x8b, 0x3a, 0x19, 0xcc, 0x39, 0x09, 0x14, 0x47, 0xe4, 0x5f,
2291 0x33, 0xe3, 0x4d, 0xc4, 0xfa, 0x4d, 0x02, 0xd6, 0x65, 0x2d, 0x0b, 0x29, 0x3a, 0x41, 0x33, 0xd6,
2292 0x43, 0x0a, 0x90, 0x2e, 0xd7, 0xc4, 0xba, 0x7e, 0x07, 0x4d, 0x78, 0x87, 0x5e, 0xc3, 0x04, 0x51,
2293 0xf1, 0x7e, 0x9b, 0x80, 0x8d, 0x08, 0x2b, 0x8e, 0x45, 0x65, 0x97, 0x66, 0xac, 0x05, 0xcc, 0x40,
2294 0xc6, 0xb1, 0x6d, 0x5c, 0x61, 0x45, 0x01, 0xad, 0xd8, 0xa2, 0x6f, 0x5c, 0x6a, 0x85, 0xbc, 0x3f,
2295 0x84, 0x19, 0x2d, 0x58, 0x0d, 0x85, 0x1c, 0x55, 0x05, 0x63, 0x9e, 0x0d, 0xdb, 0xe2, 0xd2, 0xf7,
2296 0x50, 0xd7, 0x5b, 0xe4, 0x3a, 0xba, 0x08, 0x87, 0xb5, 0xc8, 0xdc, 0xaa, 0xc6, 0xc9, 0xaf, 0x6c,
2297 0x35, 0x14, 0x7f, 0x29, 0x44, 0xef, 0xa2, 0xc2, 0x6d, 0xb2, 0x75, 0x65, 0x88, 0x55, 0x0f, 0x47,
2298 0xbe, 0x4d, 0xc0, 0x66, 0x4c, 0xae, 0x11, 0x53, 0x46, 0x7a, 0x33, 0x5a, 0xe1, 0x75, 0xb2, 0xbe,
2299 0x83, 0x26, 0xdd, 0xa1, 0xd7, 0x36, 0x49, 0x04, 0xbd, 0x0c, 0x49, 0x11, 0x8b, 0xab, 0x0a, 0xf3,
2300 0x62, 0xb0, 0xf5, 0x74, 0xe9, 0x2a, 0x2a, 0xcb, 0x90, 0x45, 0x4f, 0x99, 0x57, 0x89, 0xcb, 0x30,
2301 0x3f, 0x00, 0x2c, 0x19, 0xf1, 0x90, 0xc9, 0x41, 0x98, 0x23, 0xae, 0x3a, 0x09, 0x67, 0x1a, 0x2e,
2302 0x39, 0x85, 0xb4, 0xc6, 0x1a, 0x76, 0xa7, 0x61, 0x5a, 0xcc, 0x33, 0xd3, 0xbf, 0x36, 0x36, 0x1e,
2303 0xeb, 0x88, 0xb9, 0x42, 0xc3, 0x98, 0xc2, 0xf1, 0x43, 0xbc, 0xe6, 0x23, 0xae, 0x8a, 0xa1, 0x16,
2304 0xdf, 0x83, 0x21, 0x4b, 0x43, 0x9e, 0xca, 0xbb, 0xe1, 0xa7, 0x90, 0xda, 0x77, 0x98, 0xce, 0x95,
2305 0x69, 0x64, 0x68, 0x75, 0x08, 0x4d, 0x35, 0x36, 0x74, 0x38, 0x6e, 0xc2, 0xa4, 0x67, 0x90, 0x92,
2306 0x45, 0x38, 0xc2, 0xaa, 0x38, 0x27, 0xdf, 0x40, 0xbc, 0x0d, 0xba, 0x16, 0x65, 0x9d, 0x57, 0x56,
2307 0x7f, 0x0e, 0xf3, 0xaa, 0xaa, 0x8e, 0x80, 0xac, 0xee, 0x46, 0xba, 0x1e, 0x89, 0xec, 0xd5, 0xc9,
2308 0x67, 0x90, 0xd2, 0x58, 0xdd, 0xb6, 0xf9, 0x8f, 0x66, 0xb3, 0x83, 0x70, 0x02, 0xf8, 0x80, 0x59,
2309 0x8c, 0xff, 0x80, 0x60, 0x6c, 0x47, 0x03, 0x1b, 0x08, 0x47, 0xea, 0x90, 0x79, 0x68, 0x3b, 0x0d,
2310 0x36, 0x32, 0xfa, 0xbb, 0x88, 0xfe, 0xc6, 0xf6, 0x66, 0x24, 0x7a, 0x53, 0x60, 0xd6, 0x94, 0x8e,
2311 0x1e, 0xcc, 0x1f, 0xd8, 0x2f, 0x3b, 0x96, 0xad, 0x1b, 0xa5, 0xb6, 0xde, 0x62, 0x83, 0xbb, 0x0b,
2312 0x1f, 0x3d, 0x5e, 0x7e, 0xd9, 0x53, 0x5b, 0xee, 0x32, 0x07, 0x27, 0xa2, 0xe2, 0x75, 0x84, 0x7e,
2313 0x8c, 0x9a, 0xee, 0xd2, 0xf7, 0x22, 0x35, 0x99, 0x02, 0xa2, 0x66, 0x28, 0x0c, 0xb7, 0xf8, 0x5a,
2314 0x34, 0xfa, 0x5f, 0x89, 0x0d, 0xf4, 0x75, 0x02, 0x56, 0x8e, 0x18, 0x0f, 0xe8, 0x90, 0xb3, 0x8d,
2315 0x78, 0x03, 0xa2, 0xc8, 0xf4, 0x3e, 0x1a, 0xf0, 0x21, 0xb9, 0x37, 0x82, 0x01, 0x45, 0x57, 0x6a,
2316 0xea, 0x61, 0x2b, 0x16, 0xc0, 0x1b, 0x51, 0xbb, 0x2a, 0x64, 0x64, 0x14, 0xf7, 0x49, 0x53, 0x36,
2317 0x9a, 0x01, 0x24, 0x77, 0x28, 0xaf, 0x51, 0xda, 0x5c, 0xfa, 0x3e, 0xaa, 0x7b, 0x9b, 0xbc, 0x79,
2318 0x1d, 0x75, 0xe4, 0x15, 0x64, 0xf7, 0x45, 0xcf, 0x6c, 0x5d, 0xd3, 0xc3, 0xc8, 0x04, 0x2b, 0x0f,
2319 0xb7, 0x47, 0xf2, 0xf0, 0x0f, 0x09, 0xc8, 0xee, 0x36, 0xb8, 0x79, 0xae, 0x73, 0x86, 0x5a, 0xe4,
2320 0x7d, 0x30, 0xa2, 0xea, 0x7d, 0x54, 0xfd, 0x29, 0xfd, 0x64, 0x94, 0xd4, 0x4a, 0x72, 0x0f, 0xf5,
2321 0x89, 0x8d, 0xf6, 0xfb, 0x04, 0x64, 0x34, 0x76, 0xce, 0x1c, 0xfe, 0x3f, 0x31, 0xc4, 0x41, 0xd5,
2322 0xc2, 0x90, 0x0a, 0x2c, 0x0e, 0x6e, 0x9b, 0x70, 0x4f, 0x3e, 0xef, 0x59, 0x24, 0x9b, 0x71, 0x8a,
2323 0x2a, 0xd7, 0x49, 0x3e, 0x52, 0xa5, 0x6c, 0xc2, 0x9f, 0x43, 0xd6, 0x87, 0xa8, 0x06, 0x58, 0x41,
2324 0xd4, 0x4c, 0x1f, 0xd5, 0x63, 0xd3, 0x77, 0x10, 0x79, 0x93, 0xdc, 0x8a, 0x46, 0xf6, 0x46, 0x66,
2325 0x2e, 0xe9, 0xc0, 0xb2, 0x8c, 0xd6, 0xb0, 0x82, 0x30, 0x68, 0x6c, 0x21, 0x52, 0x1d, 0x26, 0xbd,
2326 0x4a, 0x99, 0x08, 0xd0, 0xa9, 0x3f, 0x40, 0xd7, 0x6b, 0x60, 0x2f, 0x8f, 0x92, 0x6c, 0x5c, 0x19,
2327 0x2c, 0x05, 0x61, 0x47, 0xe9, 0x9d, 0xb6, 0x50, 0x01, 0x25, 0xb7, 0x63, 0x15, 0x78, 0x3d, 0xd3,
2328 0x97, 0x7e, 0xeb, 0xe5, 0x6c, 0x2c, 0xae, 0x9d, 0xc8, 0x86, 0xe7, 0x6b, 0x6e, 0xdc, 0xdd, 0x2d,
2329 0x07, 0x73, 0x44, 0xc3, 0x09, 0xc5, 0x40, 0x7e, 0x28, 0x32, 0x21, 0x3c, 0xba, 0x89, 0x70, 0x6b,
2330 0xe4, 0x46, 0x14, 0x9c, 0xec, 0x07, 0x6a, 0x90, 0x1e, 0x58, 0xac, 0x82, 0x12, 0x67, 0xf2, 0x52,
2331 0xc4, 0x3c, 0xcf, 0xf5, 0xc6, 0x13, 0x64, 0x79, 0x48, 0x89, 0x0a, 0xc9, 0x43, 0x48, 0x57, 0xb9,
2332 0xc3, 0xf4, 0x76, 0x45, 0x6f, 0xbc, 0x60, 0xdc, 0x2d, 0xf7, 0x38, 0x59, 0x09, 0x44, 0x5a, 0x32,
2333 0xca, 0x3d, 0x1e, 0xbb, 0x81, 0xc6, 0xb6, 0x12, 0xe4, 0x10, 0xdb, 0x2a, 0x66, 0x9e, 0x33, 0x05,
2334 0x54, 0xea, 0x5c, 0x32, 0x9f, 0x08, 0xe3, 0x97, 0x3a, 0x74, 0xec, 0x6e, 0x82, 0x3c, 0x82, 0xac,
2335 0x82, 0xd9, 0x3f, 0xd3, 0x3b, 0x2d, 0x86, 0x53, 0xc5, 0x78, 0x97, 0x73, 0x01, 0x24, 0xdf, 0x12,
2336 0x04, 0x3b, 0x85, 0x85, 0x7e, 0x42, 0xe4, 0x77, 0xab, 0x60, 0xe3, 0x1f, 0x0e, 0x57, 0xdc, 0x66,
2337 0x55, 0xd1, 0xf2, 0x72, 0x92, 0x91, 0x3d, 0x9a, 0xff, 0x1b, 0x49, 0xd4, 0x1c, 0x34, 0x1f, 0x45,
2338 0xa4, 0xb7, 0x51, 0x45, 0x9e, 0xf6, 0x13, 0x12, 0x18, 0xab, 0x8a, 0x43, 0xf6, 0x14, 0xed, 0xf6,
2339 0xa3, 0x47, 0x0e, 0x06, 0xfc, 0x5f, 0x3e, 0xc2, 0x86, 0x07, 0x50, 0xa5, 0xe1, 0x06, 0x64, 0x64,
2340 0xb1, 0xf8, 0x61, 0x86, 0xbf, 0x85, 0x2a, 0x6e, 0xe5, 0x2f, 0x51, 0x21, 0xac, 0x37, 0x20, 0x23,
2341 0x7b, 0xa1, 0x2b, 0xb5, 0xc4, 0xed, 0x27, 0xe5, 0xcb, 0xf6, 0x65, 0xbe, 0xa8, 0x83, 0x11, 0xf8,
2342 0xfa, 0x73, 0xe5, 0xc1, 0x08, 0x44, 0x2c, 0x74, 0x30, 0x02, 0x5a, 0xc8, 0x63, 0x6c, 0xe8, 0xf1,
2343 0xea, 0x71, 0xa3, 0x1b, 0x7a, 0xc9, 0xf3, 0xba, 0x44, 0xb2, 0x16, 0x7f, 0xf1, 0xb8, 0xe4, 0x0b,
2344 0x98, 0xf5, 0xc6, 0xbe, 0x01, 0xb0, 0x5c, 0xdc, 0xfc, 0x98, 0xbe, 0x8d, 0xb0, 0xb7, 0xe9, 0xcd,
2345 0x48, 0x58, 0x97, 0x59, 0xcd, 0x1a, 0x17, 0x68, 0x4f, 0xb1, 0x3f, 0x0a, 0x8c, 0xcd, 0x87, 0xdf,
2346 0x6f, 0x43, 0x73, 0xf5, 0x70, 0xe5, 0x11, 0xc7, 0x48, 0xc8, 0xa9, 0x17, 0x5b, 0xb3, 0x4e, 0xbe,
2347 0x04, 0x72, 0xc4, 0xf8, 0xd0, 0xe4, 0x7c, 0x68, 0x08, 0x16, 0x35, 0x5c, 0x0f, 0xc7, 0x23, 0x88,
2348 0x8d, 0x73, 0x7a, 0xe2, 0xc2, 0x7c, 0xd5, 0x6c, 0xf7, 0x2c, 0x9d, 0x33, 0x5c, 0x4f, 0xd6, 0xfb,
2349 0x81, 0xf0, 0x93, 0xd5, 0xb7, 0xae, 0xb8, 0x3b, 0x3f, 0x34, 0x98, 0x08, 0xc6, 0x48, 0x21, 0xd5,
2350 0x04, 0x92, 0xd8, 0x99, 0xfb, 0x30, 0xd7, 0x1f, 0x91, 0x93, 0x1b, 0x9e, 0xc2, 0xd0, 0xf0, 0x3c,
2351 0x1f, 0xcf, 0xa2, 0x63, 0xe4, 0x18, 0x40, 0xbe, 0x55, 0xe1, 0x10, 0x29, 0xe5, 0xef, 0x08, 0x62,
2352 0x37, 0xb4, 0x7a, 0x1d, 0xa5, 0x0b, 0xc2, 0xc6, 0xc1, 0x6a, 0xf5, 0xc2, 0xac, 0xde, 0xa5, 0x46,
2353 0xc0, 0x1b, 0xbc, 0xf5, 0x9d, 0x7f, 0x50, 0xf4, 0x2d, 0x17, 0x80, 0x5f, 0x40, 0x52, 0x14, 0x8f,
2354 0x57, 0x1c, 0xbf, 0xbb, 0x91, 0x15, 0x2f, 0x72, 0xf2, 0x33, 0x5c, 0x97, 0x35, 0xcc, 0xa6, 0xc9,
2355 0x9c, 0xfc, 0x92, 0x47, 0xd7, 0x18, 0xef, 0x39, 0x1d, 0xe4, 0xba, 0x74, 0x0d, 0x81, 0x97, 0x49,
2356 0xd6, 0x0b, 0xa8, 0x1f, 0xea, 0x04, 0x92, 0x55, 0xdf, 0x63, 0x7f, 0x6c, 0xeb, 0x7d, 0xe0, 0x8b,
2357 0x35, 0x37, 0x84, 0xea, 0x87, 0x39, 0x83, 0x6c, 0x95, 0xeb, 0x0e, 0xf7, 0x3e, 0x6f, 0x8a, 0x96,
2358 0xd4, 0xee, 0x90, 0xfe, 0x97, 0xdf, 0xa1, 0xcf, 0x9e, 0x83, 0xc3, 0x1c, 0x38, 0x2d, 0xaa, 0x64,
2359 0xd0, 0xfe, 0x44, 0xd7, 0x15, 0x98, 0x35, 0xfc, 0x32, 0x24, 0x8e, 0xc9, 0xfd, 0xc4, 0xf6, 0x9e,
2360 0x05, 0x59, 0xdb, 0x69, 0xe1, 0x8d, 0xd1, 0xb0, 0x1d, 0x43, 0xe1, 0xec, 0xa5, 0xe4, 0xcc, 0xbd,
2361 0x82, 0x3f, 0x7d, 0xf8, 0x45, 0xa1, 0x65, 0xf2, 0xb3, 0x5e, 0x5d, 0x44, 0xa7, 0xe8, 0x49, 0xaa,
2362 0x9f, 0xa0, 0xdc, 0xf1, 0x7e, 0x90, 0xb2, 0x53, 0x6c, 0xd9, 0x8a, 0xf6, 0xd7, 0xf1, 0x95, 0xb2,
2363 0x87, 0xf7, 0xd4, 0x3f, 0xc2, 0xaf, 0x8c, 0x57, 0x26, 0x2a, 0x93, 0x95, 0xa9, 0xca, 0x74, 0x65,
2364 0xa6, 0x32, 0x5b, 0x9f, 0xc6, 0xb5, 0x3b, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x26, 0xc1,
2365 0x93, 0xdc, 0x22, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002366}
2367
2368// Reference imports to suppress errors if they are not otherwise used.
2369var _ context.Context
2370var _ grpc.ClientConn
2371
2372// This is a compile-time assertion to ensure that this generated file
2373// is compatible with the grpc package it is being compiled against.
2374const _ = grpc.SupportPackageIsVersion4
2375
2376// VolthaServiceClient is the client API for VolthaService service.
2377//
2378// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2379type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -04002380 // Get the membership group of a Voltha Core
2381 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2382 // Set the membership group of a Voltha Core
2383 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2384 // Get high level information on the Voltha cluster
2385 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2386 // List all Voltha cluster core instances
2387 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2388 // Get details on a Voltha cluster instance
2389 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2390 // List all active adapters (plugins) in the Voltha cluster
2391 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2392 // List all logical devices managed by the Voltha cluster
2393 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2394 // Get additional information on a given logical device
2395 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2396 // List ports of a logical device
2397 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2398 // Gets a logical device port
2399 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2400 // Enables a logical device port
2401 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2402 // Disables a logical device port
2403 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2404 // List all flows of a logical device
2405 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2406 // Update flow table for logical device
2407 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2408 // Update meter table for logical device
2409 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002410 // List all meters of a logical device
2411 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002412 // List all flow groups of a logical device
2413 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2414 // Update group table for device
2415 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2416 // List all physical devices controlled by the Voltha cluster
2417 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2418 // List all physical devices IDs controlled by the Voltha cluster
2419 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2420 // Request to a voltha Core to reconcile a set of devices based on their IDs
2421 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2422 // Get more information on a given physical device
2423 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2424 // Pre-provision a new physical device
2425 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2426 // Enable a device. If the device was in pre-provisioned state then it
2427 // will transition to ENABLED state. If it was is DISABLED state then it
2428 // will transition to ENABLED state as well.
2429 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2430 // Disable a device
2431 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2432 // Reboot a device
2433 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2434 // Delete a device
2435 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05302436 // Forcefully delete a device
2437 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002438 // Request an image download to the standby partition
2439 // of a device.
2440 // Note that the call is expected to be non-blocking.
2441 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2442 // Get image download status on a device
2443 // The request retrieves progress on device and updates db record
2444 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2445 // Get image download db record
2446 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2447 // List image download db records for a given device
2448 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2449 // Cancel an existing image download process on a device
2450 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2451 // Activate the specified image at a standby partition
2452 // to active partition.
2453 // Depending on the device implementation, this call
2454 // may or may not cause device reboot.
2455 // If no reboot, then a reboot is required to make the
2456 // activated image running on device
2457 // Note that the call is expected to be non-blocking.
2458 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2459 // Revert the specified image at standby partition
2460 // to active partition, and revert to previous image
2461 // Depending on the device implementation, this call
2462 // may or may not cause device reboot.
2463 // If no reboot, then a reboot is required to make the
2464 // previous image running on device
2465 // Note that the call is expected to be non-blocking.
2466 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2467 // List ports of a device
2468 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2469 // List pm config of a device
2470 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2471 // Update the pm config of a device
2472 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2473 // List all flows of a device
2474 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2475 // List all flow groups of a device
2476 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2477 // List device types known to Voltha
2478 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2479 // Get additional information on a device type
2480 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2481 // List all device sharding groups
2482 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2483 // Stream control packets to the dataplane
2484 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2485 // Receive control packet stream
2486 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2487 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2488 // Get additional information on a device group
2489 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002490 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2491 // Get all filters present for a device
2492 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2493 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2494 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2495 // Get all the filters present
2496 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002497 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2498 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2499 // OpenOMCI MIB information
2500 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2501 // OpenOMCI ALARM information
2502 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2503 // Simulate an Alarm
2504 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2505 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05002506 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2507 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002508 GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error)
dpaul2b52e712020-06-23 13:02:28 +05302509 SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302510 // omci start and stop cli implementation
2511 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002512}
2513
2514type volthaServiceClient struct {
2515 cc *grpc.ClientConn
2516}
2517
2518func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2519 return &volthaServiceClient{cc}
2520}
2521
William Kurkian1b363f42019-03-12 15:28:12 -04002522func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2523 out := new(Membership)
2524 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2525 if err != nil {
2526 return nil, err
2527 }
2528 return out, nil
2529}
2530
2531func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2532 out := new(empty.Empty)
2533 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2534 if err != nil {
2535 return nil, err
2536 }
2537 return out, nil
2538}
2539
2540func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2541 out := new(Voltha)
2542 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2543 if err != nil {
2544 return nil, err
2545 }
2546 return out, nil
2547}
2548
2549func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2550 out := new(CoreInstances)
2551 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2552 if err != nil {
2553 return nil, err
2554 }
2555 return out, nil
2556}
2557
2558func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2559 out := new(CoreInstance)
2560 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2561 if err != nil {
2562 return nil, err
2563 }
2564 return out, nil
2565}
2566
2567func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2568 out := new(Adapters)
2569 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2570 if err != nil {
2571 return nil, err
2572 }
2573 return out, nil
2574}
2575
2576func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2577 out := new(LogicalDevices)
2578 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2579 if err != nil {
2580 return nil, err
2581 }
2582 return out, nil
2583}
2584
2585func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2586 out := new(LogicalDevice)
2587 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2588 if err != nil {
2589 return nil, err
2590 }
2591 return out, nil
2592}
2593
2594func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2595 out := new(LogicalPorts)
2596 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2597 if err != nil {
2598 return nil, err
2599 }
2600 return out, nil
2601}
2602
2603func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2604 out := new(LogicalPort)
2605 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2606 if err != nil {
2607 return nil, err
2608 }
2609 return out, nil
2610}
2611
2612func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2613 out := new(empty.Empty)
2614 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2615 if err != nil {
2616 return nil, err
2617 }
2618 return out, nil
2619}
2620
2621func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2622 out := new(empty.Empty)
2623 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2624 if err != nil {
2625 return nil, err
2626 }
2627 return out, nil
2628}
2629
2630func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2631 out := new(openflow_13.Flows)
2632 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2633 if err != nil {
2634 return nil, err
2635 }
2636 return out, nil
2637}
2638
2639func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2640 out := new(empty.Empty)
2641 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2642 if err != nil {
2643 return nil, err
2644 }
2645 return out, nil
2646}
2647
2648func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2649 out := new(empty.Empty)
2650 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2651 if err != nil {
2652 return nil, err
2653 }
2654 return out, nil
2655}
2656
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002657func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2658 out := new(openflow_13.Meters)
2659 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002660 if err != nil {
2661 return nil, err
2662 }
2663 return out, nil
2664}
2665
2666func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2667 out := new(openflow_13.FlowGroups)
2668 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2669 if err != nil {
2670 return nil, err
2671 }
2672 return out, nil
2673}
2674
2675func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2676 out := new(empty.Empty)
2677 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2678 if err != nil {
2679 return nil, err
2680 }
2681 return out, nil
2682}
2683
2684func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2685 out := new(Devices)
2686 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2687 if err != nil {
2688 return nil, err
2689 }
2690 return out, nil
2691}
2692
2693func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2694 out := new(common.IDs)
2695 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2696 if err != nil {
2697 return nil, err
2698 }
2699 return out, nil
2700}
2701
2702func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2703 out := new(empty.Empty)
2704 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2705 if err != nil {
2706 return nil, err
2707 }
2708 return out, nil
2709}
2710
2711func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2712 out := new(Device)
2713 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2714 if err != nil {
2715 return nil, err
2716 }
2717 return out, nil
2718}
2719
2720func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2721 out := new(Device)
2722 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2723 if err != nil {
2724 return nil, err
2725 }
2726 return out, nil
2727}
2728
2729func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2730 out := new(empty.Empty)
2731 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2732 if err != nil {
2733 return nil, err
2734 }
2735 return out, nil
2736}
2737
2738func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2739 out := new(empty.Empty)
2740 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2741 if err != nil {
2742 return nil, err
2743 }
2744 return out, nil
2745}
2746
2747func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2748 out := new(empty.Empty)
2749 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2750 if err != nil {
2751 return nil, err
2752 }
2753 return out, nil
2754}
2755
2756func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2757 out := new(empty.Empty)
2758 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2759 if err != nil {
2760 return nil, err
2761 }
2762 return out, nil
2763}
2764
Himani Chawla503b7ce2020-10-07 13:20:03 +05302765func (c *volthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2766 out := new(empty.Empty)
2767 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ForceDeleteDevice", in, out, opts...)
2768 if err != nil {
2769 return nil, err
2770 }
2771 return out, nil
2772}
2773
William Kurkian1b363f42019-03-12 15:28:12 -04002774func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2775 out := new(common.OperationResp)
2776 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2777 if err != nil {
2778 return nil, err
2779 }
2780 return out, nil
2781}
2782
2783func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2784 out := new(ImageDownload)
2785 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2786 if err != nil {
2787 return nil, err
2788 }
2789 return out, nil
2790}
2791
2792func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2793 out := new(ImageDownload)
2794 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2795 if err != nil {
2796 return nil, err
2797 }
2798 return out, nil
2799}
2800
2801func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2802 out := new(ImageDownloads)
2803 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2804 if err != nil {
2805 return nil, err
2806 }
2807 return out, nil
2808}
2809
2810func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2811 out := new(common.OperationResp)
2812 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2813 if err != nil {
2814 return nil, err
2815 }
2816 return out, nil
2817}
2818
2819func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2820 out := new(common.OperationResp)
2821 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2822 if err != nil {
2823 return nil, err
2824 }
2825 return out, nil
2826}
2827
2828func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2829 out := new(common.OperationResp)
2830 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2831 if err != nil {
2832 return nil, err
2833 }
2834 return out, nil
2835}
2836
2837func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2838 out := new(Ports)
2839 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2840 if err != nil {
2841 return nil, err
2842 }
2843 return out, nil
2844}
2845
2846func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2847 out := new(PmConfigs)
2848 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2849 if err != nil {
2850 return nil, err
2851 }
2852 return out, nil
2853}
2854
2855func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2856 out := new(empty.Empty)
2857 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2858 if err != nil {
2859 return nil, err
2860 }
2861 return out, nil
2862}
2863
2864func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2865 out := new(openflow_13.Flows)
2866 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2867 if err != nil {
2868 return nil, err
2869 }
2870 return out, nil
2871}
2872
2873func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2874 out := new(openflow_13.FlowGroups)
2875 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2876 if err != nil {
2877 return nil, err
2878 }
2879 return out, nil
2880}
2881
2882func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2883 out := new(DeviceTypes)
2884 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2885 if err != nil {
2886 return nil, err
2887 }
2888 return out, nil
2889}
2890
2891func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2892 out := new(DeviceType)
2893 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2894 if err != nil {
2895 return nil, err
2896 }
2897 return out, nil
2898}
2899
2900func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2901 out := new(DeviceGroups)
2902 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2903 if err != nil {
2904 return nil, err
2905 }
2906 return out, nil
2907}
2908
2909func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2910 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2911 if err != nil {
2912 return nil, err
2913 }
2914 x := &volthaServiceStreamPacketsOutClient{stream}
2915 return x, nil
2916}
2917
2918type VolthaService_StreamPacketsOutClient interface {
2919 Send(*openflow_13.PacketOut) error
2920 CloseAndRecv() (*empty.Empty, error)
2921 grpc.ClientStream
2922}
2923
2924type volthaServiceStreamPacketsOutClient struct {
2925 grpc.ClientStream
2926}
2927
2928func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2929 return x.ClientStream.SendMsg(m)
2930}
2931
2932func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2933 if err := x.ClientStream.CloseSend(); err != nil {
2934 return nil, err
2935 }
2936 m := new(empty.Empty)
2937 if err := x.ClientStream.RecvMsg(m); err != nil {
2938 return nil, err
2939 }
2940 return m, nil
2941}
2942
2943func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2944 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2945 if err != nil {
2946 return nil, err
2947 }
2948 x := &volthaServiceReceivePacketsInClient{stream}
2949 if err := x.ClientStream.SendMsg(in); err != nil {
2950 return nil, err
2951 }
2952 if err := x.ClientStream.CloseSend(); err != nil {
2953 return nil, err
2954 }
2955 return x, nil
2956}
2957
2958type VolthaService_ReceivePacketsInClient interface {
2959 Recv() (*openflow_13.PacketIn, error)
2960 grpc.ClientStream
2961}
2962
2963type volthaServiceReceivePacketsInClient struct {
2964 grpc.ClientStream
2965}
2966
2967func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2968 m := new(openflow_13.PacketIn)
2969 if err := x.ClientStream.RecvMsg(m); err != nil {
2970 return nil, err
2971 }
2972 return m, nil
2973}
2974
2975func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2976 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2977 if err != nil {
2978 return nil, err
2979 }
2980 x := &volthaServiceReceiveChangeEventsClient{stream}
2981 if err := x.ClientStream.SendMsg(in); err != nil {
2982 return nil, err
2983 }
2984 if err := x.ClientStream.CloseSend(); err != nil {
2985 return nil, err
2986 }
2987 return x, nil
2988}
2989
2990type VolthaService_ReceiveChangeEventsClient interface {
2991 Recv() (*openflow_13.ChangeEvent, error)
2992 grpc.ClientStream
2993}
2994
2995type volthaServiceReceiveChangeEventsClient struct {
2996 grpc.ClientStream
2997}
2998
2999func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
3000 m := new(openflow_13.ChangeEvent)
3001 if err := x.ClientStream.RecvMsg(m); err != nil {
3002 return nil, err
3003 }
3004 return m, nil
3005}
3006
3007func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
3008 out := new(DeviceGroup)
3009 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
3010 if err != nil {
3011 return nil, err
3012 }
3013 return out, nil
3014}
3015
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003016func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3017 out := new(EventFilter)
3018 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003019 if err != nil {
3020 return nil, err
3021 }
3022 return out, nil
3023}
3024
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003025func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
3026 out := new(EventFilters)
3027 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003028 if err != nil {
3029 return nil, err
3030 }
3031 return out, nil
3032}
3033
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003034func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3035 out := new(EventFilter)
3036 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003037 if err != nil {
3038 return nil, err
3039 }
3040 return out, nil
3041}
3042
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003043func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003044 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003045 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003046 if err != nil {
3047 return nil, err
3048 }
3049 return out, nil
3050}
3051
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003052func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
3053 out := new(EventFilters)
3054 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003055 if err != nil {
3056 return nil, err
3057 }
3058 return out, nil
3059}
3060
3061func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
3062 out := new(Images)
3063 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
3064 if err != nil {
3065 return nil, err
3066 }
3067 return out, nil
3068}
3069
3070func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
3071 out := new(SelfTestResponse)
3072 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
3073 if err != nil {
3074 return nil, err
3075 }
3076 return out, nil
3077}
3078
3079func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
3080 out := new(omci.MibDeviceData)
3081 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
3082 if err != nil {
3083 return nil, err
3084 }
3085 return out, nil
3086}
3087
3088func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
3089 out := new(omci.AlarmDeviceData)
3090 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
3091 if err != nil {
3092 return nil, err
3093 }
3094 return out, nil
3095}
3096
3097func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
3098 out := new(common.OperationResp)
3099 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
3100 if err != nil {
3101 return nil, err
3102 }
3103 return out, nil
3104}
3105
3106func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
3107 out := new(OfAgentSubscriber)
3108 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
3109 if err != nil {
3110 return nil, err
3111 }
3112 return out, nil
3113}
3114
kesavand4a002b02020-01-23 21:29:47 -05003115func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3116 out := new(empty.Empty)
3117 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3118 if err != nil {
3119 return nil, err
3120 }
3121 return out, nil
3122}
3123
3124func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3125 out := new(empty.Empty)
3126 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3127 if err != nil {
3128 return nil, err
3129 }
3130 return out, nil
3131}
3132
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003133func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) {
3134 out := new(common.ReturnValues)
3135 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
3136 if err != nil {
3137 return nil, err
3138 }
3139 return out, nil
3140}
3141
dpaul2b52e712020-06-23 13:02:28 +05303142func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
3143 out := new(empty.Empty)
3144 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
3145 if err != nil {
3146 return nil, err
3147 }
3148 return out, nil
3149}
3150
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303151func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3152 out := new(TestResponse)
3153 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3154 if err != nil {
3155 return nil, err
3156 }
3157 return out, nil
3158}
3159
William Kurkian1b363f42019-03-12 15:28:12 -04003160// VolthaServiceServer is the server API for VolthaService service.
3161type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04003162 // Get the membership group of a Voltha Core
3163 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3164 // Set the membership group of a Voltha Core
3165 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3166 // Get high level information on the Voltha cluster
3167 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3168 // List all Voltha cluster core instances
3169 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3170 // Get details on a Voltha cluster instance
3171 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3172 // List all active adapters (plugins) in the Voltha cluster
3173 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3174 // List all logical devices managed by the Voltha cluster
3175 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3176 // Get additional information on a given logical device
3177 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3178 // List ports of a logical device
3179 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3180 // Gets a logical device port
3181 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3182 // Enables a logical device port
3183 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3184 // Disables a logical device port
3185 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3186 // List all flows of a logical device
3187 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3188 // Update flow table for logical device
3189 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3190 // Update meter table for logical device
3191 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003192 // List all meters of a logical device
3193 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003194 // List all flow groups of a logical device
3195 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3196 // Update group table for device
3197 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3198 // List all physical devices controlled by the Voltha cluster
3199 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3200 // List all physical devices IDs controlled by the Voltha cluster
3201 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3202 // Request to a voltha Core to reconcile a set of devices based on their IDs
3203 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
3204 // Get more information on a given physical device
3205 GetDevice(context.Context, *common.ID) (*Device, error)
3206 // Pre-provision a new physical device
3207 CreateDevice(context.Context, *Device) (*Device, error)
3208 // Enable a device. If the device was in pre-provisioned state then it
3209 // will transition to ENABLED state. If it was is DISABLED state then it
3210 // will transition to ENABLED state as well.
3211 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3212 // Disable a device
3213 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3214 // Reboot a device
3215 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3216 // Delete a device
3217 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05303218 // Forcefully delete a device
3219 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003220 // Request an image download to the standby partition
3221 // of a device.
3222 // Note that the call is expected to be non-blocking.
3223 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3224 // Get image download status on a device
3225 // The request retrieves progress on device and updates db record
3226 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3227 // Get image download db record
3228 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3229 // List image download db records for a given device
3230 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3231 // Cancel an existing image download process on a device
3232 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3233 // Activate the specified image at a standby partition
3234 // to active partition.
3235 // Depending on the device implementation, this call
3236 // may or may not cause device reboot.
3237 // If no reboot, then a reboot is required to make the
3238 // activated image running on device
3239 // Note that the call is expected to be non-blocking.
3240 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3241 // Revert the specified image at standby partition
3242 // to active partition, and revert to previous image
3243 // Depending on the device implementation, this call
3244 // may or may not cause device reboot.
3245 // If no reboot, then a reboot is required to make the
3246 // previous image running on device
3247 // Note that the call is expected to be non-blocking.
3248 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3249 // List ports of a device
3250 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3251 // List pm config of a device
3252 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3253 // Update the pm config of a device
3254 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3255 // List all flows of a device
3256 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3257 // List all flow groups of a device
3258 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3259 // List device types known to Voltha
3260 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3261 // Get additional information on a device type
3262 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3263 // List all device sharding groups
3264 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3265 // Stream control packets to the dataplane
3266 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3267 // Receive control packet stream
3268 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3269 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3270 // Get additional information on a device group
3271 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003272 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3273 // Get all filters present for a device
3274 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3275 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3276 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3277 // Get all the filters present
3278 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003279 GetImages(context.Context, *common.ID) (*Images, error)
3280 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3281 // OpenOMCI MIB information
3282 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3283 // OpenOMCI ALARM information
3284 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3285 // Simulate an Alarm
3286 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3287 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05003288 EnablePort(context.Context, *Port) (*empty.Empty, error)
3289 DisablePort(context.Context, *Port) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003290 GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error)
dpaul2b52e712020-06-23 13:02:28 +05303291 SetExtValue(context.Context, *ValueSet) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303292 // omci start and stop cli implementation
3293 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003294}
3295
3296func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3297 s.RegisterService(&_VolthaService_serviceDesc, srv)
3298}
3299
William Kurkian1b363f42019-03-12 15:28:12 -04003300func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3301 in := new(empty.Empty)
3302 if err := dec(in); err != nil {
3303 return nil, err
3304 }
3305 if interceptor == nil {
3306 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3307 }
3308 info := &grpc.UnaryServerInfo{
3309 Server: srv,
3310 FullMethod: "/voltha.VolthaService/GetMembership",
3311 }
3312 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3313 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3314 }
3315 return interceptor(ctx, in, info, handler)
3316}
3317
3318func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3319 in := new(Membership)
3320 if err := dec(in); err != nil {
3321 return nil, err
3322 }
3323 if interceptor == nil {
3324 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3325 }
3326 info := &grpc.UnaryServerInfo{
3327 Server: srv,
3328 FullMethod: "/voltha.VolthaService/UpdateMembership",
3329 }
3330 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3331 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3332 }
3333 return interceptor(ctx, in, info, handler)
3334}
3335
3336func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3337 in := new(empty.Empty)
3338 if err := dec(in); err != nil {
3339 return nil, err
3340 }
3341 if interceptor == nil {
3342 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3343 }
3344 info := &grpc.UnaryServerInfo{
3345 Server: srv,
3346 FullMethod: "/voltha.VolthaService/GetVoltha",
3347 }
3348 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3349 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3350 }
3351 return interceptor(ctx, in, info, handler)
3352}
3353
3354func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3355 in := new(empty.Empty)
3356 if err := dec(in); err != nil {
3357 return nil, err
3358 }
3359 if interceptor == nil {
3360 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3361 }
3362 info := &grpc.UnaryServerInfo{
3363 Server: srv,
3364 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3365 }
3366 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3367 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3368 }
3369 return interceptor(ctx, in, info, handler)
3370}
3371
3372func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3373 in := new(common.ID)
3374 if err := dec(in); err != nil {
3375 return nil, err
3376 }
3377 if interceptor == nil {
3378 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3379 }
3380 info := &grpc.UnaryServerInfo{
3381 Server: srv,
3382 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3383 }
3384 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3385 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3386 }
3387 return interceptor(ctx, in, info, handler)
3388}
3389
3390func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3391 in := new(empty.Empty)
3392 if err := dec(in); err != nil {
3393 return nil, err
3394 }
3395 if interceptor == nil {
3396 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3397 }
3398 info := &grpc.UnaryServerInfo{
3399 Server: srv,
3400 FullMethod: "/voltha.VolthaService/ListAdapters",
3401 }
3402 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3403 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3404 }
3405 return interceptor(ctx, in, info, handler)
3406}
3407
3408func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3409 in := new(empty.Empty)
3410 if err := dec(in); err != nil {
3411 return nil, err
3412 }
3413 if interceptor == nil {
3414 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3415 }
3416 info := &grpc.UnaryServerInfo{
3417 Server: srv,
3418 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3419 }
3420 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3421 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3422 }
3423 return interceptor(ctx, in, info, handler)
3424}
3425
3426func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3427 in := new(common.ID)
3428 if err := dec(in); err != nil {
3429 return nil, err
3430 }
3431 if interceptor == nil {
3432 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3433 }
3434 info := &grpc.UnaryServerInfo{
3435 Server: srv,
3436 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3437 }
3438 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3439 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3440 }
3441 return interceptor(ctx, in, info, handler)
3442}
3443
3444func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3445 in := new(common.ID)
3446 if err := dec(in); err != nil {
3447 return nil, err
3448 }
3449 if interceptor == nil {
3450 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3451 }
3452 info := &grpc.UnaryServerInfo{
3453 Server: srv,
3454 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3455 }
3456 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3457 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3458 }
3459 return interceptor(ctx, in, info, handler)
3460}
3461
3462func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3463 in := new(LogicalPortId)
3464 if err := dec(in); err != nil {
3465 return nil, err
3466 }
3467 if interceptor == nil {
3468 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3469 }
3470 info := &grpc.UnaryServerInfo{
3471 Server: srv,
3472 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3473 }
3474 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3475 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3476 }
3477 return interceptor(ctx, in, info, handler)
3478}
3479
3480func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3481 in := new(LogicalPortId)
3482 if err := dec(in); err != nil {
3483 return nil, err
3484 }
3485 if interceptor == nil {
3486 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3487 }
3488 info := &grpc.UnaryServerInfo{
3489 Server: srv,
3490 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3491 }
3492 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3493 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3494 }
3495 return interceptor(ctx, in, info, handler)
3496}
3497
3498func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3499 in := new(LogicalPortId)
3500 if err := dec(in); err != nil {
3501 return nil, err
3502 }
3503 if interceptor == nil {
3504 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3505 }
3506 info := &grpc.UnaryServerInfo{
3507 Server: srv,
3508 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3509 }
3510 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3511 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3512 }
3513 return interceptor(ctx, in, info, handler)
3514}
3515
3516func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3517 in := new(common.ID)
3518 if err := dec(in); err != nil {
3519 return nil, err
3520 }
3521 if interceptor == nil {
3522 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3523 }
3524 info := &grpc.UnaryServerInfo{
3525 Server: srv,
3526 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3527 }
3528 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3529 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3530 }
3531 return interceptor(ctx, in, info, handler)
3532}
3533
3534func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3535 in := new(openflow_13.FlowTableUpdate)
3536 if err := dec(in); err != nil {
3537 return nil, err
3538 }
3539 if interceptor == nil {
3540 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3541 }
3542 info := &grpc.UnaryServerInfo{
3543 Server: srv,
3544 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3545 }
3546 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3547 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3548 }
3549 return interceptor(ctx, in, info, handler)
3550}
3551
3552func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3553 in := new(openflow_13.MeterModUpdate)
3554 if err := dec(in); err != nil {
3555 return nil, err
3556 }
3557 if interceptor == nil {
3558 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3559 }
3560 info := &grpc.UnaryServerInfo{
3561 Server: srv,
3562 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3563 }
3564 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3565 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3566 }
3567 return interceptor(ctx, in, info, handler)
3568}
3569
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003570func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003571 in := new(common.ID)
3572 if err := dec(in); err != nil {
3573 return nil, err
3574 }
3575 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003576 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003577 }
3578 info := &grpc.UnaryServerInfo{
3579 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003580 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003581 }
3582 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003583 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003584 }
3585 return interceptor(ctx, in, info, handler)
3586}
3587
3588func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3589 in := new(common.ID)
3590 if err := dec(in); err != nil {
3591 return nil, err
3592 }
3593 if interceptor == nil {
3594 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3595 }
3596 info := &grpc.UnaryServerInfo{
3597 Server: srv,
3598 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3599 }
3600 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3601 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3602 }
3603 return interceptor(ctx, in, info, handler)
3604}
3605
3606func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3607 in := new(openflow_13.FlowGroupTableUpdate)
3608 if err := dec(in); err != nil {
3609 return nil, err
3610 }
3611 if interceptor == nil {
3612 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3613 }
3614 info := &grpc.UnaryServerInfo{
3615 Server: srv,
3616 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3617 }
3618 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3619 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3620 }
3621 return interceptor(ctx, in, info, handler)
3622}
3623
3624func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3625 in := new(empty.Empty)
3626 if err := dec(in); err != nil {
3627 return nil, err
3628 }
3629 if interceptor == nil {
3630 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3631 }
3632 info := &grpc.UnaryServerInfo{
3633 Server: srv,
3634 FullMethod: "/voltha.VolthaService/ListDevices",
3635 }
3636 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3637 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3638 }
3639 return interceptor(ctx, in, info, handler)
3640}
3641
3642func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3643 in := new(empty.Empty)
3644 if err := dec(in); err != nil {
3645 return nil, err
3646 }
3647 if interceptor == nil {
3648 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3649 }
3650 info := &grpc.UnaryServerInfo{
3651 Server: srv,
3652 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3653 }
3654 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3655 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3656 }
3657 return interceptor(ctx, in, info, handler)
3658}
3659
3660func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3661 in := new(common.IDs)
3662 if err := dec(in); err != nil {
3663 return nil, err
3664 }
3665 if interceptor == nil {
3666 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3667 }
3668 info := &grpc.UnaryServerInfo{
3669 Server: srv,
3670 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3671 }
3672 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3673 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3674 }
3675 return interceptor(ctx, in, info, handler)
3676}
3677
3678func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3679 in := new(common.ID)
3680 if err := dec(in); err != nil {
3681 return nil, err
3682 }
3683 if interceptor == nil {
3684 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3685 }
3686 info := &grpc.UnaryServerInfo{
3687 Server: srv,
3688 FullMethod: "/voltha.VolthaService/GetDevice",
3689 }
3690 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3691 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3692 }
3693 return interceptor(ctx, in, info, handler)
3694}
3695
3696func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3697 in := new(Device)
3698 if err := dec(in); err != nil {
3699 return nil, err
3700 }
3701 if interceptor == nil {
3702 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3703 }
3704 info := &grpc.UnaryServerInfo{
3705 Server: srv,
3706 FullMethod: "/voltha.VolthaService/CreateDevice",
3707 }
3708 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3709 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3710 }
3711 return interceptor(ctx, in, info, handler)
3712}
3713
3714func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3715 in := new(common.ID)
3716 if err := dec(in); err != nil {
3717 return nil, err
3718 }
3719 if interceptor == nil {
3720 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3721 }
3722 info := &grpc.UnaryServerInfo{
3723 Server: srv,
3724 FullMethod: "/voltha.VolthaService/EnableDevice",
3725 }
3726 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3727 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3728 }
3729 return interceptor(ctx, in, info, handler)
3730}
3731
3732func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3733 in := new(common.ID)
3734 if err := dec(in); err != nil {
3735 return nil, err
3736 }
3737 if interceptor == nil {
3738 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3739 }
3740 info := &grpc.UnaryServerInfo{
3741 Server: srv,
3742 FullMethod: "/voltha.VolthaService/DisableDevice",
3743 }
3744 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3745 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3746 }
3747 return interceptor(ctx, in, info, handler)
3748}
3749
3750func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3751 in := new(common.ID)
3752 if err := dec(in); err != nil {
3753 return nil, err
3754 }
3755 if interceptor == nil {
3756 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3757 }
3758 info := &grpc.UnaryServerInfo{
3759 Server: srv,
3760 FullMethod: "/voltha.VolthaService/RebootDevice",
3761 }
3762 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3763 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3764 }
3765 return interceptor(ctx, in, info, handler)
3766}
3767
3768func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3769 in := new(common.ID)
3770 if err := dec(in); err != nil {
3771 return nil, err
3772 }
3773 if interceptor == nil {
3774 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3775 }
3776 info := &grpc.UnaryServerInfo{
3777 Server: srv,
3778 FullMethod: "/voltha.VolthaService/DeleteDevice",
3779 }
3780 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3781 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3782 }
3783 return interceptor(ctx, in, info, handler)
3784}
3785
Himani Chawla503b7ce2020-10-07 13:20:03 +05303786func _VolthaService_ForceDeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3787 in := new(common.ID)
3788 if err := dec(in); err != nil {
3789 return nil, err
3790 }
3791 if interceptor == nil {
3792 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, in)
3793 }
3794 info := &grpc.UnaryServerInfo{
3795 Server: srv,
3796 FullMethod: "/voltha.VolthaService/ForceDeleteDevice",
3797 }
3798 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3799 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, req.(*common.ID))
3800 }
3801 return interceptor(ctx, in, info, handler)
3802}
3803
William Kurkian1b363f42019-03-12 15:28:12 -04003804func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3805 in := new(ImageDownload)
3806 if err := dec(in); err != nil {
3807 return nil, err
3808 }
3809 if interceptor == nil {
3810 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3811 }
3812 info := &grpc.UnaryServerInfo{
3813 Server: srv,
3814 FullMethod: "/voltha.VolthaService/DownloadImage",
3815 }
3816 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3817 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3818 }
3819 return interceptor(ctx, in, info, handler)
3820}
3821
3822func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3823 in := new(ImageDownload)
3824 if err := dec(in); err != nil {
3825 return nil, err
3826 }
3827 if interceptor == nil {
3828 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3829 }
3830 info := &grpc.UnaryServerInfo{
3831 Server: srv,
3832 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3833 }
3834 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3835 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3836 }
3837 return interceptor(ctx, in, info, handler)
3838}
3839
3840func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3841 in := new(ImageDownload)
3842 if err := dec(in); err != nil {
3843 return nil, err
3844 }
3845 if interceptor == nil {
3846 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3847 }
3848 info := &grpc.UnaryServerInfo{
3849 Server: srv,
3850 FullMethod: "/voltha.VolthaService/GetImageDownload",
3851 }
3852 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3853 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3854 }
3855 return interceptor(ctx, in, info, handler)
3856}
3857
3858func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3859 in := new(common.ID)
3860 if err := dec(in); err != nil {
3861 return nil, err
3862 }
3863 if interceptor == nil {
3864 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3865 }
3866 info := &grpc.UnaryServerInfo{
3867 Server: srv,
3868 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3869 }
3870 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3871 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3872 }
3873 return interceptor(ctx, in, info, handler)
3874}
3875
3876func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3877 in := new(ImageDownload)
3878 if err := dec(in); err != nil {
3879 return nil, err
3880 }
3881 if interceptor == nil {
3882 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3883 }
3884 info := &grpc.UnaryServerInfo{
3885 Server: srv,
3886 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3887 }
3888 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3889 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3890 }
3891 return interceptor(ctx, in, info, handler)
3892}
3893
3894func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3895 in := new(ImageDownload)
3896 if err := dec(in); err != nil {
3897 return nil, err
3898 }
3899 if interceptor == nil {
3900 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3901 }
3902 info := &grpc.UnaryServerInfo{
3903 Server: srv,
3904 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3905 }
3906 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3907 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3908 }
3909 return interceptor(ctx, in, info, handler)
3910}
3911
3912func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3913 in := new(ImageDownload)
3914 if err := dec(in); err != nil {
3915 return nil, err
3916 }
3917 if interceptor == nil {
3918 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3919 }
3920 info := &grpc.UnaryServerInfo{
3921 Server: srv,
3922 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3923 }
3924 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3925 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3926 }
3927 return interceptor(ctx, in, info, handler)
3928}
3929
3930func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3931 in := new(common.ID)
3932 if err := dec(in); err != nil {
3933 return nil, err
3934 }
3935 if interceptor == nil {
3936 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3937 }
3938 info := &grpc.UnaryServerInfo{
3939 Server: srv,
3940 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3941 }
3942 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3943 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3944 }
3945 return interceptor(ctx, in, info, handler)
3946}
3947
3948func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3949 in := new(common.ID)
3950 if err := dec(in); err != nil {
3951 return nil, err
3952 }
3953 if interceptor == nil {
3954 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3955 }
3956 info := &grpc.UnaryServerInfo{
3957 Server: srv,
3958 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3959 }
3960 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3961 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3962 }
3963 return interceptor(ctx, in, info, handler)
3964}
3965
3966func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3967 in := new(PmConfigs)
3968 if err := dec(in); err != nil {
3969 return nil, err
3970 }
3971 if interceptor == nil {
3972 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3973 }
3974 info := &grpc.UnaryServerInfo{
3975 Server: srv,
3976 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3977 }
3978 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3979 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3980 }
3981 return interceptor(ctx, in, info, handler)
3982}
3983
3984func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3985 in := new(common.ID)
3986 if err := dec(in); err != nil {
3987 return nil, err
3988 }
3989 if interceptor == nil {
3990 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3991 }
3992 info := &grpc.UnaryServerInfo{
3993 Server: srv,
3994 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3995 }
3996 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3997 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3998 }
3999 return interceptor(ctx, in, info, handler)
4000}
4001
4002func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4003 in := new(common.ID)
4004 if err := dec(in); err != nil {
4005 return nil, err
4006 }
4007 if interceptor == nil {
4008 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
4009 }
4010 info := &grpc.UnaryServerInfo{
4011 Server: srv,
4012 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
4013 }
4014 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4015 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
4016 }
4017 return interceptor(ctx, in, info, handler)
4018}
4019
4020func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4021 in := new(empty.Empty)
4022 if err := dec(in); err != nil {
4023 return nil, err
4024 }
4025 if interceptor == nil {
4026 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
4027 }
4028 info := &grpc.UnaryServerInfo{
4029 Server: srv,
4030 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
4031 }
4032 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4033 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
4034 }
4035 return interceptor(ctx, in, info, handler)
4036}
4037
4038func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4039 in := new(common.ID)
4040 if err := dec(in); err != nil {
4041 return nil, err
4042 }
4043 if interceptor == nil {
4044 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
4045 }
4046 info := &grpc.UnaryServerInfo{
4047 Server: srv,
4048 FullMethod: "/voltha.VolthaService/GetDeviceType",
4049 }
4050 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4051 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
4052 }
4053 return interceptor(ctx, in, info, handler)
4054}
4055
4056func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4057 in := new(empty.Empty)
4058 if err := dec(in); err != nil {
4059 return nil, err
4060 }
4061 if interceptor == nil {
4062 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
4063 }
4064 info := &grpc.UnaryServerInfo{
4065 Server: srv,
4066 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
4067 }
4068 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4069 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
4070 }
4071 return interceptor(ctx, in, info, handler)
4072}
4073
4074func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
4075 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
4076}
4077
4078type VolthaService_StreamPacketsOutServer interface {
4079 SendAndClose(*empty.Empty) error
4080 Recv() (*openflow_13.PacketOut, error)
4081 grpc.ServerStream
4082}
4083
4084type volthaServiceStreamPacketsOutServer struct {
4085 grpc.ServerStream
4086}
4087
4088func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
4089 return x.ServerStream.SendMsg(m)
4090}
4091
4092func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
4093 m := new(openflow_13.PacketOut)
4094 if err := x.ServerStream.RecvMsg(m); err != nil {
4095 return nil, err
4096 }
4097 return m, nil
4098}
4099
4100func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
4101 m := new(empty.Empty)
4102 if err := stream.RecvMsg(m); err != nil {
4103 return err
4104 }
4105 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
4106}
4107
4108type VolthaService_ReceivePacketsInServer interface {
4109 Send(*openflow_13.PacketIn) error
4110 grpc.ServerStream
4111}
4112
4113type volthaServiceReceivePacketsInServer struct {
4114 grpc.ServerStream
4115}
4116
4117func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
4118 return x.ServerStream.SendMsg(m)
4119}
4120
4121func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
4122 m := new(empty.Empty)
4123 if err := stream.RecvMsg(m); err != nil {
4124 return err
4125 }
4126 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
4127}
4128
4129type VolthaService_ReceiveChangeEventsServer interface {
4130 Send(*openflow_13.ChangeEvent) error
4131 grpc.ServerStream
4132}
4133
4134type volthaServiceReceiveChangeEventsServer struct {
4135 grpc.ServerStream
4136}
4137
4138func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
4139 return x.ServerStream.SendMsg(m)
4140}
4141
4142func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4143 in := new(common.ID)
4144 if err := dec(in); err != nil {
4145 return nil, err
4146 }
4147 if interceptor == nil {
4148 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
4149 }
4150 info := &grpc.UnaryServerInfo{
4151 Server: srv,
4152 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
4153 }
4154 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4155 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
4156 }
4157 return interceptor(ctx, in, info, handler)
4158}
4159
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004160func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4161 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004162 if err := dec(in); err != nil {
4163 return nil, err
4164 }
4165 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004166 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004167 }
4168 info := &grpc.UnaryServerInfo{
4169 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004170 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004171 }
4172 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004173 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004174 }
4175 return interceptor(ctx, in, info, handler)
4176}
4177
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004178func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004179 in := new(common.ID)
4180 if err := dec(in); err != nil {
4181 return nil, err
4182 }
4183 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004184 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004185 }
4186 info := &grpc.UnaryServerInfo{
4187 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004188 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004189 }
4190 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004191 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04004192 }
4193 return interceptor(ctx, in, info, handler)
4194}
4195
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004196func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4197 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004198 if err := dec(in); err != nil {
4199 return nil, err
4200 }
4201 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004202 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004203 }
4204 info := &grpc.UnaryServerInfo{
4205 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004206 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004207 }
4208 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004209 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004210 }
4211 return interceptor(ctx, in, info, handler)
4212}
4213
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004214func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4215 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004216 if err := dec(in); err != nil {
4217 return nil, err
4218 }
4219 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004220 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004221 }
4222 info := &grpc.UnaryServerInfo{
4223 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004224 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004225 }
4226 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004227 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004228 }
4229 return interceptor(ctx, in, info, handler)
4230}
4231
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004232func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004233 in := new(empty.Empty)
4234 if err := dec(in); err != nil {
4235 return nil, err
4236 }
4237 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004238 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004239 }
4240 info := &grpc.UnaryServerInfo{
4241 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004242 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04004243 }
4244 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004245 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04004246 }
4247 return interceptor(ctx, in, info, handler)
4248}
4249
4250func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4251 in := new(common.ID)
4252 if err := dec(in); err != nil {
4253 return nil, err
4254 }
4255 if interceptor == nil {
4256 return srv.(VolthaServiceServer).GetImages(ctx, in)
4257 }
4258 info := &grpc.UnaryServerInfo{
4259 Server: srv,
4260 FullMethod: "/voltha.VolthaService/GetImages",
4261 }
4262 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4263 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4264 }
4265 return interceptor(ctx, in, info, handler)
4266}
4267
4268func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4269 in := new(common.ID)
4270 if err := dec(in); err != nil {
4271 return nil, err
4272 }
4273 if interceptor == nil {
4274 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4275 }
4276 info := &grpc.UnaryServerInfo{
4277 Server: srv,
4278 FullMethod: "/voltha.VolthaService/SelfTest",
4279 }
4280 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4281 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4282 }
4283 return interceptor(ctx, in, info, handler)
4284}
4285
4286func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4287 in := new(common.ID)
4288 if err := dec(in); err != nil {
4289 return nil, err
4290 }
4291 if interceptor == nil {
4292 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4293 }
4294 info := &grpc.UnaryServerInfo{
4295 Server: srv,
4296 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4297 }
4298 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4299 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4300 }
4301 return interceptor(ctx, in, info, handler)
4302}
4303
4304func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4305 in := new(common.ID)
4306 if err := dec(in); err != nil {
4307 return nil, err
4308 }
4309 if interceptor == nil {
4310 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4311 }
4312 info := &grpc.UnaryServerInfo{
4313 Server: srv,
4314 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4315 }
4316 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4317 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4318 }
4319 return interceptor(ctx, in, info, handler)
4320}
4321
4322func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4323 in := new(SimulateAlarmRequest)
4324 if err := dec(in); err != nil {
4325 return nil, err
4326 }
4327 if interceptor == nil {
4328 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4329 }
4330 info := &grpc.UnaryServerInfo{
4331 Server: srv,
4332 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4333 }
4334 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4335 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4336 }
4337 return interceptor(ctx, in, info, handler)
4338}
4339
4340func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4341 in := new(OfAgentSubscriber)
4342 if err := dec(in); err != nil {
4343 return nil, err
4344 }
4345 if interceptor == nil {
4346 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4347 }
4348 info := &grpc.UnaryServerInfo{
4349 Server: srv,
4350 FullMethod: "/voltha.VolthaService/Subscribe",
4351 }
4352 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4353 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4354 }
4355 return interceptor(ctx, in, info, handler)
4356}
4357
kesavand4a002b02020-01-23 21:29:47 -05004358func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4359 in := new(Port)
4360 if err := dec(in); err != nil {
4361 return nil, err
4362 }
4363 if interceptor == nil {
4364 return srv.(VolthaServiceServer).EnablePort(ctx, in)
4365 }
4366 info := &grpc.UnaryServerInfo{
4367 Server: srv,
4368 FullMethod: "/voltha.VolthaService/EnablePort",
4369 }
4370 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4371 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
4372 }
4373 return interceptor(ctx, in, info, handler)
4374}
4375
4376func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4377 in := new(Port)
4378 if err := dec(in); err != nil {
4379 return nil, err
4380 }
4381 if interceptor == nil {
4382 return srv.(VolthaServiceServer).DisablePort(ctx, in)
4383 }
4384 info := &grpc.UnaryServerInfo{
4385 Server: srv,
4386 FullMethod: "/voltha.VolthaService/DisablePort",
4387 }
4388 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4389 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
4390 }
4391 return interceptor(ctx, in, info, handler)
4392}
4393
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004394func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4395 in := new(common.ValueSpecifier)
4396 if err := dec(in); err != nil {
4397 return nil, err
4398 }
4399 if interceptor == nil {
4400 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
4401 }
4402 info := &grpc.UnaryServerInfo{
4403 Server: srv,
4404 FullMethod: "/voltha.VolthaService/GetExtValue",
4405 }
4406 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4407 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*common.ValueSpecifier))
4408 }
4409 return interceptor(ctx, in, info, handler)
4410}
4411
dpaul2b52e712020-06-23 13:02:28 +05304412func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4413 in := new(ValueSet)
4414 if err := dec(in); err != nil {
4415 return nil, err
4416 }
4417 if interceptor == nil {
4418 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
4419 }
4420 info := &grpc.UnaryServerInfo{
4421 Server: srv,
4422 FullMethod: "/voltha.VolthaService/SetExtValue",
4423 }
4424 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4425 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*ValueSet))
4426 }
4427 return interceptor(ctx, in, info, handler)
4428}
4429
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304430func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4431 in := new(OmciTestRequest)
4432 if err := dec(in); err != nil {
4433 return nil, err
4434 }
4435 if interceptor == nil {
4436 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
4437 }
4438 info := &grpc.UnaryServerInfo{
4439 Server: srv,
4440 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
4441 }
4442 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4443 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest))
4444 }
4445 return interceptor(ctx, in, info, handler)
4446}
4447
William Kurkian1b363f42019-03-12 15:28:12 -04004448var _VolthaService_serviceDesc = grpc.ServiceDesc{
4449 ServiceName: "voltha.VolthaService",
4450 HandlerType: (*VolthaServiceServer)(nil),
4451 Methods: []grpc.MethodDesc{
4452 {
William Kurkian1b363f42019-03-12 15:28:12 -04004453 MethodName: "GetMembership",
4454 Handler: _VolthaService_GetMembership_Handler,
4455 },
4456 {
4457 MethodName: "UpdateMembership",
4458 Handler: _VolthaService_UpdateMembership_Handler,
4459 },
4460 {
4461 MethodName: "GetVoltha",
4462 Handler: _VolthaService_GetVoltha_Handler,
4463 },
4464 {
4465 MethodName: "ListCoreInstances",
4466 Handler: _VolthaService_ListCoreInstances_Handler,
4467 },
4468 {
4469 MethodName: "GetCoreInstance",
4470 Handler: _VolthaService_GetCoreInstance_Handler,
4471 },
4472 {
4473 MethodName: "ListAdapters",
4474 Handler: _VolthaService_ListAdapters_Handler,
4475 },
4476 {
4477 MethodName: "ListLogicalDevices",
4478 Handler: _VolthaService_ListLogicalDevices_Handler,
4479 },
4480 {
4481 MethodName: "GetLogicalDevice",
4482 Handler: _VolthaService_GetLogicalDevice_Handler,
4483 },
4484 {
4485 MethodName: "ListLogicalDevicePorts",
4486 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4487 },
4488 {
4489 MethodName: "GetLogicalDevicePort",
4490 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4491 },
4492 {
4493 MethodName: "EnableLogicalDevicePort",
4494 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4495 },
4496 {
4497 MethodName: "DisableLogicalDevicePort",
4498 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4499 },
4500 {
4501 MethodName: "ListLogicalDeviceFlows",
4502 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4503 },
4504 {
4505 MethodName: "UpdateLogicalDeviceFlowTable",
4506 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4507 },
4508 {
4509 MethodName: "UpdateLogicalDeviceMeterTable",
4510 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4511 },
4512 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004513 MethodName: "ListLogicalDeviceMeters",
4514 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004515 },
4516 {
4517 MethodName: "ListLogicalDeviceFlowGroups",
4518 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4519 },
4520 {
4521 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4522 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4523 },
4524 {
4525 MethodName: "ListDevices",
4526 Handler: _VolthaService_ListDevices_Handler,
4527 },
4528 {
4529 MethodName: "ListDeviceIds",
4530 Handler: _VolthaService_ListDeviceIds_Handler,
4531 },
4532 {
4533 MethodName: "ReconcileDevices",
4534 Handler: _VolthaService_ReconcileDevices_Handler,
4535 },
4536 {
4537 MethodName: "GetDevice",
4538 Handler: _VolthaService_GetDevice_Handler,
4539 },
4540 {
4541 MethodName: "CreateDevice",
4542 Handler: _VolthaService_CreateDevice_Handler,
4543 },
4544 {
4545 MethodName: "EnableDevice",
4546 Handler: _VolthaService_EnableDevice_Handler,
4547 },
4548 {
4549 MethodName: "DisableDevice",
4550 Handler: _VolthaService_DisableDevice_Handler,
4551 },
4552 {
4553 MethodName: "RebootDevice",
4554 Handler: _VolthaService_RebootDevice_Handler,
4555 },
4556 {
4557 MethodName: "DeleteDevice",
4558 Handler: _VolthaService_DeleteDevice_Handler,
4559 },
4560 {
Himani Chawla503b7ce2020-10-07 13:20:03 +05304561 MethodName: "ForceDeleteDevice",
4562 Handler: _VolthaService_ForceDeleteDevice_Handler,
4563 },
4564 {
William Kurkian1b363f42019-03-12 15:28:12 -04004565 MethodName: "DownloadImage",
4566 Handler: _VolthaService_DownloadImage_Handler,
4567 },
4568 {
4569 MethodName: "GetImageDownloadStatus",
4570 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4571 },
4572 {
4573 MethodName: "GetImageDownload",
4574 Handler: _VolthaService_GetImageDownload_Handler,
4575 },
4576 {
4577 MethodName: "ListImageDownloads",
4578 Handler: _VolthaService_ListImageDownloads_Handler,
4579 },
4580 {
4581 MethodName: "CancelImageDownload",
4582 Handler: _VolthaService_CancelImageDownload_Handler,
4583 },
4584 {
4585 MethodName: "ActivateImageUpdate",
4586 Handler: _VolthaService_ActivateImageUpdate_Handler,
4587 },
4588 {
4589 MethodName: "RevertImageUpdate",
4590 Handler: _VolthaService_RevertImageUpdate_Handler,
4591 },
4592 {
4593 MethodName: "ListDevicePorts",
4594 Handler: _VolthaService_ListDevicePorts_Handler,
4595 },
4596 {
4597 MethodName: "ListDevicePmConfigs",
4598 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4599 },
4600 {
4601 MethodName: "UpdateDevicePmConfigs",
4602 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4603 },
4604 {
4605 MethodName: "ListDeviceFlows",
4606 Handler: _VolthaService_ListDeviceFlows_Handler,
4607 },
4608 {
4609 MethodName: "ListDeviceFlowGroups",
4610 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4611 },
4612 {
4613 MethodName: "ListDeviceTypes",
4614 Handler: _VolthaService_ListDeviceTypes_Handler,
4615 },
4616 {
4617 MethodName: "GetDeviceType",
4618 Handler: _VolthaService_GetDeviceType_Handler,
4619 },
4620 {
4621 MethodName: "ListDeviceGroups",
4622 Handler: _VolthaService_ListDeviceGroups_Handler,
4623 },
4624 {
4625 MethodName: "GetDeviceGroup",
4626 Handler: _VolthaService_GetDeviceGroup_Handler,
4627 },
4628 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004629 MethodName: "CreateEventFilter",
4630 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004631 },
4632 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004633 MethodName: "GetEventFilter",
4634 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004635 },
4636 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004637 MethodName: "UpdateEventFilter",
4638 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004639 },
4640 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004641 MethodName: "DeleteEventFilter",
4642 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004643 },
4644 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004645 MethodName: "ListEventFilters",
4646 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004647 },
4648 {
4649 MethodName: "GetImages",
4650 Handler: _VolthaService_GetImages_Handler,
4651 },
4652 {
4653 MethodName: "SelfTest",
4654 Handler: _VolthaService_SelfTest_Handler,
4655 },
4656 {
4657 MethodName: "GetMibDeviceData",
4658 Handler: _VolthaService_GetMibDeviceData_Handler,
4659 },
4660 {
4661 MethodName: "GetAlarmDeviceData",
4662 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4663 },
4664 {
4665 MethodName: "SimulateAlarm",
4666 Handler: _VolthaService_SimulateAlarm_Handler,
4667 },
4668 {
4669 MethodName: "Subscribe",
4670 Handler: _VolthaService_Subscribe_Handler,
4671 },
kesavand4a002b02020-01-23 21:29:47 -05004672 {
4673 MethodName: "EnablePort",
4674 Handler: _VolthaService_EnablePort_Handler,
4675 },
4676 {
4677 MethodName: "DisablePort",
4678 Handler: _VolthaService_DisablePort_Handler,
4679 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304680 {
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004681 MethodName: "GetExtValue",
4682 Handler: _VolthaService_GetExtValue_Handler,
4683 },
4684 {
dpaul2b52e712020-06-23 13:02:28 +05304685 MethodName: "SetExtValue",
4686 Handler: _VolthaService_SetExtValue_Handler,
4687 },
4688 {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304689 MethodName: "StartOmciTestAction",
4690 Handler: _VolthaService_StartOmciTestAction_Handler,
4691 },
William Kurkian1b363f42019-03-12 15:28:12 -04004692 },
4693 Streams: []grpc.StreamDesc{
4694 {
4695 StreamName: "StreamPacketsOut",
4696 Handler: _VolthaService_StreamPacketsOut_Handler,
4697 ClientStreams: true,
4698 },
4699 {
4700 StreamName: "ReceivePacketsIn",
4701 Handler: _VolthaService_ReceivePacketsIn_Handler,
4702 ServerStreams: true,
4703 },
4704 {
4705 StreamName: "ReceiveChangeEvents",
4706 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4707 ServerStreams: true,
4708 },
4709 },
4710 Metadata: "voltha_protos/voltha.proto",
4711}