blob: 83fb29899440cec3e52a16a8fcad3178ceac9811 [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/voltha.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package voltha
William Kurkian1b363f42019-03-12 15:28:12 -04005
6import (
William Kurkianad745652019-03-20 08:45:51 -04007 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
10 empty "github.com/golang/protobuf/ptypes/empty"
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030011 common "github.com/opencord/voltha-protos/v3/go/common"
12 omci "github.com/opencord/voltha-protos/v3/go/omci"
13 openflow_13 "github.com/opencord/voltha-protos/v3/go/openflow_13"
William Kurkianad745652019-03-20 08:45:51 -040014 _ "google.golang.org/genproto/googleapis/api/annotations"
William Kurkian1b363f42019-03-12 15:28:12 -040015 grpc "google.golang.org/grpc"
William Kurkianad745652019-03-20 08:45:51 -040016 math "math"
William Kurkian1b363f42019-03-12 15:28:12 -040017)
18
19// Reference imports to suppress errors if they are not otherwise used.
20var _ = proto.Marshal
21var _ = fmt.Errorf
22var _ = math.Inf
23
24// This is a compile-time assertion to ensure that this generated file
25// is compatible with the proto package it is being compiled against.
26// A compilation error at this line likely means your copy of the
27// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040028const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040029
30// ChildNode from public import voltha_protos/meta.proto
31type ChildNode = common.ChildNode
32
33// Access from public import voltha_protos/meta.proto
34type Access = common.Access
35
36var Access_name = common.Access_name
37var Access_value = common.Access_value
38
39const Access_CONFIG = Access(common.Access_CONFIG)
40const Access_READ_ONLY = Access(common.Access_READ_ONLY)
41const Access_REAL_TIME = Access(common.Access_REAL_TIME)
42
William Kurkian1b363f42019-03-12 15:28:12 -040043var E_ChildNode = common.E_ChildNode
44
William Kurkian1b363f42019-03-12 15:28:12 -040045var E_Access = common.E_Access
46
47// ID from public import voltha_protos/common.proto
48type ID = common.ID
49
50// IDs from public import voltha_protos/common.proto
51type IDs = common.IDs
52
William Kurkian1b363f42019-03-12 15:28:12 -040053// AdminState from public import voltha_protos/common.proto
54type AdminState = common.AdminState
55
56// OperStatus from public import voltha_protos/common.proto
57type OperStatus = common.OperStatus
58
59// ConnectStatus from public import voltha_protos/common.proto
60type ConnectStatus = common.ConnectStatus
61
62// OperationResp from public import voltha_protos/common.proto
63type OperationResp = common.OperationResp
64
65// TestModeKeys from public import voltha_protos/common.proto
66type TestModeKeys = common.TestModeKeys
67
68var TestModeKeys_name = common.TestModeKeys_name
69var TestModeKeys_value = common.TestModeKeys_value
70
71const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
72
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030073// AdminState_Types from public import voltha_protos/common.proto
74type AdminState_Types = common.AdminState_Types
William Kurkian1b363f42019-03-12 15:28:12 -040075
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030076var AdminState_Types_name = common.AdminState_Types_name
77var AdminState_Types_value = common.AdminState_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040078
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030079const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
80const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
81const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
82const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
83const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
84const AdminState_DELETED = AdminState_Types(common.AdminState_DELETED)
William Kurkian1b363f42019-03-12 15:28:12 -040085
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030086// OperStatus_Types from public import voltha_protos/common.proto
87type OperStatus_Types = common.OperStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -040088
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030089var OperStatus_Types_name = common.OperStatus_Types_name
90var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040091
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030092const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
93const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
94const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
95const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
96const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
97const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
William Kurkian1b363f42019-03-12 15:28:12 -040098
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099// ConnectStatus_Types from public import voltha_protos/common.proto
100type ConnectStatus_Types = common.ConnectStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400101
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300102var ConnectStatus_Types_name = common.ConnectStatus_Types_name
103var ConnectStatus_Types_value = common.ConnectStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400104
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300105const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
106const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
107const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
William Kurkian1b363f42019-03-12 15:28:12 -0400108
William Kurkianad745652019-03-20 08:45:51 -0400109// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400110type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
111
112var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
113var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
114
115const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
116const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
117const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
118
William Kurkianad745652019-03-20 08:45:51 -0400119// OfpHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400120type OfpHeader = openflow_13.OfpHeader
121
William Kurkianad745652019-03-20 08:45:51 -0400122// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400123type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
124type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
125
William Kurkianad745652019-03-20 08:45:51 -0400126// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400127type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
128
William Kurkianad745652019-03-20 08:45:51 -0400129// OfpHello from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400130type OfpHello = openflow_13.OfpHello
131
William Kurkianad745652019-03-20 08:45:51 -0400132// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400133type OfpSwitchConfig = openflow_13.OfpSwitchConfig
134
William Kurkianad745652019-03-20 08:45:51 -0400135// OfpTableMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400136type OfpTableMod = openflow_13.OfpTableMod
137
William Kurkianad745652019-03-20 08:45:51 -0400138// OfpPort from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400139type OfpPort = openflow_13.OfpPort
140
William Kurkianad745652019-03-20 08:45:51 -0400141// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400142type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
143
William Kurkianad745652019-03-20 08:45:51 -0400144// OfpPortStatus from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400145type OfpPortStatus = openflow_13.OfpPortStatus
146
William Kurkianad745652019-03-20 08:45:51 -0400147// OfpPortMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400148type OfpPortMod = openflow_13.OfpPortMod
149
William Kurkianad745652019-03-20 08:45:51 -0400150// OfpMatch from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400151type OfpMatch = openflow_13.OfpMatch
152
William Kurkianad745652019-03-20 08:45:51 -0400153// OfpOxmField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400154type OfpOxmField = openflow_13.OfpOxmField
155type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
156type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
157
William Kurkianad745652019-03-20 08:45:51 -0400158// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400159type OfpOxmOfbField = openflow_13.OfpOxmOfbField
160type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
161type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
162type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
163type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
164type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
165type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
166type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
167type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
168type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
169type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
170type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
171type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
172type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
173type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
174type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
175type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
176type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
177type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
178type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
179type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
180type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
181type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
182type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
183type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
184type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
185type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
186type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
187type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
188type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
189type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
190type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
191type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
192type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
193type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
194type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
195type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
196type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
197type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
198type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
199type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
200type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
201type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
202type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
203type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
204type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
205type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
206type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
207type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
208type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
209type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
210type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
211type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
212type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
213type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
214
William Kurkianad745652019-03-20 08:45:51 -0400215// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400216type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
217
William Kurkianad745652019-03-20 08:45:51 -0400218// OfpAction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400219type OfpAction = openflow_13.OfpAction
220type OfpAction_Output = openflow_13.OfpAction_Output
221type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
222type OfpAction_Push = openflow_13.OfpAction_Push
223type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
224type OfpAction_Group = openflow_13.OfpAction_Group
225type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
226type OfpAction_SetField = openflow_13.OfpAction_SetField
227type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
228
William Kurkianad745652019-03-20 08:45:51 -0400229// OfpActionOutput from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400230type OfpActionOutput = openflow_13.OfpActionOutput
231
William Kurkianad745652019-03-20 08:45:51 -0400232// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400233type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
234
William Kurkianad745652019-03-20 08:45:51 -0400235// OfpActionPush from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400236type OfpActionPush = openflow_13.OfpActionPush
237
William Kurkianad745652019-03-20 08:45:51 -0400238// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400239type OfpActionPopMpls = openflow_13.OfpActionPopMpls
240
William Kurkianad745652019-03-20 08:45:51 -0400241// OfpActionGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400242type OfpActionGroup = openflow_13.OfpActionGroup
243
William Kurkianad745652019-03-20 08:45:51 -0400244// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400245type OfpActionNwTtl = openflow_13.OfpActionNwTtl
246
William Kurkianad745652019-03-20 08:45:51 -0400247// OfpActionSetField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400248type OfpActionSetField = openflow_13.OfpActionSetField
249
William Kurkianad745652019-03-20 08:45:51 -0400250// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400251type OfpActionExperimenter = openflow_13.OfpActionExperimenter
252
William Kurkianad745652019-03-20 08:45:51 -0400253// OfpInstruction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400254type OfpInstruction = openflow_13.OfpInstruction
255type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
256type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
257type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
258type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
259type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
260
William Kurkianad745652019-03-20 08:45:51 -0400261// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400262type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
263
William Kurkianad745652019-03-20 08:45:51 -0400264// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400265type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
266
William Kurkianad745652019-03-20 08:45:51 -0400267// OfpInstructionActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400268type OfpInstructionActions = openflow_13.OfpInstructionActions
269
William Kurkianad745652019-03-20 08:45:51 -0400270// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400271type OfpInstructionMeter = openflow_13.OfpInstructionMeter
272
William Kurkianad745652019-03-20 08:45:51 -0400273// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400274type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
275
William Kurkianad745652019-03-20 08:45:51 -0400276// OfpFlowMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400277type OfpFlowMod = openflow_13.OfpFlowMod
278
William Kurkianad745652019-03-20 08:45:51 -0400279// OfpBucket from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400280type OfpBucket = openflow_13.OfpBucket
281
William Kurkianad745652019-03-20 08:45:51 -0400282// OfpGroupMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400283type OfpGroupMod = openflow_13.OfpGroupMod
284
William Kurkianad745652019-03-20 08:45:51 -0400285// OfpPacketOut from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400286type OfpPacketOut = openflow_13.OfpPacketOut
287
William Kurkianad745652019-03-20 08:45:51 -0400288// OfpPacketIn from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400289type OfpPacketIn = openflow_13.OfpPacketIn
290
William Kurkianad745652019-03-20 08:45:51 -0400291// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400292type OfpFlowRemoved = openflow_13.OfpFlowRemoved
293
William Kurkianad745652019-03-20 08:45:51 -0400294// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400295type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
296type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
297type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
298type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
299
William Kurkianad745652019-03-20 08:45:51 -0400300// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400301type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
302
William Kurkianad745652019-03-20 08:45:51 -0400303// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400304type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
305
William Kurkianad745652019-03-20 08:45:51 -0400306// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400307type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
308
William Kurkianad745652019-03-20 08:45:51 -0400309// OfpMeterMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400310type OfpMeterMod = openflow_13.OfpMeterMod
311
William Kurkianad745652019-03-20 08:45:51 -0400312// OfpErrorMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400313type OfpErrorMsg = openflow_13.OfpErrorMsg
314
William Kurkianad745652019-03-20 08:45:51 -0400315// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400316type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
317
William Kurkianad745652019-03-20 08:45:51 -0400318// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400319type OfpMultipartRequest = openflow_13.OfpMultipartRequest
320
William Kurkianad745652019-03-20 08:45:51 -0400321// OfpMultipartReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400322type OfpMultipartReply = openflow_13.OfpMultipartReply
323
William Kurkianad745652019-03-20 08:45:51 -0400324// OfpDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400325type OfpDesc = openflow_13.OfpDesc
326
William Kurkianad745652019-03-20 08:45:51 -0400327// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400328type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
329
William Kurkianad745652019-03-20 08:45:51 -0400330// OfpFlowStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400331type OfpFlowStats = openflow_13.OfpFlowStats
332
William Kurkianad745652019-03-20 08:45:51 -0400333// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400334type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
335
William Kurkianad745652019-03-20 08:45:51 -0400336// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400337type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
338
William Kurkianad745652019-03-20 08:45:51 -0400339// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400340type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
341type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
342type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
343type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
344type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
345type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
346
William Kurkianad745652019-03-20 08:45:51 -0400347// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400348type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
349
William Kurkianad745652019-03-20 08:45:51 -0400350// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400351type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
352
William Kurkianad745652019-03-20 08:45:51 -0400353// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400354type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
355
William Kurkianad745652019-03-20 08:45:51 -0400356// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400357type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
358
William Kurkianad745652019-03-20 08:45:51 -0400359// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400360type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
361
William Kurkianad745652019-03-20 08:45:51 -0400362// OfpTableFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400363type OfpTableFeatures = openflow_13.OfpTableFeatures
364
William Kurkianad745652019-03-20 08:45:51 -0400365// OfpTableStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400366type OfpTableStats = openflow_13.OfpTableStats
367
William Kurkianad745652019-03-20 08:45:51 -0400368// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400369type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
370
William Kurkianad745652019-03-20 08:45:51 -0400371// OfpPortStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400372type OfpPortStats = openflow_13.OfpPortStats
373
William Kurkianad745652019-03-20 08:45:51 -0400374// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400375type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
376
William Kurkianad745652019-03-20 08:45:51 -0400377// OfpBucketCounter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400378type OfpBucketCounter = openflow_13.OfpBucketCounter
379
William Kurkianad745652019-03-20 08:45:51 -0400380// OfpGroupStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400381type OfpGroupStats = openflow_13.OfpGroupStats
382
William Kurkianad745652019-03-20 08:45:51 -0400383// OfpGroupDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400384type OfpGroupDesc = openflow_13.OfpGroupDesc
385
William Kurkianad745652019-03-20 08:45:51 -0400386// OfpGroupEntry from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400387type OfpGroupEntry = openflow_13.OfpGroupEntry
388
William Kurkianad745652019-03-20 08:45:51 -0400389// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400390type OfpGroupFeatures = openflow_13.OfpGroupFeatures
391
William Kurkianad745652019-03-20 08:45:51 -0400392// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400393type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
394
William Kurkianad745652019-03-20 08:45:51 -0400395// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400396type OfpMeterBandStats = openflow_13.OfpMeterBandStats
397
William Kurkianad745652019-03-20 08:45:51 -0400398// OfpMeterStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400399type OfpMeterStats = openflow_13.OfpMeterStats
400
William Kurkianad745652019-03-20 08:45:51 -0400401// OfpMeterConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400402type OfpMeterConfig = openflow_13.OfpMeterConfig
403
William Kurkianad745652019-03-20 08:45:51 -0400404// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400405type OfpMeterFeatures = openflow_13.OfpMeterFeatures
406
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400407// OfpMeterEntry from public import voltha_protos/openflow_13.proto
408type OfpMeterEntry = openflow_13.OfpMeterEntry
409
William Kurkianad745652019-03-20 08:45:51 -0400410// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400411type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
412
William Kurkianad745652019-03-20 08:45:51 -0400413// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400414type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
415
William Kurkianad745652019-03-20 08:45:51 -0400416// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400417type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
418
William Kurkianad745652019-03-20 08:45:51 -0400419// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400420type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
421
William Kurkianad745652019-03-20 08:45:51 -0400422// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400423type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
424
William Kurkianad745652019-03-20 08:45:51 -0400425// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400426type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
427
William Kurkianad745652019-03-20 08:45:51 -0400428// OfpPacketQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400429type OfpPacketQueue = openflow_13.OfpPacketQueue
430
William Kurkianad745652019-03-20 08:45:51 -0400431// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400432type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
433
William Kurkianad745652019-03-20 08:45:51 -0400434// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400435type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
436
William Kurkianad745652019-03-20 08:45:51 -0400437// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400438type OfpActionSetQueue = openflow_13.OfpActionSetQueue
439
William Kurkianad745652019-03-20 08:45:51 -0400440// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400441type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
442
William Kurkianad745652019-03-20 08:45:51 -0400443// OfpQueueStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400444type OfpQueueStats = openflow_13.OfpQueueStats
445
William Kurkianad745652019-03-20 08:45:51 -0400446// OfpRoleRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400447type OfpRoleRequest = openflow_13.OfpRoleRequest
448
William Kurkianad745652019-03-20 08:45:51 -0400449// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400450type OfpAsyncConfig = openflow_13.OfpAsyncConfig
451
452// MeterModUpdate from public import voltha_protos/openflow_13.proto
453type MeterModUpdate = openflow_13.MeterModUpdate
454
455// MeterStatsReply from public import voltha_protos/openflow_13.proto
456type MeterStatsReply = openflow_13.MeterStatsReply
457
458// FlowTableUpdate from public import voltha_protos/openflow_13.proto
459type FlowTableUpdate = openflow_13.FlowTableUpdate
460
461// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
462type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
463
464// Flows from public import voltha_protos/openflow_13.proto
465type Flows = openflow_13.Flows
466
467// Meters from public import voltha_protos/openflow_13.proto
468type Meters = openflow_13.Meters
469
470// FlowGroups from public import voltha_protos/openflow_13.proto
471type FlowGroups = openflow_13.FlowGroups
472
473// FlowChanges from public import voltha_protos/openflow_13.proto
474type FlowChanges = openflow_13.FlowChanges
475
476// FlowGroupChanges from public import voltha_protos/openflow_13.proto
477type FlowGroupChanges = openflow_13.FlowGroupChanges
478
479// PacketIn from public import voltha_protos/openflow_13.proto
480type PacketIn = openflow_13.PacketIn
481
482// PacketOut from public import voltha_protos/openflow_13.proto
483type PacketOut = openflow_13.PacketOut
484
485// ChangeEvent from public import voltha_protos/openflow_13.proto
486type ChangeEvent = openflow_13.ChangeEvent
487type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
488
William Kurkianad745652019-03-20 08:45:51 -0400489// OfpPortNo from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400490type OfpPortNo = openflow_13.OfpPortNo
491
492var OfpPortNo_name = openflow_13.OfpPortNo_name
493var OfpPortNo_value = openflow_13.OfpPortNo_value
494
495const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
496const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
497const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
498const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
499const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
500const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
501const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
502const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
503const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
504const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
505
William Kurkianad745652019-03-20 08:45:51 -0400506// OfpType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400507type OfpType = openflow_13.OfpType
508
509var OfpType_name = openflow_13.OfpType_name
510var OfpType_value = openflow_13.OfpType_value
511
512const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
513const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
514const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
515const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
516const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
517const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
518const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
519const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
520const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
521const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
522const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
523const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
524const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
525const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
526const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
527const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
528const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
529const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
530const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
531const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
532const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
533const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
534const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
535const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
536const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
537const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
538const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
539const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
540const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
541const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
542
William Kurkianad745652019-03-20 08:45:51 -0400543// OfpHelloElemType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400544type OfpHelloElemType = openflow_13.OfpHelloElemType
545
546var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
547var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
548
549const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
550const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
551
William Kurkianad745652019-03-20 08:45:51 -0400552// OfpConfigFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400553type OfpConfigFlags = openflow_13.OfpConfigFlags
554
555var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
556var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
557
558const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
559const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
560const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
561const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
562
William Kurkianad745652019-03-20 08:45:51 -0400563// OfpTableConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400564type OfpTableConfig = openflow_13.OfpTableConfig
565
566var OfpTableConfig_name = openflow_13.OfpTableConfig_name
567var OfpTableConfig_value = openflow_13.OfpTableConfig_value
568
569const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
570const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
571
William Kurkianad745652019-03-20 08:45:51 -0400572// OfpTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400573type OfpTable = openflow_13.OfpTable
574
575var OfpTable_name = openflow_13.OfpTable_name
576var OfpTable_value = openflow_13.OfpTable_value
577
578const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
579const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
580const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
581
William Kurkianad745652019-03-20 08:45:51 -0400582// OfpCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400583type OfpCapabilities = openflow_13.OfpCapabilities
584
585var OfpCapabilities_name = openflow_13.OfpCapabilities_name
586var OfpCapabilities_value = openflow_13.OfpCapabilities_value
587
588const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
589const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
590const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
591const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
592const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
593const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
594const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
595const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
596
William Kurkianad745652019-03-20 08:45:51 -0400597// OfpPortConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400598type OfpPortConfig = openflow_13.OfpPortConfig
599
600var OfpPortConfig_name = openflow_13.OfpPortConfig_name
601var OfpPortConfig_value = openflow_13.OfpPortConfig_value
602
603const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
604const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
605const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
606const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
607const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
608
William Kurkianad745652019-03-20 08:45:51 -0400609// OfpPortState from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400610type OfpPortState = openflow_13.OfpPortState
611
612var OfpPortState_name = openflow_13.OfpPortState_name
613var OfpPortState_value = openflow_13.OfpPortState_value
614
615const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
616const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
617const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
618const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
619
William Kurkianad745652019-03-20 08:45:51 -0400620// OfpPortFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400621type OfpPortFeatures = openflow_13.OfpPortFeatures
622
623var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
624var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
625
626const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
627const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
628const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
629const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
630const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
631const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
632const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
633const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
634const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
635const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
636const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
637const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
638const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
639const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
640const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
641const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
642const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
643
William Kurkianad745652019-03-20 08:45:51 -0400644// OfpPortReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400645type OfpPortReason = openflow_13.OfpPortReason
646
647var OfpPortReason_name = openflow_13.OfpPortReason_name
648var OfpPortReason_value = openflow_13.OfpPortReason_value
649
650const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
651const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
652const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
653
William Kurkianad745652019-03-20 08:45:51 -0400654// OfpMatchType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400655type OfpMatchType = openflow_13.OfpMatchType
656
657var OfpMatchType_name = openflow_13.OfpMatchType_name
658var OfpMatchType_value = openflow_13.OfpMatchType_value
659
660const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
661const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
662
William Kurkianad745652019-03-20 08:45:51 -0400663// OfpOxmClass from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400664type OfpOxmClass = openflow_13.OfpOxmClass
665
666var OfpOxmClass_name = openflow_13.OfpOxmClass_name
667var OfpOxmClass_value = openflow_13.OfpOxmClass_value
668
669const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
670const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
671const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
672const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
673
William Kurkianad745652019-03-20 08:45:51 -0400674// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400675type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
676
677var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
678var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
679
680const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
681const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
682const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
683const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
684const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
685const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
686const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
687const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
688const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
689const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
690const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
691const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
692const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
693const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
694const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
695const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
696const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
697const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
698const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
699const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
700const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
701const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
702const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
703const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
704const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
705const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
706const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
707const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
708const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
709const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
710const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
711const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
712const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
713const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
714const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
715const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
716const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
717const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
718const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
719const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
720
William Kurkianad745652019-03-20 08:45:51 -0400721// OfpVlanId from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400722type OfpVlanId = openflow_13.OfpVlanId
723
724var OfpVlanId_name = openflow_13.OfpVlanId_name
725var OfpVlanId_value = openflow_13.OfpVlanId_value
726
727const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
728const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
729
William Kurkianad745652019-03-20 08:45:51 -0400730// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400731type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
732
733var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
734var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
735
736const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
737const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
738const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
739const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
740const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
741const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
742const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
743const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
744const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
745const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
746
William Kurkianad745652019-03-20 08:45:51 -0400747// OfpActionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400748type OfpActionType = openflow_13.OfpActionType
749
750var OfpActionType_name = openflow_13.OfpActionType_name
751var OfpActionType_value = openflow_13.OfpActionType_value
752
753const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
754const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
755const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
756const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
757const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
758const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
759const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
760const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
761const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
762const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
763const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
764const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
765const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
766const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
767const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
768const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
769const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
770
William Kurkianad745652019-03-20 08:45:51 -0400771// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400772type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
773
774var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
775var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
776
777const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
778const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
779const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
780
William Kurkianad745652019-03-20 08:45:51 -0400781// OfpInstructionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400782type OfpInstructionType = openflow_13.OfpInstructionType
783
784var OfpInstructionType_name = openflow_13.OfpInstructionType_name
785var OfpInstructionType_value = openflow_13.OfpInstructionType_value
786
787const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
788const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
789const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
790const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
791const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
792const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
793const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
794const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
795
William Kurkianad745652019-03-20 08:45:51 -0400796// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400797type OfpFlowModCommand = openflow_13.OfpFlowModCommand
798
799var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
800var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
801
802const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
803const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
804const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
805const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
806const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
807
William Kurkianad745652019-03-20 08:45:51 -0400808// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400809type OfpFlowModFlags = openflow_13.OfpFlowModFlags
810
811var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
812var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
813
814const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
815const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
816const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
817const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
818const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
819const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
820
William Kurkianad745652019-03-20 08:45:51 -0400821// OfpGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400822type OfpGroup = openflow_13.OfpGroup
823
824var OfpGroup_name = openflow_13.OfpGroup_name
825var OfpGroup_value = openflow_13.OfpGroup_value
826
827const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
828const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
829const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
830const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
831
William Kurkianad745652019-03-20 08:45:51 -0400832// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400833type OfpGroupModCommand = openflow_13.OfpGroupModCommand
834
835var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
836var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
837
838const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
839const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
840const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
841
William Kurkianad745652019-03-20 08:45:51 -0400842// OfpGroupType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400843type OfpGroupType = openflow_13.OfpGroupType
844
845var OfpGroupType_name = openflow_13.OfpGroupType_name
846var OfpGroupType_value = openflow_13.OfpGroupType_value
847
848const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
849const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
850const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
851const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
852
William Kurkianad745652019-03-20 08:45:51 -0400853// OfpPacketInReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400854type OfpPacketInReason = openflow_13.OfpPacketInReason
855
856var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
857var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
858
859const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
860const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
861const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
862
William Kurkianad745652019-03-20 08:45:51 -0400863// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400864type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
865
866var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
867var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
868
869const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
870const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
871const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
872const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
873const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
874
William Kurkianad745652019-03-20 08:45:51 -0400875// OfpMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400876type OfpMeter = openflow_13.OfpMeter
877
878var OfpMeter_name = openflow_13.OfpMeter_name
879var OfpMeter_value = openflow_13.OfpMeter_value
880
881const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
882const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
883const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
884const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
885const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
886
William Kurkianad745652019-03-20 08:45:51 -0400887// OfpMeterBandType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400888type OfpMeterBandType = openflow_13.OfpMeterBandType
889
890var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
891var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
892
893const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
894const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
895const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
896const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
897
William Kurkianad745652019-03-20 08:45:51 -0400898// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400899type OfpMeterModCommand = openflow_13.OfpMeterModCommand
900
901var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
902var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
903
904const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
905const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
906const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
907
William Kurkianad745652019-03-20 08:45:51 -0400908// OfpMeterFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400909type OfpMeterFlags = openflow_13.OfpMeterFlags
910
911var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
912var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
913
914const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
915const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
916const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
917const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
918const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
919
William Kurkianad745652019-03-20 08:45:51 -0400920// OfpErrorType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400921type OfpErrorType = openflow_13.OfpErrorType
922
923var OfpErrorType_name = openflow_13.OfpErrorType_name
924var OfpErrorType_value = openflow_13.OfpErrorType_value
925
926const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
927const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
928const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
929const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
930const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
931const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
932const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
933const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
934const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
935const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
936const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
937const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
938const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
939const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
940const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
941
William Kurkianad745652019-03-20 08:45:51 -0400942// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400943type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
944
945var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
946var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
947
948const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
949const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
950
William Kurkianad745652019-03-20 08:45:51 -0400951// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400952type OfpBadRequestCode = openflow_13.OfpBadRequestCode
953
954var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
955var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
956
957const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
958const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
959const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
960const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
961const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
962const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
963const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
964const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
965const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
966const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
967const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
968const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
969const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
970const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
971
William Kurkianad745652019-03-20 08:45:51 -0400972// OfpBadActionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400973type OfpBadActionCode = openflow_13.OfpBadActionCode
974
975var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
976var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
977
978const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
979const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
980const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
981const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
982const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
983const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
984const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
985const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
986const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
987const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
988const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
989const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
990const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
991const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
992const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
993const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
994
William Kurkianad745652019-03-20 08:45:51 -0400995// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400996type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
997
998var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
999var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1000
1001const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1002const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1003const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1004const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1005const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1006const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1007const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1008const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1009const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1010
William Kurkianad745652019-03-20 08:45:51 -04001011// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001012type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1013
1014var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1015var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1016
1017const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1018const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1019const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1020const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1021const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1022const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1023const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1024const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1025const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1026const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1027const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1028const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1029
William Kurkianad745652019-03-20 08:45:51 -04001030// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001031type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1032
1033var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1034var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1035
1036const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1037const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1038const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1039const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1040const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1041const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1042const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1043const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1044
William Kurkianad745652019-03-20 08:45:51 -04001045// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001046type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1047
1048var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1049var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1050
1051const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1052const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1053const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1054const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1055const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1056const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1057const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1058const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1059const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1060const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1061const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1062const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1063const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1064const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1065const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1066
William Kurkianad745652019-03-20 08:45:51 -04001067// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001068type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1069
1070var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1071var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1072
1073const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1074const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1075const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1076const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1077const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1078
William Kurkianad745652019-03-20 08:45:51 -04001079// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001080type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1081
1082var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1083var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1084
1085const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1086const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1087const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1088
William Kurkianad745652019-03-20 08:45:51 -04001089// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001090type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1091
1092var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1093var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1094
1095const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1096const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1097const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1098
William Kurkianad745652019-03-20 08:45:51 -04001099// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001100type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1101
1102var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1103var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1104
1105const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1106const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1107const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1108
William Kurkianad745652019-03-20 08:45:51 -04001109// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001110type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1111
1112var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1113var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1114
1115const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1116const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1117const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1118
William Kurkianad745652019-03-20 08:45:51 -04001119// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001120type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1121
1122var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1123var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1124
1125const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1126const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1127const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1128const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1129const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1130const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1131const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1132const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1133const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03001134const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
William Kurkian1b363f42019-03-12 15:28:12 -04001135const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1136const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1137
William Kurkianad745652019-03-20 08:45:51 -04001138// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001139type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1140
1141var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1142var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1143
1144const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1145const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1146const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1147const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1148const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1149const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1150
William Kurkianad745652019-03-20 08:45:51 -04001151// OfpMultipartType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001152type OfpMultipartType = openflow_13.OfpMultipartType
1153
1154var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1155var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1156
1157const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1158const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1159const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1160const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1161const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1162const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1163const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1164const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1165const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1166const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1167const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1168const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1169const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1170const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1171const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1172
William Kurkianad745652019-03-20 08:45:51 -04001173// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001174type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1175
1176var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1177var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1178
1179const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1180const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1181
William Kurkianad745652019-03-20 08:45:51 -04001182// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001183type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1184
1185var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1186var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1187
1188const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1189const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1190
William Kurkianad745652019-03-20 08:45:51 -04001191// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001192type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1193
1194var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1195var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1196
1197const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1198const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1199const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1200const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1201const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1202const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1203const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1204const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1205const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1206const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1207const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1208const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1209const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1210const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1211const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1212const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1213
William Kurkianad745652019-03-20 08:45:51 -04001214// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001215type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1216
1217var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1218var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1219
1220const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1221const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1222const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1223const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1224const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1225
William Kurkianad745652019-03-20 08:45:51 -04001226// OfpQueueProperties from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001227type OfpQueueProperties = openflow_13.OfpQueueProperties
1228
1229var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1230var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1231
1232const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1233const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1234const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1235const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1236
William Kurkianad745652019-03-20 08:45:51 -04001237// OfpControllerRole from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001238type OfpControllerRole = openflow_13.OfpControllerRole
1239
1240var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1241var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1242
1243const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1244const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1245const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1246const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1247
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001248type EventFilterRuleKey_EventFilterRuleType int32
William Kurkian1b363f42019-03-12 15:28:12 -04001249
1250const (
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001251 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1252 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1253 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1254 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1255 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1256 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
William Kurkian1b363f42019-03-12 15:28:12 -04001257)
1258
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001259var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1260 0: "filter_all",
1261 1: "category",
1262 2: "sub_category",
1263 3: "kpi_event_type",
1264 4: "config_event_type",
1265 5: "device_event_type",
William Kurkian1b363f42019-03-12 15:28:12 -04001266}
William Kurkianad745652019-03-20 08:45:51 -04001267
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001268var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1269 "filter_all": 0,
1270 "category": 1,
1271 "sub_category": 2,
1272 "kpi_event_type": 3,
1273 "config_event_type": 4,
1274 "device_event_type": 5,
William Kurkian1b363f42019-03-12 15:28:12 -04001275}
1276
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001277func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1278 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -04001279}
William Kurkianad745652019-03-20 08:45:51 -04001280
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001281func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001282 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001283}
1284
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301285type TestResponse_TestResponseResult int32
1286
1287const (
1288 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
1289 TestResponse_FAILURE TestResponse_TestResponseResult = 1
1290)
1291
1292var TestResponse_TestResponseResult_name = map[int32]string{
1293 0: "SUCCESS",
1294 1: "FAILURE",
1295}
1296
1297var TestResponse_TestResponseResult_value = map[string]int32{
1298 "SUCCESS": 0,
1299 "FAILURE": 1,
1300}
1301
1302func (x TestResponse_TestResponseResult) String() string {
1303 return proto.EnumName(TestResponse_TestResponseResult_name, int32(x))
1304}
1305
1306func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
1307 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
1308}
1309
William Kurkian1b363f42019-03-12 15:28:12 -04001310type SelfTestResponse_SelfTestResult int32
1311
1312const (
1313 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1314 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1315 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1316 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1317)
1318
1319var SelfTestResponse_SelfTestResult_name = map[int32]string{
1320 0: "SUCCESS",
1321 1: "FAILURE",
1322 2: "NOT_SUPPORTED",
1323 3: "UNKNOWN_ERROR",
1324}
William Kurkianad745652019-03-20 08:45:51 -04001325
William Kurkian1b363f42019-03-12 15:28:12 -04001326var SelfTestResponse_SelfTestResult_value = map[string]int32{
1327 "SUCCESS": 0,
1328 "FAILURE": 1,
1329 "NOT_SUPPORTED": 2,
1330 "UNKNOWN_ERROR": 3,
1331}
1332
1333func (x SelfTestResponse_SelfTestResult) String() string {
1334 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1335}
William Kurkianad745652019-03-20 08:45:51 -04001336
William Kurkian1b363f42019-03-12 15:28:12 -04001337func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301338 return fileDescriptor_e084f1a60ce7016c, []int{11, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001339}
1340
1341type DeviceGroup struct {
1342 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1343 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1344 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1345 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1346 XXX_unrecognized []byte `json:"-"`
1347 XXX_sizecache int32 `json:"-"`
1348}
1349
1350func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1351func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1352func (*DeviceGroup) ProtoMessage() {}
1353func (*DeviceGroup) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001354 return fileDescriptor_e084f1a60ce7016c, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -04001355}
William Kurkianad745652019-03-20 08:45:51 -04001356
William Kurkian1b363f42019-03-12 15:28:12 -04001357func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1358 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1359}
1360func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1361 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1362}
William Kurkianad745652019-03-20 08:45:51 -04001363func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1364 xxx_messageInfo_DeviceGroup.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001365}
1366func (m *DeviceGroup) XXX_Size() int {
1367 return xxx_messageInfo_DeviceGroup.Size(m)
1368}
1369func (m *DeviceGroup) XXX_DiscardUnknown() {
1370 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1371}
1372
1373var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1374
1375func (m *DeviceGroup) GetId() string {
1376 if m != nil {
1377 return m.Id
1378 }
1379 return ""
1380}
1381
1382func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1383 if m != nil {
1384 return m.LogicalDevices
1385 }
1386 return nil
1387}
1388
1389func (m *DeviceGroup) GetDevices() []*Device {
1390 if m != nil {
1391 return m.Devices
1392 }
1393 return nil
1394}
1395
1396type DeviceGroups struct {
1397 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1398 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1399 XXX_unrecognized []byte `json:"-"`
1400 XXX_sizecache int32 `json:"-"`
1401}
1402
1403func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1404func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1405func (*DeviceGroups) ProtoMessage() {}
1406func (*DeviceGroups) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001407 return fileDescriptor_e084f1a60ce7016c, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -04001408}
William Kurkianad745652019-03-20 08:45:51 -04001409
William Kurkian1b363f42019-03-12 15:28:12 -04001410func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1411 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1412}
1413func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1414 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1415}
William Kurkianad745652019-03-20 08:45:51 -04001416func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1417 xxx_messageInfo_DeviceGroups.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001418}
1419func (m *DeviceGroups) XXX_Size() int {
1420 return xxx_messageInfo_DeviceGroups.Size(m)
1421}
1422func (m *DeviceGroups) XXX_DiscardUnknown() {
1423 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1424}
1425
1426var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1427
1428func (m *DeviceGroups) GetItems() []*DeviceGroup {
1429 if m != nil {
1430 return m.Items
1431 }
1432 return nil
1433}
1434
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001435type EventFilterRuleKey struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001436 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1437 XXX_unrecognized []byte `json:"-"`
1438 XXX_sizecache int32 `json:"-"`
1439}
1440
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001441func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1442func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1443func (*EventFilterRuleKey) ProtoMessage() {}
1444func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001445 return fileDescriptor_e084f1a60ce7016c, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -04001446}
William Kurkianad745652019-03-20 08:45:51 -04001447
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001448func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1449 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001450}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001451func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1452 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001453}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001454func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1455 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001456}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001457func (m *EventFilterRuleKey) XXX_Size() int {
1458 return xxx_messageInfo_EventFilterRuleKey.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001459}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001460func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1461 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001462}
1463
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001464var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001465
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001466type EventFilterRule struct {
1467 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1468 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1469 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1470 XXX_unrecognized []byte `json:"-"`
1471 XXX_sizecache int32 `json:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -04001472}
1473
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001474func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1475func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1476func (*EventFilterRule) ProtoMessage() {}
1477func (*EventFilterRule) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001478 return fileDescriptor_e084f1a60ce7016c, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -04001479}
William Kurkianad745652019-03-20 08:45:51 -04001480
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001481func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1482 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001483}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001484func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1485 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001486}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001487func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1488 xxx_messageInfo_EventFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001489}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001490func (m *EventFilterRule) XXX_Size() int {
1491 return xxx_messageInfo_EventFilterRule.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001492}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001493func (m *EventFilterRule) XXX_DiscardUnknown() {
1494 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001495}
1496
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001497var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001498
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001499func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
William Kurkian1b363f42019-03-12 15:28:12 -04001500 if m != nil {
1501 return m.Key
1502 }
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001503 return EventFilterRuleKey_filter_all
William Kurkian1b363f42019-03-12 15:28:12 -04001504}
1505
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001506func (m *EventFilterRule) GetValue() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001507 if m != nil {
1508 return m.Value
1509 }
1510 return ""
1511}
1512
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001513type EventFilter struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001514 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001515 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1516 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1517 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1518 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001519 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1520 XXX_unrecognized []byte `json:"-"`
1521 XXX_sizecache int32 `json:"-"`
1522}
1523
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001524func (m *EventFilter) Reset() { *m = EventFilter{} }
1525func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1526func (*EventFilter) ProtoMessage() {}
1527func (*EventFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001528 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001529}
William Kurkianad745652019-03-20 08:45:51 -04001530
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001531func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1532 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001533}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001534func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1535 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001536}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001537func (m *EventFilter) XXX_Merge(src proto.Message) {
1538 xxx_messageInfo_EventFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001539}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001540func (m *EventFilter) XXX_Size() int {
1541 return xxx_messageInfo_EventFilter.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001542}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001543func (m *EventFilter) XXX_DiscardUnknown() {
1544 xxx_messageInfo_EventFilter.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001545}
1546
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001547var xxx_messageInfo_EventFilter proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001548
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001549func (m *EventFilter) GetId() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001550 if m != nil {
1551 return m.Id
1552 }
1553 return ""
1554}
1555
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001556func (m *EventFilter) GetEnable() bool {
1557 if m != nil {
1558 return m.Enable
1559 }
1560 return false
1561}
1562
1563func (m *EventFilter) GetDeviceId() string {
1564 if m != nil {
1565 return m.DeviceId
1566 }
1567 return ""
1568}
1569
1570func (m *EventFilter) GetEventType() string {
1571 if m != nil {
1572 return m.EventType
1573 }
1574 return ""
1575}
1576
1577func (m *EventFilter) GetRules() []*EventFilterRule {
William Kurkian1b363f42019-03-12 15:28:12 -04001578 if m != nil {
1579 return m.Rules
1580 }
1581 return nil
1582}
1583
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001584type EventFilters struct {
1585 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001586 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1587 XXX_unrecognized []byte `json:"-"`
1588 XXX_sizecache int32 `json:"-"`
1589}
1590
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001591func (m *EventFilters) Reset() { *m = EventFilters{} }
1592func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1593func (*EventFilters) ProtoMessage() {}
1594func (*EventFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001595 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001596}
William Kurkianad745652019-03-20 08:45:51 -04001597
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001598func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1599 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001600}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001601func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1602 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001603}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001604func (m *EventFilters) XXX_Merge(src proto.Message) {
1605 xxx_messageInfo_EventFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001606}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001607func (m *EventFilters) XXX_Size() int {
1608 return xxx_messageInfo_EventFilters.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001609}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001610func (m *EventFilters) XXX_DiscardUnknown() {
1611 xxx_messageInfo_EventFilters.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001612}
1613
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001614var xxx_messageInfo_EventFilters proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001615
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001616func (m *EventFilters) GetFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001617 if m != nil {
1618 return m.Filters
1619 }
1620 return nil
1621}
1622
William Kurkian1b363f42019-03-12 15:28:12 -04001623// CoreInstance represents a core instance. It is data held in memory when a core
1624// is running. This data is not persistent.
1625type CoreInstance struct {
1626 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1627 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1628 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1629 XXX_unrecognized []byte `json:"-"`
1630 XXX_sizecache int32 `json:"-"`
1631}
1632
1633func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1634func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1635func (*CoreInstance) ProtoMessage() {}
1636func (*CoreInstance) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001637 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001638}
William Kurkianad745652019-03-20 08:45:51 -04001639
William Kurkian1b363f42019-03-12 15:28:12 -04001640func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1641 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1642}
1643func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1644 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1645}
William Kurkianad745652019-03-20 08:45:51 -04001646func (m *CoreInstance) XXX_Merge(src proto.Message) {
1647 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001648}
1649func (m *CoreInstance) XXX_Size() int {
1650 return xxx_messageInfo_CoreInstance.Size(m)
1651}
1652func (m *CoreInstance) XXX_DiscardUnknown() {
1653 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1654}
1655
1656var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1657
1658func (m *CoreInstance) GetInstanceId() string {
1659 if m != nil {
1660 return m.InstanceId
1661 }
1662 return ""
1663}
1664
1665func (m *CoreInstance) GetHealth() *HealthStatus {
1666 if m != nil {
1667 return m.Health
1668 }
1669 return nil
1670}
1671
1672type CoreInstances struct {
1673 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1674 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1675 XXX_unrecognized []byte `json:"-"`
1676 XXX_sizecache int32 `json:"-"`
1677}
1678
1679func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1680func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1681func (*CoreInstances) ProtoMessage() {}
1682func (*CoreInstances) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001683 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001684}
William Kurkianad745652019-03-20 08:45:51 -04001685
William Kurkian1b363f42019-03-12 15:28:12 -04001686func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1687 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1688}
1689func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1690 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1691}
William Kurkianad745652019-03-20 08:45:51 -04001692func (m *CoreInstances) XXX_Merge(src proto.Message) {
1693 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001694}
1695func (m *CoreInstances) XXX_Size() int {
1696 return xxx_messageInfo_CoreInstances.Size(m)
1697}
1698func (m *CoreInstances) XXX_DiscardUnknown() {
1699 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1700}
1701
1702var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1703
1704func (m *CoreInstances) GetItems() []*CoreInstance {
1705 if m != nil {
1706 return m.Items
1707 }
1708 return nil
1709}
1710
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301711type OmciTestRequest struct {
1712 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1713 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
1714 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1715 XXX_unrecognized []byte `json:"-"`
1716 XXX_sizecache int32 `json:"-"`
1717}
1718
1719func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} }
1720func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) }
1721func (*OmciTestRequest) ProtoMessage() {}
1722func (*OmciTestRequest) Descriptor() ([]byte, []int) {
1723 return fileDescriptor_e084f1a60ce7016c, []int{8}
1724}
1725
1726func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error {
1727 return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b)
1728}
1729func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1730 return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic)
1731}
1732func (m *OmciTestRequest) XXX_Merge(src proto.Message) {
1733 xxx_messageInfo_OmciTestRequest.Merge(m, src)
1734}
1735func (m *OmciTestRequest) XXX_Size() int {
1736 return xxx_messageInfo_OmciTestRequest.Size(m)
1737}
1738func (m *OmciTestRequest) XXX_DiscardUnknown() {
1739 xxx_messageInfo_OmciTestRequest.DiscardUnknown(m)
1740}
1741
1742var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo
1743
1744func (m *OmciTestRequest) GetId() string {
1745 if m != nil {
1746 return m.Id
1747 }
1748 return ""
1749}
1750
1751func (m *OmciTestRequest) GetUuid() string {
1752 if m != nil {
1753 return m.Uuid
1754 }
1755 return ""
1756}
1757
1758type TestResponse struct {
1759 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.TestResponse_TestResponseResult" json:"result,omitempty"`
1760 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1761 XXX_unrecognized []byte `json:"-"`
1762 XXX_sizecache int32 `json:"-"`
1763}
1764
1765func (m *TestResponse) Reset() { *m = TestResponse{} }
1766func (m *TestResponse) String() string { return proto.CompactTextString(m) }
1767func (*TestResponse) ProtoMessage() {}
1768func (*TestResponse) Descriptor() ([]byte, []int) {
1769 return fileDescriptor_e084f1a60ce7016c, []int{9}
1770}
1771
1772func (m *TestResponse) XXX_Unmarshal(b []byte) error {
1773 return xxx_messageInfo_TestResponse.Unmarshal(m, b)
1774}
1775func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1776 return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic)
1777}
1778func (m *TestResponse) XXX_Merge(src proto.Message) {
1779 xxx_messageInfo_TestResponse.Merge(m, src)
1780}
1781func (m *TestResponse) XXX_Size() int {
1782 return xxx_messageInfo_TestResponse.Size(m)
1783}
1784func (m *TestResponse) XXX_DiscardUnknown() {
1785 xxx_messageInfo_TestResponse.DiscardUnknown(m)
1786}
1787
1788var xxx_messageInfo_TestResponse proto.InternalMessageInfo
1789
1790func (m *TestResponse) GetResult() TestResponse_TestResponseResult {
1791 if m != nil {
1792 return m.Result
1793 }
1794 return TestResponse_SUCCESS
1795}
1796
William Kurkian1b363f42019-03-12 15:28:12 -04001797// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1798// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1799// for better performance
1800type Voltha struct {
1801 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1802 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1803 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1804 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1805 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1806 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001807 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001808 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1809 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1810 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1811 XXX_unrecognized []byte `json:"-"`
1812 XXX_sizecache int32 `json:"-"`
1813}
1814
1815func (m *Voltha) Reset() { *m = Voltha{} }
1816func (m *Voltha) String() string { return proto.CompactTextString(m) }
1817func (*Voltha) ProtoMessage() {}
1818func (*Voltha) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301819 return fileDescriptor_e084f1a60ce7016c, []int{10}
William Kurkian1b363f42019-03-12 15:28:12 -04001820}
William Kurkianad745652019-03-20 08:45:51 -04001821
William Kurkian1b363f42019-03-12 15:28:12 -04001822func (m *Voltha) XXX_Unmarshal(b []byte) error {
1823 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1824}
1825func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1826 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1827}
William Kurkianad745652019-03-20 08:45:51 -04001828func (m *Voltha) XXX_Merge(src proto.Message) {
1829 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001830}
1831func (m *Voltha) XXX_Size() int {
1832 return xxx_messageInfo_Voltha.Size(m)
1833}
1834func (m *Voltha) XXX_DiscardUnknown() {
1835 xxx_messageInfo_Voltha.DiscardUnknown(m)
1836}
1837
1838var xxx_messageInfo_Voltha proto.InternalMessageInfo
1839
1840func (m *Voltha) GetVersion() string {
1841 if m != nil {
1842 return m.Version
1843 }
1844 return ""
1845}
1846
1847func (m *Voltha) GetAdapters() []*Adapter {
1848 if m != nil {
1849 return m.Adapters
1850 }
1851 return nil
1852}
1853
1854func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1855 if m != nil {
1856 return m.LogicalDevices
1857 }
1858 return nil
1859}
1860
1861func (m *Voltha) GetDevices() []*Device {
1862 if m != nil {
1863 return m.Devices
1864 }
1865 return nil
1866}
1867
1868func (m *Voltha) GetDeviceTypes() []*DeviceType {
1869 if m != nil {
1870 return m.DeviceTypes
1871 }
1872 return nil
1873}
1874
1875func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1876 if m != nil {
1877 return m.DeviceGroups
1878 }
1879 return nil
1880}
1881
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001882func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001883 if m != nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001884 return m.EventFilters
William Kurkian1b363f42019-03-12 15:28:12 -04001885 }
1886 return nil
1887}
1888
1889func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1890 if m != nil {
1891 return m.OmciMibDatabase
1892 }
1893 return nil
1894}
1895
1896func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1897 if m != nil {
1898 return m.OmciAlarmDatabase
1899 }
1900 return nil
1901}
1902
1903// Device Self Test Response
1904type SelfTestResponse struct {
1905 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1906 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1907 XXX_unrecognized []byte `json:"-"`
1908 XXX_sizecache int32 `json:"-"`
1909}
1910
1911func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
1912func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
1913func (*SelfTestResponse) ProtoMessage() {}
1914func (*SelfTestResponse) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301915 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001916}
William Kurkianad745652019-03-20 08:45:51 -04001917
William Kurkian1b363f42019-03-12 15:28:12 -04001918func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
1919 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
1920}
1921func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1922 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
1923}
William Kurkianad745652019-03-20 08:45:51 -04001924func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
1925 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001926}
1927func (m *SelfTestResponse) XXX_Size() int {
1928 return xxx_messageInfo_SelfTestResponse.Size(m)
1929}
1930func (m *SelfTestResponse) XXX_DiscardUnknown() {
1931 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
1932}
1933
1934var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
1935
1936func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
1937 if m != nil {
1938 return m.Result
1939 }
1940 return SelfTestResponse_SUCCESS
1941}
1942
1943type OfAgentSubscriber struct {
1944 // ID of ofagent instance
1945 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
1946 // ID of voltha instance to which the ofagent is subscribed
1947 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
1948 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1949 XXX_unrecognized []byte `json:"-"`
1950 XXX_sizecache int32 `json:"-"`
1951}
1952
1953func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
1954func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
1955func (*OfAgentSubscriber) ProtoMessage() {}
1956func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301957 return fileDescriptor_e084f1a60ce7016c, []int{12}
William Kurkian1b363f42019-03-12 15:28:12 -04001958}
William Kurkianad745652019-03-20 08:45:51 -04001959
William Kurkian1b363f42019-03-12 15:28:12 -04001960func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
1961 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
1962}
1963func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1964 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
1965}
William Kurkianad745652019-03-20 08:45:51 -04001966func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
1967 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001968}
1969func (m *OfAgentSubscriber) XXX_Size() int {
1970 return xxx_messageInfo_OfAgentSubscriber.Size(m)
1971}
1972func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
1973 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
1974}
1975
1976var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
1977
1978func (m *OfAgentSubscriber) GetOfagentId() string {
1979 if m != nil {
1980 return m.OfagentId
1981 }
1982 return ""
1983}
1984
1985func (m *OfAgentSubscriber) GetVolthaId() string {
1986 if m != nil {
1987 return m.VolthaId
1988 }
1989 return ""
1990}
1991
1992// Identifies a membership group a Core belongs to
1993type Membership struct {
1994 // Group name
1995 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
1996 // Unique ID of a container within that group
1997 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
1998 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1999 XXX_unrecognized []byte `json:"-"`
2000 XXX_sizecache int32 `json:"-"`
2001}
2002
2003func (m *Membership) Reset() { *m = Membership{} }
2004func (m *Membership) String() string { return proto.CompactTextString(m) }
2005func (*Membership) ProtoMessage() {}
2006func (*Membership) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302007 return fileDescriptor_e084f1a60ce7016c, []int{13}
William Kurkian1b363f42019-03-12 15:28:12 -04002008}
William Kurkianad745652019-03-20 08:45:51 -04002009
William Kurkian1b363f42019-03-12 15:28:12 -04002010func (m *Membership) XXX_Unmarshal(b []byte) error {
2011 return xxx_messageInfo_Membership.Unmarshal(m, b)
2012}
2013func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2014 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
2015}
William Kurkianad745652019-03-20 08:45:51 -04002016func (m *Membership) XXX_Merge(src proto.Message) {
2017 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002018}
2019func (m *Membership) XXX_Size() int {
2020 return xxx_messageInfo_Membership.Size(m)
2021}
2022func (m *Membership) XXX_DiscardUnknown() {
2023 xxx_messageInfo_Membership.DiscardUnknown(m)
2024}
2025
2026var xxx_messageInfo_Membership proto.InternalMessageInfo
2027
2028func (m *Membership) GetGroupName() string {
2029 if m != nil {
2030 return m.GroupName
2031 }
2032 return ""
2033}
2034
2035func (m *Membership) GetId() string {
2036 if m != nil {
2037 return m.Id
2038 }
2039 return ""
2040}
2041
manikkaraj k166cb202019-07-28 13:05:56 -04002042// Additional information required to process flow at device adapters
2043type FlowMetadata struct {
2044 // Meters associated with flow-update to adapter
2045 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
2046 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2047 XXX_unrecognized []byte `json:"-"`
2048 XXX_sizecache int32 `json:"-"`
2049}
2050
2051func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
2052func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
2053func (*FlowMetadata) ProtoMessage() {}
2054func (*FlowMetadata) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302055 return fileDescriptor_e084f1a60ce7016c, []int{14}
manikkaraj k166cb202019-07-28 13:05:56 -04002056}
2057
2058func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
2059 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
2060}
2061func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2062 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
2063}
2064func (m *FlowMetadata) XXX_Merge(src proto.Message) {
2065 xxx_messageInfo_FlowMetadata.Merge(m, src)
2066}
2067func (m *FlowMetadata) XXX_Size() int {
2068 return xxx_messageInfo_FlowMetadata.Size(m)
2069}
2070func (m *FlowMetadata) XXX_DiscardUnknown() {
2071 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
2072}
2073
2074var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
2075
2076func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
2077 if m != nil {
2078 return m.Meters
2079 }
2080 return nil
2081}
2082
William Kurkian1b363f42019-03-12 15:28:12 -04002083func init() {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002084 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302085 proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
William Kurkianad745652019-03-20 08:45:51 -04002086 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04002087 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2088 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002089 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2090 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2091 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2092 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
William Kurkian1b363f42019-03-12 15:28:12 -04002093 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2094 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302095 proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest")
2096 proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse")
William Kurkian1b363f42019-03-12 15:28:12 -04002097 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2098 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2099 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2100 proto.RegisterType((*Membership)(nil), "voltha.Membership")
manikkaraj k166cb202019-07-28 13:05:56 -04002101 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianad745652019-03-20 08:45:51 -04002102}
2103
2104func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2105
2106var fileDescriptor_e084f1a60ce7016c = []byte{
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302107 // 2488 bytes of a gzipped FileDescriptorProto
2108 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4b, 0x73, 0xdb, 0xc8,
2109 0xf1, 0x17, 0xf4, 0x56, 0x8b, 0x92, 0xc8, 0xa1, 0x1e, 0x34, 0x25, 0xf9, 0x31, 0xeb, 0xb5, 0xf5,
2110 0xd7, 0xae, 0x49, 0xdb, 0xb2, 0x5d, 0xff, 0xd8, 0xd9, 0xca, 0xea, 0x65, 0x85, 0xb1, 0x65, 0x32,
2111 0xa0, 0x65, 0xe7, 0xb1, 0x2e, 0x16, 0x48, 0x0c, 0x29, 0x94, 0x41, 0x82, 0x01, 0x86, 0xf2, 0xaa,
2112 0x5c, 0x5b, 0xa9, 0xda, 0x3c, 0x36, 0xf7, 0xbd, 0xe7, 0x94, 0x54, 0xaa, 0xf2, 0x1d, 0xf2, 0x11,
2113 0xf6, 0x94, 0x53, 0xae, 0xa9, 0x1c, 0xf2, 0x09, 0xf6, 0x9c, 0x9a, 0x9e, 0x01, 0x09, 0x10, 0x80,
2114 0x1e, 0x9b, 0xad, 0xca, 0x49, 0xc2, 0x74, 0xcf, 0xef, 0xd7, 0xd3, 0x3d, 0xd3, 0xd3, 0x68, 0x10,
2115 0xf2, 0x27, 0x8e, 0xcd, 0x8f, 0x8d, 0x5a, 0xd7, 0x75, 0xb8, 0xe3, 0x15, 0xe5, 0x53, 0x01, 0x9f,
2116 0xc8, 0xa4, 0x7c, 0xca, 0xaf, 0xb5, 0x1c, 0xa7, 0x65, 0xb3, 0xa2, 0xd1, 0xb5, 0x8a, 0x46, 0xa7,
2117 0xe3, 0x70, 0x83, 0x5b, 0x4e, 0xc7, 0x93, 0x5a, 0xf9, 0x55, 0x25, 0xc5, 0xa7, 0x7a, 0xaf, 0x59,
2118 0x64, 0xed, 0x2e, 0x3f, 0x55, 0xc2, 0x5c, 0x18, 0xbe, 0xcd, 0xb8, 0x02, 0xcf, 0x0f, 0x11, 0x37,
2119 0x9c, 0x76, 0xdb, 0xe9, 0xc4, 0xcb, 0x8e, 0x99, 0x61, 0xf3, 0x63, 0x25, 0xa3, 0x61, 0x99, 0xed,
2120 0xb4, 0xac, 0x86, 0x61, 0xd7, 0x4c, 0x76, 0x62, 0x35, 0x58, 0xfc, 0xfc, 0x90, 0x6c, 0x35, 0x2c,
2121 0x33, 0x4c, 0xa3, 0xcb, 0x99, 0xab, 0x84, 0xd7, 0xc2, 0x42, 0xa7, 0xcb, 0x3a, 0x4d, 0xdb, 0x79,
2122 0x57, 0xbb, 0xb7, 0x95, 0xa0, 0xd0, 0x6e, 0x58, 0xb5, 0xb6, 0x55, 0xaf, 0x99, 0x75, 0xa5, 0x70,
2123 0x23, 0x46, 0xc1, 0xb0, 0x0d, 0xb7, 0xdd, 0x57, 0xa1, 0x7f, 0xd2, 0x60, 0x76, 0x0f, 0x4d, 0x3a,
2124 0x70, 0x9d, 0x5e, 0x97, 0x2c, 0xc1, 0xa8, 0x65, 0xe6, 0xb4, 0xeb, 0xda, 0xc6, 0xcc, 0xce, 0xc4,
2125 0xbf, 0xbf, 0xfd, 0x66, 0x5d, 0xd3, 0x47, 0x2d, 0x93, 0x94, 0x60, 0x21, 0xbc, 0x38, 0x2f, 0x37,
2126 0x7a, 0x7d, 0x6c, 0x63, 0xf6, 0xfe, 0x52, 0x41, 0x45, 0xe9, 0xb9, 0x14, 0x4b, 0xac, 0x9d, 0x99,
2127 0x7f, 0x7e, 0xfb, 0xcd, 0xfa, 0xb8, 0xc0, 0xd2, 0xe7, 0xed, 0xa0, 0xc4, 0x23, 0x5b, 0x30, 0xe5,
2128 0x43, 0x8c, 0x21, 0xc4, 0xbc, 0x0f, 0x11, 0x9d, 0xeb, 0x6b, 0xd2, 0x1f, 0x40, 0x2a, 0x60, 0xa5,
2129 0x47, 0xfe, 0x0f, 0x26, 0x2c, 0xce, 0xda, 0x5e, 0x4e, 0x43, 0x88, 0x6c, 0x18, 0x02, 0x95, 0x74,
2130 0xa9, 0x41, 0xff, 0xa8, 0x01, 0xd9, 0x3f, 0x61, 0x1d, 0xfe, 0xd4, 0xb2, 0x39, 0x73, 0xf5, 0x9e,
2131 0xcd, 0x9e, 0xb1, 0x53, 0xfa, 0x95, 0x06, 0xd9, 0xa1, 0xe1, 0x97, 0xa7, 0x5d, 0x46, 0xe6, 0x01,
2132 0x9a, 0x38, 0x52, 0x33, 0x6c, 0x3b, 0x3d, 0x42, 0x52, 0x30, 0xdd, 0x30, 0x38, 0x6b, 0x39, 0xee,
2133 0x69, 0x5a, 0x23, 0x69, 0x48, 0x79, 0xbd, 0x7a, 0xad, 0x3f, 0x32, 0x4a, 0x08, 0xcc, 0xbf, 0xed,
2134 0x5a, 0x35, 0x26, 0xa0, 0x6a, 0xfc, 0xb4, 0xcb, 0xd2, 0x63, 0x64, 0x09, 0x32, 0x0d, 0xa7, 0xd3,
2135 0xb4, 0x5a, 0xc1, 0xe1, 0x71, 0x31, 0x2c, 0xd7, 0x13, 0x1c, 0x9e, 0xa0, 0x16, 0x2c, 0x0c, 0x19,
2136 0x42, 0x3e, 0x85, 0xb1, 0xb7, 0xec, 0x14, 0xc3, 0x30, 0x7f, 0xbf, 0xe0, 0x2f, 0x2e, 0xba, 0x8a,
2137 0x42, 0xcc, 0x0a, 0x74, 0x31, 0x95, 0x2c, 0xc2, 0xc4, 0x89, 0x61, 0xf7, 0x58, 0x6e, 0x54, 0x84,
2138 0x52, 0x97, 0x0f, 0xf4, 0x2f, 0x1a, 0xcc, 0x06, 0xa6, 0x24, 0x45, 0x7b, 0x19, 0x26, 0x59, 0xc7,
2139 0xa8, 0xdb, 0x72, 0xf6, 0xb4, 0xae, 0x9e, 0xc8, 0x2a, 0xcc, 0xa8, 0x05, 0x58, 0x66, 0x6e, 0x0c,
2140 0x81, 0xa7, 0xe5, 0x40, 0xc9, 0x24, 0xeb, 0x00, 0x83, 0x65, 0xe5, 0xc6, 0x51, 0x3a, 0x83, 0x23,
2141 0xe8, 0xd7, 0x3b, 0x30, 0xe1, 0xf6, 0x6c, 0xe6, 0xe5, 0x26, 0x30, 0x62, 0x2b, 0x09, 0x8b, 0xd2,
2142 0xa5, 0x16, 0xfd, 0x04, 0x52, 0x01, 0x89, 0x47, 0xee, 0xc0, 0x94, 0x0c, 0x4b, 0x24, 0xe4, 0x41,
2143 0x00, 0x5f, 0x87, 0xbe, 0x85, 0xd4, 0xae, 0xe3, 0xb2, 0x52, 0xc7, 0xe3, 0x46, 0xa7, 0xc1, 0xc8,
2144 0x2d, 0x98, 0xb5, 0xd4, 0xff, 0xb5, 0xe1, 0x15, 0x83, 0x2f, 0x29, 0x99, 0x64, 0x0b, 0x26, 0xe5,
2145 0x01, 0xc7, 0x95, 0xcf, 0xde, 0x5f, 0xf4, 0x59, 0x7e, 0x8c, 0xa3, 0x55, 0x6e, 0xf0, 0x9e, 0xb7,
2146 0x33, 0x21, 0x76, 0xe8, 0x88, 0xae, 0x54, 0xe9, 0x13, 0x98, 0x0b, 0x92, 0x79, 0x64, 0x33, 0xbc,
2147 0x3b, 0xfb, 0x20, 0x41, 0x2d, 0x7f, 0x7b, 0x3e, 0x84, 0x85, 0x72, 0xbb, 0x61, 0xbd, 0x64, 0x1e,
2148 0xd7, 0xd9, 0xaf, 0x7a, 0xcc, 0xe3, 0x64, 0x7e, 0x10, 0x15, 0x0c, 0x07, 0x81, 0xf1, 0x5e, 0xcf,
2149 0x32, 0x55, 0x28, 0xf1, 0x7f, 0xfa, 0x6b, 0x48, 0xc9, 0x29, 0x5e, 0xd7, 0xe9, 0x78, 0x8c, 0xfc,
2150 0x08, 0x26, 0x5d, 0xe6, 0xf5, 0x6c, 0xae, 0x36, 0xcd, 0x6d, 0x9f, 0x33, 0xa8, 0x15, 0x7a, 0xd0,
2151 0x51, 0x5d, 0x57, 0xd3, 0x68, 0x01, 0x48, 0x54, 0x4a, 0x66, 0x61, 0xaa, 0x7a, 0xb4, 0xbb, 0xbb,
2152 0x5f, 0xad, 0xa6, 0x47, 0xc4, 0xc3, 0xd3, 0xed, 0xd2, 0xf3, 0x23, 0x7d, 0x3f, 0xad, 0xd1, 0x7f,
2153 0x8c, 0xc3, 0xe4, 0x2b, 0xa4, 0x20, 0xd7, 0x60, 0xea, 0x84, 0xb9, 0x9e, 0xe5, 0x74, 0xc2, 0x8e,
2154 0xf5, 0x47, 0xc9, 0x23, 0x98, 0x56, 0xa9, 0xcd, 0x4f, 0x1b, 0x0b, 0xbe, 0x79, 0xdb, 0x72, 0x3c,
2155 0x78, 0xe8, 0xfb, 0xba, 0x71, 0x59, 0x67, 0xec, 0xbf, 0xcf, 0x3a, 0xe3, 0x17, 0xcd, 0x3a, 0xe4,
2156 0x53, 0x48, 0xa9, 0xfd, 0x2e, 0xf6, 0xb4, 0xbf, 0x75, 0x49, 0x78, 0xa6, 0xd8, 0xdd, 0xc1, 0xd9,
2157 0xb3, 0x66, 0x7f, 0xd8, 0x23, 0xbb, 0x30, 0xa7, 0x10, 0x5a, 0x98, 0xb8, 0x72, 0x93, 0x89, 0xf9,
2158 0x2a, 0x88, 0xa1, 0x68, 0x55, 0xb2, 0xdb, 0x85, 0x39, 0x79, 0xb2, 0xfc, 0x13, 0x30, 0x95, 0x78,
2159 0x02, 0x42, 0x20, 0x2c, 0x78, 0x80, 0x7e, 0x0a, 0x99, 0xc1, 0x05, 0x61, 0x70, 0xa3, 0x6e, 0x78,
2160 0x2c, 0xb7, 0xa6, 0x80, 0x84, 0xa4, 0x70, 0x68, 0xd5, 0xa5, 0x39, 0x7b, 0x06, 0x37, 0x76, 0xd2,
2161 0x02, 0x68, 0x36, 0x70, 0xe0, 0xf5, 0x05, 0xa1, 0x25, 0x94, 0xd4, 0x6c, 0xf2, 0x1a, 0xb2, 0xc1,
2162 0x2b, 0xc5, 0x07, 0x5d, 0x57, 0x21, 0x42, 0xd0, 0x6d, 0x21, 0x3b, 0x13, 0x16, 0xcd, 0x92, 0x6a,
2163 0x0a, 0x81, 0xfe, 0x59, 0x83, 0x74, 0x95, 0xd9, 0xcd, 0x8b, 0xed, 0xf0, 0x61, 0xcd, 0xe0, 0x40,
2164 0x70, 0x87, 0x57, 0x60, 0x3e, 0x2c, 0x49, 0xde, 0xdd, 0x24, 0x03, 0x73, 0x2f, 0xca, 0x2f, 0x6b,
2165 0xd5, 0xa3, 0x4a, 0xa5, 0xac, 0xbf, 0xdc, 0xdf, 0x4b, 0x8f, 0x8a, 0xa1, 0xa3, 0x17, 0xcf, 0x5e,
2166 0x94, 0x5f, 0xbf, 0xa8, 0xed, 0xeb, 0x7a, 0x59, 0x4f, 0x8f, 0xd1, 0x32, 0x64, 0xca, 0xcd, 0xed,
2167 0x16, 0xeb, 0xf0, 0x6a, 0xaf, 0xee, 0x35, 0x5c, 0xab, 0xce, 0x5c, 0x91, 0x07, 0x9d, 0xa6, 0x21,
2168 0x06, 0xfb, 0x99, 0x46, 0x9f, 0x51, 0x23, 0x25, 0x53, 0xe4, 0x50, 0x75, 0x2b, 0xf7, 0x4f, 0xf4,
2169 0xb4, 0x1c, 0x28, 0x99, 0xf4, 0x09, 0xc0, 0x21, 0x6b, 0xd7, 0x99, 0xeb, 0x1d, 0x5b, 0x5d, 0x81,
2170 0x84, 0xbb, 0xa6, 0xd6, 0x31, 0xda, 0xcc, 0x47, 0xc2, 0x91, 0x17, 0x46, 0x9b, 0xa9, 0x34, 0x31,
2171 0xea, 0xa7, 0x09, 0xba, 0x0f, 0xa9, 0xa7, 0xb6, 0xf3, 0xee, 0x90, 0x71, 0x43, 0xc4, 0x82, 0x3c,
2172 0x84, 0xc9, 0x36, 0x0b, 0x64, 0xcc, 0xf5, 0x42, 0xb0, 0x84, 0x70, 0x9a, 0xdd, 0x1a, 0x8a, 0x6b,
2173 0xf2, 0xaa, 0xd2, 0x95, 0xf2, 0xfd, 0xbf, 0x15, 0x60, 0x4e, 0x1e, 0xec, 0x2a, 0x73, 0x45, 0x90,
2174 0xc8, 0x6b, 0x98, 0x3b, 0x60, 0x3c, 0x60, 0xd8, 0x72, 0x41, 0x96, 0x59, 0x05, 0xbf, 0xcc, 0x2a,
2175 0xec, 0x8b, 0x32, 0x2b, 0xdf, 0x3f, 0x19, 0x03, 0x5d, 0x9a, 0xff, 0xf2, 0xef, 0xff, 0xfa, 0x7a,
2176 0x74, 0x91, 0x10, 0xac, 0xd8, 0x4e, 0xee, 0x15, 0xdb, 0x03, 0x9c, 0x37, 0x90, 0x3e, 0xea, 0x9a,
2177 0x06, 0x67, 0x01, 0xec, 0x18, 0x8c, 0x7c, 0x02, 0x1f, 0x5d, 0x47, 0xec, 0x15, 0x1a, 0x83, 0xfd,
2178 0x58, 0xdb, 0x24, 0x7b, 0x30, 0x73, 0xc0, 0xb8, 0x4a, 0x52, 0x49, 0x36, 0xf7, 0xf3, 0x80, 0xd4,
2179 0xa3, 0x0b, 0x88, 0x39, 0x43, 0xa6, 0x14, 0x26, 0x79, 0x03, 0x99, 0xe7, 0x96, 0xc7, 0xc3, 0x19,
2180 0x3e, 0x09, 0x6d, 0x29, 0x2e, 0xd5, 0x7b, 0xf4, 0x0a, 0x82, 0x66, 0x49, 0xc6, 0x37, 0xd4, 0xea,
2181 0x23, 0x55, 0x61, 0xe1, 0x80, 0x85, 0xd0, 0x09, 0x14, 0x54, 0x01, 0x5a, 0xda, 0xcb, 0xc7, 0xde,
2182 0x1d, 0xf4, 0x2a, 0xe2, 0xe5, 0xc8, 0x72, 0x04, 0xaf, 0xf8, 0xde, 0x32, 0xbf, 0x20, 0x3a, 0xa4,
2183 0x84, 0xcd, 0xdb, 0x7e, 0x22, 0x4d, 0x32, 0x37, 0x3d, 0x94, 0x86, 0x3d, 0x9a, 0x43, 0x64, 0x42,
2184 0xd2, 0x3e, 0x72, 0x3f, 0x19, 0x33, 0x20, 0x02, 0xf3, 0x79, 0x38, 0xaf, 0x26, 0x21, 0x2f, 0xc7,
2185 0x66, 0x68, 0x8f, 0x5e, 0x43, 0xfc, 0x2b, 0x64, 0xc5, 0xc7, 0x1f, 0x4a, 0xf0, 0xe4, 0x97, 0x90,
2186 0x3e, 0x60, 0x61, 0x96, 0x90, 0x43, 0xe2, 0x53, 0x3f, 0xbd, 0x89, 0xb8, 0x57, 0xc9, 0x5a, 0x02,
2187 0xae, 0xf4, 0x4b, 0x13, 0x96, 0x23, 0x6b, 0xa8, 0x38, 0x2e, 0xf7, 0xe2, 0x7d, 0xae, 0xf4, 0x50,
2188 0x83, 0x6e, 0x22, 0xc3, 0x4d, 0x42, 0xcf, 0x62, 0x28, 0x76, 0x11, 0xed, 0x73, 0x58, 0x1c, 0x5e,
2189 0x84, 0x00, 0x21, 0x4b, 0x31, 0xc8, 0x25, 0x33, 0x9f, 0x8d, 0x19, 0xa6, 0x0f, 0x90, 0xaf, 0x40,
2190 0x3e, 0x3e, 0x9f, 0xaf, 0xf8, 0x5e, 0xfc, 0xa9, 0x89, 0x15, 0xfe, 0x4e, 0x83, 0x95, 0x7d, 0xac,
2191 0xd6, 0x2e, 0xcc, 0x9e, 0x74, 0xba, 0x9e, 0xa0, 0x01, 0x0f, 0xe9, 0xd6, 0x65, 0x0c, 0x28, 0xaa,
2192 0x52, 0xf1, 0x2b, 0x0d, 0x72, 0x7b, 0x96, 0xf7, 0xbd, 0x18, 0xf2, 0x43, 0x34, 0xe4, 0x11, 0x7d,
2193 0x70, 0x29, 0x43, 0x4c, 0xc9, 0x4e, 0xcc, 0x98, 0x98, 0x8b, 0x3c, 0x19, 0x8e, 0x39, 0x09, 0x25,
2194 0x47, 0x94, 0x5f, 0x30, 0xe2, 0x4d, 0xc4, 0xfa, 0x8d, 0x06, 0x6b, 0x32, 0x97, 0x45, 0x88, 0x5e,
2195 0xa2, 0x19, 0x6b, 0x11, 0x02, 0x1c, 0x97, 0x73, 0x12, 0x97, 0x7e, 0x07, 0x4d, 0xb8, 0x4d, 0x2f,
2196 0x60, 0x82, 0xc8, 0x78, 0xbf, 0xd5, 0x60, 0x3d, 0xc6, 0x8a, 0x43, 0x91, 0xd9, 0xa5, 0x19, 0xab,
2197 0x21, 0x33, 0x50, 0x70, 0xe8, 0x98, 0xe7, 0x58, 0x51, 0x40, 0x2b, 0x36, 0xe8, 0x07, 0x67, 0x5a,
2198 0x21, 0xef, 0x0f, 0x61, 0x46, 0x0b, 0x56, 0x22, 0x2e, 0x47, 0xaa, 0xb0, 0xcf, 0xb3, 0x51, 0x5b,
2199 0x3c, 0xfa, 0x11, 0x72, 0x7d, 0x48, 0x2e, 0xc2, 0x45, 0x38, 0xac, 0xc6, 0xc6, 0x56, 0x15, 0x4e,
2200 0x41, 0xb2, 0x95, 0x88, 0xff, 0xa5, 0x12, 0xbd, 0x8b, 0x84, 0x9b, 0x64, 0xe3, 0x5c, 0x17, 0xab,
2201 0x1a, 0x8e, 0x7c, 0xad, 0xc1, 0x8d, 0x84, 0x58, 0x23, 0xa6, 0xf4, 0xf4, 0x8d, 0x78, 0xc2, 0x8b,
2202 0x44, 0x7d, 0x0b, 0x4d, 0xba, 0x43, 0x2f, 0x6c, 0x92, 0x70, 0x7a, 0x19, 0x66, 0x85, 0x2f, 0xce,
2203 0x4b, 0xcc, 0x0b, 0xe1, 0xd2, 0xd3, 0xa3, 0x2b, 0x48, 0x96, 0x21, 0x0b, 0x3e, 0x99, 0x9f, 0x89,
2204 0xcb, 0x30, 0x37, 0x00, 0x2c, 0x99, 0xc9, 0x90, 0xb3, 0x03, 0x37, 0xc7, 0x5c, 0x75, 0x12, 0xce,
2205 0x32, 0x3d, 0x72, 0x04, 0x69, 0x9d, 0x35, 0x9c, 0x4e, 0xc3, 0xb2, 0x99, 0x6f, 0x66, 0x70, 0x6e,
2206 0xa2, 0x3f, 0xd6, 0x10, 0x73, 0x99, 0x46, 0x31, 0xc5, 0xc2, 0xf7, 0xf1, 0x9a, 0x8f, 0xb9, 0x2a,
2207 0x86, 0x4a, 0x7c, 0x1f, 0x86, 0x2c, 0x0e, 0xad, 0x54, 0xde, 0x0d, 0x3f, 0x81, 0xd4, 0xae, 0xcb,
2208 0x0c, 0xae, 0x4c, 0x23, 0x43, 0xb3, 0x23, 0x68, 0xaa, 0xb0, 0xa1, 0xc3, 0x7e, 0x13, 0x26, 0xbd,
2209 0x86, 0x94, 0x4c, 0xc2, 0x31, 0x56, 0x25, 0x2d, 0xf2, 0x03, 0xc4, 0x5b, 0xa7, 0xab, 0x71, 0xd6,
2210 0xf9, 0x69, 0xf5, 0xe7, 0x30, 0xa7, 0xb2, 0xea, 0x25, 0x90, 0xd5, 0xdd, 0x48, 0xd7, 0x62, 0x91,
2211 0xfd, 0x3c, 0xf9, 0x1a, 0x52, 0x3a, 0xab, 0x3b, 0x0e, 0xff, 0xde, 0x6c, 0x76, 0x11, 0x4e, 0x00,
2212 0xef, 0x31, 0x9b, 0xf1, 0xef, 0xe0, 0x8c, 0xcd, 0x78, 0x60, 0x13, 0xe1, 0x48, 0x0f, 0xe6, 0xf6,
2213 0x9c, 0x77, 0x1d, 0xdb, 0x31, 0xcc, 0x52, 0xdb, 0x68, 0xb1, 0xc1, 0xbd, 0x82, 0x8f, 0xbe, 0x2c,
2214 0xbf, 0xe4, 0x13, 0x96, 0xbb, 0xcc, 0xc5, 0x76, 0xa1, 0x78, 0x55, 0xa0, 0x8f, 0x90, 0xe3, 0x2e,
2215 0xfd, 0x28, 0x96, 0xc3, 0x12, 0x10, 0x35, 0x53, 0x61, 0x78, 0xc5, 0xf7, 0xa2, 0x08, 0xff, 0x42,
2216 0x04, 0xf7, 0x4b, 0x0d, 0x96, 0x0f, 0x18, 0x0f, 0x71, 0xc8, 0xc6, 0x40, 0xb2, 0x01, 0x71, 0xc3,
2217 0xf4, 0x31, 0x1a, 0xf0, 0x80, 0xdc, 0xbf, 0x84, 0x01, 0x45, 0x4f, 0x32, 0xf5, 0xb0, 0x4c, 0x0a,
2218 0xe1, 0x5d, 0x92, 0x5d, 0x25, 0x19, 0x72, 0x99, 0xe5, 0x93, 0xa6, 0x2c, 0x02, 0x43, 0x48, 0xde,
2219 0x50, 0x44, 0xe3, 0xd8, 0x3c, 0xfa, 0x31, 0xd2, 0xdd, 0x22, 0x37, 0x2f, 0x42, 0x47, 0x3e, 0x87,
2220 0xec, 0xae, 0xa8, 0x67, 0xed, 0x0b, 0xae, 0x30, 0x36, 0xc0, 0x6a, 0x85, 0x9b, 0x97, 0x5a, 0xe1,
2221 0x1f, 0x34, 0xc8, 0x6e, 0x37, 0xb8, 0x75, 0x62, 0x70, 0x86, 0x2c, 0x32, 0x57, 0x5f, 0x92, 0x7a,
2222 0x17, 0xa9, 0x3f, 0xa1, 0xff, 0x7f, 0x99, 0xd0, 0xca, 0xe1, 0x1e, 0xf2, 0x89, 0x8d, 0xf6, 0x7b,
2223 0x0d, 0x32, 0x3a, 0x3b, 0x61, 0x2e, 0xff, 0x9f, 0x18, 0xe2, 0x22, 0xb5, 0x30, 0xa4, 0x02, 0x0b,
2224 0x83, 0x9b, 0x20, 0x5a, 0x2f, 0xcf, 0xf9, 0x16, 0xc9, 0x42, 0x99, 0x22, 0xe5, 0x1a, 0xc9, 0xc7,
2225 0x52, 0xca, 0x02, 0xf9, 0x0d, 0x64, 0x03, 0x88, 0xed, 0x5d, 0x7c, 0x05, 0x0d, 0xa3, 0x66, 0xfa,
2226 0xa8, 0xbe, 0x98, 0xde, 0x46, 0xe4, 0x1b, 0xe4, 0x5a, 0x3c, 0x72, 0x5b, 0xbd, 0xca, 0x7a, 0xa4,
2227 0x03, 0x4b, 0xd2, 0x5b, 0xc3, 0x04, 0x51, 0xd0, 0xc4, 0x14, 0xa4, 0xaa, 0x3f, 0x7a, 0x1e, 0x99,
2228 0x70, 0xd0, 0x51, 0xd0, 0x41, 0x17, 0x2b, 0x2e, 0xcf, 0xf6, 0x92, 0x2c, 0x2a, 0x19, 0x2c, 0x86,
2229 0x61, 0x2f, 0x53, 0xd7, 0x6c, 0x20, 0x01, 0x25, 0xd7, 0x13, 0x09, 0xfc, 0x7a, 0xe6, 0xb3, 0xa0,
2230 0xf5, 0xb2, 0x6f, 0x95, 0x74, 0xd5, 0x67, 0xa3, 0xbd, 0x2f, 0x2f, 0xe9, 0x5e, 0x95, 0x4d, 0x33,
2231 0xa2, 0x63, 0xf7, 0x60, 0xa0, 0x3f, 0xe4, 0x99, 0x08, 0x1e, 0xbd, 0x81, 0x70, 0xab, 0xe4, 0x4a,
2232 0x1c, 0x9c, 0xbc, 0xab, 0x6b, 0x90, 0x1e, 0x58, 0xac, 0x9c, 0x92, 0x64, 0xf2, 0x62, 0x4c, 0xaf,
2233 0xcd, 0xf3, 0x5b, 0x07, 0x64, 0x69, 0x88, 0x44, 0xb9, 0xe4, 0x29, 0xa4, 0xab, 0xdc, 0x65, 0x46,
2234 0xbb, 0x62, 0x34, 0xde, 0x32, 0xee, 0x95, 0x7b, 0x9c, 0x2c, 0x87, 0x3c, 0x2d, 0x05, 0xe5, 0x1e,
2235 0x4f, 0xdc, 0x40, 0x23, 0x1b, 0x1a, 0xd9, 0xc7, 0x92, 0x87, 0x59, 0x27, 0x4c, 0x01, 0x95, 0x3a,
2236 0x67, 0xf4, 0x0e, 0xa2, 0xf8, 0xa5, 0x0e, 0x1d, 0xb9, 0xab, 0x91, 0x67, 0x90, 0x55, 0x30, 0xbb,
2237 0xc7, 0x46, 0xa7, 0xc5, 0xb0, 0xe3, 0x97, 0xbc, 0xe4, 0x5c, 0x08, 0x29, 0x30, 0x05, 0xc1, 0x8e,
2238 0x60, 0xbe, 0x1f, 0x10, 0xf9, 0xd1, 0x27, 0x5c, 0x94, 0x47, 0xdd, 0x95, 0xb4, 0x59, 0x95, 0xb7,
2239 0xfc, 0x98, 0x64, 0x64, 0xfd, 0x14, 0xfc, 0xc0, 0x10, 0xd7, 0xa3, 0xcc, 0xc7, 0x0d, 0xd2, 0xeb,
2240 0x48, 0x91, 0xa7, 0xfd, 0x80, 0x84, 0x5a, 0x9e, 0xe2, 0x90, 0xbd, 0x42, 0xbb, 0x83, 0xe8, 0xb1,
2241 0x2f, 0xed, 0xc1, 0xcf, 0x06, 0x51, 0xc3, 0x43, 0xa8, 0xd2, 0x70, 0x13, 0x32, 0x32, 0x59, 0x7c,
2242 0x37, 0xc3, 0x3f, 0x44, 0x8a, 0x6b, 0xf9, 0x33, 0x28, 0x84, 0xf5, 0x26, 0x64, 0x64, 0x15, 0x74,
2243 0x2e, 0x4b, 0xd2, 0x7e, 0x52, 0x6b, 0xd9, 0x3c, 0x6b, 0x2d, 0xea, 0x60, 0x84, 0x3e, 0x9d, 0x9c,
2244 0x7b, 0x30, 0x42, 0x1e, 0x8b, 0x1c, 0x8c, 0x10, 0x0b, 0x79, 0x8e, 0xc5, 0x36, 0x5e, 0x3d, 0x5e,
2245 0x7c, 0xb1, 0x2d, 0x65, 0x7e, 0x05, 0x47, 0x56, 0x93, 0x2f, 0x1e, 0x8f, 0xfc, 0x0c, 0xa6, 0xfd,
2246 0x96, 0x6c, 0x08, 0x2c, 0x97, 0xd4, 0xdb, 0xa5, 0xb7, 0x10, 0xf6, 0x3a, 0xbd, 0x1a, 0x0b, 0xeb,
2247 0x31, 0xbb, 0x59, 0xe3, 0x02, 0xed, 0x15, 0xd6, 0x47, 0xa1, 0x96, 0xf6, 0xf0, 0xbb, 0x67, 0xa4,
2248 0xe7, 0x1d, 0xcd, 0x3c, 0xe2, 0x18, 0x09, 0x3d, 0xf5, 0xd2, 0x69, 0xd5, 0xc9, 0x67, 0x40, 0x0e,
2249 0x18, 0x1f, 0xea, 0x6a, 0x0f, 0x35, 0xa8, 0xe2, 0x1a, 0xdf, 0x51, 0x7f, 0x84, 0xb1, 0xb1, 0x87,
2250 0x4e, 0x3c, 0x98, 0xab, 0x5a, 0xed, 0x9e, 0x6d, 0x70, 0x86, 0xf3, 0xc9, 0x5a, 0xdf, 0x11, 0xc1,
2251 0x61, 0xf5, 0xa1, 0x28, 0xe9, 0xce, 0x8f, 0x34, 0x0d, 0xc2, 0x3e, 0x52, 0x48, 0x35, 0x81, 0x24,
2252 0x76, 0xe6, 0x2e, 0xcc, 0xf4, 0xdb, 0xd7, 0xe4, 0x8a, 0x4f, 0x18, 0x69, 0x6c, 0xe7, 0x93, 0x45,
2253 0x74, 0x84, 0x1c, 0x02, 0xc8, 0x37, 0x1e, 0x6c, 0xf0, 0xa4, 0x82, 0x15, 0x41, 0xe2, 0x86, 0x56,
2254 0xaf, 0x8a, 0x74, 0x5e, 0xd8, 0x38, 0x98, 0xad, 0x5e, 0x66, 0xd5, 0x7b, 0xce, 0x25, 0xf0, 0x06,
2255 0x6f, 0x64, 0x27, 0xf7, 0x8a, 0x81, 0xe9, 0x02, 0xf0, 0x18, 0xb2, 0x55, 0x6e, 0xb8, 0xdc, 0xff,
2256 0xd6, 0x26, 0x4a, 0x3c, 0xa7, 0x43, 0xfa, 0x9f, 0x21, 0x87, 0xbe, 0xc1, 0x0d, 0x0e, 0x47, 0x68,
2257 0xf7, 0xa9, 0x23, 0x48, 0xfb, 0xdd, 0x4b, 0x4f, 0x60, 0xd6, 0xf0, 0x2b, 0x88, 0xd8, 0x76, 0x8f,
2258 0xb5, 0xcd, 0x1d, 0x1b, 0xb2, 0x8e, 0xdb, 0xc2, 0x0c, 0xdc, 0x70, 0x5c, 0x53, 0xe1, 0xec, 0xa4,
2259 0x64, 0x7f, 0xb9, 0x82, 0x9f, 0xe2, 0x7f, 0x51, 0x68, 0x59, 0xfc, 0xb8, 0x57, 0x17, 0xf1, 0x2b,
2260 0xfa, 0x9a, 0xea, 0xf7, 0x0e, 0x77, 0xfc, 0x5f, 0x3f, 0x6c, 0x15, 0x5b, 0x8e, 0x1a, 0xfb, 0xeb,
2261 0xe8, 0x72, 0xd9, 0xc7, 0x7b, 0x15, 0x6c, 0x57, 0x57, 0x46, 0x2b, 0x63, 0x95, 0xf1, 0xca, 0x44,
2262 0x65, 0xb2, 0x32, 0x55, 0x99, 0xae, 0x4f, 0xe2, 0xdc, 0xad, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff,
2263 0x68, 0xe5, 0x85, 0x3e, 0x49, 0x21, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002264}
2265
2266// Reference imports to suppress errors if they are not otherwise used.
2267var _ context.Context
2268var _ grpc.ClientConn
2269
2270// This is a compile-time assertion to ensure that this generated file
2271// is compatible with the grpc package it is being compiled against.
2272const _ = grpc.SupportPackageIsVersion4
2273
2274// VolthaServiceClient is the client API for VolthaService service.
2275//
2276// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2277type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -04002278 // Get the membership group of a Voltha Core
2279 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2280 // Set the membership group of a Voltha Core
2281 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2282 // Get high level information on the Voltha cluster
2283 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2284 // List all Voltha cluster core instances
2285 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2286 // Get details on a Voltha cluster instance
2287 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2288 // List all active adapters (plugins) in the Voltha cluster
2289 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2290 // List all logical devices managed by the Voltha cluster
2291 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2292 // Get additional information on a given logical device
2293 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2294 // List ports of a logical device
2295 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2296 // Gets a logical device port
2297 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2298 // Enables a logical device port
2299 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2300 // Disables a logical device port
2301 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2302 // List all flows of a logical device
2303 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2304 // Update flow table for logical device
2305 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2306 // Update meter table for logical device
2307 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002308 // List all meters of a logical device
2309 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002310 // List all flow groups of a logical device
2311 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2312 // Update group table for device
2313 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2314 // List all physical devices controlled by the Voltha cluster
2315 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2316 // List all physical devices IDs controlled by the Voltha cluster
2317 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2318 // Request to a voltha Core to reconcile a set of devices based on their IDs
2319 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2320 // Get more information on a given physical device
2321 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2322 // Pre-provision a new physical device
2323 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2324 // Enable a device. If the device was in pre-provisioned state then it
2325 // will transition to ENABLED state. If it was is DISABLED state then it
2326 // will transition to ENABLED state as well.
2327 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2328 // Disable a device
2329 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2330 // Reboot a device
2331 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2332 // Delete a device
2333 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2334 // Request an image download to the standby partition
2335 // of a device.
2336 // Note that the call is expected to be non-blocking.
2337 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2338 // Get image download status on a device
2339 // The request retrieves progress on device and updates db record
2340 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2341 // Get image download db record
2342 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2343 // List image download db records for a given device
2344 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2345 // Cancel an existing image download process on a device
2346 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2347 // Activate the specified image at a standby partition
2348 // to active partition.
2349 // Depending on the device implementation, this call
2350 // may or may not cause device reboot.
2351 // If no reboot, then a reboot is required to make the
2352 // activated image running on device
2353 // Note that the call is expected to be non-blocking.
2354 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2355 // Revert the specified image at standby partition
2356 // to active partition, and revert to previous image
2357 // Depending on the device implementation, this call
2358 // may or may not cause device reboot.
2359 // If no reboot, then a reboot is required to make the
2360 // previous image running on device
2361 // Note that the call is expected to be non-blocking.
2362 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2363 // List ports of a device
2364 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2365 // List pm config of a device
2366 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2367 // Update the pm config of a device
2368 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2369 // List all flows of a device
2370 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2371 // List all flow groups of a device
2372 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2373 // List device types known to Voltha
2374 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2375 // Get additional information on a device type
2376 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2377 // List all device sharding groups
2378 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2379 // Stream control packets to the dataplane
2380 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2381 // Receive control packet stream
2382 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2383 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2384 // Get additional information on a device group
2385 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002386 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2387 // Get all filters present for a device
2388 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2389 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2390 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2391 // Get all the filters present
2392 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002393 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2394 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2395 // OpenOMCI MIB information
2396 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2397 // OpenOMCI ALARM information
2398 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2399 // Simulate an Alarm
2400 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2401 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05002402 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2403 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302404 // omci start and stop cli implementation
2405 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002406}
2407
2408type volthaServiceClient struct {
2409 cc *grpc.ClientConn
2410}
2411
2412func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2413 return &volthaServiceClient{cc}
2414}
2415
William Kurkian1b363f42019-03-12 15:28:12 -04002416func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2417 out := new(Membership)
2418 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2419 if err != nil {
2420 return nil, err
2421 }
2422 return out, nil
2423}
2424
2425func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2426 out := new(empty.Empty)
2427 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2428 if err != nil {
2429 return nil, err
2430 }
2431 return out, nil
2432}
2433
2434func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2435 out := new(Voltha)
2436 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2437 if err != nil {
2438 return nil, err
2439 }
2440 return out, nil
2441}
2442
2443func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2444 out := new(CoreInstances)
2445 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2446 if err != nil {
2447 return nil, err
2448 }
2449 return out, nil
2450}
2451
2452func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2453 out := new(CoreInstance)
2454 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2455 if err != nil {
2456 return nil, err
2457 }
2458 return out, nil
2459}
2460
2461func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2462 out := new(Adapters)
2463 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2464 if err != nil {
2465 return nil, err
2466 }
2467 return out, nil
2468}
2469
2470func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2471 out := new(LogicalDevices)
2472 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2473 if err != nil {
2474 return nil, err
2475 }
2476 return out, nil
2477}
2478
2479func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2480 out := new(LogicalDevice)
2481 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2482 if err != nil {
2483 return nil, err
2484 }
2485 return out, nil
2486}
2487
2488func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2489 out := new(LogicalPorts)
2490 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2491 if err != nil {
2492 return nil, err
2493 }
2494 return out, nil
2495}
2496
2497func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2498 out := new(LogicalPort)
2499 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2500 if err != nil {
2501 return nil, err
2502 }
2503 return out, nil
2504}
2505
2506func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2507 out := new(empty.Empty)
2508 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2509 if err != nil {
2510 return nil, err
2511 }
2512 return out, nil
2513}
2514
2515func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2516 out := new(empty.Empty)
2517 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2518 if err != nil {
2519 return nil, err
2520 }
2521 return out, nil
2522}
2523
2524func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2525 out := new(openflow_13.Flows)
2526 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2527 if err != nil {
2528 return nil, err
2529 }
2530 return out, nil
2531}
2532
2533func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2534 out := new(empty.Empty)
2535 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2536 if err != nil {
2537 return nil, err
2538 }
2539 return out, nil
2540}
2541
2542func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2543 out := new(empty.Empty)
2544 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2545 if err != nil {
2546 return nil, err
2547 }
2548 return out, nil
2549}
2550
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002551func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2552 out := new(openflow_13.Meters)
2553 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002554 if err != nil {
2555 return nil, err
2556 }
2557 return out, nil
2558}
2559
2560func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2561 out := new(openflow_13.FlowGroups)
2562 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2563 if err != nil {
2564 return nil, err
2565 }
2566 return out, nil
2567}
2568
2569func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2570 out := new(empty.Empty)
2571 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2572 if err != nil {
2573 return nil, err
2574 }
2575 return out, nil
2576}
2577
2578func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2579 out := new(Devices)
2580 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2581 if err != nil {
2582 return nil, err
2583 }
2584 return out, nil
2585}
2586
2587func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2588 out := new(common.IDs)
2589 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2590 if err != nil {
2591 return nil, err
2592 }
2593 return out, nil
2594}
2595
2596func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2597 out := new(empty.Empty)
2598 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2599 if err != nil {
2600 return nil, err
2601 }
2602 return out, nil
2603}
2604
2605func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2606 out := new(Device)
2607 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2608 if err != nil {
2609 return nil, err
2610 }
2611 return out, nil
2612}
2613
2614func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2615 out := new(Device)
2616 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2617 if err != nil {
2618 return nil, err
2619 }
2620 return out, nil
2621}
2622
2623func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2624 out := new(empty.Empty)
2625 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2626 if err != nil {
2627 return nil, err
2628 }
2629 return out, nil
2630}
2631
2632func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2633 out := new(empty.Empty)
2634 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2635 if err != nil {
2636 return nil, err
2637 }
2638 return out, nil
2639}
2640
2641func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2642 out := new(empty.Empty)
2643 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2644 if err != nil {
2645 return nil, err
2646 }
2647 return out, nil
2648}
2649
2650func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2651 out := new(empty.Empty)
2652 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2653 if err != nil {
2654 return nil, err
2655 }
2656 return out, nil
2657}
2658
2659func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2660 out := new(common.OperationResp)
2661 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2662 if err != nil {
2663 return nil, err
2664 }
2665 return out, nil
2666}
2667
2668func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2669 out := new(ImageDownload)
2670 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2671 if err != nil {
2672 return nil, err
2673 }
2674 return out, nil
2675}
2676
2677func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2678 out := new(ImageDownload)
2679 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2680 if err != nil {
2681 return nil, err
2682 }
2683 return out, nil
2684}
2685
2686func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2687 out := new(ImageDownloads)
2688 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2689 if err != nil {
2690 return nil, err
2691 }
2692 return out, nil
2693}
2694
2695func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2696 out := new(common.OperationResp)
2697 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2698 if err != nil {
2699 return nil, err
2700 }
2701 return out, nil
2702}
2703
2704func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2705 out := new(common.OperationResp)
2706 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2707 if err != nil {
2708 return nil, err
2709 }
2710 return out, nil
2711}
2712
2713func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2714 out := new(common.OperationResp)
2715 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2716 if err != nil {
2717 return nil, err
2718 }
2719 return out, nil
2720}
2721
2722func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2723 out := new(Ports)
2724 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2725 if err != nil {
2726 return nil, err
2727 }
2728 return out, nil
2729}
2730
2731func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2732 out := new(PmConfigs)
2733 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2734 if err != nil {
2735 return nil, err
2736 }
2737 return out, nil
2738}
2739
2740func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2741 out := new(empty.Empty)
2742 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2743 if err != nil {
2744 return nil, err
2745 }
2746 return out, nil
2747}
2748
2749func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2750 out := new(openflow_13.Flows)
2751 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2752 if err != nil {
2753 return nil, err
2754 }
2755 return out, nil
2756}
2757
2758func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2759 out := new(openflow_13.FlowGroups)
2760 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2761 if err != nil {
2762 return nil, err
2763 }
2764 return out, nil
2765}
2766
2767func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2768 out := new(DeviceTypes)
2769 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2770 if err != nil {
2771 return nil, err
2772 }
2773 return out, nil
2774}
2775
2776func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2777 out := new(DeviceType)
2778 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2779 if err != nil {
2780 return nil, err
2781 }
2782 return out, nil
2783}
2784
2785func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2786 out := new(DeviceGroups)
2787 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2788 if err != nil {
2789 return nil, err
2790 }
2791 return out, nil
2792}
2793
2794func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2795 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2796 if err != nil {
2797 return nil, err
2798 }
2799 x := &volthaServiceStreamPacketsOutClient{stream}
2800 return x, nil
2801}
2802
2803type VolthaService_StreamPacketsOutClient interface {
2804 Send(*openflow_13.PacketOut) error
2805 CloseAndRecv() (*empty.Empty, error)
2806 grpc.ClientStream
2807}
2808
2809type volthaServiceStreamPacketsOutClient struct {
2810 grpc.ClientStream
2811}
2812
2813func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2814 return x.ClientStream.SendMsg(m)
2815}
2816
2817func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2818 if err := x.ClientStream.CloseSend(); err != nil {
2819 return nil, err
2820 }
2821 m := new(empty.Empty)
2822 if err := x.ClientStream.RecvMsg(m); err != nil {
2823 return nil, err
2824 }
2825 return m, nil
2826}
2827
2828func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2829 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2830 if err != nil {
2831 return nil, err
2832 }
2833 x := &volthaServiceReceivePacketsInClient{stream}
2834 if err := x.ClientStream.SendMsg(in); err != nil {
2835 return nil, err
2836 }
2837 if err := x.ClientStream.CloseSend(); err != nil {
2838 return nil, err
2839 }
2840 return x, nil
2841}
2842
2843type VolthaService_ReceivePacketsInClient interface {
2844 Recv() (*openflow_13.PacketIn, error)
2845 grpc.ClientStream
2846}
2847
2848type volthaServiceReceivePacketsInClient struct {
2849 grpc.ClientStream
2850}
2851
2852func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2853 m := new(openflow_13.PacketIn)
2854 if err := x.ClientStream.RecvMsg(m); err != nil {
2855 return nil, err
2856 }
2857 return m, nil
2858}
2859
2860func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2861 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2862 if err != nil {
2863 return nil, err
2864 }
2865 x := &volthaServiceReceiveChangeEventsClient{stream}
2866 if err := x.ClientStream.SendMsg(in); err != nil {
2867 return nil, err
2868 }
2869 if err := x.ClientStream.CloseSend(); err != nil {
2870 return nil, err
2871 }
2872 return x, nil
2873}
2874
2875type VolthaService_ReceiveChangeEventsClient interface {
2876 Recv() (*openflow_13.ChangeEvent, error)
2877 grpc.ClientStream
2878}
2879
2880type volthaServiceReceiveChangeEventsClient struct {
2881 grpc.ClientStream
2882}
2883
2884func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2885 m := new(openflow_13.ChangeEvent)
2886 if err := x.ClientStream.RecvMsg(m); err != nil {
2887 return nil, err
2888 }
2889 return m, nil
2890}
2891
2892func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2893 out := new(DeviceGroup)
2894 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2895 if err != nil {
2896 return nil, err
2897 }
2898 return out, nil
2899}
2900
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002901func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2902 out := new(EventFilter)
2903 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002904 if err != nil {
2905 return nil, err
2906 }
2907 return out, nil
2908}
2909
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002910func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
2911 out := new(EventFilters)
2912 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002913 if err != nil {
2914 return nil, err
2915 }
2916 return out, nil
2917}
2918
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002919func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2920 out := new(EventFilter)
2921 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002922 if err != nil {
2923 return nil, err
2924 }
2925 return out, nil
2926}
2927
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002928func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002929 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002930 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002931 if err != nil {
2932 return nil, err
2933 }
2934 return out, nil
2935}
2936
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002937func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
2938 out := new(EventFilters)
2939 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002940 if err != nil {
2941 return nil, err
2942 }
2943 return out, nil
2944}
2945
2946func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
2947 out := new(Images)
2948 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
2949 if err != nil {
2950 return nil, err
2951 }
2952 return out, nil
2953}
2954
2955func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
2956 out := new(SelfTestResponse)
2957 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
2958 if err != nil {
2959 return nil, err
2960 }
2961 return out, nil
2962}
2963
2964func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
2965 out := new(omci.MibDeviceData)
2966 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
2967 if err != nil {
2968 return nil, err
2969 }
2970 return out, nil
2971}
2972
2973func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
2974 out := new(omci.AlarmDeviceData)
2975 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
2976 if err != nil {
2977 return nil, err
2978 }
2979 return out, nil
2980}
2981
2982func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
2983 out := new(common.OperationResp)
2984 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
2985 if err != nil {
2986 return nil, err
2987 }
2988 return out, nil
2989}
2990
2991func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
2992 out := new(OfAgentSubscriber)
2993 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
2994 if err != nil {
2995 return nil, err
2996 }
2997 return out, nil
2998}
2999
kesavand4a002b02020-01-23 21:29:47 -05003000func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3001 out := new(empty.Empty)
3002 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3003 if err != nil {
3004 return nil, err
3005 }
3006 return out, nil
3007}
3008
3009func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3010 out := new(empty.Empty)
3011 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3012 if err != nil {
3013 return nil, err
3014 }
3015 return out, nil
3016}
3017
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303018func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3019 out := new(TestResponse)
3020 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3021 if err != nil {
3022 return nil, err
3023 }
3024 return out, nil
3025}
3026
William Kurkian1b363f42019-03-12 15:28:12 -04003027// VolthaServiceServer is the server API for VolthaService service.
3028type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04003029 // Get the membership group of a Voltha Core
3030 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3031 // Set the membership group of a Voltha Core
3032 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3033 // Get high level information on the Voltha cluster
3034 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3035 // List all Voltha cluster core instances
3036 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3037 // Get details on a Voltha cluster instance
3038 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3039 // List all active adapters (plugins) in the Voltha cluster
3040 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3041 // List all logical devices managed by the Voltha cluster
3042 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3043 // Get additional information on a given logical device
3044 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3045 // List ports of a logical device
3046 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3047 // Gets a logical device port
3048 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3049 // Enables a logical device port
3050 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3051 // Disables a logical device port
3052 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3053 // List all flows of a logical device
3054 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3055 // Update flow table for logical device
3056 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3057 // Update meter table for logical device
3058 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003059 // List all meters of a logical device
3060 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003061 // List all flow groups of a logical device
3062 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3063 // Update group table for device
3064 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3065 // List all physical devices controlled by the Voltha cluster
3066 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3067 // List all physical devices IDs controlled by the Voltha cluster
3068 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3069 // Request to a voltha Core to reconcile a set of devices based on their IDs
3070 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
3071 // Get more information on a given physical device
3072 GetDevice(context.Context, *common.ID) (*Device, error)
3073 // Pre-provision a new physical device
3074 CreateDevice(context.Context, *Device) (*Device, error)
3075 // Enable a device. If the device was in pre-provisioned state then it
3076 // will transition to ENABLED state. If it was is DISABLED state then it
3077 // will transition to ENABLED state as well.
3078 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3079 // Disable a device
3080 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3081 // Reboot a device
3082 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3083 // Delete a device
3084 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
3085 // Request an image download to the standby partition
3086 // of a device.
3087 // Note that the call is expected to be non-blocking.
3088 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3089 // Get image download status on a device
3090 // The request retrieves progress on device and updates db record
3091 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3092 // Get image download db record
3093 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3094 // List image download db records for a given device
3095 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3096 // Cancel an existing image download process on a device
3097 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3098 // Activate the specified image at a standby partition
3099 // to active partition.
3100 // Depending on the device implementation, this call
3101 // may or may not cause device reboot.
3102 // If no reboot, then a reboot is required to make the
3103 // activated image running on device
3104 // Note that the call is expected to be non-blocking.
3105 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3106 // Revert the specified image at standby partition
3107 // to active partition, and revert to previous image
3108 // Depending on the device implementation, this call
3109 // may or may not cause device reboot.
3110 // If no reboot, then a reboot is required to make the
3111 // previous image running on device
3112 // Note that the call is expected to be non-blocking.
3113 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3114 // List ports of a device
3115 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3116 // List pm config of a device
3117 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3118 // Update the pm config of a device
3119 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3120 // List all flows of a device
3121 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3122 // List all flow groups of a device
3123 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3124 // List device types known to Voltha
3125 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3126 // Get additional information on a device type
3127 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3128 // List all device sharding groups
3129 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3130 // Stream control packets to the dataplane
3131 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3132 // Receive control packet stream
3133 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3134 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3135 // Get additional information on a device group
3136 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003137 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3138 // Get all filters present for a device
3139 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3140 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3141 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3142 // Get all the filters present
3143 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003144 GetImages(context.Context, *common.ID) (*Images, error)
3145 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3146 // OpenOMCI MIB information
3147 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3148 // OpenOMCI ALARM information
3149 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3150 // Simulate an Alarm
3151 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3152 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05003153 EnablePort(context.Context, *Port) (*empty.Empty, error)
3154 DisablePort(context.Context, *Port) (*empty.Empty, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303155 // omci start and stop cli implementation
3156 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003157}
3158
3159func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3160 s.RegisterService(&_VolthaService_serviceDesc, srv)
3161}
3162
William Kurkian1b363f42019-03-12 15:28:12 -04003163func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3164 in := new(empty.Empty)
3165 if err := dec(in); err != nil {
3166 return nil, err
3167 }
3168 if interceptor == nil {
3169 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3170 }
3171 info := &grpc.UnaryServerInfo{
3172 Server: srv,
3173 FullMethod: "/voltha.VolthaService/GetMembership",
3174 }
3175 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3176 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3177 }
3178 return interceptor(ctx, in, info, handler)
3179}
3180
3181func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3182 in := new(Membership)
3183 if err := dec(in); err != nil {
3184 return nil, err
3185 }
3186 if interceptor == nil {
3187 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3188 }
3189 info := &grpc.UnaryServerInfo{
3190 Server: srv,
3191 FullMethod: "/voltha.VolthaService/UpdateMembership",
3192 }
3193 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3194 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3195 }
3196 return interceptor(ctx, in, info, handler)
3197}
3198
3199func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3200 in := new(empty.Empty)
3201 if err := dec(in); err != nil {
3202 return nil, err
3203 }
3204 if interceptor == nil {
3205 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3206 }
3207 info := &grpc.UnaryServerInfo{
3208 Server: srv,
3209 FullMethod: "/voltha.VolthaService/GetVoltha",
3210 }
3211 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3212 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3213 }
3214 return interceptor(ctx, in, info, handler)
3215}
3216
3217func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3218 in := new(empty.Empty)
3219 if err := dec(in); err != nil {
3220 return nil, err
3221 }
3222 if interceptor == nil {
3223 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3224 }
3225 info := &grpc.UnaryServerInfo{
3226 Server: srv,
3227 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3228 }
3229 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3230 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3231 }
3232 return interceptor(ctx, in, info, handler)
3233}
3234
3235func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3236 in := new(common.ID)
3237 if err := dec(in); err != nil {
3238 return nil, err
3239 }
3240 if interceptor == nil {
3241 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3242 }
3243 info := &grpc.UnaryServerInfo{
3244 Server: srv,
3245 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3246 }
3247 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3248 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3249 }
3250 return interceptor(ctx, in, info, handler)
3251}
3252
3253func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3254 in := new(empty.Empty)
3255 if err := dec(in); err != nil {
3256 return nil, err
3257 }
3258 if interceptor == nil {
3259 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3260 }
3261 info := &grpc.UnaryServerInfo{
3262 Server: srv,
3263 FullMethod: "/voltha.VolthaService/ListAdapters",
3264 }
3265 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3266 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3267 }
3268 return interceptor(ctx, in, info, handler)
3269}
3270
3271func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3272 in := new(empty.Empty)
3273 if err := dec(in); err != nil {
3274 return nil, err
3275 }
3276 if interceptor == nil {
3277 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3278 }
3279 info := &grpc.UnaryServerInfo{
3280 Server: srv,
3281 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3282 }
3283 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3284 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3285 }
3286 return interceptor(ctx, in, info, handler)
3287}
3288
3289func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3290 in := new(common.ID)
3291 if err := dec(in); err != nil {
3292 return nil, err
3293 }
3294 if interceptor == nil {
3295 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3296 }
3297 info := &grpc.UnaryServerInfo{
3298 Server: srv,
3299 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3300 }
3301 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3302 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3303 }
3304 return interceptor(ctx, in, info, handler)
3305}
3306
3307func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3308 in := new(common.ID)
3309 if err := dec(in); err != nil {
3310 return nil, err
3311 }
3312 if interceptor == nil {
3313 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3314 }
3315 info := &grpc.UnaryServerInfo{
3316 Server: srv,
3317 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3318 }
3319 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3320 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3321 }
3322 return interceptor(ctx, in, info, handler)
3323}
3324
3325func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3326 in := new(LogicalPortId)
3327 if err := dec(in); err != nil {
3328 return nil, err
3329 }
3330 if interceptor == nil {
3331 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3332 }
3333 info := &grpc.UnaryServerInfo{
3334 Server: srv,
3335 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3336 }
3337 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3338 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3339 }
3340 return interceptor(ctx, in, info, handler)
3341}
3342
3343func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3344 in := new(LogicalPortId)
3345 if err := dec(in); err != nil {
3346 return nil, err
3347 }
3348 if interceptor == nil {
3349 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3350 }
3351 info := &grpc.UnaryServerInfo{
3352 Server: srv,
3353 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3354 }
3355 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3356 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3357 }
3358 return interceptor(ctx, in, info, handler)
3359}
3360
3361func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3362 in := new(LogicalPortId)
3363 if err := dec(in); err != nil {
3364 return nil, err
3365 }
3366 if interceptor == nil {
3367 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3368 }
3369 info := &grpc.UnaryServerInfo{
3370 Server: srv,
3371 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3372 }
3373 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3374 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3375 }
3376 return interceptor(ctx, in, info, handler)
3377}
3378
3379func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3380 in := new(common.ID)
3381 if err := dec(in); err != nil {
3382 return nil, err
3383 }
3384 if interceptor == nil {
3385 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3386 }
3387 info := &grpc.UnaryServerInfo{
3388 Server: srv,
3389 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3390 }
3391 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3392 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3393 }
3394 return interceptor(ctx, in, info, handler)
3395}
3396
3397func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3398 in := new(openflow_13.FlowTableUpdate)
3399 if err := dec(in); err != nil {
3400 return nil, err
3401 }
3402 if interceptor == nil {
3403 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3404 }
3405 info := &grpc.UnaryServerInfo{
3406 Server: srv,
3407 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3408 }
3409 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3410 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3411 }
3412 return interceptor(ctx, in, info, handler)
3413}
3414
3415func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3416 in := new(openflow_13.MeterModUpdate)
3417 if err := dec(in); err != nil {
3418 return nil, err
3419 }
3420 if interceptor == nil {
3421 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3422 }
3423 info := &grpc.UnaryServerInfo{
3424 Server: srv,
3425 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3426 }
3427 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3428 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3429 }
3430 return interceptor(ctx, in, info, handler)
3431}
3432
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003433func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003434 in := new(common.ID)
3435 if err := dec(in); err != nil {
3436 return nil, err
3437 }
3438 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003439 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003440 }
3441 info := &grpc.UnaryServerInfo{
3442 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003443 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003444 }
3445 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003446 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003447 }
3448 return interceptor(ctx, in, info, handler)
3449}
3450
3451func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3452 in := new(common.ID)
3453 if err := dec(in); err != nil {
3454 return nil, err
3455 }
3456 if interceptor == nil {
3457 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3458 }
3459 info := &grpc.UnaryServerInfo{
3460 Server: srv,
3461 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3462 }
3463 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3464 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3465 }
3466 return interceptor(ctx, in, info, handler)
3467}
3468
3469func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3470 in := new(openflow_13.FlowGroupTableUpdate)
3471 if err := dec(in); err != nil {
3472 return nil, err
3473 }
3474 if interceptor == nil {
3475 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3476 }
3477 info := &grpc.UnaryServerInfo{
3478 Server: srv,
3479 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3480 }
3481 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3482 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3483 }
3484 return interceptor(ctx, in, info, handler)
3485}
3486
3487func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3488 in := new(empty.Empty)
3489 if err := dec(in); err != nil {
3490 return nil, err
3491 }
3492 if interceptor == nil {
3493 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3494 }
3495 info := &grpc.UnaryServerInfo{
3496 Server: srv,
3497 FullMethod: "/voltha.VolthaService/ListDevices",
3498 }
3499 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3500 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3501 }
3502 return interceptor(ctx, in, info, handler)
3503}
3504
3505func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3506 in := new(empty.Empty)
3507 if err := dec(in); err != nil {
3508 return nil, err
3509 }
3510 if interceptor == nil {
3511 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3512 }
3513 info := &grpc.UnaryServerInfo{
3514 Server: srv,
3515 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3516 }
3517 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3518 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3519 }
3520 return interceptor(ctx, in, info, handler)
3521}
3522
3523func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3524 in := new(common.IDs)
3525 if err := dec(in); err != nil {
3526 return nil, err
3527 }
3528 if interceptor == nil {
3529 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3530 }
3531 info := &grpc.UnaryServerInfo{
3532 Server: srv,
3533 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3534 }
3535 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3536 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3537 }
3538 return interceptor(ctx, in, info, handler)
3539}
3540
3541func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3542 in := new(common.ID)
3543 if err := dec(in); err != nil {
3544 return nil, err
3545 }
3546 if interceptor == nil {
3547 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3548 }
3549 info := &grpc.UnaryServerInfo{
3550 Server: srv,
3551 FullMethod: "/voltha.VolthaService/GetDevice",
3552 }
3553 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3554 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3555 }
3556 return interceptor(ctx, in, info, handler)
3557}
3558
3559func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3560 in := new(Device)
3561 if err := dec(in); err != nil {
3562 return nil, err
3563 }
3564 if interceptor == nil {
3565 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3566 }
3567 info := &grpc.UnaryServerInfo{
3568 Server: srv,
3569 FullMethod: "/voltha.VolthaService/CreateDevice",
3570 }
3571 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3572 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3573 }
3574 return interceptor(ctx, in, info, handler)
3575}
3576
3577func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3578 in := new(common.ID)
3579 if err := dec(in); err != nil {
3580 return nil, err
3581 }
3582 if interceptor == nil {
3583 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3584 }
3585 info := &grpc.UnaryServerInfo{
3586 Server: srv,
3587 FullMethod: "/voltha.VolthaService/EnableDevice",
3588 }
3589 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3590 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3591 }
3592 return interceptor(ctx, in, info, handler)
3593}
3594
3595func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3596 in := new(common.ID)
3597 if err := dec(in); err != nil {
3598 return nil, err
3599 }
3600 if interceptor == nil {
3601 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3602 }
3603 info := &grpc.UnaryServerInfo{
3604 Server: srv,
3605 FullMethod: "/voltha.VolthaService/DisableDevice",
3606 }
3607 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3608 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3609 }
3610 return interceptor(ctx, in, info, handler)
3611}
3612
3613func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3614 in := new(common.ID)
3615 if err := dec(in); err != nil {
3616 return nil, err
3617 }
3618 if interceptor == nil {
3619 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3620 }
3621 info := &grpc.UnaryServerInfo{
3622 Server: srv,
3623 FullMethod: "/voltha.VolthaService/RebootDevice",
3624 }
3625 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3626 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3627 }
3628 return interceptor(ctx, in, info, handler)
3629}
3630
3631func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3632 in := new(common.ID)
3633 if err := dec(in); err != nil {
3634 return nil, err
3635 }
3636 if interceptor == nil {
3637 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3638 }
3639 info := &grpc.UnaryServerInfo{
3640 Server: srv,
3641 FullMethod: "/voltha.VolthaService/DeleteDevice",
3642 }
3643 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3644 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3645 }
3646 return interceptor(ctx, in, info, handler)
3647}
3648
3649func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3650 in := new(ImageDownload)
3651 if err := dec(in); err != nil {
3652 return nil, err
3653 }
3654 if interceptor == nil {
3655 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3656 }
3657 info := &grpc.UnaryServerInfo{
3658 Server: srv,
3659 FullMethod: "/voltha.VolthaService/DownloadImage",
3660 }
3661 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3662 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3663 }
3664 return interceptor(ctx, in, info, handler)
3665}
3666
3667func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3668 in := new(ImageDownload)
3669 if err := dec(in); err != nil {
3670 return nil, err
3671 }
3672 if interceptor == nil {
3673 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3674 }
3675 info := &grpc.UnaryServerInfo{
3676 Server: srv,
3677 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3678 }
3679 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3680 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3681 }
3682 return interceptor(ctx, in, info, handler)
3683}
3684
3685func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3686 in := new(ImageDownload)
3687 if err := dec(in); err != nil {
3688 return nil, err
3689 }
3690 if interceptor == nil {
3691 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3692 }
3693 info := &grpc.UnaryServerInfo{
3694 Server: srv,
3695 FullMethod: "/voltha.VolthaService/GetImageDownload",
3696 }
3697 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3698 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3699 }
3700 return interceptor(ctx, in, info, handler)
3701}
3702
3703func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3704 in := new(common.ID)
3705 if err := dec(in); err != nil {
3706 return nil, err
3707 }
3708 if interceptor == nil {
3709 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3710 }
3711 info := &grpc.UnaryServerInfo{
3712 Server: srv,
3713 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3714 }
3715 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3716 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3717 }
3718 return interceptor(ctx, in, info, handler)
3719}
3720
3721func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3722 in := new(ImageDownload)
3723 if err := dec(in); err != nil {
3724 return nil, err
3725 }
3726 if interceptor == nil {
3727 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3728 }
3729 info := &grpc.UnaryServerInfo{
3730 Server: srv,
3731 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3732 }
3733 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3734 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3735 }
3736 return interceptor(ctx, in, info, handler)
3737}
3738
3739func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3740 in := new(ImageDownload)
3741 if err := dec(in); err != nil {
3742 return nil, err
3743 }
3744 if interceptor == nil {
3745 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3746 }
3747 info := &grpc.UnaryServerInfo{
3748 Server: srv,
3749 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3750 }
3751 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3752 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3753 }
3754 return interceptor(ctx, in, info, handler)
3755}
3756
3757func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3758 in := new(ImageDownload)
3759 if err := dec(in); err != nil {
3760 return nil, err
3761 }
3762 if interceptor == nil {
3763 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3764 }
3765 info := &grpc.UnaryServerInfo{
3766 Server: srv,
3767 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3768 }
3769 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3770 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3771 }
3772 return interceptor(ctx, in, info, handler)
3773}
3774
3775func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3776 in := new(common.ID)
3777 if err := dec(in); err != nil {
3778 return nil, err
3779 }
3780 if interceptor == nil {
3781 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3782 }
3783 info := &grpc.UnaryServerInfo{
3784 Server: srv,
3785 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3786 }
3787 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3788 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3789 }
3790 return interceptor(ctx, in, info, handler)
3791}
3792
3793func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3794 in := new(common.ID)
3795 if err := dec(in); err != nil {
3796 return nil, err
3797 }
3798 if interceptor == nil {
3799 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3800 }
3801 info := &grpc.UnaryServerInfo{
3802 Server: srv,
3803 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3804 }
3805 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3806 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3807 }
3808 return interceptor(ctx, in, info, handler)
3809}
3810
3811func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3812 in := new(PmConfigs)
3813 if err := dec(in); err != nil {
3814 return nil, err
3815 }
3816 if interceptor == nil {
3817 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3818 }
3819 info := &grpc.UnaryServerInfo{
3820 Server: srv,
3821 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3822 }
3823 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3824 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3825 }
3826 return interceptor(ctx, in, info, handler)
3827}
3828
3829func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3830 in := new(common.ID)
3831 if err := dec(in); err != nil {
3832 return nil, err
3833 }
3834 if interceptor == nil {
3835 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3836 }
3837 info := &grpc.UnaryServerInfo{
3838 Server: srv,
3839 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3840 }
3841 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3842 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3843 }
3844 return interceptor(ctx, in, info, handler)
3845}
3846
3847func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3848 in := new(common.ID)
3849 if err := dec(in); err != nil {
3850 return nil, err
3851 }
3852 if interceptor == nil {
3853 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3854 }
3855 info := &grpc.UnaryServerInfo{
3856 Server: srv,
3857 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3858 }
3859 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3860 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3861 }
3862 return interceptor(ctx, in, info, handler)
3863}
3864
3865func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3866 in := new(empty.Empty)
3867 if err := dec(in); err != nil {
3868 return nil, err
3869 }
3870 if interceptor == nil {
3871 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3872 }
3873 info := &grpc.UnaryServerInfo{
3874 Server: srv,
3875 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3876 }
3877 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3878 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
3879 }
3880 return interceptor(ctx, in, info, handler)
3881}
3882
3883func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3884 in := new(common.ID)
3885 if err := dec(in); err != nil {
3886 return nil, err
3887 }
3888 if interceptor == nil {
3889 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
3890 }
3891 info := &grpc.UnaryServerInfo{
3892 Server: srv,
3893 FullMethod: "/voltha.VolthaService/GetDeviceType",
3894 }
3895 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3896 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
3897 }
3898 return interceptor(ctx, in, info, handler)
3899}
3900
3901func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3902 in := new(empty.Empty)
3903 if err := dec(in); err != nil {
3904 return nil, err
3905 }
3906 if interceptor == nil {
3907 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
3908 }
3909 info := &grpc.UnaryServerInfo{
3910 Server: srv,
3911 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
3912 }
3913 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3914 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
3915 }
3916 return interceptor(ctx, in, info, handler)
3917}
3918
3919func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
3920 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
3921}
3922
3923type VolthaService_StreamPacketsOutServer interface {
3924 SendAndClose(*empty.Empty) error
3925 Recv() (*openflow_13.PacketOut, error)
3926 grpc.ServerStream
3927}
3928
3929type volthaServiceStreamPacketsOutServer struct {
3930 grpc.ServerStream
3931}
3932
3933func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
3934 return x.ServerStream.SendMsg(m)
3935}
3936
3937func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
3938 m := new(openflow_13.PacketOut)
3939 if err := x.ServerStream.RecvMsg(m); err != nil {
3940 return nil, err
3941 }
3942 return m, nil
3943}
3944
3945func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
3946 m := new(empty.Empty)
3947 if err := stream.RecvMsg(m); err != nil {
3948 return err
3949 }
3950 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
3951}
3952
3953type VolthaService_ReceivePacketsInServer interface {
3954 Send(*openflow_13.PacketIn) error
3955 grpc.ServerStream
3956}
3957
3958type volthaServiceReceivePacketsInServer struct {
3959 grpc.ServerStream
3960}
3961
3962func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
3963 return x.ServerStream.SendMsg(m)
3964}
3965
3966func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
3967 m := new(empty.Empty)
3968 if err := stream.RecvMsg(m); err != nil {
3969 return err
3970 }
3971 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
3972}
3973
3974type VolthaService_ReceiveChangeEventsServer interface {
3975 Send(*openflow_13.ChangeEvent) error
3976 grpc.ServerStream
3977}
3978
3979type volthaServiceReceiveChangeEventsServer struct {
3980 grpc.ServerStream
3981}
3982
3983func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
3984 return x.ServerStream.SendMsg(m)
3985}
3986
3987func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3988 in := new(common.ID)
3989 if err := dec(in); err != nil {
3990 return nil, err
3991 }
3992 if interceptor == nil {
3993 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
3994 }
3995 info := &grpc.UnaryServerInfo{
3996 Server: srv,
3997 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
3998 }
3999 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4000 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
4001 }
4002 return interceptor(ctx, in, info, handler)
4003}
4004
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004005func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4006 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004007 if err := dec(in); err != nil {
4008 return nil, err
4009 }
4010 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004011 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004012 }
4013 info := &grpc.UnaryServerInfo{
4014 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004015 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004016 }
4017 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004018 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004019 }
4020 return interceptor(ctx, in, info, handler)
4021}
4022
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004023func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004024 in := new(common.ID)
4025 if err := dec(in); err != nil {
4026 return nil, err
4027 }
4028 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004029 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004030 }
4031 info := &grpc.UnaryServerInfo{
4032 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004033 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004034 }
4035 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004036 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04004037 }
4038 return interceptor(ctx, in, info, handler)
4039}
4040
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004041func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4042 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004043 if err := dec(in); err != nil {
4044 return nil, err
4045 }
4046 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004047 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004048 }
4049 info := &grpc.UnaryServerInfo{
4050 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004051 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004052 }
4053 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004054 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004055 }
4056 return interceptor(ctx, in, info, handler)
4057}
4058
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004059func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4060 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004061 if err := dec(in); err != nil {
4062 return nil, err
4063 }
4064 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004065 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004066 }
4067 info := &grpc.UnaryServerInfo{
4068 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004069 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004070 }
4071 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004072 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004073 }
4074 return interceptor(ctx, in, info, handler)
4075}
4076
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004077func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004078 in := new(empty.Empty)
4079 if err := dec(in); err != nil {
4080 return nil, err
4081 }
4082 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004083 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004084 }
4085 info := &grpc.UnaryServerInfo{
4086 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004087 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04004088 }
4089 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004090 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04004091 }
4092 return interceptor(ctx, in, info, handler)
4093}
4094
4095func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4096 in := new(common.ID)
4097 if err := dec(in); err != nil {
4098 return nil, err
4099 }
4100 if interceptor == nil {
4101 return srv.(VolthaServiceServer).GetImages(ctx, in)
4102 }
4103 info := &grpc.UnaryServerInfo{
4104 Server: srv,
4105 FullMethod: "/voltha.VolthaService/GetImages",
4106 }
4107 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4108 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4109 }
4110 return interceptor(ctx, in, info, handler)
4111}
4112
4113func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4114 in := new(common.ID)
4115 if err := dec(in); err != nil {
4116 return nil, err
4117 }
4118 if interceptor == nil {
4119 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4120 }
4121 info := &grpc.UnaryServerInfo{
4122 Server: srv,
4123 FullMethod: "/voltha.VolthaService/SelfTest",
4124 }
4125 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4126 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4127 }
4128 return interceptor(ctx, in, info, handler)
4129}
4130
4131func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4132 in := new(common.ID)
4133 if err := dec(in); err != nil {
4134 return nil, err
4135 }
4136 if interceptor == nil {
4137 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4138 }
4139 info := &grpc.UnaryServerInfo{
4140 Server: srv,
4141 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4142 }
4143 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4144 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4145 }
4146 return interceptor(ctx, in, info, handler)
4147}
4148
4149func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4150 in := new(common.ID)
4151 if err := dec(in); err != nil {
4152 return nil, err
4153 }
4154 if interceptor == nil {
4155 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4156 }
4157 info := &grpc.UnaryServerInfo{
4158 Server: srv,
4159 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4160 }
4161 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4162 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4163 }
4164 return interceptor(ctx, in, info, handler)
4165}
4166
4167func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4168 in := new(SimulateAlarmRequest)
4169 if err := dec(in); err != nil {
4170 return nil, err
4171 }
4172 if interceptor == nil {
4173 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4174 }
4175 info := &grpc.UnaryServerInfo{
4176 Server: srv,
4177 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4178 }
4179 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4180 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4181 }
4182 return interceptor(ctx, in, info, handler)
4183}
4184
4185func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4186 in := new(OfAgentSubscriber)
4187 if err := dec(in); err != nil {
4188 return nil, err
4189 }
4190 if interceptor == nil {
4191 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4192 }
4193 info := &grpc.UnaryServerInfo{
4194 Server: srv,
4195 FullMethod: "/voltha.VolthaService/Subscribe",
4196 }
4197 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4198 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4199 }
4200 return interceptor(ctx, in, info, handler)
4201}
4202
kesavand4a002b02020-01-23 21:29:47 -05004203func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4204 in := new(Port)
4205 if err := dec(in); err != nil {
4206 return nil, err
4207 }
4208 if interceptor == nil {
4209 return srv.(VolthaServiceServer).EnablePort(ctx, in)
4210 }
4211 info := &grpc.UnaryServerInfo{
4212 Server: srv,
4213 FullMethod: "/voltha.VolthaService/EnablePort",
4214 }
4215 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4216 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
4217 }
4218 return interceptor(ctx, in, info, handler)
4219}
4220
4221func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4222 in := new(Port)
4223 if err := dec(in); err != nil {
4224 return nil, err
4225 }
4226 if interceptor == nil {
4227 return srv.(VolthaServiceServer).DisablePort(ctx, in)
4228 }
4229 info := &grpc.UnaryServerInfo{
4230 Server: srv,
4231 FullMethod: "/voltha.VolthaService/DisablePort",
4232 }
4233 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4234 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
4235 }
4236 return interceptor(ctx, in, info, handler)
4237}
4238
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304239func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4240 in := new(OmciTestRequest)
4241 if err := dec(in); err != nil {
4242 return nil, err
4243 }
4244 if interceptor == nil {
4245 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
4246 }
4247 info := &grpc.UnaryServerInfo{
4248 Server: srv,
4249 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
4250 }
4251 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4252 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest))
4253 }
4254 return interceptor(ctx, in, info, handler)
4255}
4256
William Kurkian1b363f42019-03-12 15:28:12 -04004257var _VolthaService_serviceDesc = grpc.ServiceDesc{
4258 ServiceName: "voltha.VolthaService",
4259 HandlerType: (*VolthaServiceServer)(nil),
4260 Methods: []grpc.MethodDesc{
4261 {
William Kurkian1b363f42019-03-12 15:28:12 -04004262 MethodName: "GetMembership",
4263 Handler: _VolthaService_GetMembership_Handler,
4264 },
4265 {
4266 MethodName: "UpdateMembership",
4267 Handler: _VolthaService_UpdateMembership_Handler,
4268 },
4269 {
4270 MethodName: "GetVoltha",
4271 Handler: _VolthaService_GetVoltha_Handler,
4272 },
4273 {
4274 MethodName: "ListCoreInstances",
4275 Handler: _VolthaService_ListCoreInstances_Handler,
4276 },
4277 {
4278 MethodName: "GetCoreInstance",
4279 Handler: _VolthaService_GetCoreInstance_Handler,
4280 },
4281 {
4282 MethodName: "ListAdapters",
4283 Handler: _VolthaService_ListAdapters_Handler,
4284 },
4285 {
4286 MethodName: "ListLogicalDevices",
4287 Handler: _VolthaService_ListLogicalDevices_Handler,
4288 },
4289 {
4290 MethodName: "GetLogicalDevice",
4291 Handler: _VolthaService_GetLogicalDevice_Handler,
4292 },
4293 {
4294 MethodName: "ListLogicalDevicePorts",
4295 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4296 },
4297 {
4298 MethodName: "GetLogicalDevicePort",
4299 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4300 },
4301 {
4302 MethodName: "EnableLogicalDevicePort",
4303 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4304 },
4305 {
4306 MethodName: "DisableLogicalDevicePort",
4307 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4308 },
4309 {
4310 MethodName: "ListLogicalDeviceFlows",
4311 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4312 },
4313 {
4314 MethodName: "UpdateLogicalDeviceFlowTable",
4315 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4316 },
4317 {
4318 MethodName: "UpdateLogicalDeviceMeterTable",
4319 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4320 },
4321 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004322 MethodName: "ListLogicalDeviceMeters",
4323 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004324 },
4325 {
4326 MethodName: "ListLogicalDeviceFlowGroups",
4327 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4328 },
4329 {
4330 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4331 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4332 },
4333 {
4334 MethodName: "ListDevices",
4335 Handler: _VolthaService_ListDevices_Handler,
4336 },
4337 {
4338 MethodName: "ListDeviceIds",
4339 Handler: _VolthaService_ListDeviceIds_Handler,
4340 },
4341 {
4342 MethodName: "ReconcileDevices",
4343 Handler: _VolthaService_ReconcileDevices_Handler,
4344 },
4345 {
4346 MethodName: "GetDevice",
4347 Handler: _VolthaService_GetDevice_Handler,
4348 },
4349 {
4350 MethodName: "CreateDevice",
4351 Handler: _VolthaService_CreateDevice_Handler,
4352 },
4353 {
4354 MethodName: "EnableDevice",
4355 Handler: _VolthaService_EnableDevice_Handler,
4356 },
4357 {
4358 MethodName: "DisableDevice",
4359 Handler: _VolthaService_DisableDevice_Handler,
4360 },
4361 {
4362 MethodName: "RebootDevice",
4363 Handler: _VolthaService_RebootDevice_Handler,
4364 },
4365 {
4366 MethodName: "DeleteDevice",
4367 Handler: _VolthaService_DeleteDevice_Handler,
4368 },
4369 {
4370 MethodName: "DownloadImage",
4371 Handler: _VolthaService_DownloadImage_Handler,
4372 },
4373 {
4374 MethodName: "GetImageDownloadStatus",
4375 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4376 },
4377 {
4378 MethodName: "GetImageDownload",
4379 Handler: _VolthaService_GetImageDownload_Handler,
4380 },
4381 {
4382 MethodName: "ListImageDownloads",
4383 Handler: _VolthaService_ListImageDownloads_Handler,
4384 },
4385 {
4386 MethodName: "CancelImageDownload",
4387 Handler: _VolthaService_CancelImageDownload_Handler,
4388 },
4389 {
4390 MethodName: "ActivateImageUpdate",
4391 Handler: _VolthaService_ActivateImageUpdate_Handler,
4392 },
4393 {
4394 MethodName: "RevertImageUpdate",
4395 Handler: _VolthaService_RevertImageUpdate_Handler,
4396 },
4397 {
4398 MethodName: "ListDevicePorts",
4399 Handler: _VolthaService_ListDevicePorts_Handler,
4400 },
4401 {
4402 MethodName: "ListDevicePmConfigs",
4403 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4404 },
4405 {
4406 MethodName: "UpdateDevicePmConfigs",
4407 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4408 },
4409 {
4410 MethodName: "ListDeviceFlows",
4411 Handler: _VolthaService_ListDeviceFlows_Handler,
4412 },
4413 {
4414 MethodName: "ListDeviceFlowGroups",
4415 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4416 },
4417 {
4418 MethodName: "ListDeviceTypes",
4419 Handler: _VolthaService_ListDeviceTypes_Handler,
4420 },
4421 {
4422 MethodName: "GetDeviceType",
4423 Handler: _VolthaService_GetDeviceType_Handler,
4424 },
4425 {
4426 MethodName: "ListDeviceGroups",
4427 Handler: _VolthaService_ListDeviceGroups_Handler,
4428 },
4429 {
4430 MethodName: "GetDeviceGroup",
4431 Handler: _VolthaService_GetDeviceGroup_Handler,
4432 },
4433 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004434 MethodName: "CreateEventFilter",
4435 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004436 },
4437 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004438 MethodName: "GetEventFilter",
4439 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004440 },
4441 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004442 MethodName: "UpdateEventFilter",
4443 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004444 },
4445 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004446 MethodName: "DeleteEventFilter",
4447 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004448 },
4449 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004450 MethodName: "ListEventFilters",
4451 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004452 },
4453 {
4454 MethodName: "GetImages",
4455 Handler: _VolthaService_GetImages_Handler,
4456 },
4457 {
4458 MethodName: "SelfTest",
4459 Handler: _VolthaService_SelfTest_Handler,
4460 },
4461 {
4462 MethodName: "GetMibDeviceData",
4463 Handler: _VolthaService_GetMibDeviceData_Handler,
4464 },
4465 {
4466 MethodName: "GetAlarmDeviceData",
4467 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4468 },
4469 {
4470 MethodName: "SimulateAlarm",
4471 Handler: _VolthaService_SimulateAlarm_Handler,
4472 },
4473 {
4474 MethodName: "Subscribe",
4475 Handler: _VolthaService_Subscribe_Handler,
4476 },
kesavand4a002b02020-01-23 21:29:47 -05004477 {
4478 MethodName: "EnablePort",
4479 Handler: _VolthaService_EnablePort_Handler,
4480 },
4481 {
4482 MethodName: "DisablePort",
4483 Handler: _VolthaService_DisablePort_Handler,
4484 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304485 {
4486 MethodName: "StartOmciTestAction",
4487 Handler: _VolthaService_StartOmciTestAction_Handler,
4488 },
William Kurkian1b363f42019-03-12 15:28:12 -04004489 },
4490 Streams: []grpc.StreamDesc{
4491 {
4492 StreamName: "StreamPacketsOut",
4493 Handler: _VolthaService_StreamPacketsOut_Handler,
4494 ClientStreams: true,
4495 },
4496 {
4497 StreamName: "ReceivePacketsIn",
4498 Handler: _VolthaService_ReceivePacketsIn_Handler,
4499 ServerStreams: true,
4500 },
4501 {
4502 StreamName: "ReceiveChangeEvents",
4503 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4504 ServerStreams: true,
4505 },
4506 },
4507 Metadata: "voltha_protos/voltha.proto",
4508}