blob: e34db79566282d9ae60c410d25c75484b5d87683 [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/voltha.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package voltha
William Kurkian1b363f42019-03-12 15:28:12 -04005
6import (
William Kurkianad745652019-03-20 08:45:51 -04007 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
10 empty "github.com/golang/protobuf/ptypes/empty"
Matteo Scandolob3c08ae2020-10-14 13:15:43 -070011 common "github.com/opencord/voltha-protos/v4/go/common"
12 config "github.com/opencord/voltha-protos/v4/go/ext/config"
13 omci "github.com/opencord/voltha-protos/v4/go/omci"
14 openflow_13 "github.com/opencord/voltha-protos/v4/go/openflow_13"
William Kurkianad745652019-03-20 08:45:51 -040015 _ "google.golang.org/genproto/googleapis/api/annotations"
William Kurkian1b363f42019-03-12 15:28:12 -040016 grpc "google.golang.org/grpc"
William Kurkianad745652019-03-20 08:45:51 -040017 math "math"
William Kurkian1b363f42019-03-12 15:28:12 -040018)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040029const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040030
31// ChildNode from public import voltha_protos/meta.proto
32type ChildNode = common.ChildNode
33
34// Access from public import voltha_protos/meta.proto
35type Access = common.Access
36
37var Access_name = common.Access_name
38var Access_value = common.Access_value
39
40const Access_CONFIG = Access(common.Access_CONFIG)
41const Access_READ_ONLY = Access(common.Access_READ_ONLY)
42const Access_REAL_TIME = Access(common.Access_REAL_TIME)
43
William Kurkian1b363f42019-03-12 15:28:12 -040044var E_ChildNode = common.E_ChildNode
45
William Kurkian1b363f42019-03-12 15:28:12 -040046var E_Access = common.E_Access
47
48// ID from public import voltha_protos/common.proto
49type ID = common.ID
50
51// IDs from public import voltha_protos/common.proto
52type IDs = common.IDs
53
William Kurkian1b363f42019-03-12 15:28:12 -040054// AdminState from public import voltha_protos/common.proto
55type AdminState = common.AdminState
56
57// OperStatus from public import voltha_protos/common.proto
58type OperStatus = common.OperStatus
59
60// ConnectStatus from public import voltha_protos/common.proto
61type ConnectStatus = common.ConnectStatus
62
63// OperationResp from public import voltha_protos/common.proto
64type OperationResp = common.OperationResp
65
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -080066// ValueType from public import voltha_protos/common.proto
67type ValueType = common.ValueType
68
69// ValueSpecifier from public import voltha_protos/common.proto
70type ValueSpecifier = common.ValueSpecifier
71
72// ReturnValues from public import voltha_protos/common.proto
73type ReturnValues = common.ReturnValues
74
William Kurkian1b363f42019-03-12 15:28:12 -040075// TestModeKeys from public import voltha_protos/common.proto
76type TestModeKeys = common.TestModeKeys
77
78var TestModeKeys_name = common.TestModeKeys_name
79var TestModeKeys_value = common.TestModeKeys_value
80
81const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
82
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030083// AdminState_Types from public import voltha_protos/common.proto
84type AdminState_Types = common.AdminState_Types
William Kurkian1b363f42019-03-12 15:28:12 -040085
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030086var AdminState_Types_name = common.AdminState_Types_name
87var AdminState_Types_value = common.AdminState_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040088
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030089const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
90const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
91const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
92const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
93const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
William Kurkian1b363f42019-03-12 15:28:12 -040094
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030095// OperStatus_Types from public import voltha_protos/common.proto
96type OperStatus_Types = common.OperStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -040097
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030098var OperStatus_Types_name = common.OperStatus_Types_name
99var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400100
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300101const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
102const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
103const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
104const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
105const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
106const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
William Kurkian1b363f42019-03-12 15:28:12 -0400107
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300108// ConnectStatus_Types from public import voltha_protos/common.proto
109type ConnectStatus_Types = common.ConnectStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400110
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300111var ConnectStatus_Types_name = common.ConnectStatus_Types_name
112var ConnectStatus_Types_value = common.ConnectStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400113
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300114const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
115const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
116const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
William Kurkian1b363f42019-03-12 15:28:12 -0400117
William Kurkianad745652019-03-20 08:45:51 -0400118// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400119type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
120
121var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
122var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
123
124const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
125const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
126const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
Maninderc4e609e2020-12-23 16:28:22 +0530127const OperationResp_OPERATION_IN_PROGRESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_IN_PROGRESS)
William Kurkian1b363f42019-03-12 15:28:12 -0400128
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800129// ValueType_Type from public import voltha_protos/common.proto
130type ValueType_Type = common.ValueType_Type
131
132var ValueType_Type_name = common.ValueType_Type_name
133var ValueType_Type_value = common.ValueType_Type_value
134
135const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY)
136const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE)
137
William Kurkianad745652019-03-20 08:45:51 -0400138// OfpHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400139type OfpHeader = openflow_13.OfpHeader
140
William Kurkianad745652019-03-20 08:45:51 -0400141// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400142type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
143type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
144
William Kurkianad745652019-03-20 08:45:51 -0400145// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400146type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
147
William Kurkianad745652019-03-20 08:45:51 -0400148// OfpHello from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400149type OfpHello = openflow_13.OfpHello
150
William Kurkianad745652019-03-20 08:45:51 -0400151// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400152type OfpSwitchConfig = openflow_13.OfpSwitchConfig
153
William Kurkianad745652019-03-20 08:45:51 -0400154// OfpTableMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400155type OfpTableMod = openflow_13.OfpTableMod
156
William Kurkianad745652019-03-20 08:45:51 -0400157// OfpPort from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400158type OfpPort = openflow_13.OfpPort
159
William Kurkianad745652019-03-20 08:45:51 -0400160// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400161type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
162
William Kurkianad745652019-03-20 08:45:51 -0400163// OfpPortStatus from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400164type OfpPortStatus = openflow_13.OfpPortStatus
165
William Kurkianad745652019-03-20 08:45:51 -0400166// OfpPortMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400167type OfpPortMod = openflow_13.OfpPortMod
168
William Kurkianad745652019-03-20 08:45:51 -0400169// OfpMatch from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400170type OfpMatch = openflow_13.OfpMatch
171
William Kurkianad745652019-03-20 08:45:51 -0400172// OfpOxmField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400173type OfpOxmField = openflow_13.OfpOxmField
174type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
175type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
176
William Kurkianad745652019-03-20 08:45:51 -0400177// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400178type OfpOxmOfbField = openflow_13.OfpOxmOfbField
179type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
180type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
181type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
182type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
183type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
184type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
185type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
186type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
187type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
188type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
189type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
190type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
191type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
192type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
193type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
194type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
195type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
196type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
197type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
198type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
199type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
200type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
201type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
202type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
203type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
204type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
205type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
206type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
207type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
208type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
209type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
210type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
211type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
212type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
213type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
214type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
215type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
216type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
217type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
218type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
219type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
220type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
221type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
222type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
223type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
224type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
225type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
226type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
227type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
228type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
229type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
230type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
231type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
232type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
233
William Kurkianad745652019-03-20 08:45:51 -0400234// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400235type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
236
William Kurkianad745652019-03-20 08:45:51 -0400237// OfpAction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400238type OfpAction = openflow_13.OfpAction
239type OfpAction_Output = openflow_13.OfpAction_Output
240type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
241type OfpAction_Push = openflow_13.OfpAction_Push
242type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
243type OfpAction_Group = openflow_13.OfpAction_Group
244type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
245type OfpAction_SetField = openflow_13.OfpAction_SetField
246type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
247
William Kurkianad745652019-03-20 08:45:51 -0400248// OfpActionOutput from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400249type OfpActionOutput = openflow_13.OfpActionOutput
250
William Kurkianad745652019-03-20 08:45:51 -0400251// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400252type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
253
William Kurkianad745652019-03-20 08:45:51 -0400254// OfpActionPush from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400255type OfpActionPush = openflow_13.OfpActionPush
256
William Kurkianad745652019-03-20 08:45:51 -0400257// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400258type OfpActionPopMpls = openflow_13.OfpActionPopMpls
259
William Kurkianad745652019-03-20 08:45:51 -0400260// OfpActionGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400261type OfpActionGroup = openflow_13.OfpActionGroup
262
William Kurkianad745652019-03-20 08:45:51 -0400263// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400264type OfpActionNwTtl = openflow_13.OfpActionNwTtl
265
William Kurkianad745652019-03-20 08:45:51 -0400266// OfpActionSetField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400267type OfpActionSetField = openflow_13.OfpActionSetField
268
William Kurkianad745652019-03-20 08:45:51 -0400269// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400270type OfpActionExperimenter = openflow_13.OfpActionExperimenter
271
William Kurkianad745652019-03-20 08:45:51 -0400272// OfpInstruction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400273type OfpInstruction = openflow_13.OfpInstruction
274type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
275type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
276type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
277type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
278type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
279
William Kurkianad745652019-03-20 08:45:51 -0400280// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400281type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
282
William Kurkianad745652019-03-20 08:45:51 -0400283// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400284type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
285
William Kurkianad745652019-03-20 08:45:51 -0400286// OfpInstructionActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400287type OfpInstructionActions = openflow_13.OfpInstructionActions
288
William Kurkianad745652019-03-20 08:45:51 -0400289// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400290type OfpInstructionMeter = openflow_13.OfpInstructionMeter
291
William Kurkianad745652019-03-20 08:45:51 -0400292// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400293type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
294
William Kurkianad745652019-03-20 08:45:51 -0400295// OfpFlowMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400296type OfpFlowMod = openflow_13.OfpFlowMod
297
William Kurkianad745652019-03-20 08:45:51 -0400298// OfpBucket from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400299type OfpBucket = openflow_13.OfpBucket
300
William Kurkianad745652019-03-20 08:45:51 -0400301// OfpGroupMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400302type OfpGroupMod = openflow_13.OfpGroupMod
303
William Kurkianad745652019-03-20 08:45:51 -0400304// OfpPacketOut from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400305type OfpPacketOut = openflow_13.OfpPacketOut
306
William Kurkianad745652019-03-20 08:45:51 -0400307// OfpPacketIn from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400308type OfpPacketIn = openflow_13.OfpPacketIn
309
William Kurkianad745652019-03-20 08:45:51 -0400310// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400311type OfpFlowRemoved = openflow_13.OfpFlowRemoved
312
William Kurkianad745652019-03-20 08:45:51 -0400313// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400314type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
315type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
316type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
317type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
318
William Kurkianad745652019-03-20 08:45:51 -0400319// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400320type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
321
William Kurkianad745652019-03-20 08:45:51 -0400322// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400323type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
324
William Kurkianad745652019-03-20 08:45:51 -0400325// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400326type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
327
William Kurkianad745652019-03-20 08:45:51 -0400328// OfpMeterMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400329type OfpMeterMod = openflow_13.OfpMeterMod
330
William Kurkianad745652019-03-20 08:45:51 -0400331// OfpErrorMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400332type OfpErrorMsg = openflow_13.OfpErrorMsg
333
William Kurkianad745652019-03-20 08:45:51 -0400334// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400335type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
336
William Kurkianad745652019-03-20 08:45:51 -0400337// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400338type OfpMultipartRequest = openflow_13.OfpMultipartRequest
339
William Kurkianad745652019-03-20 08:45:51 -0400340// OfpMultipartReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400341type OfpMultipartReply = openflow_13.OfpMultipartReply
342
William Kurkianad745652019-03-20 08:45:51 -0400343// OfpDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400344type OfpDesc = openflow_13.OfpDesc
345
William Kurkianad745652019-03-20 08:45:51 -0400346// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400347type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
348
William Kurkianad745652019-03-20 08:45:51 -0400349// OfpFlowStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400350type OfpFlowStats = openflow_13.OfpFlowStats
351
William Kurkianad745652019-03-20 08:45:51 -0400352// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400353type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
354
William Kurkianad745652019-03-20 08:45:51 -0400355// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400356type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
357
William Kurkianad745652019-03-20 08:45:51 -0400358// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400359type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
360type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
361type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
362type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
363type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
364type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
365
William Kurkianad745652019-03-20 08:45:51 -0400366// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400367type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
368
William Kurkianad745652019-03-20 08:45:51 -0400369// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400370type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
371
William Kurkianad745652019-03-20 08:45:51 -0400372// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400373type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
374
William Kurkianad745652019-03-20 08:45:51 -0400375// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400376type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
377
William Kurkianad745652019-03-20 08:45:51 -0400378// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400379type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
380
William Kurkianad745652019-03-20 08:45:51 -0400381// OfpTableFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400382type OfpTableFeatures = openflow_13.OfpTableFeatures
383
William Kurkianad745652019-03-20 08:45:51 -0400384// OfpTableStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400385type OfpTableStats = openflow_13.OfpTableStats
386
William Kurkianad745652019-03-20 08:45:51 -0400387// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400388type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
389
William Kurkianad745652019-03-20 08:45:51 -0400390// OfpPortStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400391type OfpPortStats = openflow_13.OfpPortStats
392
William Kurkianad745652019-03-20 08:45:51 -0400393// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400394type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
395
William Kurkianad745652019-03-20 08:45:51 -0400396// OfpBucketCounter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400397type OfpBucketCounter = openflow_13.OfpBucketCounter
398
William Kurkianad745652019-03-20 08:45:51 -0400399// OfpGroupStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400400type OfpGroupStats = openflow_13.OfpGroupStats
401
William Kurkianad745652019-03-20 08:45:51 -0400402// OfpGroupDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400403type OfpGroupDesc = openflow_13.OfpGroupDesc
404
William Kurkianad745652019-03-20 08:45:51 -0400405// OfpGroupEntry from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400406type OfpGroupEntry = openflow_13.OfpGroupEntry
407
William Kurkianad745652019-03-20 08:45:51 -0400408// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400409type OfpGroupFeatures = openflow_13.OfpGroupFeatures
410
William Kurkianad745652019-03-20 08:45:51 -0400411// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400412type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
413
William Kurkianad745652019-03-20 08:45:51 -0400414// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400415type OfpMeterBandStats = openflow_13.OfpMeterBandStats
416
William Kurkianad745652019-03-20 08:45:51 -0400417// OfpMeterStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400418type OfpMeterStats = openflow_13.OfpMeterStats
419
William Kurkianad745652019-03-20 08:45:51 -0400420// OfpMeterConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400421type OfpMeterConfig = openflow_13.OfpMeterConfig
422
William Kurkianad745652019-03-20 08:45:51 -0400423// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400424type OfpMeterFeatures = openflow_13.OfpMeterFeatures
425
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400426// OfpMeterEntry from public import voltha_protos/openflow_13.proto
427type OfpMeterEntry = openflow_13.OfpMeterEntry
428
William Kurkianad745652019-03-20 08:45:51 -0400429// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400430type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
431
William Kurkianad745652019-03-20 08:45:51 -0400432// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400433type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
434
William Kurkianad745652019-03-20 08:45:51 -0400435// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400436type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
437
William Kurkianad745652019-03-20 08:45:51 -0400438// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400439type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
440
William Kurkianad745652019-03-20 08:45:51 -0400441// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400442type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
443
William Kurkianad745652019-03-20 08:45:51 -0400444// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400445type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
446
William Kurkianad745652019-03-20 08:45:51 -0400447// OfpPacketQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400448type OfpPacketQueue = openflow_13.OfpPacketQueue
449
William Kurkianad745652019-03-20 08:45:51 -0400450// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400451type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
452
William Kurkianad745652019-03-20 08:45:51 -0400453// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400454type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
455
William Kurkianad745652019-03-20 08:45:51 -0400456// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400457type OfpActionSetQueue = openflow_13.OfpActionSetQueue
458
William Kurkianad745652019-03-20 08:45:51 -0400459// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400460type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
461
William Kurkianad745652019-03-20 08:45:51 -0400462// OfpQueueStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400463type OfpQueueStats = openflow_13.OfpQueueStats
464
William Kurkianad745652019-03-20 08:45:51 -0400465// OfpRoleRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400466type OfpRoleRequest = openflow_13.OfpRoleRequest
467
William Kurkianad745652019-03-20 08:45:51 -0400468// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400469type OfpAsyncConfig = openflow_13.OfpAsyncConfig
470
471// MeterModUpdate from public import voltha_protos/openflow_13.proto
472type MeterModUpdate = openflow_13.MeterModUpdate
473
474// MeterStatsReply from public import voltha_protos/openflow_13.proto
475type MeterStatsReply = openflow_13.MeterStatsReply
476
477// FlowTableUpdate from public import voltha_protos/openflow_13.proto
478type FlowTableUpdate = openflow_13.FlowTableUpdate
479
480// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
481type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
482
483// Flows from public import voltha_protos/openflow_13.proto
484type Flows = openflow_13.Flows
485
486// Meters from public import voltha_protos/openflow_13.proto
487type Meters = openflow_13.Meters
488
489// FlowGroups from public import voltha_protos/openflow_13.proto
490type FlowGroups = openflow_13.FlowGroups
491
492// FlowChanges from public import voltha_protos/openflow_13.proto
493type FlowChanges = openflow_13.FlowChanges
494
495// FlowGroupChanges from public import voltha_protos/openflow_13.proto
496type FlowGroupChanges = openflow_13.FlowGroupChanges
497
498// PacketIn from public import voltha_protos/openflow_13.proto
499type PacketIn = openflow_13.PacketIn
500
501// PacketOut from public import voltha_protos/openflow_13.proto
502type PacketOut = openflow_13.PacketOut
503
504// ChangeEvent from public import voltha_protos/openflow_13.proto
505type ChangeEvent = openflow_13.ChangeEvent
506type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
Maninderd4373b42020-12-10 04:58:13 +0530507type ChangeEvent_Error = openflow_13.ChangeEvent_Error
William Kurkian1b363f42019-03-12 15:28:12 -0400508
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{
Maninderc4e609e2020-12-23 16:28:22 +05302201 // 2650 bytes of a gzipped FileDescriptorProto
2202 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4b, 0x73, 0x1b, 0xc7,
2203 0xf1, 0x27, 0xf8, 0x66, 0x03, 0x24, 0x81, 0x01, 0x1f, 0x10, 0x48, 0x4a, 0xe2, 0xf8, 0x45, 0xd3,
2204 0x16, 0x60, 0x89, 0xb2, 0xcb, 0x7f, 0xfb, 0xef, 0x8a, 0xf9, 0x12, 0x8d, 0x48, 0x14, 0x90, 0x05,
2205 0x29, 0x39, 0x89, 0x55, 0xa8, 0x05, 0x76, 0x00, 0x6e, 0x69, 0x81, 0x45, 0x76, 0x07, 0x94, 0x58,
2206 0x2a, 0x55, 0xaa, 0x9c, 0x87, 0x73, 0xf7, 0x3d, 0xa7, 0xa4, 0x52, 0x95, 0xef, 0x91, 0xa3, 0x4f,
2207 0x39, 0xe5, 0x9a, 0xca, 0x21, 0x9f, 0xc0, 0xe7, 0xd4, 0xf4, 0xcc, 0x02, 0xbb, 0xd8, 0x5d, 0x92,
2208 0x70, 0x5c, 0x95, 0x13, 0xb9, 0xdd, 0x3d, 0xbf, 0xee, 0xe9, 0x9e, 0xe9, 0xe9, 0xe9, 0x01, 0xe4,
2209 0xcf, 0x6d, 0x8b, 0x9f, 0xe9, 0xb5, 0xae, 0x63, 0x73, 0xdb, 0x2d, 0xca, 0xaf, 0x02, 0x7e, 0x91,
2210 0x69, 0xf9, 0x95, 0x5f, 0x6f, 0xd9, 0x76, 0xcb, 0x62, 0x45, 0xbd, 0x6b, 0x16, 0xf5, 0x4e, 0xc7,
2211 0xe6, 0x3a, 0x37, 0xed, 0x8e, 0x2b, 0xa5, 0xf2, 0x6b, 0x8a, 0x8b, 0x5f, 0xf5, 0x5e, 0xb3, 0xc8,
2212 0xda, 0x5d, 0x7e, 0xa1, 0x98, 0xb9, 0x20, 0x7c, 0x9b, 0x71, 0x05, 0x9e, 0x1f, 0x52, 0xdc, 0xb0,
2213 0xdb, 0x6d, 0xbb, 0x13, 0xcd, 0x3b, 0x63, 0xba, 0xc5, 0xcf, 0x14, 0x8f, 0x06, 0x79, 0x96, 0xdd,
2214 0x32, 0x1b, 0xba, 0x55, 0x33, 0xd8, 0xb9, 0xd9, 0x60, 0xd1, 0xe3, 0x03, 0xbc, 0xb5, 0x20, 0x4f,
2215 0x37, 0xf4, 0x2e, 0x67, 0x8e, 0x62, 0xde, 0x0a, 0x32, 0xed, 0x2e, 0xeb, 0x34, 0x2d, 0xfb, 0x45,
2216 0xed, 0xee, 0x4e, 0x8c, 0x40, 0xbb, 0x61, 0xd6, 0xda, 0x66, 0xbd, 0x66, 0xd4, 0x95, 0xc0, 0x66,
2217 0x84, 0x80, 0x6e, 0xe9, 0x4e, 0x7b, 0x20, 0x72, 0x33, 0x28, 0xc2, 0x5e, 0xf2, 0x5a, 0xc3, 0xee,
2218 0x34, 0xcd, 0x96, 0xe4, 0xd3, 0x3f, 0x25, 0x20, 0x79, 0x80, 0x26, 0x1f, 0x39, 0x76, 0xaf, 0x4b,
2219 0x96, 0x61, 0xdc, 0x34, 0x72, 0x89, 0xdb, 0x89, 0xad, 0xb9, 0xbd, 0xa9, 0x7f, 0x7f, 0xff, 0xdd,
2220 0x46, 0x42, 0x1b, 0x37, 0x0d, 0x52, 0x82, 0xc5, 0xe0, 0xe4, 0xdd, 0xdc, 0xf8, 0xed, 0x89, 0xad,
2221 0xe4, 0xbd, 0xe5, 0x82, 0x8a, 0xe2, 0x23, 0xc9, 0x96, 0x58, 0x7b, 0x73, 0xff, 0xfc, 0xfe, 0xbb,
2222 0x8d, 0x49, 0x81, 0xa5, 0x2d, 0x58, 0x7e, 0x8e, 0x4b, 0x76, 0x60, 0xc6, 0x83, 0x98, 0x40, 0x88,
2223 0x05, 0x0f, 0x22, 0x3c, 0xd6, 0x93, 0xa4, 0xff, 0x07, 0x29, 0x9f, 0x95, 0x2e, 0x79, 0x17, 0xa6,
2224 0x4c, 0xce, 0xda, 0x6e, 0x2e, 0x81, 0x10, 0xd9, 0x20, 0x04, 0x0a, 0x69, 0x52, 0x82, 0xfe, 0x31,
2225 0x01, 0xe4, 0xf0, 0x9c, 0x75, 0xf8, 0x03, 0xd3, 0xe2, 0xcc, 0xd1, 0x7a, 0x16, 0x7b, 0xc8, 0x2e,
2226 0xe8, 0x37, 0x09, 0xc8, 0x0e, 0x91, 0x4f, 0x2e, 0xba, 0x8c, 0x2c, 0x00, 0x34, 0x91, 0x52, 0xd3,
2227 0x2d, 0x2b, 0x3d, 0x46, 0x52, 0x30, 0xdb, 0xd0, 0x39, 0x6b, 0xd9, 0xce, 0x45, 0x3a, 0x41, 0xd2,
2228 0x90, 0x72, 0x7b, 0xf5, 0x5a, 0x9f, 0x32, 0x4e, 0x08, 0x2c, 0x3c, 0xef, 0x9a, 0x35, 0x26, 0xa0,
2229 0x6a, 0xfc, 0xa2, 0xcb, 0xd2, 0x13, 0x64, 0x19, 0x32, 0xd2, 0xc9, 0x7e, 0xf2, 0xa4, 0x20, 0xcb,
2230 0xf9, 0xf8, 0xc9, 0x53, 0xd4, 0x84, 0xc5, 0x21, 0x43, 0xc8, 0xe7, 0x30, 0xf1, 0x9c, 0x5d, 0x60,
2231 0x18, 0x16, 0xee, 0x15, 0xbc, 0xc9, 0x85, 0x67, 0x51, 0x88, 0x98, 0x81, 0x26, 0x86, 0x92, 0x25,
2232 0x98, 0x3a, 0xd7, 0xad, 0x1e, 0xcb, 0x8d, 0x8b, 0x50, 0x6a, 0xf2, 0x83, 0xfe, 0x25, 0x01, 0x49,
2233 0xdf, 0x90, 0xb8, 0x68, 0xaf, 0xc0, 0x34, 0xeb, 0xe8, 0x75, 0x4b, 0x8e, 0x9e, 0xd5, 0xd4, 0x17,
2234 0x59, 0x83, 0x39, 0x35, 0x01, 0xd3, 0xc8, 0x4d, 0x20, 0xf0, 0xac, 0x24, 0x94, 0x0c, 0xb2, 0x01,
2235 0x30, 0x98, 0x56, 0x6e, 0x12, 0xb9, 0x73, 0x48, 0x41, 0xbf, 0xde, 0x81, 0x29, 0xa7, 0x67, 0x31,
2236 0x37, 0x37, 0x85, 0x11, 0x5b, 0x8d, 0x99, 0x94, 0x26, 0xa5, 0xe8, 0x67, 0x90, 0xf2, 0x71, 0x5c,
2237 0x72, 0x07, 0x66, 0x64, 0x58, 0x42, 0x21, 0xf7, 0x03, 0x78, 0x32, 0xf4, 0x39, 0xa4, 0xf6, 0x6d,
2238 0x87, 0x95, 0x3a, 0x2e, 0xd7, 0x3b, 0x0d, 0x46, 0xde, 0x86, 0xa4, 0xa9, 0xfe, 0xaf, 0x0d, 0xcf,
2239 0x18, 0x3c, 0x4e, 0xc9, 0x20, 0x3b, 0x30, 0x2d, 0x13, 0x00, 0xce, 0x3c, 0x79, 0x6f, 0xc9, 0xd3,
2240 0xf2, 0x05, 0x52, 0xab, 0x5c, 0xe7, 0x3d, 0x77, 0x6f, 0x4a, 0xac, 0xd0, 0x31, 0x4d, 0x89, 0xd2,
2241 0x4f, 0x61, 0xde, 0xaf, 0xcc, 0x25, 0xdb, 0xc1, 0xd5, 0xd9, 0x07, 0xf1, 0x4b, 0x79, 0xcb, 0xf3,
2242 0x43, 0x58, 0x2c, 0xb7, 0x1b, 0xe6, 0x09, 0x73, 0xb9, 0xc6, 0x7e, 0xd5, 0x63, 0x2e, 0x27, 0x0b,
2243 0x83, 0xa8, 0x60, 0x38, 0x08, 0x4c, 0xf6, 0x7a, 0xa6, 0xa1, 0x42, 0x89, 0xff, 0xd3, 0x5f, 0x43,
2244 0x4a, 0x0e, 0x71, 0xbb, 0x76, 0xc7, 0x65, 0xe4, 0x27, 0x30, 0xed, 0x30, 0xb7, 0x67, 0x71, 0xb5,
2245 0x68, 0xde, 0xf1, 0x74, 0xfa, 0xa5, 0x02, 0x1f, 0x1a, 0x8a, 0x6b, 0x6a, 0x18, 0x2d, 0x00, 0x09,
2246 0x73, 0x49, 0x12, 0x66, 0xaa, 0xa7, 0xfb, 0xfb, 0x87, 0xd5, 0x6a, 0x7a, 0x4c, 0x7c, 0x3c, 0xd8,
2247 0x2d, 0x3d, 0x3a, 0xd5, 0x0e, 0xd3, 0x09, 0xfa, 0x0c, 0x66, 0x9f, 0x88, 0x35, 0x55, 0x65, 0x61,
2248 0x83, 0x3f, 0x86, 0x94, 0x4c, 0x43, 0x72, 0x17, 0x28, 0x5f, 0x66, 0x0b, 0x2a, 0xf3, 0xec, 0x0a,
2249 0xde, 0x3e, 0xfe, 0xff, 0xc5, 0x98, 0x96, 0xd4, 0x07, 0x9f, 0x7b, 0x33, 0x6a, 0xd9, 0xd2, 0x7f,
2250 0x4c, 0xc2, 0xf4, 0x13, 0x9c, 0x01, 0xb9, 0x05, 0x33, 0xe7, 0xcc, 0x71, 0x4d, 0xbb, 0x13, 0x8c,
2251 0x9b, 0x47, 0x25, 0x1f, 0xc1, 0xac, 0xca, 0xac, 0x5e, 0x56, 0x5a, 0xf4, 0x66, 0xbf, 0x2b, 0xe9,
2252 0xfe, 0x9c, 0xd2, 0x97, 0x8d, 0x4a, 0x6a, 0x13, 0xff, 0x7d, 0x52, 0x9b, 0xbc, 0x6e, 0x52, 0x23,
2253 0x9f, 0x43, 0x4a, 0x6d, 0x27, 0xb1, 0x65, 0xbc, 0x9d, 0x41, 0x82, 0x23, 0xc5, 0xe6, 0xf1, 0x8f,
2254 0x4e, 0x1a, 0x7d, 0xb2, 0x4b, 0xf6, 0x61, 0x5e, 0x21, 0xb4, 0x30, 0x2f, 0xe6, 0xa6, 0x63, 0xd3,
2255 0xa1, 0x1f, 0x43, 0xa9, 0x55, 0xb9, 0x74, 0x1f, 0xe6, 0xe5, 0xc6, 0xf5, 0x36, 0xd8, 0x4c, 0xec,
2256 0x06, 0x0b, 0x80, 0x30, 0xff, 0xfe, 0xfc, 0x19, 0x64, 0x06, 0xe7, 0x93, 0xce, 0xf5, 0xba, 0xee,
2257 0xb2, 0xdc, 0xba, 0x02, 0x12, 0x9c, 0xc2, 0xb1, 0x59, 0x97, 0xe6, 0x1c, 0xe8, 0x5c, 0xdf, 0x4b,
2258 0x0b, 0xa0, 0xa4, 0x2f, 0x9f, 0x68, 0x8b, 0x42, 0x4a, 0x08, 0xa9, 0xd1, 0xe4, 0x29, 0x64, 0xfd,
2259 0x27, 0x9a, 0x07, 0xba, 0xa1, 0x42, 0x84, 0xa0, 0xb8, 0x94, 0x2e, 0x85, 0x45, 0xb3, 0xa4, 0x98,
2260 0x42, 0xa0, 0x7f, 0x4e, 0x40, 0xba, 0xca, 0xac, 0xe6, 0xf5, 0x36, 0xd0, 0xb0, 0xa4, 0x9f, 0xe0,
2261 0xdf, 0x40, 0x15, 0x58, 0x08, 0x72, 0xe2, 0x37, 0x0f, 0xc9, 0xc0, 0xfc, 0xe3, 0xf2, 0x49, 0xad,
2262 0x7a, 0x5a, 0xa9, 0x94, 0xb5, 0x93, 0xc3, 0x83, 0xf4, 0xb8, 0x20, 0x9d, 0x3e, 0x7e, 0xf8, 0xb8,
2263 0xfc, 0xf4, 0x71, 0xed, 0x50, 0xd3, 0xca, 0x5a, 0x7a, 0x82, 0x96, 0x21, 0x53, 0x6e, 0xee, 0xb6,
2264 0x58, 0x87, 0x57, 0x7b, 0x75, 0xb7, 0xe1, 0x98, 0x75, 0xe6, 0x88, 0x34, 0x6b, 0x37, 0x75, 0x41,
2265 0xec, 0x27, 0x32, 0x6d, 0x4e, 0x51, 0x4a, 0x86, 0x48, 0xd1, 0xea, 0xc4, 0xef, 0x27, 0x8c, 0x59,
2266 0x49, 0x28, 0x19, 0xf4, 0x53, 0x80, 0x63, 0xd6, 0xae, 0x33, 0xc7, 0x3d, 0x33, 0xbb, 0x02, 0x09,
2267 0x57, 0x4d, 0xad, 0xa3, 0xb7, 0x99, 0x87, 0x84, 0x94, 0xc7, 0x7a, 0x9b, 0xa9, 0x4d, 0x3d, 0xee,
2268 0x6d, 0x6a, 0x7a, 0x08, 0xa9, 0x07, 0x96, 0xfd, 0xe2, 0x98, 0x71, 0x5d, 0xc4, 0x82, 0x7c, 0x08,
2269 0xd3, 0x6d, 0xe6, 0x4b, 0xc8, 0x1b, 0x05, 0x7f, 0x05, 0x63, 0x37, 0xbb, 0x35, 0x64, 0xab, 0x1c,
2270 0xa0, 0x29, 0xe1, 0x7b, 0x7f, 0xbb, 0x0b, 0xf3, 0x72, 0x63, 0x57, 0x99, 0x23, 0x82, 0x44, 0x9e,
2271 0xc2, 0xfc, 0x11, 0xe3, 0x3e, 0xc3, 0x56, 0x0a, 0xb2, 0xca, 0x2b, 0x78, 0x55, 0x5e, 0xe1, 0x50,
2272 0x54, 0x79, 0xf9, 0xfe, 0xce, 0x18, 0xc8, 0xd2, 0xfc, 0xd7, 0x7f, 0xff, 0xd7, 0xb7, 0xe3, 0x4b,
2273 0x84, 0x60, 0xc1, 0x78, 0x7e, 0xb7, 0xd8, 0x1e, 0xe0, 0x3c, 0x83, 0xf4, 0x69, 0xd7, 0xd0, 0x39,
2274 0xf3, 0x61, 0x47, 0x60, 0xe4, 0x63, 0xf4, 0xd1, 0x0d, 0xc4, 0x5e, 0xa5, 0x11, 0xd8, 0x9f, 0x24,
2275 0xb6, 0xc9, 0x01, 0xcc, 0x1d, 0x31, 0xae, 0x92, 0x54, 0x9c, 0xcd, 0xfd, 0x3c, 0x20, 0xe5, 0xe8,
2276 0x22, 0x62, 0xce, 0x91, 0x19, 0x85, 0x49, 0x9e, 0x41, 0xe6, 0x91, 0xe9, 0xf2, 0xe0, 0x01, 0x12,
2277 0x87, 0xb6, 0x1c, 0x75, 0x92, 0xb8, 0xf4, 0x06, 0x82, 0x66, 0x49, 0xc6, 0x33, 0xd4, 0xec, 0x23,
2278 0x55, 0x61, 0xf1, 0x88, 0x05, 0xd0, 0x09, 0x14, 0x54, 0xfd, 0x5b, 0x3a, 0xc8, 0x47, 0x1e, 0x4d,
2279 0xf4, 0x26, 0xe2, 0xe5, 0xc8, 0x4a, 0x08, 0xaf, 0xf8, 0xca, 0x34, 0x5e, 0x13, 0x0d, 0x52, 0xc2,
2280 0xe6, 0x5d, 0x2f, 0x91, 0xc6, 0x99, 0x9b, 0x1e, 0x4a, 0xc3, 0x2e, 0xcd, 0x21, 0x32, 0x21, 0x69,
2281 0x0f, 0xb9, 0x9f, 0x8c, 0x19, 0x10, 0x81, 0xf9, 0x28, 0x98, 0x57, 0xe3, 0x90, 0x57, 0x22, 0x33,
2282 0xb4, 0x4b, 0x6f, 0x21, 0xfe, 0x0d, 0xb2, 0xea, 0xe1, 0x0f, 0x25, 0x78, 0xf2, 0x4b, 0x48, 0x1f,
2283 0xb1, 0xa0, 0x96, 0x80, 0x43, 0xa2, 0x53, 0x3f, 0x7d, 0x13, 0x71, 0x6f, 0x92, 0xf5, 0x18, 0x5c,
2284 0xe9, 0x97, 0x26, 0xac, 0x84, 0xe6, 0x50, 0xb1, 0x1d, 0xee, 0x46, 0xfb, 0x5c, 0xc9, 0xa1, 0x04,
2285 0xdd, 0x46, 0x0d, 0x6f, 0x12, 0x7a, 0x99, 0x86, 0x62, 0x17, 0xd1, 0x5e, 0xc2, 0xd2, 0xf0, 0x24,
2286 0x04, 0x08, 0x59, 0x8e, 0x40, 0x2e, 0x19, 0xf9, 0x6c, 0x04, 0x99, 0xde, 0x47, 0x7d, 0x05, 0xf2,
2287 0xfe, 0xd5, 0xfa, 0x8a, 0xaf, 0xc4, 0x9f, 0x9a, 0x98, 0xe1, 0xef, 0x12, 0xb0, 0x7a, 0x88, 0xc5,
2288 0xe0, 0xb5, 0xb5, 0xc7, 0xed, 0xae, 0x4f, 0xd1, 0x80, 0x0f, 0xe9, 0xce, 0x28, 0x06, 0x14, 0x55,
2289 0x25, 0xfa, 0x4d, 0x02, 0x72, 0x07, 0xa6, 0xfb, 0xa3, 0x18, 0xf2, 0xff, 0x68, 0xc8, 0x47, 0xf4,
2290 0xfe, 0x48, 0x86, 0x18, 0x52, 0x3b, 0x31, 0x22, 0x62, 0x2e, 0xf2, 0x64, 0x30, 0xe6, 0x24, 0x90,
2291 0x1c, 0x91, 0x7f, 0xcd, 0x88, 0x37, 0x11, 0xeb, 0x37, 0x09, 0x58, 0x97, 0xb9, 0x2c, 0xa4, 0xe8,
2292 0x04, 0xcd, 0x58, 0x0f, 0x29, 0x40, 0xba, 0x1c, 0x13, 0x3b, 0xf5, 0x3b, 0x68, 0xc2, 0x3b, 0xf4,
2293 0x1a, 0x26, 0x88, 0x8c, 0xf7, 0xdb, 0x04, 0x6c, 0x44, 0x58, 0x71, 0x2c, 0x32, 0xbb, 0x34, 0x63,
2294 0x2d, 0x60, 0x06, 0x32, 0x8e, 0x6d, 0xe3, 0x0a, 0x2b, 0x0a, 0x68, 0xc5, 0x16, 0x7d, 0xe3, 0x52,
2295 0x2b, 0xe4, 0xf9, 0x21, 0xcc, 0x68, 0xc1, 0x6a, 0xc8, 0xe5, 0xa8, 0x2a, 0xe8, 0xf3, 0x6c, 0xd8,
2296 0x16, 0x97, 0xbe, 0x87, 0xba, 0xde, 0x22, 0xd7, 0xd1, 0x45, 0x38, 0xac, 0x45, 0xc6, 0x56, 0x15,
2297 0x4e, 0x7e, 0x65, 0xab, 0x21, 0xff, 0x4b, 0x21, 0xfa, 0x01, 0x2a, 0xdc, 0x26, 0x5b, 0x57, 0xba,
2298 0x58, 0xd5, 0x70, 0xe4, 0xdb, 0x04, 0x6c, 0xc6, 0xc4, 0x1a, 0x31, 0xa5, 0xa7, 0x37, 0xa3, 0x15,
2299 0x5e, 0x27, 0xea, 0x3b, 0x68, 0xd2, 0x1d, 0x7a, 0x6d, 0x93, 0x84, 0xd3, 0xcb, 0x90, 0x14, 0xbe,
2300 0xb8, 0x2a, 0x31, 0x2f, 0x06, 0x4b, 0x4f, 0x97, 0xae, 0xa2, 0xb2, 0x0c, 0x59, 0xf4, 0x94, 0x79,
2301 0x99, 0xb8, 0x0c, 0xf3, 0x03, 0xc0, 0x92, 0x11, 0x0f, 0x99, 0x1c, 0xb8, 0x39, 0xe2, 0xa8, 0x93,
2302 0x70, 0xa6, 0xe1, 0x92, 0x53, 0x48, 0x6b, 0xac, 0x61, 0x77, 0x1a, 0xa6, 0xc5, 0x3c, 0x33, 0xfd,
2303 0x63, 0x63, 0xfd, 0xb1, 0x8e, 0x98, 0x2b, 0x34, 0x8c, 0x29, 0x26, 0xee, 0xe0, 0x89, 0x21, 0x01,
2304 0xa5, 0x63, 0x5d, 0x92, 0x0f, 0xce, 0x52, 0x92, 0x65, 0x29, 0x3c, 0x38, 0x41, 0x02, 0x43, 0xc2,
2305 0x0b, 0x4f, 0x2a, 0xe9, 0x49, 0xb6, 0x74, 0xf9, 0x2b, 0x59, 0x81, 0xbf, 0x26, 0x87, 0x58, 0x5a,
2306 0x44, 0x1c, 0x4f, 0x43, 0xd7, 0x0a, 0xcf, 0x74, 0xb2, 0x34, 0xe4, 0x5d, 0x79, 0x1e, 0xfd, 0x14,
2307 0x52, 0xfb, 0x0e, 0xd3, 0xb9, 0x72, 0x07, 0x19, 0x1a, 0x1d, 0x42, 0x53, 0xc5, 0x14, 0x1d, 0x8e,
2308 0x95, 0x70, 0xc3, 0x53, 0x48, 0xc9, 0xc4, 0x1f, 0x61, 0x55, 0x9c, 0x63, 0xdf, 0x40, 0xbc, 0x0d,
2309 0xba, 0x16, 0x65, 0x9d, 0x97, 0xca, 0x7f, 0x0e, 0xf3, 0x2a, 0x93, 0x8f, 0x80, 0xac, 0xce, 0x63,
2310 0xba, 0x1e, 0x89, 0xec, 0xe5, 0xe6, 0xa7, 0x90, 0xd2, 0x58, 0xdd, 0xb6, 0xf9, 0x8f, 0x66, 0xb3,
2311 0x83, 0x70, 0x02, 0xf8, 0x80, 0x59, 0x8c, 0xff, 0x00, 0x67, 0x6c, 0x47, 0x03, 0x1b, 0x08, 0x47,
2312 0xea, 0x90, 0x79, 0x60, 0x3b, 0x0d, 0x36, 0x32, 0xfa, 0xbb, 0x88, 0xfe, 0xc6, 0xf6, 0x66, 0x24,
2313 0x7a, 0x53, 0x60, 0xd6, 0x94, 0x8e, 0x1e, 0xcc, 0x1f, 0xd8, 0x2f, 0x3a, 0x96, 0xad, 0x1b, 0xa5,
2314 0xb6, 0xde, 0x62, 0x83, 0xf3, 0x12, 0x3f, 0x3d, 0x5e, 0x7e, 0xd9, 0x53, 0x5b, 0xee, 0x32, 0x07,
2315 0xbb, 0xb0, 0xe2, 0x0a, 0x44, 0x3f, 0x42, 0x4d, 0x1f, 0xd0, 0xf7, 0x22, 0x35, 0x99, 0x02, 0xa2,
2316 0x66, 0x28, 0x0c, 0xb7, 0xf8, 0x4a, 0x5c, 0x2e, 0x5e, 0x8b, 0x05, 0xf4, 0x75, 0x02, 0x56, 0x8e,
2317 0x18, 0x0f, 0xe8, 0x90, 0xfd, 0x94, 0x78, 0x03, 0xa2, 0xc8, 0xf4, 0x13, 0x34, 0xe0, 0x3e, 0xb9,
2318 0x37, 0x82, 0x01, 0x45, 0x57, 0x6a, 0xea, 0xe1, 0x66, 0x0e, 0xe0, 0x8d, 0xa8, 0x5d, 0x25, 0x4f,
2319 0x32, 0xca, 0xf4, 0x49, 0x53, 0x16, 0xb7, 0x01, 0x24, 0x77, 0x28, 0xae, 0x51, 0xda, 0x5c, 0xfa,
2320 0x3e, 0xaa, 0x7b, 0x9b, 0xbc, 0x79, 0x1d, 0x75, 0xe4, 0x25, 0x64, 0xf7, 0x45, 0x9d, 0x6e, 0x5d,
2321 0x73, 0x86, 0x91, 0x01, 0x56, 0x33, 0xdc, 0x1e, 0x69, 0x86, 0x7f, 0x48, 0x40, 0x76, 0xb7, 0xc1,
2322 0xcd, 0x73, 0x9d, 0x33, 0xd4, 0x22, 0xf3, 0xde, 0x88, 0xaa, 0xf7, 0x51, 0xf5, 0x67, 0xf4, 0xe3,
2323 0x51, 0x42, 0x2b, 0xc9, 0x32, 0x91, 0x8a, 0x85, 0xf6, 0xfb, 0x04, 0x64, 0x34, 0x76, 0xce, 0x1c,
2324 0xfe, 0x3f, 0x31, 0xc4, 0x41, 0xd5, 0xc2, 0x90, 0x0a, 0x2c, 0x0e, 0x4e, 0xb8, 0xf0, 0x3d, 0x60,
2325 0xde, 0xb3, 0x48, 0x5e, 0x00, 0x28, 0xaa, 0x5c, 0x27, 0xf9, 0x48, 0x95, 0xb2, 0xf0, 0x7f, 0x06,
2326 0x59, 0x1f, 0xa2, 0x6a, 0x9a, 0x05, 0x51, 0x33, 0x7d, 0x54, 0x8f, 0x4d, 0xdf, 0x41, 0xe4, 0x4d,
2327 0x72, 0x2b, 0x1a, 0xd9, 0x6b, 0xd3, 0xb9, 0xa4, 0x03, 0xcb, 0xd2, 0x5b, 0xc3, 0x0a, 0xc2, 0xa0,
2328 0xb1, 0x89, 0x48, 0x55, 0xb5, 0xf4, 0x2a, 0x65, 0xc2, 0x41, 0xa7, 0x7e, 0x07, 0x5d, 0xaf, 0x68,
2329 0xbe, 0xdc, 0x4b, 0xb2, 0x58, 0x66, 0xb0, 0x14, 0x84, 0x1d, 0xa5, 0x5e, 0xdb, 0x42, 0x05, 0x94,
2330 0xdc, 0x8e, 0x55, 0xe0, 0xd5, 0x69, 0x5f, 0xf9, 0xad, 0x97, 0xfd, 0xb8, 0xb8, 0x12, 0x26, 0x1b,
2331 0xee, 0xe9, 0xb9, 0x71, 0x67, 0xb7, 0x6c, 0x06, 0x12, 0x0d, 0xbb, 0x22, 0x03, 0xf9, 0x21, 0xcf,
2332 0x84, 0xf0, 0xe8, 0x26, 0xc2, 0xad, 0x91, 0x1b, 0x51, 0x70, 0xb2, 0x1e, 0xa8, 0x41, 0x7a, 0x60,
2333 0xb1, 0x72, 0x4a, 0x9c, 0xc9, 0x4b, 0x11, 0x3d, 0x44, 0xd7, 0x6b, 0x89, 0x90, 0xe5, 0x21, 0x25,
2334 0xca, 0x25, 0x0f, 0x20, 0x5d, 0xe5, 0x0e, 0xd3, 0xdb, 0x15, 0xbd, 0xf1, 0x9c, 0x71, 0xb7, 0xdc,
2335 0xe3, 0x64, 0x25, 0xe0, 0x69, 0xc9, 0x28, 0xf7, 0x78, 0xec, 0x02, 0x1a, 0xdb, 0x4a, 0x90, 0x43,
2336 0x2c, 0xe5, 0x98, 0x79, 0xce, 0x14, 0x50, 0xa9, 0x73, 0x49, 0x4f, 0x24, 0x8c, 0x5f, 0xea, 0xd0,
2337 0xb1, 0x0f, 0x12, 0xe4, 0x21, 0x64, 0x15, 0xcc, 0xfe, 0x99, 0xde, 0x69, 0x31, 0xec, 0x64, 0xc6,
2338 0x4f, 0x39, 0x17, 0x40, 0xf2, 0x0d, 0x41, 0xb0, 0x53, 0x58, 0xe8, 0x07, 0x44, 0xbe, 0x95, 0x05,
2339 0x2f, 0x1b, 0x61, 0x77, 0xc5, 0x2d, 0x56, 0xe5, 0x2d, 0x2f, 0x26, 0x19, 0x59, 0xa3, 0xf9, 0xdf,
2340 0x65, 0xa2, 0x7a, 0xaf, 0xf9, 0x28, 0x22, 0xbd, 0x8d, 0x2a, 0xf2, 0xb4, 0x1f, 0x90, 0x40, 0x2b,
2341 0x57, 0x6c, 0xb2, 0x27, 0x68, 0xb7, 0x1f, 0x3d, 0xb2, 0x19, 0xe1, 0x7f, 0x6d, 0x09, 0x1b, 0x1e,
2342 0x40, 0x95, 0x86, 0x1b, 0x90, 0x91, 0xc9, 0xe2, 0x87, 0x19, 0xfe, 0x16, 0xaa, 0xb8, 0x95, 0xbf,
2343 0x44, 0x85, 0xb0, 0xde, 0x80, 0x8c, 0xac, 0x85, 0xae, 0xd4, 0x12, 0xb7, 0x9e, 0xd4, 0x5c, 0xb6,
2344 0x2f, 0x9b, 0x8b, 0xda, 0x18, 0x81, 0x17, 0xa7, 0x2b, 0x37, 0x46, 0xc0, 0x63, 0xa1, 0x8d, 0x11,
2345 0xd0, 0x42, 0x1e, 0x61, 0x41, 0x8f, 0x47, 0x8f, 0x1b, 0x5d, 0xd0, 0x4b, 0x9e, 0x57, 0x25, 0x92,
2346 0xb5, 0xf8, 0x83, 0xc7, 0x25, 0x5f, 0xc2, 0xac, 0xd7, 0x6a, 0x0e, 0x80, 0xe5, 0xe2, 0x7a, 0xd6,
2347 0xf4, 0x6d, 0x84, 0xbd, 0x4d, 0x6f, 0x46, 0xc2, 0xba, 0xcc, 0x6a, 0xd6, 0xb8, 0x40, 0x7b, 0x82,
2348 0xf5, 0x51, 0xa0, 0x55, 0x3f, 0x7c, 0xa7, 0x0e, 0xf5, 0xf2, 0xc3, 0x99, 0x47, 0x6c, 0x23, 0x21,
2349 0xa7, 0x2e, 0xd3, 0x66, 0x9d, 0x7c, 0x05, 0xe4, 0x88, 0xf1, 0xa1, 0x6e, 0xfd, 0x50, 0xe3, 0x2d,
2350 0xaa, 0xa1, 0x1f, 0xf6, 0x47, 0x10, 0x1b, 0xdf, 0x06, 0x88, 0x0b, 0xf3, 0x55, 0xb3, 0xdd, 0xb3,
2351 0x74, 0xce, 0x70, 0x3c, 0x59, 0xef, 0x3b, 0xc2, 0x4f, 0x56, 0xef, 0x6b, 0x71, 0x67, 0x7e, 0xa8,
2352 0x19, 0x12, 0xf4, 0x91, 0x42, 0xaa, 0x09, 0x24, 0xb1, 0x32, 0xf7, 0x61, 0xae, 0xdf, 0x96, 0x27,
2353 0x37, 0x3c, 0x85, 0xa1, 0x86, 0x7d, 0x3e, 0x9e, 0x45, 0xc7, 0xc8, 0x31, 0x80, 0xbc, 0x55, 0x61,
2354 0xe3, 0x2a, 0xe5, 0xaf, 0x08, 0x62, 0x17, 0xb4, 0xba, 0x02, 0xd3, 0x05, 0x61, 0xe3, 0x60, 0xb4,
2355 0xba, 0xa4, 0xab, 0xbb, 0xd4, 0x08, 0x78, 0x83, 0x5b, 0xdf, 0xf9, 0xdd, 0xa2, 0x6f, 0xb8, 0x00,
2356 0xfc, 0x12, 0x92, 0x22, 0x79, 0xbc, 0xe4, 0xf8, 0xd6, 0x47, 0x56, 0x3c, 0xcf, 0xc9, 0xa7, 0xbf,
2357 0x2e, 0x6b, 0x98, 0x4d, 0x93, 0x39, 0xf9, 0x25, 0x8f, 0xae, 0x31, 0xde, 0x73, 0x3a, 0xc8, 0x75,
2358 0xe9, 0x1a, 0x02, 0x2f, 0x93, 0xac, 0xe7, 0x50, 0x3f, 0xd4, 0x09, 0x24, 0xab, 0xbe, 0xcf, 0x7e,
2359 0xab, 0xd8, 0x7b, 0x54, 0x8c, 0x35, 0x37, 0x84, 0xea, 0x87, 0x39, 0x83, 0x6c, 0x95, 0xeb, 0x0e,
2360 0xf7, 0x9e, 0x54, 0x45, 0x49, 0x6a, 0x77, 0x48, 0xff, 0xb5, 0x79, 0xe8, 0xa9, 0x75, 0xb0, 0x99,
2361 0x03, 0xbb, 0x45, 0xa5, 0x0c, 0xda, 0xef, 0x22, 0xbb, 0x02, 0xb3, 0x86, 0xaf, 0x51, 0x62, 0x9b,
2362 0x7c, 0x92, 0xd8, 0xde, 0xb3, 0x20, 0x6b, 0x3b, 0x2d, 0x3c, 0x31, 0x1a, 0xb6, 0x63, 0x28, 0x9c,
2363 0xbd, 0x94, 0xec, 0xf3, 0x57, 0xf0, 0xe7, 0x16, 0xbf, 0x28, 0xb4, 0x4c, 0x7e, 0xd6, 0xab, 0x0b,
2364 0xef, 0x14, 0x3d, 0x49, 0xf5, 0xb3, 0x97, 0x3b, 0xde, 0x8f, 0x60, 0xee, 0x17, 0x5b, 0xb6, 0xa2,
2365 0xfd, 0x75, 0x7c, 0xa5, 0xec, 0xe1, 0x3d, 0xf1, 0x3f, 0x1b, 0x54, 0xc6, 0x2b, 0x13, 0x95, 0xc9,
2366 0xca, 0x54, 0x65, 0xba, 0x32, 0x53, 0x99, 0xad, 0x4f, 0xe3, 0xd8, 0x9d, 0xff, 0x04, 0x00, 0x00,
2367 0xff, 0xff, 0x16, 0x72, 0x40, 0x54, 0x50, 0x23, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002368}
2369
2370// Reference imports to suppress errors if they are not otherwise used.
2371var _ context.Context
2372var _ grpc.ClientConn
2373
2374// This is a compile-time assertion to ensure that this generated file
2375// is compatible with the grpc package it is being compiled against.
2376const _ = grpc.SupportPackageIsVersion4
2377
2378// VolthaServiceClient is the client API for VolthaService service.
2379//
2380// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2381type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -04002382 // Get the membership group of a Voltha Core
2383 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2384 // Set the membership group of a Voltha Core
2385 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2386 // Get high level information on the Voltha cluster
2387 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2388 // List all Voltha cluster core instances
2389 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2390 // Get details on a Voltha cluster instance
2391 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2392 // List all active adapters (plugins) in the Voltha cluster
2393 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2394 // List all logical devices managed by the Voltha cluster
2395 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2396 // Get additional information on a given logical device
2397 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2398 // List ports of a logical device
2399 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2400 // Gets a logical device port
2401 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2402 // Enables a logical device port
2403 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2404 // Disables a logical device port
2405 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2406 // List all flows of a logical device
2407 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2408 // Update flow table for logical device
2409 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2410 // Update meter table for logical device
2411 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002412 // List all meters of a logical device
2413 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002414 // List all flow groups of a logical device
2415 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2416 // Update group table for device
2417 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2418 // List all physical devices controlled by the Voltha cluster
2419 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2420 // List all physical devices IDs controlled by the Voltha cluster
2421 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2422 // Request to a voltha Core to reconcile a set of devices based on their IDs
2423 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
Maninderc4e609e2020-12-23 16:28:22 +05302424 // Get the device updates of a given device using a filter
2425 GetDeviceUpdates(ctx context.Context, in *DeviceUpdateFilter, opts ...grpc.CallOption) (*DeviceUpdates, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002426 // Get more information on a given physical device
2427 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2428 // Pre-provision a new physical device
2429 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2430 // Enable a device. If the device was in pre-provisioned state then it
2431 // will transition to ENABLED state. If it was is DISABLED state then it
2432 // will transition to ENABLED state as well.
2433 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2434 // Disable a device
2435 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2436 // Reboot a device
2437 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2438 // Delete a device
2439 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05302440 // Forcefully delete a device
2441 ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002442 // Request an image download to the standby partition
2443 // of a device.
2444 // Note that the call is expected to be non-blocking.
2445 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2446 // Get image download status on a device
2447 // The request retrieves progress on device and updates db record
2448 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2449 // Get image download db record
2450 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2451 // List image download db records for a given device
2452 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2453 // Cancel an existing image download process on a device
2454 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2455 // Activate the specified image at a standby partition
2456 // to active partition.
2457 // Depending on the device implementation, this call
2458 // may or may not cause device reboot.
2459 // If no reboot, then a reboot is required to make the
2460 // activated image running on device
2461 // Note that the call is expected to be non-blocking.
2462 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2463 // Revert the specified image at standby partition
2464 // to active partition, and revert to previous image
2465 // Depending on the device implementation, this call
2466 // may or may not cause device reboot.
2467 // If no reboot, then a reboot is required to make the
2468 // previous image running on device
2469 // Note that the call is expected to be non-blocking.
2470 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2471 // List ports of a device
2472 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2473 // List pm config of a device
2474 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2475 // Update the pm config of a device
2476 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2477 // List all flows of a device
2478 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2479 // List all flow groups of a device
2480 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2481 // List device types known to Voltha
2482 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2483 // Get additional information on a device type
2484 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2485 // List all device sharding groups
2486 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2487 // Stream control packets to the dataplane
2488 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2489 // Receive control packet stream
2490 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2491 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2492 // Get additional information on a device group
2493 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002494 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2495 // Get all filters present for a device
2496 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2497 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2498 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2499 // Get all the filters present
2500 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002501 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2502 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2503 // OpenOMCI MIB information
2504 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2505 // OpenOMCI ALARM information
2506 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2507 // Simulate an Alarm
2508 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2509 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05002510 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2511 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002512 GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error)
dpaul2b52e712020-06-23 13:02:28 +05302513 SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302514 // omci start and stop cli implementation
2515 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002516}
2517
2518type volthaServiceClient struct {
2519 cc *grpc.ClientConn
2520}
2521
2522func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2523 return &volthaServiceClient{cc}
2524}
2525
William Kurkian1b363f42019-03-12 15:28:12 -04002526func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2527 out := new(Membership)
2528 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2529 if err != nil {
2530 return nil, err
2531 }
2532 return out, nil
2533}
2534
2535func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2536 out := new(empty.Empty)
2537 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2538 if err != nil {
2539 return nil, err
2540 }
2541 return out, nil
2542}
2543
2544func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2545 out := new(Voltha)
2546 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2547 if err != nil {
2548 return nil, err
2549 }
2550 return out, nil
2551}
2552
2553func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2554 out := new(CoreInstances)
2555 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2556 if err != nil {
2557 return nil, err
2558 }
2559 return out, nil
2560}
2561
2562func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2563 out := new(CoreInstance)
2564 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2565 if err != nil {
2566 return nil, err
2567 }
2568 return out, nil
2569}
2570
2571func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2572 out := new(Adapters)
2573 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2574 if err != nil {
2575 return nil, err
2576 }
2577 return out, nil
2578}
2579
2580func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2581 out := new(LogicalDevices)
2582 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2583 if err != nil {
2584 return nil, err
2585 }
2586 return out, nil
2587}
2588
2589func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2590 out := new(LogicalDevice)
2591 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2592 if err != nil {
2593 return nil, err
2594 }
2595 return out, nil
2596}
2597
2598func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2599 out := new(LogicalPorts)
2600 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2601 if err != nil {
2602 return nil, err
2603 }
2604 return out, nil
2605}
2606
2607func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2608 out := new(LogicalPort)
2609 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2610 if err != nil {
2611 return nil, err
2612 }
2613 return out, nil
2614}
2615
2616func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2617 out := new(empty.Empty)
2618 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2619 if err != nil {
2620 return nil, err
2621 }
2622 return out, nil
2623}
2624
2625func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2626 out := new(empty.Empty)
2627 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2628 if err != nil {
2629 return nil, err
2630 }
2631 return out, nil
2632}
2633
2634func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2635 out := new(openflow_13.Flows)
2636 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2637 if err != nil {
2638 return nil, err
2639 }
2640 return out, nil
2641}
2642
2643func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2644 out := new(empty.Empty)
2645 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2646 if err != nil {
2647 return nil, err
2648 }
2649 return out, nil
2650}
2651
2652func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2653 out := new(empty.Empty)
2654 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2655 if err != nil {
2656 return nil, err
2657 }
2658 return out, nil
2659}
2660
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002661func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2662 out := new(openflow_13.Meters)
2663 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002664 if err != nil {
2665 return nil, err
2666 }
2667 return out, nil
2668}
2669
2670func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2671 out := new(openflow_13.FlowGroups)
2672 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2673 if err != nil {
2674 return nil, err
2675 }
2676 return out, nil
2677}
2678
2679func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2680 out := new(empty.Empty)
2681 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2682 if err != nil {
2683 return nil, err
2684 }
2685 return out, nil
2686}
2687
2688func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2689 out := new(Devices)
2690 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2691 if err != nil {
2692 return nil, err
2693 }
2694 return out, nil
2695}
2696
2697func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2698 out := new(common.IDs)
2699 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2700 if err != nil {
2701 return nil, err
2702 }
2703 return out, nil
2704}
2705
2706func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2707 out := new(empty.Empty)
2708 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2709 if err != nil {
2710 return nil, err
2711 }
2712 return out, nil
2713}
2714
Maninderc4e609e2020-12-23 16:28:22 +05302715func (c *volthaServiceClient) GetDeviceUpdates(ctx context.Context, in *DeviceUpdateFilter, opts ...grpc.CallOption) (*DeviceUpdates, error) {
2716 out := new(DeviceUpdates)
2717 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceUpdates", in, out, opts...)
2718 if err != nil {
2719 return nil, err
2720 }
2721 return out, nil
2722}
2723
William Kurkian1b363f42019-03-12 15:28:12 -04002724func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2725 out := new(Device)
2726 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2727 if err != nil {
2728 return nil, err
2729 }
2730 return out, nil
2731}
2732
2733func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2734 out := new(Device)
2735 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2736 if err != nil {
2737 return nil, err
2738 }
2739 return out, nil
2740}
2741
2742func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2743 out := new(empty.Empty)
2744 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2745 if err != nil {
2746 return nil, err
2747 }
2748 return out, nil
2749}
2750
2751func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2752 out := new(empty.Empty)
2753 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2754 if err != nil {
2755 return nil, err
2756 }
2757 return out, nil
2758}
2759
2760func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2761 out := new(empty.Empty)
2762 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2763 if err != nil {
2764 return nil, err
2765 }
2766 return out, nil
2767}
2768
2769func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2770 out := new(empty.Empty)
2771 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2772 if err != nil {
2773 return nil, err
2774 }
2775 return out, nil
2776}
2777
Himani Chawla503b7ce2020-10-07 13:20:03 +05302778func (c *volthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2779 out := new(empty.Empty)
2780 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ForceDeleteDevice", in, out, opts...)
2781 if err != nil {
2782 return nil, err
2783 }
2784 return out, nil
2785}
2786
William Kurkian1b363f42019-03-12 15:28:12 -04002787func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2788 out := new(common.OperationResp)
2789 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2790 if err != nil {
2791 return nil, err
2792 }
2793 return out, nil
2794}
2795
2796func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2797 out := new(ImageDownload)
2798 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2799 if err != nil {
2800 return nil, err
2801 }
2802 return out, nil
2803}
2804
2805func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2806 out := new(ImageDownload)
2807 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2808 if err != nil {
2809 return nil, err
2810 }
2811 return out, nil
2812}
2813
2814func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2815 out := new(ImageDownloads)
2816 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2817 if err != nil {
2818 return nil, err
2819 }
2820 return out, nil
2821}
2822
2823func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2824 out := new(common.OperationResp)
2825 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2826 if err != nil {
2827 return nil, err
2828 }
2829 return out, nil
2830}
2831
2832func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2833 out := new(common.OperationResp)
2834 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2835 if err != nil {
2836 return nil, err
2837 }
2838 return out, nil
2839}
2840
2841func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2842 out := new(common.OperationResp)
2843 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2844 if err != nil {
2845 return nil, err
2846 }
2847 return out, nil
2848}
2849
2850func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2851 out := new(Ports)
2852 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2853 if err != nil {
2854 return nil, err
2855 }
2856 return out, nil
2857}
2858
2859func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2860 out := new(PmConfigs)
2861 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2862 if err != nil {
2863 return nil, err
2864 }
2865 return out, nil
2866}
2867
2868func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2869 out := new(empty.Empty)
2870 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2871 if err != nil {
2872 return nil, err
2873 }
2874 return out, nil
2875}
2876
2877func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2878 out := new(openflow_13.Flows)
2879 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2880 if err != nil {
2881 return nil, err
2882 }
2883 return out, nil
2884}
2885
2886func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2887 out := new(openflow_13.FlowGroups)
2888 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2889 if err != nil {
2890 return nil, err
2891 }
2892 return out, nil
2893}
2894
2895func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2896 out := new(DeviceTypes)
2897 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2898 if err != nil {
2899 return nil, err
2900 }
2901 return out, nil
2902}
2903
2904func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2905 out := new(DeviceType)
2906 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2907 if err != nil {
2908 return nil, err
2909 }
2910 return out, nil
2911}
2912
2913func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2914 out := new(DeviceGroups)
2915 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2916 if err != nil {
2917 return nil, err
2918 }
2919 return out, nil
2920}
2921
2922func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2923 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2924 if err != nil {
2925 return nil, err
2926 }
2927 x := &volthaServiceStreamPacketsOutClient{stream}
2928 return x, nil
2929}
2930
2931type VolthaService_StreamPacketsOutClient interface {
2932 Send(*openflow_13.PacketOut) error
2933 CloseAndRecv() (*empty.Empty, error)
2934 grpc.ClientStream
2935}
2936
2937type volthaServiceStreamPacketsOutClient struct {
2938 grpc.ClientStream
2939}
2940
2941func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2942 return x.ClientStream.SendMsg(m)
2943}
2944
2945func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2946 if err := x.ClientStream.CloseSend(); err != nil {
2947 return nil, err
2948 }
2949 m := new(empty.Empty)
2950 if err := x.ClientStream.RecvMsg(m); err != nil {
2951 return nil, err
2952 }
2953 return m, nil
2954}
2955
2956func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2957 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2958 if err != nil {
2959 return nil, err
2960 }
2961 x := &volthaServiceReceivePacketsInClient{stream}
2962 if err := x.ClientStream.SendMsg(in); err != nil {
2963 return nil, err
2964 }
2965 if err := x.ClientStream.CloseSend(); err != nil {
2966 return nil, err
2967 }
2968 return x, nil
2969}
2970
2971type VolthaService_ReceivePacketsInClient interface {
2972 Recv() (*openflow_13.PacketIn, error)
2973 grpc.ClientStream
2974}
2975
2976type volthaServiceReceivePacketsInClient struct {
2977 grpc.ClientStream
2978}
2979
2980func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2981 m := new(openflow_13.PacketIn)
2982 if err := x.ClientStream.RecvMsg(m); err != nil {
2983 return nil, err
2984 }
2985 return m, nil
2986}
2987
2988func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2989 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2990 if err != nil {
2991 return nil, err
2992 }
2993 x := &volthaServiceReceiveChangeEventsClient{stream}
2994 if err := x.ClientStream.SendMsg(in); err != nil {
2995 return nil, err
2996 }
2997 if err := x.ClientStream.CloseSend(); err != nil {
2998 return nil, err
2999 }
3000 return x, nil
3001}
3002
3003type VolthaService_ReceiveChangeEventsClient interface {
3004 Recv() (*openflow_13.ChangeEvent, error)
3005 grpc.ClientStream
3006}
3007
3008type volthaServiceReceiveChangeEventsClient struct {
3009 grpc.ClientStream
3010}
3011
3012func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
3013 m := new(openflow_13.ChangeEvent)
3014 if err := x.ClientStream.RecvMsg(m); err != nil {
3015 return nil, err
3016 }
3017 return m, nil
3018}
3019
3020func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
3021 out := new(DeviceGroup)
3022 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
3023 if err != nil {
3024 return nil, err
3025 }
3026 return out, nil
3027}
3028
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003029func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3030 out := new(EventFilter)
3031 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003032 if err != nil {
3033 return nil, err
3034 }
3035 return out, nil
3036}
3037
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003038func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
3039 out := new(EventFilters)
3040 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003041 if err != nil {
3042 return nil, err
3043 }
3044 return out, nil
3045}
3046
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003047func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
3048 out := new(EventFilter)
3049 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003050 if err != nil {
3051 return nil, err
3052 }
3053 return out, nil
3054}
3055
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003056func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003057 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003058 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003059 if err != nil {
3060 return nil, err
3061 }
3062 return out, nil
3063}
3064
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003065func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
3066 out := new(EventFilters)
3067 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04003068 if err != nil {
3069 return nil, err
3070 }
3071 return out, nil
3072}
3073
3074func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
3075 out := new(Images)
3076 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
3077 if err != nil {
3078 return nil, err
3079 }
3080 return out, nil
3081}
3082
3083func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
3084 out := new(SelfTestResponse)
3085 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
3086 if err != nil {
3087 return nil, err
3088 }
3089 return out, nil
3090}
3091
3092func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
3093 out := new(omci.MibDeviceData)
3094 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
3095 if err != nil {
3096 return nil, err
3097 }
3098 return out, nil
3099}
3100
3101func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
3102 out := new(omci.AlarmDeviceData)
3103 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
3104 if err != nil {
3105 return nil, err
3106 }
3107 return out, nil
3108}
3109
3110func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
3111 out := new(common.OperationResp)
3112 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
3113 if err != nil {
3114 return nil, err
3115 }
3116 return out, nil
3117}
3118
3119func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
3120 out := new(OfAgentSubscriber)
3121 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
3122 if err != nil {
3123 return nil, err
3124 }
3125 return out, nil
3126}
3127
kesavand4a002b02020-01-23 21:29:47 -05003128func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3129 out := new(empty.Empty)
3130 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3131 if err != nil {
3132 return nil, err
3133 }
3134 return out, nil
3135}
3136
3137func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3138 out := new(empty.Empty)
3139 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3140 if err != nil {
3141 return nil, err
3142 }
3143 return out, nil
3144}
3145
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003146func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) {
3147 out := new(common.ReturnValues)
3148 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
3149 if err != nil {
3150 return nil, err
3151 }
3152 return out, nil
3153}
3154
dpaul2b52e712020-06-23 13:02:28 +05303155func (c *volthaServiceClient) SetExtValue(ctx context.Context, in *ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) {
3156 out := new(empty.Empty)
3157 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SetExtValue", in, out, opts...)
3158 if err != nil {
3159 return nil, err
3160 }
3161 return out, nil
3162}
3163
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303164func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3165 out := new(TestResponse)
3166 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3167 if err != nil {
3168 return nil, err
3169 }
3170 return out, nil
3171}
3172
William Kurkian1b363f42019-03-12 15:28:12 -04003173// VolthaServiceServer is the server API for VolthaService service.
3174type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04003175 // Get the membership group of a Voltha Core
3176 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3177 // Set the membership group of a Voltha Core
3178 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3179 // Get high level information on the Voltha cluster
3180 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3181 // List all Voltha cluster core instances
3182 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3183 // Get details on a Voltha cluster instance
3184 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3185 // List all active adapters (plugins) in the Voltha cluster
3186 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3187 // List all logical devices managed by the Voltha cluster
3188 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3189 // Get additional information on a given logical device
3190 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3191 // List ports of a logical device
3192 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3193 // Gets a logical device port
3194 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3195 // Enables a logical device port
3196 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3197 // Disables a logical device port
3198 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3199 // List all flows of a logical device
3200 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3201 // Update flow table for logical device
3202 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3203 // Update meter table for logical device
3204 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003205 // List all meters of a logical device
3206 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003207 // List all flow groups of a logical device
3208 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3209 // Update group table for device
3210 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3211 // List all physical devices controlled by the Voltha cluster
3212 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3213 // List all physical devices IDs controlled by the Voltha cluster
3214 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3215 // Request to a voltha Core to reconcile a set of devices based on their IDs
3216 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
Maninderc4e609e2020-12-23 16:28:22 +05303217 // Get the device updates of a given device using a filter
3218 GetDeviceUpdates(context.Context, *DeviceUpdateFilter) (*DeviceUpdates, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003219 // Get more information on a given physical device
3220 GetDevice(context.Context, *common.ID) (*Device, error)
3221 // Pre-provision a new physical device
3222 CreateDevice(context.Context, *Device) (*Device, error)
3223 // Enable a device. If the device was in pre-provisioned state then it
3224 // will transition to ENABLED state. If it was is DISABLED state then it
3225 // will transition to ENABLED state as well.
3226 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3227 // Disable a device
3228 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3229 // Reboot a device
3230 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3231 // Delete a device
3232 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
Himani Chawla503b7ce2020-10-07 13:20:03 +05303233 // Forcefully delete a device
3234 ForceDeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003235 // Request an image download to the standby partition
3236 // of a device.
3237 // Note that the call is expected to be non-blocking.
3238 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3239 // Get image download status on a device
3240 // The request retrieves progress on device and updates db record
3241 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3242 // Get image download db record
3243 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3244 // List image download db records for a given device
3245 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3246 // Cancel an existing image download process on a device
3247 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3248 // Activate the specified image at a standby partition
3249 // to active partition.
3250 // Depending on the device implementation, this call
3251 // may or may not cause device reboot.
3252 // If no reboot, then a reboot is required to make the
3253 // activated image running on device
3254 // Note that the call is expected to be non-blocking.
3255 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3256 // Revert the specified image at standby partition
3257 // to active partition, and revert to previous image
3258 // Depending on the device implementation, this call
3259 // may or may not cause device reboot.
3260 // If no reboot, then a reboot is required to make the
3261 // previous image running on device
3262 // Note that the call is expected to be non-blocking.
3263 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3264 // List ports of a device
3265 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3266 // List pm config of a device
3267 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3268 // Update the pm config of a device
3269 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3270 // List all flows of a device
3271 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3272 // List all flow groups of a device
3273 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3274 // List device types known to Voltha
3275 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3276 // Get additional information on a device type
3277 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3278 // List all device sharding groups
3279 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3280 // Stream control packets to the dataplane
3281 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3282 // Receive control packet stream
3283 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3284 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3285 // Get additional information on a device group
3286 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003287 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3288 // Get all filters present for a device
3289 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3290 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3291 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3292 // Get all the filters present
3293 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003294 GetImages(context.Context, *common.ID) (*Images, error)
3295 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3296 // OpenOMCI MIB information
3297 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3298 // OpenOMCI ALARM information
3299 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3300 // Simulate an Alarm
3301 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3302 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05003303 EnablePort(context.Context, *Port) (*empty.Empty, error)
3304 DisablePort(context.Context, *Port) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003305 GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error)
dpaul2b52e712020-06-23 13:02:28 +05303306 SetExtValue(context.Context, *ValueSet) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303307 // omci start and stop cli implementation
3308 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003309}
3310
3311func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3312 s.RegisterService(&_VolthaService_serviceDesc, srv)
3313}
3314
William Kurkian1b363f42019-03-12 15:28:12 -04003315func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3316 in := new(empty.Empty)
3317 if err := dec(in); err != nil {
3318 return nil, err
3319 }
3320 if interceptor == nil {
3321 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3322 }
3323 info := &grpc.UnaryServerInfo{
3324 Server: srv,
3325 FullMethod: "/voltha.VolthaService/GetMembership",
3326 }
3327 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3328 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3329 }
3330 return interceptor(ctx, in, info, handler)
3331}
3332
3333func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3334 in := new(Membership)
3335 if err := dec(in); err != nil {
3336 return nil, err
3337 }
3338 if interceptor == nil {
3339 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3340 }
3341 info := &grpc.UnaryServerInfo{
3342 Server: srv,
3343 FullMethod: "/voltha.VolthaService/UpdateMembership",
3344 }
3345 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3346 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3347 }
3348 return interceptor(ctx, in, info, handler)
3349}
3350
3351func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3352 in := new(empty.Empty)
3353 if err := dec(in); err != nil {
3354 return nil, err
3355 }
3356 if interceptor == nil {
3357 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3358 }
3359 info := &grpc.UnaryServerInfo{
3360 Server: srv,
3361 FullMethod: "/voltha.VolthaService/GetVoltha",
3362 }
3363 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3364 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3365 }
3366 return interceptor(ctx, in, info, handler)
3367}
3368
3369func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3370 in := new(empty.Empty)
3371 if err := dec(in); err != nil {
3372 return nil, err
3373 }
3374 if interceptor == nil {
3375 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3376 }
3377 info := &grpc.UnaryServerInfo{
3378 Server: srv,
3379 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3380 }
3381 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3382 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3383 }
3384 return interceptor(ctx, in, info, handler)
3385}
3386
3387func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3388 in := new(common.ID)
3389 if err := dec(in); err != nil {
3390 return nil, err
3391 }
3392 if interceptor == nil {
3393 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3394 }
3395 info := &grpc.UnaryServerInfo{
3396 Server: srv,
3397 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3398 }
3399 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3400 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3401 }
3402 return interceptor(ctx, in, info, handler)
3403}
3404
3405func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3406 in := new(empty.Empty)
3407 if err := dec(in); err != nil {
3408 return nil, err
3409 }
3410 if interceptor == nil {
3411 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3412 }
3413 info := &grpc.UnaryServerInfo{
3414 Server: srv,
3415 FullMethod: "/voltha.VolthaService/ListAdapters",
3416 }
3417 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3418 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3419 }
3420 return interceptor(ctx, in, info, handler)
3421}
3422
3423func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3424 in := new(empty.Empty)
3425 if err := dec(in); err != nil {
3426 return nil, err
3427 }
3428 if interceptor == nil {
3429 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3430 }
3431 info := &grpc.UnaryServerInfo{
3432 Server: srv,
3433 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3434 }
3435 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3436 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3437 }
3438 return interceptor(ctx, in, info, handler)
3439}
3440
3441func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3442 in := new(common.ID)
3443 if err := dec(in); err != nil {
3444 return nil, err
3445 }
3446 if interceptor == nil {
3447 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3448 }
3449 info := &grpc.UnaryServerInfo{
3450 Server: srv,
3451 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3452 }
3453 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3454 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3455 }
3456 return interceptor(ctx, in, info, handler)
3457}
3458
3459func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3460 in := new(common.ID)
3461 if err := dec(in); err != nil {
3462 return nil, err
3463 }
3464 if interceptor == nil {
3465 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3466 }
3467 info := &grpc.UnaryServerInfo{
3468 Server: srv,
3469 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3470 }
3471 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3472 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3473 }
3474 return interceptor(ctx, in, info, handler)
3475}
3476
3477func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3478 in := new(LogicalPortId)
3479 if err := dec(in); err != nil {
3480 return nil, err
3481 }
3482 if interceptor == nil {
3483 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3484 }
3485 info := &grpc.UnaryServerInfo{
3486 Server: srv,
3487 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3488 }
3489 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3490 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3491 }
3492 return interceptor(ctx, in, info, handler)
3493}
3494
3495func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3496 in := new(LogicalPortId)
3497 if err := dec(in); err != nil {
3498 return nil, err
3499 }
3500 if interceptor == nil {
3501 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3502 }
3503 info := &grpc.UnaryServerInfo{
3504 Server: srv,
3505 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3506 }
3507 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3508 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3509 }
3510 return interceptor(ctx, in, info, handler)
3511}
3512
3513func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3514 in := new(LogicalPortId)
3515 if err := dec(in); err != nil {
3516 return nil, err
3517 }
3518 if interceptor == nil {
3519 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3520 }
3521 info := &grpc.UnaryServerInfo{
3522 Server: srv,
3523 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3524 }
3525 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3526 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3527 }
3528 return interceptor(ctx, in, info, handler)
3529}
3530
3531func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3532 in := new(common.ID)
3533 if err := dec(in); err != nil {
3534 return nil, err
3535 }
3536 if interceptor == nil {
3537 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3538 }
3539 info := &grpc.UnaryServerInfo{
3540 Server: srv,
3541 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3542 }
3543 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3544 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3545 }
3546 return interceptor(ctx, in, info, handler)
3547}
3548
3549func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3550 in := new(openflow_13.FlowTableUpdate)
3551 if err := dec(in); err != nil {
3552 return nil, err
3553 }
3554 if interceptor == nil {
3555 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3556 }
3557 info := &grpc.UnaryServerInfo{
3558 Server: srv,
3559 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3560 }
3561 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3562 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3563 }
3564 return interceptor(ctx, in, info, handler)
3565}
3566
3567func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3568 in := new(openflow_13.MeterModUpdate)
3569 if err := dec(in); err != nil {
3570 return nil, err
3571 }
3572 if interceptor == nil {
3573 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3574 }
3575 info := &grpc.UnaryServerInfo{
3576 Server: srv,
3577 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3578 }
3579 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3580 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3581 }
3582 return interceptor(ctx, in, info, handler)
3583}
3584
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003585func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003586 in := new(common.ID)
3587 if err := dec(in); err != nil {
3588 return nil, err
3589 }
3590 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003591 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003592 }
3593 info := &grpc.UnaryServerInfo{
3594 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003595 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003596 }
3597 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003598 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003599 }
3600 return interceptor(ctx, in, info, handler)
3601}
3602
3603func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3604 in := new(common.ID)
3605 if err := dec(in); err != nil {
3606 return nil, err
3607 }
3608 if interceptor == nil {
3609 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3610 }
3611 info := &grpc.UnaryServerInfo{
3612 Server: srv,
3613 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3614 }
3615 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3616 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3617 }
3618 return interceptor(ctx, in, info, handler)
3619}
3620
3621func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3622 in := new(openflow_13.FlowGroupTableUpdate)
3623 if err := dec(in); err != nil {
3624 return nil, err
3625 }
3626 if interceptor == nil {
3627 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3628 }
3629 info := &grpc.UnaryServerInfo{
3630 Server: srv,
3631 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3632 }
3633 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3634 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3635 }
3636 return interceptor(ctx, in, info, handler)
3637}
3638
3639func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3640 in := new(empty.Empty)
3641 if err := dec(in); err != nil {
3642 return nil, err
3643 }
3644 if interceptor == nil {
3645 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3646 }
3647 info := &grpc.UnaryServerInfo{
3648 Server: srv,
3649 FullMethod: "/voltha.VolthaService/ListDevices",
3650 }
3651 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3652 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3653 }
3654 return interceptor(ctx, in, info, handler)
3655}
3656
3657func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3658 in := new(empty.Empty)
3659 if err := dec(in); err != nil {
3660 return nil, err
3661 }
3662 if interceptor == nil {
3663 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3664 }
3665 info := &grpc.UnaryServerInfo{
3666 Server: srv,
3667 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3668 }
3669 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3670 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3671 }
3672 return interceptor(ctx, in, info, handler)
3673}
3674
3675func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3676 in := new(common.IDs)
3677 if err := dec(in); err != nil {
3678 return nil, err
3679 }
3680 if interceptor == nil {
3681 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3682 }
3683 info := &grpc.UnaryServerInfo{
3684 Server: srv,
3685 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3686 }
3687 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3688 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3689 }
3690 return interceptor(ctx, in, info, handler)
3691}
3692
Maninderc4e609e2020-12-23 16:28:22 +05303693func _VolthaService_GetDeviceUpdates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3694 in := new(DeviceUpdateFilter)
3695 if err := dec(in); err != nil {
3696 return nil, err
3697 }
3698 if interceptor == nil {
3699 return srv.(VolthaServiceServer).GetDeviceUpdates(ctx, in)
3700 }
3701 info := &grpc.UnaryServerInfo{
3702 Server: srv,
3703 FullMethod: "/voltha.VolthaService/GetDeviceUpdates",
3704 }
3705 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3706 return srv.(VolthaServiceServer).GetDeviceUpdates(ctx, req.(*DeviceUpdateFilter))
3707 }
3708 return interceptor(ctx, in, info, handler)
3709}
3710
William Kurkian1b363f42019-03-12 15:28:12 -04003711func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3712 in := new(common.ID)
3713 if err := dec(in); err != nil {
3714 return nil, err
3715 }
3716 if interceptor == nil {
3717 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3718 }
3719 info := &grpc.UnaryServerInfo{
3720 Server: srv,
3721 FullMethod: "/voltha.VolthaService/GetDevice",
3722 }
3723 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3724 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3725 }
3726 return interceptor(ctx, in, info, handler)
3727}
3728
3729func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3730 in := new(Device)
3731 if err := dec(in); err != nil {
3732 return nil, err
3733 }
3734 if interceptor == nil {
3735 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3736 }
3737 info := &grpc.UnaryServerInfo{
3738 Server: srv,
3739 FullMethod: "/voltha.VolthaService/CreateDevice",
3740 }
3741 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3742 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3743 }
3744 return interceptor(ctx, in, info, handler)
3745}
3746
3747func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3748 in := new(common.ID)
3749 if err := dec(in); err != nil {
3750 return nil, err
3751 }
3752 if interceptor == nil {
3753 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3754 }
3755 info := &grpc.UnaryServerInfo{
3756 Server: srv,
3757 FullMethod: "/voltha.VolthaService/EnableDevice",
3758 }
3759 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3760 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3761 }
3762 return interceptor(ctx, in, info, handler)
3763}
3764
3765func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3766 in := new(common.ID)
3767 if err := dec(in); err != nil {
3768 return nil, err
3769 }
3770 if interceptor == nil {
3771 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3772 }
3773 info := &grpc.UnaryServerInfo{
3774 Server: srv,
3775 FullMethod: "/voltha.VolthaService/DisableDevice",
3776 }
3777 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3778 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3779 }
3780 return interceptor(ctx, in, info, handler)
3781}
3782
3783func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3784 in := new(common.ID)
3785 if err := dec(in); err != nil {
3786 return nil, err
3787 }
3788 if interceptor == nil {
3789 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3790 }
3791 info := &grpc.UnaryServerInfo{
3792 Server: srv,
3793 FullMethod: "/voltha.VolthaService/RebootDevice",
3794 }
3795 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3796 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3797 }
3798 return interceptor(ctx, in, info, handler)
3799}
3800
3801func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3802 in := new(common.ID)
3803 if err := dec(in); err != nil {
3804 return nil, err
3805 }
3806 if interceptor == nil {
3807 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3808 }
3809 info := &grpc.UnaryServerInfo{
3810 Server: srv,
3811 FullMethod: "/voltha.VolthaService/DeleteDevice",
3812 }
3813 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3814 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3815 }
3816 return interceptor(ctx, in, info, handler)
3817}
3818
Himani Chawla503b7ce2020-10-07 13:20:03 +05303819func _VolthaService_ForceDeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3820 in := new(common.ID)
3821 if err := dec(in); err != nil {
3822 return nil, err
3823 }
3824 if interceptor == nil {
3825 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, in)
3826 }
3827 info := &grpc.UnaryServerInfo{
3828 Server: srv,
3829 FullMethod: "/voltha.VolthaService/ForceDeleteDevice",
3830 }
3831 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3832 return srv.(VolthaServiceServer).ForceDeleteDevice(ctx, req.(*common.ID))
3833 }
3834 return interceptor(ctx, in, info, handler)
3835}
3836
William Kurkian1b363f42019-03-12 15:28:12 -04003837func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3838 in := new(ImageDownload)
3839 if err := dec(in); err != nil {
3840 return nil, err
3841 }
3842 if interceptor == nil {
3843 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3844 }
3845 info := &grpc.UnaryServerInfo{
3846 Server: srv,
3847 FullMethod: "/voltha.VolthaService/DownloadImage",
3848 }
3849 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3850 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3851 }
3852 return interceptor(ctx, in, info, handler)
3853}
3854
3855func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3856 in := new(ImageDownload)
3857 if err := dec(in); err != nil {
3858 return nil, err
3859 }
3860 if interceptor == nil {
3861 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3862 }
3863 info := &grpc.UnaryServerInfo{
3864 Server: srv,
3865 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3866 }
3867 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3868 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3869 }
3870 return interceptor(ctx, in, info, handler)
3871}
3872
3873func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3874 in := new(ImageDownload)
3875 if err := dec(in); err != nil {
3876 return nil, err
3877 }
3878 if interceptor == nil {
3879 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3880 }
3881 info := &grpc.UnaryServerInfo{
3882 Server: srv,
3883 FullMethod: "/voltha.VolthaService/GetImageDownload",
3884 }
3885 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3886 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3887 }
3888 return interceptor(ctx, in, info, handler)
3889}
3890
3891func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3892 in := new(common.ID)
3893 if err := dec(in); err != nil {
3894 return nil, err
3895 }
3896 if interceptor == nil {
3897 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3898 }
3899 info := &grpc.UnaryServerInfo{
3900 Server: srv,
3901 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3902 }
3903 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3904 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3905 }
3906 return interceptor(ctx, in, info, handler)
3907}
3908
3909func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3910 in := new(ImageDownload)
3911 if err := dec(in); err != nil {
3912 return nil, err
3913 }
3914 if interceptor == nil {
3915 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3916 }
3917 info := &grpc.UnaryServerInfo{
3918 Server: srv,
3919 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3920 }
3921 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3922 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3923 }
3924 return interceptor(ctx, in, info, handler)
3925}
3926
3927func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3928 in := new(ImageDownload)
3929 if err := dec(in); err != nil {
3930 return nil, err
3931 }
3932 if interceptor == nil {
3933 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3934 }
3935 info := &grpc.UnaryServerInfo{
3936 Server: srv,
3937 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3938 }
3939 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3940 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3941 }
3942 return interceptor(ctx, in, info, handler)
3943}
3944
3945func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3946 in := new(ImageDownload)
3947 if err := dec(in); err != nil {
3948 return nil, err
3949 }
3950 if interceptor == nil {
3951 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3952 }
3953 info := &grpc.UnaryServerInfo{
3954 Server: srv,
3955 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3956 }
3957 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3958 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3959 }
3960 return interceptor(ctx, in, info, handler)
3961}
3962
3963func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3964 in := new(common.ID)
3965 if err := dec(in); err != nil {
3966 return nil, err
3967 }
3968 if interceptor == nil {
3969 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3970 }
3971 info := &grpc.UnaryServerInfo{
3972 Server: srv,
3973 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3974 }
3975 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3976 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3977 }
3978 return interceptor(ctx, in, info, handler)
3979}
3980
3981func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3982 in := new(common.ID)
3983 if err := dec(in); err != nil {
3984 return nil, err
3985 }
3986 if interceptor == nil {
3987 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3988 }
3989 info := &grpc.UnaryServerInfo{
3990 Server: srv,
3991 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3992 }
3993 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3994 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3995 }
3996 return interceptor(ctx, in, info, handler)
3997}
3998
3999func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4000 in := new(PmConfigs)
4001 if err := dec(in); err != nil {
4002 return nil, err
4003 }
4004 if interceptor == nil {
4005 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
4006 }
4007 info := &grpc.UnaryServerInfo{
4008 Server: srv,
4009 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
4010 }
4011 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4012 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
4013 }
4014 return interceptor(ctx, in, info, handler)
4015}
4016
4017func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4018 in := new(common.ID)
4019 if err := dec(in); err != nil {
4020 return nil, err
4021 }
4022 if interceptor == nil {
4023 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
4024 }
4025 info := &grpc.UnaryServerInfo{
4026 Server: srv,
4027 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
4028 }
4029 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4030 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
4031 }
4032 return interceptor(ctx, in, info, handler)
4033}
4034
4035func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4036 in := new(common.ID)
4037 if err := dec(in); err != nil {
4038 return nil, err
4039 }
4040 if interceptor == nil {
4041 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
4042 }
4043 info := &grpc.UnaryServerInfo{
4044 Server: srv,
4045 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
4046 }
4047 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4048 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
4049 }
4050 return interceptor(ctx, in, info, handler)
4051}
4052
4053func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4054 in := new(empty.Empty)
4055 if err := dec(in); err != nil {
4056 return nil, err
4057 }
4058 if interceptor == nil {
4059 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
4060 }
4061 info := &grpc.UnaryServerInfo{
4062 Server: srv,
4063 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
4064 }
4065 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4066 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
4067 }
4068 return interceptor(ctx, in, info, handler)
4069}
4070
4071func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4072 in := new(common.ID)
4073 if err := dec(in); err != nil {
4074 return nil, err
4075 }
4076 if interceptor == nil {
4077 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
4078 }
4079 info := &grpc.UnaryServerInfo{
4080 Server: srv,
4081 FullMethod: "/voltha.VolthaService/GetDeviceType",
4082 }
4083 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4084 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
4085 }
4086 return interceptor(ctx, in, info, handler)
4087}
4088
4089func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4090 in := new(empty.Empty)
4091 if err := dec(in); err != nil {
4092 return nil, err
4093 }
4094 if interceptor == nil {
4095 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
4096 }
4097 info := &grpc.UnaryServerInfo{
4098 Server: srv,
4099 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
4100 }
4101 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4102 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
4103 }
4104 return interceptor(ctx, in, info, handler)
4105}
4106
4107func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
4108 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
4109}
4110
4111type VolthaService_StreamPacketsOutServer interface {
4112 SendAndClose(*empty.Empty) error
4113 Recv() (*openflow_13.PacketOut, error)
4114 grpc.ServerStream
4115}
4116
4117type volthaServiceStreamPacketsOutServer struct {
4118 grpc.ServerStream
4119}
4120
4121func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
4122 return x.ServerStream.SendMsg(m)
4123}
4124
4125func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
4126 m := new(openflow_13.PacketOut)
4127 if err := x.ServerStream.RecvMsg(m); err != nil {
4128 return nil, err
4129 }
4130 return m, nil
4131}
4132
4133func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
4134 m := new(empty.Empty)
4135 if err := stream.RecvMsg(m); err != nil {
4136 return err
4137 }
4138 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
4139}
4140
4141type VolthaService_ReceivePacketsInServer interface {
4142 Send(*openflow_13.PacketIn) error
4143 grpc.ServerStream
4144}
4145
4146type volthaServiceReceivePacketsInServer struct {
4147 grpc.ServerStream
4148}
4149
4150func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
4151 return x.ServerStream.SendMsg(m)
4152}
4153
4154func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
4155 m := new(empty.Empty)
4156 if err := stream.RecvMsg(m); err != nil {
4157 return err
4158 }
4159 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
4160}
4161
4162type VolthaService_ReceiveChangeEventsServer interface {
4163 Send(*openflow_13.ChangeEvent) error
4164 grpc.ServerStream
4165}
4166
4167type volthaServiceReceiveChangeEventsServer struct {
4168 grpc.ServerStream
4169}
4170
4171func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
4172 return x.ServerStream.SendMsg(m)
4173}
4174
4175func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4176 in := new(common.ID)
4177 if err := dec(in); err != nil {
4178 return nil, err
4179 }
4180 if interceptor == nil {
4181 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
4182 }
4183 info := &grpc.UnaryServerInfo{
4184 Server: srv,
4185 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
4186 }
4187 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4188 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
4189 }
4190 return interceptor(ctx, in, info, handler)
4191}
4192
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004193func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4194 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004195 if err := dec(in); err != nil {
4196 return nil, err
4197 }
4198 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004199 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004200 }
4201 info := &grpc.UnaryServerInfo{
4202 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004203 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004204 }
4205 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004206 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004207 }
4208 return interceptor(ctx, in, info, handler)
4209}
4210
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004211func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004212 in := new(common.ID)
4213 if err := dec(in); err != nil {
4214 return nil, err
4215 }
4216 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004217 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004218 }
4219 info := &grpc.UnaryServerInfo{
4220 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004221 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004222 }
4223 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004224 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04004225 }
4226 return interceptor(ctx, in, info, handler)
4227}
4228
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004229func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4230 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004231 if err := dec(in); err != nil {
4232 return nil, err
4233 }
4234 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004235 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004236 }
4237 info := &grpc.UnaryServerInfo{
4238 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004239 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004240 }
4241 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004242 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004243 }
4244 return interceptor(ctx, in, info, handler)
4245}
4246
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004247func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4248 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004249 if err := dec(in); err != nil {
4250 return nil, err
4251 }
4252 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004253 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004254 }
4255 info := &grpc.UnaryServerInfo{
4256 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004257 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004258 }
4259 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004260 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004261 }
4262 return interceptor(ctx, in, info, handler)
4263}
4264
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004265func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004266 in := new(empty.Empty)
4267 if err := dec(in); err != nil {
4268 return nil, err
4269 }
4270 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004271 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004272 }
4273 info := &grpc.UnaryServerInfo{
4274 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004275 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04004276 }
4277 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004278 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04004279 }
4280 return interceptor(ctx, in, info, handler)
4281}
4282
4283func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4284 in := new(common.ID)
4285 if err := dec(in); err != nil {
4286 return nil, err
4287 }
4288 if interceptor == nil {
4289 return srv.(VolthaServiceServer).GetImages(ctx, in)
4290 }
4291 info := &grpc.UnaryServerInfo{
4292 Server: srv,
4293 FullMethod: "/voltha.VolthaService/GetImages",
4294 }
4295 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4296 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4297 }
4298 return interceptor(ctx, in, info, handler)
4299}
4300
4301func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4302 in := new(common.ID)
4303 if err := dec(in); err != nil {
4304 return nil, err
4305 }
4306 if interceptor == nil {
4307 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4308 }
4309 info := &grpc.UnaryServerInfo{
4310 Server: srv,
4311 FullMethod: "/voltha.VolthaService/SelfTest",
4312 }
4313 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4314 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4315 }
4316 return interceptor(ctx, in, info, handler)
4317}
4318
4319func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4320 in := new(common.ID)
4321 if err := dec(in); err != nil {
4322 return nil, err
4323 }
4324 if interceptor == nil {
4325 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4326 }
4327 info := &grpc.UnaryServerInfo{
4328 Server: srv,
4329 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4330 }
4331 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4332 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4333 }
4334 return interceptor(ctx, in, info, handler)
4335}
4336
4337func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4338 in := new(common.ID)
4339 if err := dec(in); err != nil {
4340 return nil, err
4341 }
4342 if interceptor == nil {
4343 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4344 }
4345 info := &grpc.UnaryServerInfo{
4346 Server: srv,
4347 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4348 }
4349 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4350 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4351 }
4352 return interceptor(ctx, in, info, handler)
4353}
4354
4355func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4356 in := new(SimulateAlarmRequest)
4357 if err := dec(in); err != nil {
4358 return nil, err
4359 }
4360 if interceptor == nil {
4361 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4362 }
4363 info := &grpc.UnaryServerInfo{
4364 Server: srv,
4365 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4366 }
4367 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4368 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4369 }
4370 return interceptor(ctx, in, info, handler)
4371}
4372
4373func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4374 in := new(OfAgentSubscriber)
4375 if err := dec(in); err != nil {
4376 return nil, err
4377 }
4378 if interceptor == nil {
4379 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4380 }
4381 info := &grpc.UnaryServerInfo{
4382 Server: srv,
4383 FullMethod: "/voltha.VolthaService/Subscribe",
4384 }
4385 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4386 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4387 }
4388 return interceptor(ctx, in, info, handler)
4389}
4390
kesavand4a002b02020-01-23 21:29:47 -05004391func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4392 in := new(Port)
4393 if err := dec(in); err != nil {
4394 return nil, err
4395 }
4396 if interceptor == nil {
4397 return srv.(VolthaServiceServer).EnablePort(ctx, in)
4398 }
4399 info := &grpc.UnaryServerInfo{
4400 Server: srv,
4401 FullMethod: "/voltha.VolthaService/EnablePort",
4402 }
4403 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4404 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
4405 }
4406 return interceptor(ctx, in, info, handler)
4407}
4408
4409func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4410 in := new(Port)
4411 if err := dec(in); err != nil {
4412 return nil, err
4413 }
4414 if interceptor == nil {
4415 return srv.(VolthaServiceServer).DisablePort(ctx, in)
4416 }
4417 info := &grpc.UnaryServerInfo{
4418 Server: srv,
4419 FullMethod: "/voltha.VolthaService/DisablePort",
4420 }
4421 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4422 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
4423 }
4424 return interceptor(ctx, in, info, handler)
4425}
4426
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004427func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4428 in := new(common.ValueSpecifier)
4429 if err := dec(in); err != nil {
4430 return nil, err
4431 }
4432 if interceptor == nil {
4433 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
4434 }
4435 info := &grpc.UnaryServerInfo{
4436 Server: srv,
4437 FullMethod: "/voltha.VolthaService/GetExtValue",
4438 }
4439 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4440 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*common.ValueSpecifier))
4441 }
4442 return interceptor(ctx, in, info, handler)
4443}
4444
dpaul2b52e712020-06-23 13:02:28 +05304445func _VolthaService_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4446 in := new(ValueSet)
4447 if err := dec(in); err != nil {
4448 return nil, err
4449 }
4450 if interceptor == nil {
4451 return srv.(VolthaServiceServer).SetExtValue(ctx, in)
4452 }
4453 info := &grpc.UnaryServerInfo{
4454 Server: srv,
4455 FullMethod: "/voltha.VolthaService/SetExtValue",
4456 }
4457 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4458 return srv.(VolthaServiceServer).SetExtValue(ctx, req.(*ValueSet))
4459 }
4460 return interceptor(ctx, in, info, handler)
4461}
4462
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304463func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4464 in := new(OmciTestRequest)
4465 if err := dec(in); err != nil {
4466 return nil, err
4467 }
4468 if interceptor == nil {
4469 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
4470 }
4471 info := &grpc.UnaryServerInfo{
4472 Server: srv,
4473 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
4474 }
4475 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4476 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest))
4477 }
4478 return interceptor(ctx, in, info, handler)
4479}
4480
William Kurkian1b363f42019-03-12 15:28:12 -04004481var _VolthaService_serviceDesc = grpc.ServiceDesc{
4482 ServiceName: "voltha.VolthaService",
4483 HandlerType: (*VolthaServiceServer)(nil),
4484 Methods: []grpc.MethodDesc{
4485 {
William Kurkian1b363f42019-03-12 15:28:12 -04004486 MethodName: "GetMembership",
4487 Handler: _VolthaService_GetMembership_Handler,
4488 },
4489 {
4490 MethodName: "UpdateMembership",
4491 Handler: _VolthaService_UpdateMembership_Handler,
4492 },
4493 {
4494 MethodName: "GetVoltha",
4495 Handler: _VolthaService_GetVoltha_Handler,
4496 },
4497 {
4498 MethodName: "ListCoreInstances",
4499 Handler: _VolthaService_ListCoreInstances_Handler,
4500 },
4501 {
4502 MethodName: "GetCoreInstance",
4503 Handler: _VolthaService_GetCoreInstance_Handler,
4504 },
4505 {
4506 MethodName: "ListAdapters",
4507 Handler: _VolthaService_ListAdapters_Handler,
4508 },
4509 {
4510 MethodName: "ListLogicalDevices",
4511 Handler: _VolthaService_ListLogicalDevices_Handler,
4512 },
4513 {
4514 MethodName: "GetLogicalDevice",
4515 Handler: _VolthaService_GetLogicalDevice_Handler,
4516 },
4517 {
4518 MethodName: "ListLogicalDevicePorts",
4519 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4520 },
4521 {
4522 MethodName: "GetLogicalDevicePort",
4523 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4524 },
4525 {
4526 MethodName: "EnableLogicalDevicePort",
4527 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4528 },
4529 {
4530 MethodName: "DisableLogicalDevicePort",
4531 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4532 },
4533 {
4534 MethodName: "ListLogicalDeviceFlows",
4535 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4536 },
4537 {
4538 MethodName: "UpdateLogicalDeviceFlowTable",
4539 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4540 },
4541 {
4542 MethodName: "UpdateLogicalDeviceMeterTable",
4543 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4544 },
4545 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004546 MethodName: "ListLogicalDeviceMeters",
4547 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004548 },
4549 {
4550 MethodName: "ListLogicalDeviceFlowGroups",
4551 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4552 },
4553 {
4554 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4555 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4556 },
4557 {
4558 MethodName: "ListDevices",
4559 Handler: _VolthaService_ListDevices_Handler,
4560 },
4561 {
4562 MethodName: "ListDeviceIds",
4563 Handler: _VolthaService_ListDeviceIds_Handler,
4564 },
4565 {
4566 MethodName: "ReconcileDevices",
4567 Handler: _VolthaService_ReconcileDevices_Handler,
4568 },
4569 {
Maninderc4e609e2020-12-23 16:28:22 +05304570 MethodName: "GetDeviceUpdates",
4571 Handler: _VolthaService_GetDeviceUpdates_Handler,
4572 },
4573 {
William Kurkian1b363f42019-03-12 15:28:12 -04004574 MethodName: "GetDevice",
4575 Handler: _VolthaService_GetDevice_Handler,
4576 },
4577 {
4578 MethodName: "CreateDevice",
4579 Handler: _VolthaService_CreateDevice_Handler,
4580 },
4581 {
4582 MethodName: "EnableDevice",
4583 Handler: _VolthaService_EnableDevice_Handler,
4584 },
4585 {
4586 MethodName: "DisableDevice",
4587 Handler: _VolthaService_DisableDevice_Handler,
4588 },
4589 {
4590 MethodName: "RebootDevice",
4591 Handler: _VolthaService_RebootDevice_Handler,
4592 },
4593 {
4594 MethodName: "DeleteDevice",
4595 Handler: _VolthaService_DeleteDevice_Handler,
4596 },
4597 {
Himani Chawla503b7ce2020-10-07 13:20:03 +05304598 MethodName: "ForceDeleteDevice",
4599 Handler: _VolthaService_ForceDeleteDevice_Handler,
4600 },
4601 {
William Kurkian1b363f42019-03-12 15:28:12 -04004602 MethodName: "DownloadImage",
4603 Handler: _VolthaService_DownloadImage_Handler,
4604 },
4605 {
4606 MethodName: "GetImageDownloadStatus",
4607 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4608 },
4609 {
4610 MethodName: "GetImageDownload",
4611 Handler: _VolthaService_GetImageDownload_Handler,
4612 },
4613 {
4614 MethodName: "ListImageDownloads",
4615 Handler: _VolthaService_ListImageDownloads_Handler,
4616 },
4617 {
4618 MethodName: "CancelImageDownload",
4619 Handler: _VolthaService_CancelImageDownload_Handler,
4620 },
4621 {
4622 MethodName: "ActivateImageUpdate",
4623 Handler: _VolthaService_ActivateImageUpdate_Handler,
4624 },
4625 {
4626 MethodName: "RevertImageUpdate",
4627 Handler: _VolthaService_RevertImageUpdate_Handler,
4628 },
4629 {
4630 MethodName: "ListDevicePorts",
4631 Handler: _VolthaService_ListDevicePorts_Handler,
4632 },
4633 {
4634 MethodName: "ListDevicePmConfigs",
4635 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4636 },
4637 {
4638 MethodName: "UpdateDevicePmConfigs",
4639 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4640 },
4641 {
4642 MethodName: "ListDeviceFlows",
4643 Handler: _VolthaService_ListDeviceFlows_Handler,
4644 },
4645 {
4646 MethodName: "ListDeviceFlowGroups",
4647 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4648 },
4649 {
4650 MethodName: "ListDeviceTypes",
4651 Handler: _VolthaService_ListDeviceTypes_Handler,
4652 },
4653 {
4654 MethodName: "GetDeviceType",
4655 Handler: _VolthaService_GetDeviceType_Handler,
4656 },
4657 {
4658 MethodName: "ListDeviceGroups",
4659 Handler: _VolthaService_ListDeviceGroups_Handler,
4660 },
4661 {
4662 MethodName: "GetDeviceGroup",
4663 Handler: _VolthaService_GetDeviceGroup_Handler,
4664 },
4665 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004666 MethodName: "CreateEventFilter",
4667 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004668 },
4669 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004670 MethodName: "GetEventFilter",
4671 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004672 },
4673 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004674 MethodName: "UpdateEventFilter",
4675 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004676 },
4677 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004678 MethodName: "DeleteEventFilter",
4679 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004680 },
4681 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004682 MethodName: "ListEventFilters",
4683 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004684 },
4685 {
4686 MethodName: "GetImages",
4687 Handler: _VolthaService_GetImages_Handler,
4688 },
4689 {
4690 MethodName: "SelfTest",
4691 Handler: _VolthaService_SelfTest_Handler,
4692 },
4693 {
4694 MethodName: "GetMibDeviceData",
4695 Handler: _VolthaService_GetMibDeviceData_Handler,
4696 },
4697 {
4698 MethodName: "GetAlarmDeviceData",
4699 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4700 },
4701 {
4702 MethodName: "SimulateAlarm",
4703 Handler: _VolthaService_SimulateAlarm_Handler,
4704 },
4705 {
4706 MethodName: "Subscribe",
4707 Handler: _VolthaService_Subscribe_Handler,
4708 },
kesavand4a002b02020-01-23 21:29:47 -05004709 {
4710 MethodName: "EnablePort",
4711 Handler: _VolthaService_EnablePort_Handler,
4712 },
4713 {
4714 MethodName: "DisablePort",
4715 Handler: _VolthaService_DisablePort_Handler,
4716 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304717 {
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004718 MethodName: "GetExtValue",
4719 Handler: _VolthaService_GetExtValue_Handler,
4720 },
4721 {
dpaul2b52e712020-06-23 13:02:28 +05304722 MethodName: "SetExtValue",
4723 Handler: _VolthaService_SetExtValue_Handler,
4724 },
4725 {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304726 MethodName: "StartOmciTestAction",
4727 Handler: _VolthaService_StartOmciTestAction_Handler,
4728 },
William Kurkian1b363f42019-03-12 15:28:12 -04004729 },
4730 Streams: []grpc.StreamDesc{
4731 {
4732 StreamName: "StreamPacketsOut",
4733 Handler: _VolthaService_StreamPacketsOut_Handler,
4734 ClientStreams: true,
4735 },
4736 {
4737 StreamName: "ReceivePacketsIn",
4738 Handler: _VolthaService_ReceivePacketsIn_Handler,
4739 ServerStreams: true,
4740 },
4741 {
4742 StreamName: "ReceiveChangeEvents",
4743 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4744 ServerStreams: true,
4745 },
4746 },
4747 Metadata: "voltha_protos/voltha.proto",
4748}