blob: e9a70e3f5ddbedc3ee5b77e4802e77a3cc15aaae [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
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -080065// ValueType from public import voltha_protos/common.proto
66type ValueType = common.ValueType
67
68// ValueSpecifier from public import voltha_protos/common.proto
69type ValueSpecifier = common.ValueSpecifier
70
71// ReturnValues from public import voltha_protos/common.proto
72type ReturnValues = common.ReturnValues
73
William Kurkian1b363f42019-03-12 15:28:12 -040074// TestModeKeys from public import voltha_protos/common.proto
75type TestModeKeys = common.TestModeKeys
76
77var TestModeKeys_name = common.TestModeKeys_name
78var TestModeKeys_value = common.TestModeKeys_value
79
80const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
81
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030082// AdminState_Types from public import voltha_protos/common.proto
83type AdminState_Types = common.AdminState_Types
William Kurkian1b363f42019-03-12 15:28:12 -040084
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030085var AdminState_Types_name = common.AdminState_Types_name
86var AdminState_Types_value = common.AdminState_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040087
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030088const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
89const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
90const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
91const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
92const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
93const AdminState_DELETED = AdminState_Types(common.AdminState_DELETED)
William Kurkian1b363f42019-03-12 15:28:12 -040094
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030095// OperStatus_Types from public import voltha_protos/common.proto
96type OperStatus_Types = common.OperStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -040097
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030098var OperStatus_Types_name = common.OperStatus_Types_name
99var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400100
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300101const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
102const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
103const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
104const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
105const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
106const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
William Kurkian1b363f42019-03-12 15:28:12 -0400107
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300108// ConnectStatus_Types from public import voltha_protos/common.proto
109type ConnectStatus_Types = common.ConnectStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400110
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300111var ConnectStatus_Types_name = common.ConnectStatus_Types_name
112var ConnectStatus_Types_value = common.ConnectStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400113
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300114const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
115const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
116const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
William Kurkian1b363f42019-03-12 15:28:12 -0400117
William Kurkianad745652019-03-20 08:45:51 -0400118// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400119type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
120
121var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
122var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
123
124const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
125const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
126const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
127
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800128// ValueType_Type from public import voltha_protos/common.proto
129type ValueType_Type = common.ValueType_Type
130
131var ValueType_Type_name = common.ValueType_Type_name
132var ValueType_Type_value = common.ValueType_Type_value
133
134const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY)
135const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE)
136
William Kurkianad745652019-03-20 08:45:51 -0400137// OfpHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400138type OfpHeader = openflow_13.OfpHeader
139
William Kurkianad745652019-03-20 08:45:51 -0400140// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400141type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
142type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
143
William Kurkianad745652019-03-20 08:45:51 -0400144// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400145type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
146
William Kurkianad745652019-03-20 08:45:51 -0400147// OfpHello from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400148type OfpHello = openflow_13.OfpHello
149
William Kurkianad745652019-03-20 08:45:51 -0400150// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400151type OfpSwitchConfig = openflow_13.OfpSwitchConfig
152
William Kurkianad745652019-03-20 08:45:51 -0400153// OfpTableMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400154type OfpTableMod = openflow_13.OfpTableMod
155
William Kurkianad745652019-03-20 08:45:51 -0400156// OfpPort from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400157type OfpPort = openflow_13.OfpPort
158
William Kurkianad745652019-03-20 08:45:51 -0400159// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400160type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
161
William Kurkianad745652019-03-20 08:45:51 -0400162// OfpPortStatus from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400163type OfpPortStatus = openflow_13.OfpPortStatus
164
William Kurkianad745652019-03-20 08:45:51 -0400165// OfpPortMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400166type OfpPortMod = openflow_13.OfpPortMod
167
William Kurkianad745652019-03-20 08:45:51 -0400168// OfpMatch from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400169type OfpMatch = openflow_13.OfpMatch
170
William Kurkianad745652019-03-20 08:45:51 -0400171// OfpOxmField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400172type OfpOxmField = openflow_13.OfpOxmField
173type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
174type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
175
William Kurkianad745652019-03-20 08:45:51 -0400176// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400177type OfpOxmOfbField = openflow_13.OfpOxmOfbField
178type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
179type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
180type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
181type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
182type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
183type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
184type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
185type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
186type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
187type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
188type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
189type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
190type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
191type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
192type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
193type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
194type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
195type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
196type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
197type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
198type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
199type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
200type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
201type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
202type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
203type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
204type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
205type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
206type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
207type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
208type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
209type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
210type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
211type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
212type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
213type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
214type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
215type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
216type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
217type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
218type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
219type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
220type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
221type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
222type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
223type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
224type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
225type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
226type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
227type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
228type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
229type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
230type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
231type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
232
William Kurkianad745652019-03-20 08:45:51 -0400233// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400234type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
235
William Kurkianad745652019-03-20 08:45:51 -0400236// OfpAction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400237type OfpAction = openflow_13.OfpAction
238type OfpAction_Output = openflow_13.OfpAction_Output
239type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
240type OfpAction_Push = openflow_13.OfpAction_Push
241type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
242type OfpAction_Group = openflow_13.OfpAction_Group
243type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
244type OfpAction_SetField = openflow_13.OfpAction_SetField
245type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
246
William Kurkianad745652019-03-20 08:45:51 -0400247// OfpActionOutput from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400248type OfpActionOutput = openflow_13.OfpActionOutput
249
William Kurkianad745652019-03-20 08:45:51 -0400250// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400251type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
252
William Kurkianad745652019-03-20 08:45:51 -0400253// OfpActionPush from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400254type OfpActionPush = openflow_13.OfpActionPush
255
William Kurkianad745652019-03-20 08:45:51 -0400256// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400257type OfpActionPopMpls = openflow_13.OfpActionPopMpls
258
William Kurkianad745652019-03-20 08:45:51 -0400259// OfpActionGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400260type OfpActionGroup = openflow_13.OfpActionGroup
261
William Kurkianad745652019-03-20 08:45:51 -0400262// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400263type OfpActionNwTtl = openflow_13.OfpActionNwTtl
264
William Kurkianad745652019-03-20 08:45:51 -0400265// OfpActionSetField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400266type OfpActionSetField = openflow_13.OfpActionSetField
267
William Kurkianad745652019-03-20 08:45:51 -0400268// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400269type OfpActionExperimenter = openflow_13.OfpActionExperimenter
270
William Kurkianad745652019-03-20 08:45:51 -0400271// OfpInstruction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400272type OfpInstruction = openflow_13.OfpInstruction
273type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
274type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
275type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
276type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
277type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
278
William Kurkianad745652019-03-20 08:45:51 -0400279// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400280type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
281
William Kurkianad745652019-03-20 08:45:51 -0400282// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400283type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
284
William Kurkianad745652019-03-20 08:45:51 -0400285// OfpInstructionActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400286type OfpInstructionActions = openflow_13.OfpInstructionActions
287
William Kurkianad745652019-03-20 08:45:51 -0400288// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400289type OfpInstructionMeter = openflow_13.OfpInstructionMeter
290
William Kurkianad745652019-03-20 08:45:51 -0400291// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400292type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
293
William Kurkianad745652019-03-20 08:45:51 -0400294// OfpFlowMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400295type OfpFlowMod = openflow_13.OfpFlowMod
296
William Kurkianad745652019-03-20 08:45:51 -0400297// OfpBucket from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400298type OfpBucket = openflow_13.OfpBucket
299
William Kurkianad745652019-03-20 08:45:51 -0400300// OfpGroupMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400301type OfpGroupMod = openflow_13.OfpGroupMod
302
William Kurkianad745652019-03-20 08:45:51 -0400303// OfpPacketOut from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400304type OfpPacketOut = openflow_13.OfpPacketOut
305
William Kurkianad745652019-03-20 08:45:51 -0400306// OfpPacketIn from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400307type OfpPacketIn = openflow_13.OfpPacketIn
308
William Kurkianad745652019-03-20 08:45:51 -0400309// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400310type OfpFlowRemoved = openflow_13.OfpFlowRemoved
311
William Kurkianad745652019-03-20 08:45:51 -0400312// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400313type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
314type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
315type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
316type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
317
William Kurkianad745652019-03-20 08:45:51 -0400318// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400319type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
320
William Kurkianad745652019-03-20 08:45:51 -0400321// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400322type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
323
William Kurkianad745652019-03-20 08:45:51 -0400324// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400325type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
326
William Kurkianad745652019-03-20 08:45:51 -0400327// OfpMeterMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400328type OfpMeterMod = openflow_13.OfpMeterMod
329
William Kurkianad745652019-03-20 08:45:51 -0400330// OfpErrorMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400331type OfpErrorMsg = openflow_13.OfpErrorMsg
332
William Kurkianad745652019-03-20 08:45:51 -0400333// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400334type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
335
William Kurkianad745652019-03-20 08:45:51 -0400336// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400337type OfpMultipartRequest = openflow_13.OfpMultipartRequest
338
William Kurkianad745652019-03-20 08:45:51 -0400339// OfpMultipartReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400340type OfpMultipartReply = openflow_13.OfpMultipartReply
341
William Kurkianad745652019-03-20 08:45:51 -0400342// OfpDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400343type OfpDesc = openflow_13.OfpDesc
344
William Kurkianad745652019-03-20 08:45:51 -0400345// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400346type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
347
William Kurkianad745652019-03-20 08:45:51 -0400348// OfpFlowStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400349type OfpFlowStats = openflow_13.OfpFlowStats
350
William Kurkianad745652019-03-20 08:45:51 -0400351// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400352type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
353
William Kurkianad745652019-03-20 08:45:51 -0400354// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400355type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
356
William Kurkianad745652019-03-20 08:45:51 -0400357// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400358type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
359type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
360type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
361type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
362type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
363type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
364
William Kurkianad745652019-03-20 08:45:51 -0400365// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400366type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
367
William Kurkianad745652019-03-20 08:45:51 -0400368// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400369type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
370
William Kurkianad745652019-03-20 08:45:51 -0400371// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400372type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
373
William Kurkianad745652019-03-20 08:45:51 -0400374// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400375type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
376
William Kurkianad745652019-03-20 08:45:51 -0400377// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400378type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
379
William Kurkianad745652019-03-20 08:45:51 -0400380// OfpTableFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400381type OfpTableFeatures = openflow_13.OfpTableFeatures
382
William Kurkianad745652019-03-20 08:45:51 -0400383// OfpTableStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400384type OfpTableStats = openflow_13.OfpTableStats
385
William Kurkianad745652019-03-20 08:45:51 -0400386// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400387type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
388
William Kurkianad745652019-03-20 08:45:51 -0400389// OfpPortStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400390type OfpPortStats = openflow_13.OfpPortStats
391
William Kurkianad745652019-03-20 08:45:51 -0400392// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400393type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
394
William Kurkianad745652019-03-20 08:45:51 -0400395// OfpBucketCounter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400396type OfpBucketCounter = openflow_13.OfpBucketCounter
397
William Kurkianad745652019-03-20 08:45:51 -0400398// OfpGroupStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400399type OfpGroupStats = openflow_13.OfpGroupStats
400
William Kurkianad745652019-03-20 08:45:51 -0400401// OfpGroupDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400402type OfpGroupDesc = openflow_13.OfpGroupDesc
403
William Kurkianad745652019-03-20 08:45:51 -0400404// OfpGroupEntry from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400405type OfpGroupEntry = openflow_13.OfpGroupEntry
406
William Kurkianad745652019-03-20 08:45:51 -0400407// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400408type OfpGroupFeatures = openflow_13.OfpGroupFeatures
409
William Kurkianad745652019-03-20 08:45:51 -0400410// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400411type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
412
William Kurkianad745652019-03-20 08:45:51 -0400413// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400414type OfpMeterBandStats = openflow_13.OfpMeterBandStats
415
William Kurkianad745652019-03-20 08:45:51 -0400416// OfpMeterStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400417type OfpMeterStats = openflow_13.OfpMeterStats
418
William Kurkianad745652019-03-20 08:45:51 -0400419// OfpMeterConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400420type OfpMeterConfig = openflow_13.OfpMeterConfig
421
William Kurkianad745652019-03-20 08:45:51 -0400422// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400423type OfpMeterFeatures = openflow_13.OfpMeterFeatures
424
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400425// OfpMeterEntry from public import voltha_protos/openflow_13.proto
426type OfpMeterEntry = openflow_13.OfpMeterEntry
427
William Kurkianad745652019-03-20 08:45:51 -0400428// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400429type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
430
William Kurkianad745652019-03-20 08:45:51 -0400431// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400432type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
433
William Kurkianad745652019-03-20 08:45:51 -0400434// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400435type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
436
William Kurkianad745652019-03-20 08:45:51 -0400437// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400438type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
439
William Kurkianad745652019-03-20 08:45:51 -0400440// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400441type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
442
William Kurkianad745652019-03-20 08:45:51 -0400443// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400444type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
445
William Kurkianad745652019-03-20 08:45:51 -0400446// OfpPacketQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400447type OfpPacketQueue = openflow_13.OfpPacketQueue
448
William Kurkianad745652019-03-20 08:45:51 -0400449// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400450type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
451
William Kurkianad745652019-03-20 08:45:51 -0400452// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400453type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
454
William Kurkianad745652019-03-20 08:45:51 -0400455// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400456type OfpActionSetQueue = openflow_13.OfpActionSetQueue
457
William Kurkianad745652019-03-20 08:45:51 -0400458// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400459type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
460
William Kurkianad745652019-03-20 08:45:51 -0400461// OfpQueueStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400462type OfpQueueStats = openflow_13.OfpQueueStats
463
William Kurkianad745652019-03-20 08:45:51 -0400464// OfpRoleRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400465type OfpRoleRequest = openflow_13.OfpRoleRequest
466
William Kurkianad745652019-03-20 08:45:51 -0400467// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400468type OfpAsyncConfig = openflow_13.OfpAsyncConfig
469
470// MeterModUpdate from public import voltha_protos/openflow_13.proto
471type MeterModUpdate = openflow_13.MeterModUpdate
472
473// MeterStatsReply from public import voltha_protos/openflow_13.proto
474type MeterStatsReply = openflow_13.MeterStatsReply
475
476// FlowTableUpdate from public import voltha_protos/openflow_13.proto
477type FlowTableUpdate = openflow_13.FlowTableUpdate
478
479// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
480type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
481
482// Flows from public import voltha_protos/openflow_13.proto
483type Flows = openflow_13.Flows
484
485// Meters from public import voltha_protos/openflow_13.proto
486type Meters = openflow_13.Meters
487
488// FlowGroups from public import voltha_protos/openflow_13.proto
489type FlowGroups = openflow_13.FlowGroups
490
491// FlowChanges from public import voltha_protos/openflow_13.proto
492type FlowChanges = openflow_13.FlowChanges
493
494// FlowGroupChanges from public import voltha_protos/openflow_13.proto
495type FlowGroupChanges = openflow_13.FlowGroupChanges
496
497// PacketIn from public import voltha_protos/openflow_13.proto
498type PacketIn = openflow_13.PacketIn
499
500// PacketOut from public import voltha_protos/openflow_13.proto
501type PacketOut = openflow_13.PacketOut
502
503// ChangeEvent from public import voltha_protos/openflow_13.proto
504type ChangeEvent = openflow_13.ChangeEvent
505type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
506
William Kurkianad745652019-03-20 08:45:51 -0400507// OfpPortNo from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400508type OfpPortNo = openflow_13.OfpPortNo
509
510var OfpPortNo_name = openflow_13.OfpPortNo_name
511var OfpPortNo_value = openflow_13.OfpPortNo_value
512
513const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
514const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
515const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
516const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
517const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
518const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
519const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
520const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
521const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
522const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
523
William Kurkianad745652019-03-20 08:45:51 -0400524// OfpType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400525type OfpType = openflow_13.OfpType
526
527var OfpType_name = openflow_13.OfpType_name
528var OfpType_value = openflow_13.OfpType_value
529
530const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
531const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
532const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
533const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
534const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
535const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
536const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
537const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
538const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
539const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
540const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
541const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
542const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
543const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
544const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
545const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
546const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
547const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
548const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
549const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
550const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
551const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
552const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
553const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
554const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
555const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
556const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
557const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
558const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
559const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
560
William Kurkianad745652019-03-20 08:45:51 -0400561// OfpHelloElemType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400562type OfpHelloElemType = openflow_13.OfpHelloElemType
563
564var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
565var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
566
567const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
568const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
569
William Kurkianad745652019-03-20 08:45:51 -0400570// OfpConfigFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400571type OfpConfigFlags = openflow_13.OfpConfigFlags
572
573var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
574var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
575
576const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
577const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
578const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
579const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
580
William Kurkianad745652019-03-20 08:45:51 -0400581// OfpTableConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400582type OfpTableConfig = openflow_13.OfpTableConfig
583
584var OfpTableConfig_name = openflow_13.OfpTableConfig_name
585var OfpTableConfig_value = openflow_13.OfpTableConfig_value
586
587const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
588const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
589
William Kurkianad745652019-03-20 08:45:51 -0400590// OfpTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400591type OfpTable = openflow_13.OfpTable
592
593var OfpTable_name = openflow_13.OfpTable_name
594var OfpTable_value = openflow_13.OfpTable_value
595
596const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
597const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
598const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
599
William Kurkianad745652019-03-20 08:45:51 -0400600// OfpCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400601type OfpCapabilities = openflow_13.OfpCapabilities
602
603var OfpCapabilities_name = openflow_13.OfpCapabilities_name
604var OfpCapabilities_value = openflow_13.OfpCapabilities_value
605
606const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
607const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
608const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
609const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
610const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
611const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
612const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
613const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
614
William Kurkianad745652019-03-20 08:45:51 -0400615// OfpPortConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400616type OfpPortConfig = openflow_13.OfpPortConfig
617
618var OfpPortConfig_name = openflow_13.OfpPortConfig_name
619var OfpPortConfig_value = openflow_13.OfpPortConfig_value
620
621const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
622const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
623const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
624const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
625const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
626
William Kurkianad745652019-03-20 08:45:51 -0400627// OfpPortState from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400628type OfpPortState = openflow_13.OfpPortState
629
630var OfpPortState_name = openflow_13.OfpPortState_name
631var OfpPortState_value = openflow_13.OfpPortState_value
632
633const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
634const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
635const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
636const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
637
William Kurkianad745652019-03-20 08:45:51 -0400638// OfpPortFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400639type OfpPortFeatures = openflow_13.OfpPortFeatures
640
641var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
642var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
643
644const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
645const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
646const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
647const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
648const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
649const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
650const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
651const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
652const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
653const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
654const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
655const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
656const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
657const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
658const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
659const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
660const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
661
William Kurkianad745652019-03-20 08:45:51 -0400662// OfpPortReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400663type OfpPortReason = openflow_13.OfpPortReason
664
665var OfpPortReason_name = openflow_13.OfpPortReason_name
666var OfpPortReason_value = openflow_13.OfpPortReason_value
667
668const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
669const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
670const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
671
William Kurkianad745652019-03-20 08:45:51 -0400672// OfpMatchType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400673type OfpMatchType = openflow_13.OfpMatchType
674
675var OfpMatchType_name = openflow_13.OfpMatchType_name
676var OfpMatchType_value = openflow_13.OfpMatchType_value
677
678const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
679const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
680
William Kurkianad745652019-03-20 08:45:51 -0400681// OfpOxmClass from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400682type OfpOxmClass = openflow_13.OfpOxmClass
683
684var OfpOxmClass_name = openflow_13.OfpOxmClass_name
685var OfpOxmClass_value = openflow_13.OfpOxmClass_value
686
687const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
688const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
689const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
690const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
691
William Kurkianad745652019-03-20 08:45:51 -0400692// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400693type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
694
695var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
696var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
697
698const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
699const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
700const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
701const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
702const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
703const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
704const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
705const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
706const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
707const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
708const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
709const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
710const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
711const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
712const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
713const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
714const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
715const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
716const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
717const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
718const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
719const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
720const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
721const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
722const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
723const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
724const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
725const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
726const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
727const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
728const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
729const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
730const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
731const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
732const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
733const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
734const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
735const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
736const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
737const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
738
William Kurkianad745652019-03-20 08:45:51 -0400739// OfpVlanId from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400740type OfpVlanId = openflow_13.OfpVlanId
741
742var OfpVlanId_name = openflow_13.OfpVlanId_name
743var OfpVlanId_value = openflow_13.OfpVlanId_value
744
745const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
746const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
747
William Kurkianad745652019-03-20 08:45:51 -0400748// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400749type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
750
751var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
752var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
753
754const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
755const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
756const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
757const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
758const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
759const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
760const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
761const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
762const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
763const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
764
William Kurkianad745652019-03-20 08:45:51 -0400765// OfpActionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400766type OfpActionType = openflow_13.OfpActionType
767
768var OfpActionType_name = openflow_13.OfpActionType_name
769var OfpActionType_value = openflow_13.OfpActionType_value
770
771const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
772const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
773const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
774const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
775const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
776const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
777const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
778const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
779const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
780const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
781const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
782const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
783const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
784const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
785const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
786const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
787const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
788
William Kurkianad745652019-03-20 08:45:51 -0400789// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400790type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
791
792var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
793var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
794
795const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
796const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
797const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
798
William Kurkianad745652019-03-20 08:45:51 -0400799// OfpInstructionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400800type OfpInstructionType = openflow_13.OfpInstructionType
801
802var OfpInstructionType_name = openflow_13.OfpInstructionType_name
803var OfpInstructionType_value = openflow_13.OfpInstructionType_value
804
805const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
806const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
807const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
808const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
809const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
810const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
811const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
812const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
813
William Kurkianad745652019-03-20 08:45:51 -0400814// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400815type OfpFlowModCommand = openflow_13.OfpFlowModCommand
816
817var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
818var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
819
820const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
821const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
822const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
823const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
824const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
825
William Kurkianad745652019-03-20 08:45:51 -0400826// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400827type OfpFlowModFlags = openflow_13.OfpFlowModFlags
828
829var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
830var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
831
832const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
833const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
834const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
835const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
836const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
837const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
838
William Kurkianad745652019-03-20 08:45:51 -0400839// OfpGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400840type OfpGroup = openflow_13.OfpGroup
841
842var OfpGroup_name = openflow_13.OfpGroup_name
843var OfpGroup_value = openflow_13.OfpGroup_value
844
845const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
846const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
847const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
848const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
849
William Kurkianad745652019-03-20 08:45:51 -0400850// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400851type OfpGroupModCommand = openflow_13.OfpGroupModCommand
852
853var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
854var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
855
856const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
857const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
858const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
859
William Kurkianad745652019-03-20 08:45:51 -0400860// OfpGroupType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400861type OfpGroupType = openflow_13.OfpGroupType
862
863var OfpGroupType_name = openflow_13.OfpGroupType_name
864var OfpGroupType_value = openflow_13.OfpGroupType_value
865
866const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
867const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
868const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
869const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
870
William Kurkianad745652019-03-20 08:45:51 -0400871// OfpPacketInReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400872type OfpPacketInReason = openflow_13.OfpPacketInReason
873
874var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
875var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
876
877const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
878const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
879const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
880
William Kurkianad745652019-03-20 08:45:51 -0400881// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400882type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
883
884var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
885var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
886
887const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
888const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
889const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
890const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
891const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
892
William Kurkianad745652019-03-20 08:45:51 -0400893// OfpMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400894type OfpMeter = openflow_13.OfpMeter
895
896var OfpMeter_name = openflow_13.OfpMeter_name
897var OfpMeter_value = openflow_13.OfpMeter_value
898
899const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
900const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
901const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
902const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
903const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
904
William Kurkianad745652019-03-20 08:45:51 -0400905// OfpMeterBandType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400906type OfpMeterBandType = openflow_13.OfpMeterBandType
907
908var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
909var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
910
911const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
912const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
913const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
914const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
915
William Kurkianad745652019-03-20 08:45:51 -0400916// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400917type OfpMeterModCommand = openflow_13.OfpMeterModCommand
918
919var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
920var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
921
922const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
923const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
924const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
925
William Kurkianad745652019-03-20 08:45:51 -0400926// OfpMeterFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400927type OfpMeterFlags = openflow_13.OfpMeterFlags
928
929var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
930var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
931
932const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
933const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
934const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
935const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
936const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
937
William Kurkianad745652019-03-20 08:45:51 -0400938// OfpErrorType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400939type OfpErrorType = openflow_13.OfpErrorType
940
941var OfpErrorType_name = openflow_13.OfpErrorType_name
942var OfpErrorType_value = openflow_13.OfpErrorType_value
943
944const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
945const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
946const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
947const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
948const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
949const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
950const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
951const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
952const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
953const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
954const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
955const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
956const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
957const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
958const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
959
William Kurkianad745652019-03-20 08:45:51 -0400960// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400961type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
962
963var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
964var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
965
966const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
967const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
968
William Kurkianad745652019-03-20 08:45:51 -0400969// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400970type OfpBadRequestCode = openflow_13.OfpBadRequestCode
971
972var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
973var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
974
975const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
976const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
977const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
978const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
979const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
980const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
981const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
982const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
983const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
984const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
985const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
986const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
987const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
988const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
989
William Kurkianad745652019-03-20 08:45:51 -0400990// OfpBadActionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400991type OfpBadActionCode = openflow_13.OfpBadActionCode
992
993var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
994var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
995
996const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
997const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
998const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
999const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
1000const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
1001const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
1002const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
1003const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
1004const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
1005const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
1006const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
1007const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
1008const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
1009const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
1010const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
1011const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
1012
William Kurkianad745652019-03-20 08:45:51 -04001013// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001014type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
1015
1016var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
1017var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1018
1019const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1020const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1021const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1022const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1023const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1024const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1025const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1026const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1027const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1028
William Kurkianad745652019-03-20 08:45:51 -04001029// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001030type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1031
1032var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1033var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1034
1035const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1036const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1037const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1038const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1039const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1040const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1041const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1042const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1043const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1044const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1045const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1046const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1047
William Kurkianad745652019-03-20 08:45:51 -04001048// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001049type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1050
1051var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1052var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1053
1054const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1055const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1056const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1057const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1058const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1059const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1060const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1061const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1062
William Kurkianad745652019-03-20 08:45:51 -04001063// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001064type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1065
1066var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1067var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1068
1069const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1070const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1071const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1072const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1073const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1074const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1075const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1076const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1077const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1078const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1079const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1080const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1081const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1082const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1083const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1084
William Kurkianad745652019-03-20 08:45:51 -04001085// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001086type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1087
1088var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1089var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1090
1091const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1092const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1093const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1094const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1095const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1096
William Kurkianad745652019-03-20 08:45:51 -04001097// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001098type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1099
1100var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1101var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1102
1103const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1104const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1105const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1106
William Kurkianad745652019-03-20 08:45:51 -04001107// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001108type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1109
1110var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1111var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1112
1113const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1114const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1115const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1116
William Kurkianad745652019-03-20 08:45:51 -04001117// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001118type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1119
1120var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1121var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1122
1123const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1124const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1125const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1126
William Kurkianad745652019-03-20 08:45:51 -04001127// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001128type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1129
1130var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1131var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1132
1133const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1134const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1135const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1136
William Kurkianad745652019-03-20 08:45:51 -04001137// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001138type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1139
1140var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1141var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1142
1143const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1144const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1145const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1146const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1147const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1148const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1149const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1150const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1151const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03001152const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
William Kurkian1b363f42019-03-12 15:28:12 -04001153const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1154const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1155
William Kurkianad745652019-03-20 08:45:51 -04001156// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001157type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1158
1159var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1160var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1161
1162const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1163const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1164const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1165const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1166const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1167const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1168
William Kurkianad745652019-03-20 08:45:51 -04001169// OfpMultipartType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001170type OfpMultipartType = openflow_13.OfpMultipartType
1171
1172var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1173var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1174
1175const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1176const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1177const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1178const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1179const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1180const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1181const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1182const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1183const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1184const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1185const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1186const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1187const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1188const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1189const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1190
William Kurkianad745652019-03-20 08:45:51 -04001191// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001192type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1193
1194var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1195var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1196
1197const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1198const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1199
William Kurkianad745652019-03-20 08:45:51 -04001200// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001201type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1202
1203var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1204var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1205
1206const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1207const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1208
William Kurkianad745652019-03-20 08:45:51 -04001209// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001210type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1211
1212var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1213var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1214
1215const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1216const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1217const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1218const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1219const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1220const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1221const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1222const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1223const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1224const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1225const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1226const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1227const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1228const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1229const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1230const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1231
William Kurkianad745652019-03-20 08:45:51 -04001232// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001233type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1234
1235var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1236var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1237
1238const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1239const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1240const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1241const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1242const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1243
William Kurkianad745652019-03-20 08:45:51 -04001244// OfpQueueProperties from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001245type OfpQueueProperties = openflow_13.OfpQueueProperties
1246
1247var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1248var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1249
1250const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1251const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1252const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1253const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1254
William Kurkianad745652019-03-20 08:45:51 -04001255// OfpControllerRole from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001256type OfpControllerRole = openflow_13.OfpControllerRole
1257
1258var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1259var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1260
1261const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1262const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1263const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1264const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1265
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001266type EventFilterRuleKey_EventFilterRuleType int32
William Kurkian1b363f42019-03-12 15:28:12 -04001267
1268const (
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001269 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1270 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1271 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1272 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1273 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1274 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
William Kurkian1b363f42019-03-12 15:28:12 -04001275)
1276
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001277var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1278 0: "filter_all",
1279 1: "category",
1280 2: "sub_category",
1281 3: "kpi_event_type",
1282 4: "config_event_type",
1283 5: "device_event_type",
William Kurkian1b363f42019-03-12 15:28:12 -04001284}
William Kurkianad745652019-03-20 08:45:51 -04001285
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001286var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1287 "filter_all": 0,
1288 "category": 1,
1289 "sub_category": 2,
1290 "kpi_event_type": 3,
1291 "config_event_type": 4,
1292 "device_event_type": 5,
William Kurkian1b363f42019-03-12 15:28:12 -04001293}
1294
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001295func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1296 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -04001297}
William Kurkianad745652019-03-20 08:45:51 -04001298
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001299func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001300 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001301}
1302
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301303type TestResponse_TestResponseResult int32
1304
1305const (
1306 TestResponse_SUCCESS TestResponse_TestResponseResult = 0
1307 TestResponse_FAILURE TestResponse_TestResponseResult = 1
1308)
1309
1310var TestResponse_TestResponseResult_name = map[int32]string{
1311 0: "SUCCESS",
1312 1: "FAILURE",
1313}
1314
1315var TestResponse_TestResponseResult_value = map[string]int32{
1316 "SUCCESS": 0,
1317 "FAILURE": 1,
1318}
1319
1320func (x TestResponse_TestResponseResult) String() string {
1321 return proto.EnumName(TestResponse_TestResponseResult_name, int32(x))
1322}
1323
1324func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) {
1325 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
1326}
1327
William Kurkian1b363f42019-03-12 15:28:12 -04001328type SelfTestResponse_SelfTestResult int32
1329
1330const (
1331 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1332 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1333 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1334 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1335)
1336
1337var SelfTestResponse_SelfTestResult_name = map[int32]string{
1338 0: "SUCCESS",
1339 1: "FAILURE",
1340 2: "NOT_SUPPORTED",
1341 3: "UNKNOWN_ERROR",
1342}
William Kurkianad745652019-03-20 08:45:51 -04001343
William Kurkian1b363f42019-03-12 15:28:12 -04001344var SelfTestResponse_SelfTestResult_value = map[string]int32{
1345 "SUCCESS": 0,
1346 "FAILURE": 1,
1347 "NOT_SUPPORTED": 2,
1348 "UNKNOWN_ERROR": 3,
1349}
1350
1351func (x SelfTestResponse_SelfTestResult) String() string {
1352 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1353}
William Kurkianad745652019-03-20 08:45:51 -04001354
William Kurkian1b363f42019-03-12 15:28:12 -04001355func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301356 return fileDescriptor_e084f1a60ce7016c, []int{11, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001357}
1358
1359type DeviceGroup struct {
1360 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1361 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1362 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1363 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1364 XXX_unrecognized []byte `json:"-"`
1365 XXX_sizecache int32 `json:"-"`
1366}
1367
1368func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1369func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1370func (*DeviceGroup) ProtoMessage() {}
1371func (*DeviceGroup) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001372 return fileDescriptor_e084f1a60ce7016c, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -04001373}
William Kurkianad745652019-03-20 08:45:51 -04001374
William Kurkian1b363f42019-03-12 15:28:12 -04001375func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1376 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1377}
1378func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1379 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1380}
William Kurkianad745652019-03-20 08:45:51 -04001381func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1382 xxx_messageInfo_DeviceGroup.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001383}
1384func (m *DeviceGroup) XXX_Size() int {
1385 return xxx_messageInfo_DeviceGroup.Size(m)
1386}
1387func (m *DeviceGroup) XXX_DiscardUnknown() {
1388 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1389}
1390
1391var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1392
1393func (m *DeviceGroup) GetId() string {
1394 if m != nil {
1395 return m.Id
1396 }
1397 return ""
1398}
1399
1400func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1401 if m != nil {
1402 return m.LogicalDevices
1403 }
1404 return nil
1405}
1406
1407func (m *DeviceGroup) GetDevices() []*Device {
1408 if m != nil {
1409 return m.Devices
1410 }
1411 return nil
1412}
1413
1414type DeviceGroups struct {
1415 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1416 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1417 XXX_unrecognized []byte `json:"-"`
1418 XXX_sizecache int32 `json:"-"`
1419}
1420
1421func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1422func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1423func (*DeviceGroups) ProtoMessage() {}
1424func (*DeviceGroups) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001425 return fileDescriptor_e084f1a60ce7016c, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -04001426}
William Kurkianad745652019-03-20 08:45:51 -04001427
William Kurkian1b363f42019-03-12 15:28:12 -04001428func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1429 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1430}
1431func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1432 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1433}
William Kurkianad745652019-03-20 08:45:51 -04001434func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1435 xxx_messageInfo_DeviceGroups.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001436}
1437func (m *DeviceGroups) XXX_Size() int {
1438 return xxx_messageInfo_DeviceGroups.Size(m)
1439}
1440func (m *DeviceGroups) XXX_DiscardUnknown() {
1441 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1442}
1443
1444var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1445
1446func (m *DeviceGroups) GetItems() []*DeviceGroup {
1447 if m != nil {
1448 return m.Items
1449 }
1450 return nil
1451}
1452
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001453type EventFilterRuleKey struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001454 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1455 XXX_unrecognized []byte `json:"-"`
1456 XXX_sizecache int32 `json:"-"`
1457}
1458
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001459func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1460func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1461func (*EventFilterRuleKey) ProtoMessage() {}
1462func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001463 return fileDescriptor_e084f1a60ce7016c, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -04001464}
William Kurkianad745652019-03-20 08:45:51 -04001465
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001466func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1467 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001468}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001469func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1470 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001471}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001472func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1473 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001474}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001475func (m *EventFilterRuleKey) XXX_Size() int {
1476 return xxx_messageInfo_EventFilterRuleKey.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001477}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001478func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1479 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001480}
1481
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001482var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001483
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001484type EventFilterRule struct {
1485 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1486 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1487 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1488 XXX_unrecognized []byte `json:"-"`
1489 XXX_sizecache int32 `json:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -04001490}
1491
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001492func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1493func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1494func (*EventFilterRule) ProtoMessage() {}
1495func (*EventFilterRule) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001496 return fileDescriptor_e084f1a60ce7016c, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -04001497}
William Kurkianad745652019-03-20 08:45:51 -04001498
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001499func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1500 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001501}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001502func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1503 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001504}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001505func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1506 xxx_messageInfo_EventFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001507}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001508func (m *EventFilterRule) XXX_Size() int {
1509 return xxx_messageInfo_EventFilterRule.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001510}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001511func (m *EventFilterRule) XXX_DiscardUnknown() {
1512 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001513}
1514
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001515var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001516
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001517func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
William Kurkian1b363f42019-03-12 15:28:12 -04001518 if m != nil {
1519 return m.Key
1520 }
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001521 return EventFilterRuleKey_filter_all
William Kurkian1b363f42019-03-12 15:28:12 -04001522}
1523
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001524func (m *EventFilterRule) GetValue() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001525 if m != nil {
1526 return m.Value
1527 }
1528 return ""
1529}
1530
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001531type EventFilter struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001532 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001533 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1534 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1535 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1536 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001537 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1538 XXX_unrecognized []byte `json:"-"`
1539 XXX_sizecache int32 `json:"-"`
1540}
1541
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001542func (m *EventFilter) Reset() { *m = EventFilter{} }
1543func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1544func (*EventFilter) ProtoMessage() {}
1545func (*EventFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001546 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001547}
William Kurkianad745652019-03-20 08:45:51 -04001548
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001549func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1550 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001551}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001552func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1553 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001554}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001555func (m *EventFilter) XXX_Merge(src proto.Message) {
1556 xxx_messageInfo_EventFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001557}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001558func (m *EventFilter) XXX_Size() int {
1559 return xxx_messageInfo_EventFilter.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001560}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001561func (m *EventFilter) XXX_DiscardUnknown() {
1562 xxx_messageInfo_EventFilter.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001563}
1564
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001565var xxx_messageInfo_EventFilter proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001566
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001567func (m *EventFilter) GetId() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001568 if m != nil {
1569 return m.Id
1570 }
1571 return ""
1572}
1573
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001574func (m *EventFilter) GetEnable() bool {
1575 if m != nil {
1576 return m.Enable
1577 }
1578 return false
1579}
1580
1581func (m *EventFilter) GetDeviceId() string {
1582 if m != nil {
1583 return m.DeviceId
1584 }
1585 return ""
1586}
1587
1588func (m *EventFilter) GetEventType() string {
1589 if m != nil {
1590 return m.EventType
1591 }
1592 return ""
1593}
1594
1595func (m *EventFilter) GetRules() []*EventFilterRule {
William Kurkian1b363f42019-03-12 15:28:12 -04001596 if m != nil {
1597 return m.Rules
1598 }
1599 return nil
1600}
1601
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001602type EventFilters struct {
1603 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001604 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1605 XXX_unrecognized []byte `json:"-"`
1606 XXX_sizecache int32 `json:"-"`
1607}
1608
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001609func (m *EventFilters) Reset() { *m = EventFilters{} }
1610func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1611func (*EventFilters) ProtoMessage() {}
1612func (*EventFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001613 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001614}
William Kurkianad745652019-03-20 08:45:51 -04001615
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001616func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1617 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001618}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001619func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1620 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001621}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001622func (m *EventFilters) XXX_Merge(src proto.Message) {
1623 xxx_messageInfo_EventFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001624}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001625func (m *EventFilters) XXX_Size() int {
1626 return xxx_messageInfo_EventFilters.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001627}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001628func (m *EventFilters) XXX_DiscardUnknown() {
1629 xxx_messageInfo_EventFilters.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001630}
1631
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001632var xxx_messageInfo_EventFilters proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001633
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001634func (m *EventFilters) GetFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001635 if m != nil {
1636 return m.Filters
1637 }
1638 return nil
1639}
1640
William Kurkian1b363f42019-03-12 15:28:12 -04001641// CoreInstance represents a core instance. It is data held in memory when a core
1642// is running. This data is not persistent.
1643type CoreInstance struct {
1644 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1645 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1646 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1647 XXX_unrecognized []byte `json:"-"`
1648 XXX_sizecache int32 `json:"-"`
1649}
1650
1651func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1652func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1653func (*CoreInstance) ProtoMessage() {}
1654func (*CoreInstance) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001655 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001656}
William Kurkianad745652019-03-20 08:45:51 -04001657
William Kurkian1b363f42019-03-12 15:28:12 -04001658func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1659 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1660}
1661func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1662 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1663}
William Kurkianad745652019-03-20 08:45:51 -04001664func (m *CoreInstance) XXX_Merge(src proto.Message) {
1665 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001666}
1667func (m *CoreInstance) XXX_Size() int {
1668 return xxx_messageInfo_CoreInstance.Size(m)
1669}
1670func (m *CoreInstance) XXX_DiscardUnknown() {
1671 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1672}
1673
1674var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1675
1676func (m *CoreInstance) GetInstanceId() string {
1677 if m != nil {
1678 return m.InstanceId
1679 }
1680 return ""
1681}
1682
1683func (m *CoreInstance) GetHealth() *HealthStatus {
1684 if m != nil {
1685 return m.Health
1686 }
1687 return nil
1688}
1689
1690type CoreInstances struct {
1691 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1692 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1693 XXX_unrecognized []byte `json:"-"`
1694 XXX_sizecache int32 `json:"-"`
1695}
1696
1697func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1698func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1699func (*CoreInstances) ProtoMessage() {}
1700func (*CoreInstances) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001701 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001702}
William Kurkianad745652019-03-20 08:45:51 -04001703
William Kurkian1b363f42019-03-12 15:28:12 -04001704func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1705 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1706}
1707func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1708 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1709}
William Kurkianad745652019-03-20 08:45:51 -04001710func (m *CoreInstances) XXX_Merge(src proto.Message) {
1711 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001712}
1713func (m *CoreInstances) XXX_Size() int {
1714 return xxx_messageInfo_CoreInstances.Size(m)
1715}
1716func (m *CoreInstances) XXX_DiscardUnknown() {
1717 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1718}
1719
1720var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1721
1722func (m *CoreInstances) GetItems() []*CoreInstance {
1723 if m != nil {
1724 return m.Items
1725 }
1726 return nil
1727}
1728
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301729type OmciTestRequest struct {
1730 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1731 Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
1732 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1733 XXX_unrecognized []byte `json:"-"`
1734 XXX_sizecache int32 `json:"-"`
1735}
1736
1737func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} }
1738func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) }
1739func (*OmciTestRequest) ProtoMessage() {}
1740func (*OmciTestRequest) Descriptor() ([]byte, []int) {
1741 return fileDescriptor_e084f1a60ce7016c, []int{8}
1742}
1743
1744func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error {
1745 return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b)
1746}
1747func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1748 return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic)
1749}
1750func (m *OmciTestRequest) XXX_Merge(src proto.Message) {
1751 xxx_messageInfo_OmciTestRequest.Merge(m, src)
1752}
1753func (m *OmciTestRequest) XXX_Size() int {
1754 return xxx_messageInfo_OmciTestRequest.Size(m)
1755}
1756func (m *OmciTestRequest) XXX_DiscardUnknown() {
1757 xxx_messageInfo_OmciTestRequest.DiscardUnknown(m)
1758}
1759
1760var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo
1761
1762func (m *OmciTestRequest) GetId() string {
1763 if m != nil {
1764 return m.Id
1765 }
1766 return ""
1767}
1768
1769func (m *OmciTestRequest) GetUuid() string {
1770 if m != nil {
1771 return m.Uuid
1772 }
1773 return ""
1774}
1775
1776type TestResponse struct {
1777 Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.TestResponse_TestResponseResult" json:"result,omitempty"`
1778 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1779 XXX_unrecognized []byte `json:"-"`
1780 XXX_sizecache int32 `json:"-"`
1781}
1782
1783func (m *TestResponse) Reset() { *m = TestResponse{} }
1784func (m *TestResponse) String() string { return proto.CompactTextString(m) }
1785func (*TestResponse) ProtoMessage() {}
1786func (*TestResponse) Descriptor() ([]byte, []int) {
1787 return fileDescriptor_e084f1a60ce7016c, []int{9}
1788}
1789
1790func (m *TestResponse) XXX_Unmarshal(b []byte) error {
1791 return xxx_messageInfo_TestResponse.Unmarshal(m, b)
1792}
1793func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1794 return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic)
1795}
1796func (m *TestResponse) XXX_Merge(src proto.Message) {
1797 xxx_messageInfo_TestResponse.Merge(m, src)
1798}
1799func (m *TestResponse) XXX_Size() int {
1800 return xxx_messageInfo_TestResponse.Size(m)
1801}
1802func (m *TestResponse) XXX_DiscardUnknown() {
1803 xxx_messageInfo_TestResponse.DiscardUnknown(m)
1804}
1805
1806var xxx_messageInfo_TestResponse proto.InternalMessageInfo
1807
1808func (m *TestResponse) GetResult() TestResponse_TestResponseResult {
1809 if m != nil {
1810 return m.Result
1811 }
1812 return TestResponse_SUCCESS
1813}
1814
William Kurkian1b363f42019-03-12 15:28:12 -04001815// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1816// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1817// for better performance
1818type Voltha struct {
1819 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1820 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1821 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1822 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1823 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1824 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001825 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001826 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1827 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1828 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1829 XXX_unrecognized []byte `json:"-"`
1830 XXX_sizecache int32 `json:"-"`
1831}
1832
1833func (m *Voltha) Reset() { *m = Voltha{} }
1834func (m *Voltha) String() string { return proto.CompactTextString(m) }
1835func (*Voltha) ProtoMessage() {}
1836func (*Voltha) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301837 return fileDescriptor_e084f1a60ce7016c, []int{10}
William Kurkian1b363f42019-03-12 15:28:12 -04001838}
William Kurkianad745652019-03-20 08:45:51 -04001839
William Kurkian1b363f42019-03-12 15:28:12 -04001840func (m *Voltha) XXX_Unmarshal(b []byte) error {
1841 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1842}
1843func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1844 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1845}
William Kurkianad745652019-03-20 08:45:51 -04001846func (m *Voltha) XXX_Merge(src proto.Message) {
1847 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001848}
1849func (m *Voltha) XXX_Size() int {
1850 return xxx_messageInfo_Voltha.Size(m)
1851}
1852func (m *Voltha) XXX_DiscardUnknown() {
1853 xxx_messageInfo_Voltha.DiscardUnknown(m)
1854}
1855
1856var xxx_messageInfo_Voltha proto.InternalMessageInfo
1857
1858func (m *Voltha) GetVersion() string {
1859 if m != nil {
1860 return m.Version
1861 }
1862 return ""
1863}
1864
1865func (m *Voltha) GetAdapters() []*Adapter {
1866 if m != nil {
1867 return m.Adapters
1868 }
1869 return nil
1870}
1871
1872func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1873 if m != nil {
1874 return m.LogicalDevices
1875 }
1876 return nil
1877}
1878
1879func (m *Voltha) GetDevices() []*Device {
1880 if m != nil {
1881 return m.Devices
1882 }
1883 return nil
1884}
1885
1886func (m *Voltha) GetDeviceTypes() []*DeviceType {
1887 if m != nil {
1888 return m.DeviceTypes
1889 }
1890 return nil
1891}
1892
1893func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1894 if m != nil {
1895 return m.DeviceGroups
1896 }
1897 return nil
1898}
1899
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001900func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001901 if m != nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001902 return m.EventFilters
William Kurkian1b363f42019-03-12 15:28:12 -04001903 }
1904 return nil
1905}
1906
1907func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1908 if m != nil {
1909 return m.OmciMibDatabase
1910 }
1911 return nil
1912}
1913
1914func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1915 if m != nil {
1916 return m.OmciAlarmDatabase
1917 }
1918 return nil
1919}
1920
1921// Device Self Test Response
1922type SelfTestResponse struct {
1923 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1924 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1925 XXX_unrecognized []byte `json:"-"`
1926 XXX_sizecache int32 `json:"-"`
1927}
1928
1929func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
1930func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
1931func (*SelfTestResponse) ProtoMessage() {}
1932func (*SelfTestResponse) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301933 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001934}
William Kurkianad745652019-03-20 08:45:51 -04001935
William Kurkian1b363f42019-03-12 15:28:12 -04001936func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
1937 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
1938}
1939func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1940 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
1941}
William Kurkianad745652019-03-20 08:45:51 -04001942func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
1943 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001944}
1945func (m *SelfTestResponse) XXX_Size() int {
1946 return xxx_messageInfo_SelfTestResponse.Size(m)
1947}
1948func (m *SelfTestResponse) XXX_DiscardUnknown() {
1949 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
1950}
1951
1952var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
1953
1954func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
1955 if m != nil {
1956 return m.Result
1957 }
1958 return SelfTestResponse_SUCCESS
1959}
1960
1961type OfAgentSubscriber struct {
1962 // ID of ofagent instance
1963 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
1964 // ID of voltha instance to which the ofagent is subscribed
1965 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
1966 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1967 XXX_unrecognized []byte `json:"-"`
1968 XXX_sizecache int32 `json:"-"`
1969}
1970
1971func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
1972func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
1973func (*OfAgentSubscriber) ProtoMessage() {}
1974func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05301975 return fileDescriptor_e084f1a60ce7016c, []int{12}
William Kurkian1b363f42019-03-12 15:28:12 -04001976}
William Kurkianad745652019-03-20 08:45:51 -04001977
William Kurkian1b363f42019-03-12 15:28:12 -04001978func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
1979 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
1980}
1981func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1982 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
1983}
William Kurkianad745652019-03-20 08:45:51 -04001984func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
1985 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001986}
1987func (m *OfAgentSubscriber) XXX_Size() int {
1988 return xxx_messageInfo_OfAgentSubscriber.Size(m)
1989}
1990func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
1991 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
1992}
1993
1994var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
1995
1996func (m *OfAgentSubscriber) GetOfagentId() string {
1997 if m != nil {
1998 return m.OfagentId
1999 }
2000 return ""
2001}
2002
2003func (m *OfAgentSubscriber) GetVolthaId() string {
2004 if m != nil {
2005 return m.VolthaId
2006 }
2007 return ""
2008}
2009
2010// Identifies a membership group a Core belongs to
2011type Membership struct {
2012 // Group name
2013 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
2014 // Unique ID of a container within that group
2015 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
2016 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2017 XXX_unrecognized []byte `json:"-"`
2018 XXX_sizecache int32 `json:"-"`
2019}
2020
2021func (m *Membership) Reset() { *m = Membership{} }
2022func (m *Membership) String() string { return proto.CompactTextString(m) }
2023func (*Membership) ProtoMessage() {}
2024func (*Membership) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302025 return fileDescriptor_e084f1a60ce7016c, []int{13}
William Kurkian1b363f42019-03-12 15:28:12 -04002026}
William Kurkianad745652019-03-20 08:45:51 -04002027
William Kurkian1b363f42019-03-12 15:28:12 -04002028func (m *Membership) XXX_Unmarshal(b []byte) error {
2029 return xxx_messageInfo_Membership.Unmarshal(m, b)
2030}
2031func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2032 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
2033}
William Kurkianad745652019-03-20 08:45:51 -04002034func (m *Membership) XXX_Merge(src proto.Message) {
2035 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04002036}
2037func (m *Membership) XXX_Size() int {
2038 return xxx_messageInfo_Membership.Size(m)
2039}
2040func (m *Membership) XXX_DiscardUnknown() {
2041 xxx_messageInfo_Membership.DiscardUnknown(m)
2042}
2043
2044var xxx_messageInfo_Membership proto.InternalMessageInfo
2045
2046func (m *Membership) GetGroupName() string {
2047 if m != nil {
2048 return m.GroupName
2049 }
2050 return ""
2051}
2052
2053func (m *Membership) GetId() string {
2054 if m != nil {
2055 return m.Id
2056 }
2057 return ""
2058}
2059
manikkaraj k166cb202019-07-28 13:05:56 -04002060// Additional information required to process flow at device adapters
2061type FlowMetadata struct {
2062 // Meters associated with flow-update to adapter
2063 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
2064 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2065 XXX_unrecognized []byte `json:"-"`
2066 XXX_sizecache int32 `json:"-"`
2067}
2068
2069func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
2070func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
2071func (*FlowMetadata) ProtoMessage() {}
2072func (*FlowMetadata) Descriptor() ([]byte, []int) {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302073 return fileDescriptor_e084f1a60ce7016c, []int{14}
manikkaraj k166cb202019-07-28 13:05:56 -04002074}
2075
2076func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
2077 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
2078}
2079func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2080 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
2081}
2082func (m *FlowMetadata) XXX_Merge(src proto.Message) {
2083 xxx_messageInfo_FlowMetadata.Merge(m, src)
2084}
2085func (m *FlowMetadata) XXX_Size() int {
2086 return xxx_messageInfo_FlowMetadata.Size(m)
2087}
2088func (m *FlowMetadata) XXX_DiscardUnknown() {
2089 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
2090}
2091
2092var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
2093
2094func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
2095 if m != nil {
2096 return m.Meters
2097 }
2098 return nil
2099}
2100
William Kurkian1b363f42019-03-12 15:28:12 -04002101func init() {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002102 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302103 proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value)
William Kurkianad745652019-03-20 08:45:51 -04002104 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04002105 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2106 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002107 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2108 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2109 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2110 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
William Kurkian1b363f42019-03-12 15:28:12 -04002111 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2112 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302113 proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest")
2114 proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse")
William Kurkian1b363f42019-03-12 15:28:12 -04002115 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2116 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2117 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2118 proto.RegisterType((*Membership)(nil), "voltha.Membership")
manikkaraj k166cb202019-07-28 13:05:56 -04002119 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianad745652019-03-20 08:45:51 -04002120}
2121
2122func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2123
2124var fileDescriptor_e084f1a60ce7016c = []byte{
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002125 // 2530 bytes of a gzipped FileDescriptorProto
2126 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4b, 0x73, 0x1b, 0xc7,
2127 0x11, 0xe6, 0xf2, 0xcd, 0x26, 0x48, 0x02, 0x03, 0x3e, 0x20, 0x90, 0xb4, 0xa4, 0xb1, 0x2d, 0x31,
2128 0xb4, 0x05, 0x48, 0xa2, 0xa4, 0x4a, 0xa4, 0xb8, 0x62, 0xbe, 0xc4, 0x20, 0x12, 0x05, 0x64, 0x21,
2129 0x4a, 0x4e, 0x62, 0x15, 0x6a, 0x81, 0x1d, 0x80, 0x5b, 0x5a, 0x60, 0x91, 0xdd, 0x01, 0x25, 0x96,
2130 0xca, 0x95, 0x2a, 0xe7, 0xe1, 0xdc, 0x7d, 0xc8, 0x2d, 0xa7, 0xa4, 0x52, 0x95, 0xff, 0xe2, 0x53,
2131 0x4e, 0xb9, 0xa6, 0x72, 0xc8, 0x2f, 0xf0, 0x39, 0x35, 0x3d, 0xb3, 0xc0, 0x2e, 0x76, 0x97, 0x0f,
2132 0xc7, 0x55, 0x39, 0x91, 0x3b, 0xdd, 0xf3, 0x7d, 0x3d, 0xdd, 0x33, 0x3d, 0xbd, 0xbd, 0x80, 0xfc,
2133 0x89, 0x63, 0xf3, 0x63, 0xa3, 0xd6, 0x75, 0x1d, 0xee, 0x78, 0x45, 0xf9, 0x54, 0xc0, 0x27, 0x32,
2134 0x29, 0x9f, 0xf2, 0x6b, 0x2d, 0xc7, 0x69, 0xd9, 0xac, 0x68, 0x74, 0xad, 0xa2, 0xd1, 0xe9, 0x38,
2135 0xdc, 0xe0, 0x96, 0xd3, 0xf1, 0xa4, 0x56, 0x7e, 0x55, 0x49, 0xf1, 0xa9, 0xde, 0x6b, 0x16, 0x59,
2136 0xbb, 0xcb, 0x4f, 0x95, 0x30, 0x17, 0x86, 0x6f, 0x33, 0xae, 0xc0, 0xf3, 0x43, 0xc4, 0x0d, 0xa7,
2137 0xdd, 0x76, 0x3a, 0xf1, 0xb2, 0x63, 0x66, 0xd8, 0xfc, 0x58, 0xc9, 0x68, 0x58, 0x66, 0x3b, 0x2d,
2138 0xab, 0x61, 0xd8, 0x35, 0x93, 0x9d, 0x58, 0x0d, 0x16, 0x3f, 0x3f, 0x24, 0x5b, 0x0d, 0xcb, 0x0c,
2139 0xd3, 0xe8, 0x72, 0xe6, 0x2a, 0xe1, 0xd5, 0xb0, 0xd0, 0xe9, 0xb2, 0x4e, 0xd3, 0x76, 0xde, 0xd4,
2140 0xee, 0x6c, 0x25, 0x28, 0xb4, 0x1b, 0x56, 0xad, 0x6d, 0xd5, 0x6b, 0x66, 0x5d, 0x29, 0x5c, 0x8f,
2141 0x51, 0x30, 0x6c, 0xc3, 0x6d, 0xf7, 0x55, 0xe8, 0x5f, 0x34, 0x98, 0xdd, 0x43, 0x93, 0x0e, 0x5c,
2142 0xa7, 0xd7, 0x25, 0x4b, 0x30, 0x6a, 0x99, 0x39, 0xed, 0x9a, 0xb6, 0x31, 0xb3, 0x33, 0xf1, 0x9f,
2143 0x6f, 0xbf, 0x59, 0xd7, 0xf4, 0x51, 0xcb, 0x24, 0x25, 0x58, 0x08, 0x2f, 0xce, 0xcb, 0x8d, 0x5e,
2144 0x1b, 0xdb, 0x98, 0xbd, 0xbb, 0x54, 0x50, 0x51, 0x7a, 0x2a, 0xc5, 0x12, 0x6b, 0x67, 0xe6, 0x5f,
2145 0xdf, 0x7e, 0xb3, 0x3e, 0x2e, 0xb0, 0xf4, 0x79, 0x3b, 0x28, 0xf1, 0xc8, 0x16, 0x4c, 0xf9, 0x10,
2146 0x63, 0x08, 0x31, 0xef, 0x43, 0x44, 0xe7, 0xfa, 0x9a, 0xf4, 0x47, 0x90, 0x0a, 0x58, 0xe9, 0x91,
2147 0x1f, 0xc0, 0x84, 0xc5, 0x59, 0xdb, 0xcb, 0x69, 0x08, 0x91, 0x0d, 0x43, 0xa0, 0x92, 0x2e, 0x35,
2148 0xe8, 0x9f, 0x35, 0x20, 0xfb, 0x27, 0xac, 0xc3, 0x1f, 0x5b, 0x36, 0x67, 0xae, 0xde, 0xb3, 0xd9,
2149 0x13, 0x76, 0x4a, 0xbf, 0xd2, 0x20, 0x3b, 0x34, 0xfc, 0xfc, 0xb4, 0xcb, 0xc8, 0x3c, 0x40, 0x13,
2150 0x47, 0x6a, 0x86, 0x6d, 0xa7, 0x47, 0x48, 0x0a, 0xa6, 0x1b, 0x06, 0x67, 0x2d, 0xc7, 0x3d, 0x4d,
2151 0x6b, 0x24, 0x0d, 0x29, 0xaf, 0x57, 0xaf, 0xf5, 0x47, 0x46, 0x09, 0x81, 0xf9, 0xd7, 0x5d, 0xab,
2152 0xc6, 0x04, 0x54, 0x8d, 0x9f, 0x76, 0x59, 0x7a, 0x8c, 0x2c, 0x41, 0xa6, 0xe1, 0x74, 0x9a, 0x56,
2153 0x2b, 0x38, 0x3c, 0x2e, 0x86, 0xe5, 0x7a, 0x82, 0xc3, 0x13, 0xd4, 0x82, 0x85, 0x21, 0x43, 0xc8,
2154 0xa7, 0x30, 0xf6, 0x9a, 0x9d, 0x62, 0x18, 0xe6, 0xef, 0x16, 0xfc, 0xc5, 0x45, 0x57, 0x51, 0x88,
2155 0x59, 0x81, 0x2e, 0xa6, 0x92, 0x45, 0x98, 0x38, 0x31, 0xec, 0x1e, 0xcb, 0x8d, 0x8a, 0x50, 0xea,
2156 0xf2, 0x81, 0xfe, 0x4d, 0x83, 0xd9, 0xc0, 0x94, 0xa4, 0x68, 0x2f, 0xc3, 0x24, 0xeb, 0x18, 0x75,
2157 0x5b, 0xce, 0x9e, 0xd6, 0xd5, 0x13, 0x59, 0x85, 0x19, 0xb5, 0x00, 0xcb, 0xcc, 0x8d, 0x21, 0xf0,
2158 0xb4, 0x1c, 0x28, 0x99, 0x64, 0x1d, 0x60, 0xb0, 0xac, 0xdc, 0x38, 0x4a, 0x67, 0x70, 0x04, 0xfd,
2159 0x7a, 0x0b, 0x26, 0xdc, 0x9e, 0xcd, 0xbc, 0xdc, 0x04, 0x46, 0x6c, 0x25, 0x61, 0x51, 0xba, 0xd4,
2160 0xa2, 0x9f, 0x40, 0x2a, 0x20, 0xf1, 0xc8, 0x2d, 0x98, 0x92, 0x61, 0x89, 0x84, 0x3c, 0x08, 0xe0,
2161 0xeb, 0xd0, 0xd7, 0x90, 0xda, 0x75, 0x5c, 0x56, 0xea, 0x78, 0xdc, 0xe8, 0x34, 0x18, 0xb9, 0x01,
2162 0xb3, 0x96, 0xfa, 0xbf, 0x36, 0xbc, 0x62, 0xf0, 0x25, 0x25, 0x93, 0x6c, 0xc1, 0xa4, 0x3c, 0xe0,
2163 0xb8, 0xf2, 0xd9, 0xbb, 0x8b, 0x3e, 0xcb, 0x4f, 0x71, 0xb4, 0xca, 0x0d, 0xde, 0xf3, 0x76, 0x26,
2164 0xc4, 0x0e, 0x1d, 0xd1, 0x95, 0x2a, 0x7d, 0x04, 0x73, 0x41, 0x32, 0x8f, 0x6c, 0x86, 0x77, 0x67,
2165 0x1f, 0x24, 0xa8, 0xe5, 0x6f, 0xcf, 0xfb, 0xb0, 0x50, 0x6e, 0x37, 0xac, 0xe7, 0xcc, 0xe3, 0x3a,
2166 0xfb, 0x75, 0x8f, 0x79, 0x9c, 0xcc, 0x0f, 0xa2, 0x82, 0xe1, 0x20, 0x30, 0xde, 0xeb, 0x59, 0xa6,
2167 0x0a, 0x25, 0xfe, 0x4f, 0x7f, 0x03, 0x29, 0x39, 0xc5, 0xeb, 0x3a, 0x1d, 0x8f, 0x91, 0x9f, 0xc0,
2168 0xa4, 0xcb, 0xbc, 0x9e, 0xcd, 0xd5, 0xa6, 0xb9, 0xe9, 0x73, 0x06, 0xb5, 0x42, 0x0f, 0x3a, 0xaa,
2169 0xeb, 0x6a, 0x1a, 0x2d, 0x00, 0x89, 0x4a, 0xc9, 0x2c, 0x4c, 0x55, 0x8f, 0x76, 0x77, 0xf7, 0xab,
2170 0xd5, 0xf4, 0x88, 0x78, 0x78, 0xbc, 0x5d, 0x7a, 0x7a, 0xa4, 0xef, 0xa7, 0x35, 0xfa, 0xcf, 0x71,
2171 0x98, 0x7c, 0x81, 0x14, 0xe4, 0x2a, 0x4c, 0x9d, 0x30, 0xd7, 0xb3, 0x9c, 0x4e, 0xd8, 0xb1, 0xfe,
2172 0x28, 0x79, 0x00, 0xd3, 0x2a, 0xb5, 0xf9, 0x69, 0x63, 0xc1, 0x37, 0x6f, 0x5b, 0x8e, 0x07, 0x0f,
2173 0x7d, 0x5f, 0x37, 0x2e, 0xeb, 0x8c, 0xfd, 0xef, 0x59, 0x67, 0xfc, 0xa2, 0x59, 0x87, 0x7c, 0x0a,
2174 0x29, 0xb5, 0xdf, 0xc5, 0x9e, 0xf6, 0xb7, 0x2e, 0x09, 0xcf, 0x14, 0xbb, 0x3b, 0x38, 0x7b, 0xd6,
2175 0xec, 0x0f, 0x7b, 0x64, 0x17, 0xe6, 0x14, 0x42, 0x0b, 0x13, 0x57, 0x6e, 0x32, 0x31, 0x5f, 0x05,
2176 0x31, 0x14, 0xad, 0x4a, 0x76, 0xbb, 0x30, 0x27, 0x4f, 0x96, 0x7f, 0x02, 0xa6, 0x12, 0x4f, 0x40,
2177 0x08, 0x84, 0x05, 0x0f, 0xd0, 0xcf, 0x21, 0x33, 0xb8, 0x20, 0x0c, 0x6e, 0xd4, 0x0d, 0x8f, 0xe5,
2178 0xd6, 0x14, 0x90, 0x90, 0x14, 0x0e, 0xad, 0xba, 0x34, 0x67, 0xcf, 0xe0, 0xc6, 0x4e, 0x5a, 0x00,
2179 0xcd, 0x06, 0x0e, 0xbc, 0xbe, 0x20, 0xb4, 0x84, 0x92, 0x9a, 0x4d, 0x5e, 0x42, 0x36, 0x78, 0xa5,
2180 0xf8, 0xa0, 0xeb, 0x2a, 0x44, 0x08, 0xba, 0x2d, 0x64, 0x67, 0xc2, 0xa2, 0x59, 0x52, 0x4d, 0x21,
2181 0xd0, 0xbf, 0x6a, 0x90, 0xae, 0x32, 0xbb, 0x79, 0xb1, 0x1d, 0x3e, 0xac, 0x19, 0x1c, 0x08, 0xee,
2182 0xf0, 0x0a, 0xcc, 0x87, 0x25, 0xc9, 0xbb, 0x9b, 0x64, 0x60, 0xee, 0x59, 0xf9, 0x79, 0xad, 0x7a,
2183 0x54, 0xa9, 0x94, 0xf5, 0xe7, 0xfb, 0x7b, 0xe9, 0x51, 0x31, 0x74, 0xf4, 0xec, 0xc9, 0xb3, 0xf2,
2184 0xcb, 0x67, 0xb5, 0x7d, 0x5d, 0x2f, 0xeb, 0xe9, 0x31, 0x5a, 0x86, 0x4c, 0xb9, 0xb9, 0xdd, 0x62,
2185 0x1d, 0x5e, 0xed, 0xd5, 0xbd, 0x86, 0x6b, 0xd5, 0x99, 0x2b, 0xf2, 0xa0, 0xd3, 0x34, 0xc4, 0x60,
2186 0x3f, 0xd3, 0xe8, 0x33, 0x6a, 0xa4, 0x64, 0x8a, 0x1c, 0xaa, 0x6e, 0xe5, 0xfe, 0x89, 0x9e, 0x96,
2187 0x03, 0x25, 0x93, 0x3e, 0x02, 0x38, 0x64, 0xed, 0x3a, 0x73, 0xbd, 0x63, 0xab, 0x2b, 0x90, 0x70,
2188 0xd7, 0xd4, 0x3a, 0x46, 0x9b, 0xf9, 0x48, 0x38, 0xf2, 0xcc, 0x68, 0x33, 0x95, 0x26, 0x46, 0xfd,
2189 0x34, 0x41, 0xf7, 0x21, 0xf5, 0xd8, 0x76, 0xde, 0x1c, 0x32, 0x6e, 0x88, 0x58, 0x90, 0xfb, 0x30,
2190 0xd9, 0x66, 0x81, 0x8c, 0xb9, 0x5e, 0x08, 0x96, 0x10, 0x4e, 0xb3, 0x5b, 0x43, 0x71, 0x4d, 0x5e,
2191 0x55, 0xba, 0x52, 0xbe, 0xfb, 0xa7, 0x22, 0xcc, 0xc9, 0x83, 0x5d, 0x65, 0xae, 0x08, 0x12, 0x79,
2192 0x09, 0x73, 0x07, 0x8c, 0x07, 0x0c, 0x5b, 0x2e, 0xc8, 0x32, 0xab, 0xe0, 0x97, 0x59, 0x85, 0x7d,
2193 0x51, 0x66, 0xe5, 0xfb, 0x27, 0x63, 0xa0, 0x4b, 0xf3, 0x5f, 0xfe, 0xe3, 0xdf, 0x5f, 0x8f, 0x2e,
2194 0x12, 0x82, 0x15, 0xdb, 0xc9, 0x9d, 0x62, 0x7b, 0x80, 0xf3, 0x0a, 0xd2, 0x47, 0x5d, 0xd3, 0xe0,
2195 0x2c, 0x80, 0x1d, 0x83, 0x91, 0x4f, 0xe0, 0xa3, 0xeb, 0x88, 0xbd, 0x42, 0x63, 0xb0, 0x1f, 0x6a,
2196 0x9b, 0x64, 0x0f, 0x66, 0x0e, 0x18, 0x57, 0x49, 0x2a, 0xc9, 0xe6, 0x7e, 0x1e, 0x90, 0x7a, 0x74,
2197 0x01, 0x31, 0x67, 0xc8, 0x94, 0xc2, 0x24, 0xaf, 0x20, 0xf3, 0xd4, 0xf2, 0x78, 0x38, 0xc3, 0x27,
2198 0xa1, 0x2d, 0xc5, 0xa5, 0x7a, 0x8f, 0x5e, 0x41, 0xd0, 0x2c, 0xc9, 0xf8, 0x86, 0x5a, 0x7d, 0xa4,
2199 0x2a, 0x2c, 0x1c, 0xb0, 0x10, 0x3a, 0x81, 0x82, 0x2a, 0x40, 0x4b, 0x7b, 0xf9, 0xd8, 0xbb, 0x83,
2200 0xbe, 0x87, 0x78, 0x39, 0xb2, 0x1c, 0xc1, 0x2b, 0xbe, 0xb3, 0xcc, 0x2f, 0x88, 0x0e, 0x29, 0x61,
2201 0xf3, 0xb6, 0x9f, 0x48, 0x93, 0xcc, 0x4d, 0x0f, 0xa5, 0x61, 0x8f, 0xe6, 0x10, 0x99, 0x90, 0xb4,
2202 0x8f, 0xdc, 0x4f, 0xc6, 0x0c, 0x88, 0xc0, 0x7c, 0x1a, 0xce, 0xab, 0x49, 0xc8, 0xcb, 0xb1, 0x19,
2203 0xda, 0xa3, 0x57, 0x11, 0xff, 0x0a, 0x59, 0xf1, 0xf1, 0x87, 0x12, 0x3c, 0xf9, 0x15, 0xa4, 0x0f,
2204 0x58, 0x98, 0x25, 0xe4, 0x90, 0xf8, 0xd4, 0x4f, 0x3f, 0x40, 0xdc, 0xf7, 0xc8, 0x5a, 0x02, 0xae,
2205 0xf4, 0x4b, 0x13, 0x96, 0x23, 0x6b, 0xa8, 0x38, 0x2e, 0xf7, 0xe2, 0x7d, 0xae, 0xf4, 0x50, 0x83,
2206 0x6e, 0x22, 0xc3, 0x07, 0x84, 0x9e, 0xc5, 0x50, 0xec, 0x22, 0xda, 0x5b, 0x58, 0x1c, 0x5e, 0x84,
2207 0x00, 0x21, 0x4b, 0x31, 0xc8, 0x25, 0x33, 0x9f, 0x8d, 0x19, 0xa6, 0xf7, 0x90, 0xaf, 0x40, 0x3e,
2208 0x3e, 0x9f, 0xaf, 0xf8, 0x4e, 0xfc, 0xa9, 0x89, 0x15, 0xfe, 0x5e, 0x83, 0x95, 0x7d, 0xac, 0xd6,
2209 0x2e, 0xcc, 0x9e, 0x74, 0xba, 0x1e, 0xa1, 0x01, 0xf7, 0xe9, 0xd6, 0x65, 0x0c, 0x28, 0xaa, 0x52,
2210 0xf1, 0x2b, 0x0d, 0x72, 0x7b, 0x96, 0xf7, 0xbd, 0x18, 0xf2, 0x63, 0x34, 0xe4, 0x01, 0xbd, 0x77,
2211 0x29, 0x43, 0x4c, 0xc9, 0x4e, 0xcc, 0x98, 0x98, 0x8b, 0x3c, 0x19, 0x8e, 0x39, 0x09, 0x25, 0x47,
2212 0x94, 0x5f, 0x30, 0xe2, 0x4d, 0xc4, 0xfa, 0xad, 0x06, 0x6b, 0x32, 0x97, 0x45, 0x88, 0x9e, 0xa3,
2213 0x19, 0x6b, 0x11, 0x02, 0x1c, 0x97, 0x73, 0x12, 0x97, 0x7e, 0x0b, 0x4d, 0xb8, 0x49, 0x2f, 0x60,
2214 0x82, 0xc8, 0x78, 0xbf, 0xd3, 0x60, 0x3d, 0xc6, 0x8a, 0x43, 0x91, 0xd9, 0xa5, 0x19, 0xab, 0x21,
2215 0x33, 0x50, 0x70, 0xe8, 0x98, 0xe7, 0x58, 0x51, 0x40, 0x2b, 0x36, 0xe8, 0xfb, 0x67, 0x5a, 0x21,
2216 0xef, 0x0f, 0x61, 0x46, 0x0b, 0x56, 0x22, 0x2e, 0x47, 0xaa, 0xb0, 0xcf, 0xb3, 0x51, 0x5b, 0x3c,
2217 0xfa, 0x11, 0x72, 0x7d, 0x48, 0x2e, 0xc2, 0x45, 0x38, 0xac, 0xc6, 0xc6, 0x56, 0x15, 0x4e, 0x41,
2218 0xb2, 0x95, 0x88, 0xff, 0xa5, 0x12, 0xbd, 0x8d, 0x84, 0x9b, 0x64, 0xe3, 0x5c, 0x17, 0xab, 0x1a,
2219 0x8e, 0x7c, 0xad, 0xc1, 0xf5, 0x84, 0x58, 0x23, 0xa6, 0xf4, 0xf4, 0xf5, 0x78, 0xc2, 0x8b, 0x44,
2220 0x7d, 0x0b, 0x4d, 0xba, 0x45, 0x2f, 0x6c, 0x92, 0x70, 0x7a, 0x19, 0x66, 0x85, 0x2f, 0xce, 0x4b,
2221 0xcc, 0x0b, 0xe1, 0xd2, 0xd3, 0xa3, 0x2b, 0x48, 0x96, 0x21, 0x0b, 0x3e, 0x99, 0x9f, 0x89, 0xcb,
2222 0x30, 0x37, 0x00, 0x2c, 0x99, 0xc9, 0x90, 0xb3, 0x03, 0x37, 0xc7, 0x5c, 0x75, 0x12, 0xce, 0x32,
2223 0x3d, 0x72, 0x04, 0x69, 0x9d, 0x35, 0x9c, 0x4e, 0xc3, 0xb2, 0x99, 0x6f, 0x66, 0x70, 0x6e, 0xa2,
2224 0x3f, 0xd6, 0x10, 0x73, 0x99, 0x46, 0x31, 0xc5, 0xc2, 0xf7, 0xf1, 0x9a, 0x8f, 0xb9, 0x2a, 0x86,
2225 0x4a, 0x7c, 0x1f, 0x86, 0x2c, 0x0e, 0xad, 0x54, 0xde, 0x0d, 0x3f, 0x83, 0xd4, 0xae, 0xcb, 0x0c,
2226 0xae, 0x4c, 0x23, 0x43, 0xb3, 0x23, 0x68, 0xaa, 0xb0, 0xa1, 0xc3, 0x7e, 0x13, 0x26, 0xbd, 0x84,
2227 0x94, 0x4c, 0xc2, 0x31, 0x56, 0x25, 0x2d, 0xf2, 0x7d, 0xc4, 0x5b, 0xa7, 0xab, 0x71, 0xd6, 0xf9,
2228 0x69, 0xf5, 0x17, 0x30, 0xa7, 0xb2, 0xea, 0x25, 0x90, 0xd5, 0xdd, 0x48, 0xd7, 0x62, 0x91, 0xfd,
2229 0x3c, 0xf9, 0x12, 0x52, 0x3a, 0xab, 0x3b, 0x0e, 0xff, 0xde, 0x6c, 0x76, 0x11, 0x4e, 0x00, 0xef,
2230 0x31, 0x9b, 0xf1, 0xef, 0xe0, 0x8c, 0xcd, 0x78, 0x60, 0x13, 0xe1, 0x48, 0x0f, 0xe6, 0xf6, 0x9c,
2231 0x37, 0x1d, 0xdb, 0x31, 0xcc, 0x52, 0xdb, 0x68, 0xb1, 0xc1, 0xbd, 0x82, 0x8f, 0xbe, 0x2c, 0xbf,
2232 0xe4, 0x13, 0x96, 0xbb, 0xcc, 0xc5, 0x76, 0xa1, 0x78, 0x55, 0xa0, 0x0f, 0x90, 0xe3, 0x36, 0xfd,
2233 0x28, 0x96, 0xc3, 0x12, 0x10, 0x35, 0x53, 0x61, 0x78, 0xc5, 0x77, 0xa2, 0x08, 0xff, 0x42, 0x04,
2234 0xf7, 0x4b, 0x0d, 0x96, 0x0f, 0x18, 0x0f, 0x71, 0xc8, 0xc6, 0x40, 0xb2, 0x01, 0x71, 0xc3, 0xf4,
2235 0x21, 0x1a, 0x70, 0x8f, 0xdc, 0xbd, 0x84, 0x01, 0x45, 0x4f, 0x32, 0xf5, 0xb0, 0x4c, 0x0a, 0xe1,
2236 0x5d, 0x92, 0x5d, 0x25, 0x19, 0x72, 0x99, 0xe5, 0x93, 0xa6, 0x2c, 0x02, 0x43, 0x48, 0xde, 0x50,
2237 0x44, 0xe3, 0xd8, 0x3c, 0xfa, 0x31, 0xd2, 0xdd, 0x20, 0x1f, 0x5c, 0x84, 0x8e, 0xbc, 0x85, 0xec,
2238 0xae, 0xa8, 0x67, 0xed, 0x0b, 0xae, 0x30, 0x36, 0xc0, 0x6a, 0x85, 0x9b, 0x97, 0x5a, 0xe1, 0x1f,
2239 0x35, 0xc8, 0x6e, 0x37, 0xb8, 0x75, 0x62, 0x70, 0x86, 0x2c, 0x32, 0x57, 0x5f, 0x92, 0x7a, 0x17,
2240 0xa9, 0x3f, 0xa1, 0x3f, 0xbc, 0x4c, 0x68, 0xe5, 0x70, 0x0f, 0xf9, 0xc4, 0x46, 0xfb, 0x83, 0x06,
2241 0x19, 0x9d, 0x9d, 0x30, 0x97, 0xff, 0x5f, 0x0c, 0x71, 0x91, 0x5a, 0x18, 0x52, 0x81, 0x85, 0xc1,
2242 0x4d, 0x10, 0xad, 0x97, 0xe7, 0x7c, 0x8b, 0x64, 0xa1, 0x4c, 0x91, 0x72, 0x8d, 0xe4, 0x63, 0x29,
2243 0x65, 0x81, 0xfc, 0x0a, 0xb2, 0x01, 0xc4, 0xf6, 0x2e, 0xbe, 0x82, 0x86, 0x51, 0x33, 0x7d, 0x54,
2244 0x5f, 0x4c, 0x6f, 0x22, 0xf2, 0x75, 0x72, 0x35, 0x1e, 0xb9, 0xad, 0x5e, 0x65, 0x3d, 0xd2, 0x81,
2245 0x25, 0xe9, 0xad, 0x61, 0x82, 0x28, 0x68, 0x62, 0x0a, 0x52, 0xd5, 0x1f, 0x3d, 0x8f, 0x4c, 0x38,
2246 0xe8, 0x28, 0xe8, 0xa0, 0x8b, 0x15, 0x97, 0x67, 0x7b, 0x49, 0x16, 0x95, 0x0c, 0x16, 0xc3, 0xb0,
2247 0x97, 0xa9, 0x6b, 0x36, 0x90, 0x80, 0x92, 0x6b, 0x89, 0x04, 0x7e, 0x3d, 0xf3, 0x79, 0xd0, 0x7a,
2248 0xd9, 0xb7, 0x4a, 0xba, 0xea, 0xb3, 0xd1, 0xde, 0x97, 0x97, 0x74, 0xaf, 0xca, 0xa6, 0x19, 0xd1,
2249 0xb1, 0x7b, 0x30, 0xd0, 0x1f, 0xf2, 0x4c, 0x04, 0x8f, 0x5e, 0x47, 0xb8, 0x55, 0x72, 0x25, 0x0e,
2250 0x4e, 0xde, 0xd5, 0x35, 0x48, 0x0f, 0x2c, 0x56, 0x4e, 0x49, 0x32, 0x79, 0x31, 0xa6, 0xd7, 0xe6,
2251 0xf9, 0xad, 0x03, 0xb2, 0x34, 0x44, 0xa2, 0x5c, 0xf2, 0x18, 0xd2, 0x55, 0xee, 0x32, 0xa3, 0x5d,
2252 0x31, 0x1a, 0xaf, 0x19, 0xf7, 0xca, 0x3d, 0x4e, 0x96, 0x43, 0x9e, 0x96, 0x82, 0x72, 0x8f, 0x27,
2253 0x6e, 0xa0, 0x91, 0x0d, 0x8d, 0xec, 0x63, 0xc9, 0xc3, 0xac, 0x13, 0xa6, 0x80, 0x4a, 0x9d, 0x33,
2254 0x7a, 0x07, 0x51, 0xfc, 0x52, 0x87, 0x8e, 0xdc, 0xd6, 0xc8, 0x13, 0xc8, 0x2a, 0x98, 0xdd, 0x63,
2255 0xa3, 0xd3, 0x62, 0xd8, 0xf1, 0x4b, 0x5e, 0x72, 0x2e, 0x84, 0x14, 0x98, 0x82, 0x60, 0x47, 0x30,
2256 0xdf, 0x0f, 0x88, 0xfc, 0xe8, 0x13, 0x2e, 0xca, 0xa3, 0xee, 0x4a, 0xda, 0xac, 0xca, 0x5b, 0x7e,
2257 0x4c, 0x32, 0xb2, 0x7e, 0x0a, 0x7e, 0x60, 0x88, 0xeb, 0x51, 0xe6, 0xe3, 0x06, 0xe9, 0x35, 0xa4,
2258 0xc8, 0xd3, 0x7e, 0x40, 0x42, 0x2d, 0x4f, 0x71, 0xc8, 0x5e, 0xa0, 0xdd, 0x41, 0xf4, 0xd8, 0x97,
2259 0xf6, 0xe0, 0x67, 0x83, 0xa8, 0xe1, 0x21, 0x54, 0x69, 0xb8, 0x09, 0x19, 0x99, 0x2c, 0xbe, 0x9b,
2260 0xe1, 0x1f, 0x22, 0xc5, 0xd5, 0xfc, 0x19, 0x14, 0xc2, 0x7a, 0x13, 0x32, 0xb2, 0x0a, 0x3a, 0x97,
2261 0x25, 0x69, 0x3f, 0xa9, 0xb5, 0x6c, 0x9e, 0xb5, 0x16, 0x75, 0x30, 0x42, 0x9f, 0x4e, 0xce, 0x3d,
2262 0x18, 0x21, 0x8f, 0x45, 0x0e, 0x46, 0x88, 0x85, 0x3c, 0xc5, 0x62, 0x1b, 0xaf, 0x1e, 0x2f, 0xbe,
2263 0xd8, 0x96, 0x32, 0xbf, 0x82, 0x23, 0xab, 0xc9, 0x17, 0x8f, 0x47, 0x3e, 0x83, 0x69, 0xbf, 0x25,
2264 0x1b, 0x02, 0xcb, 0x25, 0xf5, 0x76, 0xe9, 0x0d, 0x84, 0xbd, 0x46, 0xdf, 0x8b, 0x85, 0xf5, 0x98,
2265 0xdd, 0xac, 0x71, 0x81, 0xf6, 0x02, 0xeb, 0xa3, 0x50, 0x4b, 0x7b, 0xf8, 0xdd, 0x33, 0xd2, 0xf3,
2266 0x8e, 0x66, 0x1e, 0x71, 0x8c, 0x84, 0x9e, 0x7a, 0xe9, 0xb4, 0xea, 0xe4, 0x73, 0x20, 0x07, 0x8c,
2267 0x0f, 0x75, 0xb5, 0x87, 0x1a, 0x54, 0x71, 0x8d, 0xef, 0xa8, 0x3f, 0xc2, 0xd8, 0xd8, 0x43, 0x27,
2268 0x1e, 0xcc, 0x55, 0xad, 0x76, 0xcf, 0x36, 0x38, 0xc3, 0xf9, 0x64, 0xad, 0xef, 0x88, 0xe0, 0xb0,
2269 0xfa, 0x50, 0x94, 0x74, 0xe7, 0x47, 0x9a, 0x06, 0x61, 0x1f, 0x29, 0xa4, 0x9a, 0x40, 0x12, 0x3b,
2270 0x73, 0x17, 0x66, 0xfa, 0xed, 0x6b, 0x72, 0xc5, 0x27, 0x8c, 0x34, 0xb6, 0xf3, 0xc9, 0x22, 0x3a,
2271 0x42, 0x0e, 0x01, 0xe4, 0x1b, 0x0f, 0x36, 0x78, 0x52, 0xc1, 0x8a, 0x20, 0x71, 0x43, 0xab, 0x57,
2272 0x45, 0x3a, 0x2f, 0x6c, 0x1c, 0xcc, 0x56, 0x2f, 0xb3, 0xea, 0x3d, 0xe7, 0x12, 0x78, 0x83, 0x37,
2273 0xb2, 0x93, 0x3b, 0xc5, 0xc0, 0x74, 0x01, 0xf8, 0x19, 0xcc, 0x8a, 0xe4, 0xf1, 0x96, 0xbf, 0x30,
2274 0xec, 0x1e, 0x23, 0xcb, 0xbe, 0xe7, 0xf0, 0xb1, 0xda, 0x65, 0x0d, 0xab, 0x69, 0x31, 0x37, 0xbf,
2275 0xe8, 0x8f, 0xeb, 0x8c, 0xf7, 0xdc, 0x0e, 0x4a, 0x3d, 0xba, 0x8a, 0xc0, 0x4b, 0x24, 0xeb, 0x3b,
2276 0x34, 0x08, 0x75, 0x0c, 0xd9, 0x2a, 0x37, 0x5c, 0xee, 0x7f, 0xc5, 0x13, 0xc5, 0xa3, 0xd3, 0x21,
2277 0xfd, 0x0f, 0x9c, 0x43, 0x5f, 0xf7, 0x06, 0xc7, 0x2e, 0xb4, 0xaf, 0xd5, 0xe1, 0xa6, 0xfd, 0xbe,
2278 0xa8, 0x27, 0x30, 0x6b, 0xf8, 0x7d, 0x45, 0x6c, 0xe8, 0x87, 0xda, 0xe6, 0x8e, 0x0d, 0x59, 0xc7,
2279 0x6d, 0x61, 0x6e, 0x6f, 0x38, 0xae, 0xa9, 0x70, 0x76, 0x52, 0xb2, 0x73, 0x5d, 0xc1, 0x8f, 0xfc,
2280 0xbf, 0x2c, 0xb4, 0x2c, 0x7e, 0xdc, 0xab, 0x8b, 0x75, 0x14, 0x7d, 0x4d, 0xf5, 0x4b, 0x8a, 0x5b,
2281 0xfe, 0xef, 0x2a, 0xb6, 0x8a, 0x2d, 0x47, 0x8d, 0xfd, 0x7d, 0x74, 0xb9, 0xec, 0xe3, 0xbd, 0x08,
2282 0x36, 0xc2, 0x2b, 0xa3, 0x95, 0xb1, 0xca, 0x78, 0x65, 0xa2, 0x32, 0x59, 0x99, 0xaa, 0x4c, 0xd7,
2283 0x27, 0x71, 0xee, 0xd6, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x17, 0x64, 0x56, 0xa3, 0x21,
2284 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002285}
2286
2287// Reference imports to suppress errors if they are not otherwise used.
2288var _ context.Context
2289var _ grpc.ClientConn
2290
2291// This is a compile-time assertion to ensure that this generated file
2292// is compatible with the grpc package it is being compiled against.
2293const _ = grpc.SupportPackageIsVersion4
2294
2295// VolthaServiceClient is the client API for VolthaService service.
2296//
2297// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2298type VolthaServiceClient interface {
William Kurkian1b363f42019-03-12 15:28:12 -04002299 // Get the membership group of a Voltha Core
2300 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2301 // Set the membership group of a Voltha Core
2302 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2303 // Get high level information on the Voltha cluster
2304 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2305 // List all Voltha cluster core instances
2306 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2307 // Get details on a Voltha cluster instance
2308 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2309 // List all active adapters (plugins) in the Voltha cluster
2310 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2311 // List all logical devices managed by the Voltha cluster
2312 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2313 // Get additional information on a given logical device
2314 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2315 // List ports of a logical device
2316 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2317 // Gets a logical device port
2318 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2319 // Enables a logical device port
2320 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2321 // Disables a logical device port
2322 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2323 // List all flows of a logical device
2324 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2325 // Update flow table for logical device
2326 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2327 // Update meter table for logical device
2328 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002329 // List all meters of a logical device
2330 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002331 // List all flow groups of a logical device
2332 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2333 // Update group table for device
2334 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2335 // List all physical devices controlled by the Voltha cluster
2336 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2337 // List all physical devices IDs controlled by the Voltha cluster
2338 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2339 // Request to a voltha Core to reconcile a set of devices based on their IDs
2340 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2341 // Get more information on a given physical device
2342 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2343 // Pre-provision a new physical device
2344 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2345 // Enable a device. If the device was in pre-provisioned state then it
2346 // will transition to ENABLED state. If it was is DISABLED state then it
2347 // will transition to ENABLED state as well.
2348 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2349 // Disable a device
2350 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2351 // Reboot a device
2352 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2353 // Delete a device
2354 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2355 // Request an image download to the standby partition
2356 // of a device.
2357 // Note that the call is expected to be non-blocking.
2358 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2359 // Get image download status on a device
2360 // The request retrieves progress on device and updates db record
2361 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2362 // Get image download db record
2363 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2364 // List image download db records for a given device
2365 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2366 // Cancel an existing image download process on a device
2367 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2368 // Activate the specified image at a standby partition
2369 // to active partition.
2370 // Depending on the device implementation, this call
2371 // may or may not cause device reboot.
2372 // If no reboot, then a reboot is required to make the
2373 // activated image running on device
2374 // Note that the call is expected to be non-blocking.
2375 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2376 // Revert the specified image at standby partition
2377 // to active partition, and revert to previous image
2378 // Depending on the device implementation, this call
2379 // may or may not cause device reboot.
2380 // If no reboot, then a reboot is required to make the
2381 // previous image running on device
2382 // Note that the call is expected to be non-blocking.
2383 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2384 // List ports of a device
2385 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2386 // List pm config of a device
2387 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2388 // Update the pm config of a device
2389 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2390 // List all flows of a device
2391 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2392 // List all flow groups of a device
2393 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2394 // List device types known to Voltha
2395 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2396 // Get additional information on a device type
2397 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2398 // List all device sharding groups
2399 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2400 // Stream control packets to the dataplane
2401 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2402 // Receive control packet stream
2403 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2404 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2405 // Get additional information on a device group
2406 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002407 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2408 // Get all filters present for a device
2409 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2410 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2411 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2412 // Get all the filters present
2413 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002414 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2415 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2416 // OpenOMCI MIB information
2417 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2418 // OpenOMCI ALARM information
2419 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2420 // Simulate an Alarm
2421 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2422 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05002423 EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
2424 DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08002425 GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05302426 // omci start and stop cli implementation
2427 StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002428}
2429
2430type volthaServiceClient struct {
2431 cc *grpc.ClientConn
2432}
2433
2434func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2435 return &volthaServiceClient{cc}
2436}
2437
William Kurkian1b363f42019-03-12 15:28:12 -04002438func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2439 out := new(Membership)
2440 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2441 if err != nil {
2442 return nil, err
2443 }
2444 return out, nil
2445}
2446
2447func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2448 out := new(empty.Empty)
2449 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2450 if err != nil {
2451 return nil, err
2452 }
2453 return out, nil
2454}
2455
2456func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2457 out := new(Voltha)
2458 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2459 if err != nil {
2460 return nil, err
2461 }
2462 return out, nil
2463}
2464
2465func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2466 out := new(CoreInstances)
2467 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2468 if err != nil {
2469 return nil, err
2470 }
2471 return out, nil
2472}
2473
2474func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2475 out := new(CoreInstance)
2476 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2477 if err != nil {
2478 return nil, err
2479 }
2480 return out, nil
2481}
2482
2483func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2484 out := new(Adapters)
2485 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2486 if err != nil {
2487 return nil, err
2488 }
2489 return out, nil
2490}
2491
2492func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2493 out := new(LogicalDevices)
2494 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2495 if err != nil {
2496 return nil, err
2497 }
2498 return out, nil
2499}
2500
2501func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2502 out := new(LogicalDevice)
2503 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2504 if err != nil {
2505 return nil, err
2506 }
2507 return out, nil
2508}
2509
2510func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2511 out := new(LogicalPorts)
2512 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2513 if err != nil {
2514 return nil, err
2515 }
2516 return out, nil
2517}
2518
2519func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2520 out := new(LogicalPort)
2521 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2522 if err != nil {
2523 return nil, err
2524 }
2525 return out, nil
2526}
2527
2528func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2529 out := new(empty.Empty)
2530 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2531 if err != nil {
2532 return nil, err
2533 }
2534 return out, nil
2535}
2536
2537func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2538 out := new(empty.Empty)
2539 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2540 if err != nil {
2541 return nil, err
2542 }
2543 return out, nil
2544}
2545
2546func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2547 out := new(openflow_13.Flows)
2548 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2549 if err != nil {
2550 return nil, err
2551 }
2552 return out, nil
2553}
2554
2555func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2556 out := new(empty.Empty)
2557 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2558 if err != nil {
2559 return nil, err
2560 }
2561 return out, nil
2562}
2563
2564func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2565 out := new(empty.Empty)
2566 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2567 if err != nil {
2568 return nil, err
2569 }
2570 return out, nil
2571}
2572
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002573func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2574 out := new(openflow_13.Meters)
2575 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002576 if err != nil {
2577 return nil, err
2578 }
2579 return out, nil
2580}
2581
2582func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2583 out := new(openflow_13.FlowGroups)
2584 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2585 if err != nil {
2586 return nil, err
2587 }
2588 return out, nil
2589}
2590
2591func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2592 out := new(empty.Empty)
2593 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2594 if err != nil {
2595 return nil, err
2596 }
2597 return out, nil
2598}
2599
2600func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2601 out := new(Devices)
2602 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2603 if err != nil {
2604 return nil, err
2605 }
2606 return out, nil
2607}
2608
2609func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2610 out := new(common.IDs)
2611 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2612 if err != nil {
2613 return nil, err
2614 }
2615 return out, nil
2616}
2617
2618func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2619 out := new(empty.Empty)
2620 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2621 if err != nil {
2622 return nil, err
2623 }
2624 return out, nil
2625}
2626
2627func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2628 out := new(Device)
2629 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2630 if err != nil {
2631 return nil, err
2632 }
2633 return out, nil
2634}
2635
2636func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2637 out := new(Device)
2638 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2639 if err != nil {
2640 return nil, err
2641 }
2642 return out, nil
2643}
2644
2645func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2646 out := new(empty.Empty)
2647 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2648 if err != nil {
2649 return nil, err
2650 }
2651 return out, nil
2652}
2653
2654func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2655 out := new(empty.Empty)
2656 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2657 if err != nil {
2658 return nil, err
2659 }
2660 return out, nil
2661}
2662
2663func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2664 out := new(empty.Empty)
2665 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2666 if err != nil {
2667 return nil, err
2668 }
2669 return out, nil
2670}
2671
2672func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2673 out := new(empty.Empty)
2674 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2675 if err != nil {
2676 return nil, err
2677 }
2678 return out, nil
2679}
2680
2681func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2682 out := new(common.OperationResp)
2683 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2684 if err != nil {
2685 return nil, err
2686 }
2687 return out, nil
2688}
2689
2690func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2691 out := new(ImageDownload)
2692 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2693 if err != nil {
2694 return nil, err
2695 }
2696 return out, nil
2697}
2698
2699func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2700 out := new(ImageDownload)
2701 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2702 if err != nil {
2703 return nil, err
2704 }
2705 return out, nil
2706}
2707
2708func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2709 out := new(ImageDownloads)
2710 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2711 if err != nil {
2712 return nil, err
2713 }
2714 return out, nil
2715}
2716
2717func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2718 out := new(common.OperationResp)
2719 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2720 if err != nil {
2721 return nil, err
2722 }
2723 return out, nil
2724}
2725
2726func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2727 out := new(common.OperationResp)
2728 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2729 if err != nil {
2730 return nil, err
2731 }
2732 return out, nil
2733}
2734
2735func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2736 out := new(common.OperationResp)
2737 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2738 if err != nil {
2739 return nil, err
2740 }
2741 return out, nil
2742}
2743
2744func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2745 out := new(Ports)
2746 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2747 if err != nil {
2748 return nil, err
2749 }
2750 return out, nil
2751}
2752
2753func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2754 out := new(PmConfigs)
2755 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2756 if err != nil {
2757 return nil, err
2758 }
2759 return out, nil
2760}
2761
2762func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2763 out := new(empty.Empty)
2764 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2765 if err != nil {
2766 return nil, err
2767 }
2768 return out, nil
2769}
2770
2771func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2772 out := new(openflow_13.Flows)
2773 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2774 if err != nil {
2775 return nil, err
2776 }
2777 return out, nil
2778}
2779
2780func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2781 out := new(openflow_13.FlowGroups)
2782 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2783 if err != nil {
2784 return nil, err
2785 }
2786 return out, nil
2787}
2788
2789func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2790 out := new(DeviceTypes)
2791 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2792 if err != nil {
2793 return nil, err
2794 }
2795 return out, nil
2796}
2797
2798func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2799 out := new(DeviceType)
2800 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2801 if err != nil {
2802 return nil, err
2803 }
2804 return out, nil
2805}
2806
2807func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2808 out := new(DeviceGroups)
2809 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2810 if err != nil {
2811 return nil, err
2812 }
2813 return out, nil
2814}
2815
2816func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2817 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2818 if err != nil {
2819 return nil, err
2820 }
2821 x := &volthaServiceStreamPacketsOutClient{stream}
2822 return x, nil
2823}
2824
2825type VolthaService_StreamPacketsOutClient interface {
2826 Send(*openflow_13.PacketOut) error
2827 CloseAndRecv() (*empty.Empty, error)
2828 grpc.ClientStream
2829}
2830
2831type volthaServiceStreamPacketsOutClient struct {
2832 grpc.ClientStream
2833}
2834
2835func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2836 return x.ClientStream.SendMsg(m)
2837}
2838
2839func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2840 if err := x.ClientStream.CloseSend(); err != nil {
2841 return nil, err
2842 }
2843 m := new(empty.Empty)
2844 if err := x.ClientStream.RecvMsg(m); err != nil {
2845 return nil, err
2846 }
2847 return m, nil
2848}
2849
2850func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2851 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2852 if err != nil {
2853 return nil, err
2854 }
2855 x := &volthaServiceReceivePacketsInClient{stream}
2856 if err := x.ClientStream.SendMsg(in); err != nil {
2857 return nil, err
2858 }
2859 if err := x.ClientStream.CloseSend(); err != nil {
2860 return nil, err
2861 }
2862 return x, nil
2863}
2864
2865type VolthaService_ReceivePacketsInClient interface {
2866 Recv() (*openflow_13.PacketIn, error)
2867 grpc.ClientStream
2868}
2869
2870type volthaServiceReceivePacketsInClient struct {
2871 grpc.ClientStream
2872}
2873
2874func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2875 m := new(openflow_13.PacketIn)
2876 if err := x.ClientStream.RecvMsg(m); err != nil {
2877 return nil, err
2878 }
2879 return m, nil
2880}
2881
2882func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2883 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2884 if err != nil {
2885 return nil, err
2886 }
2887 x := &volthaServiceReceiveChangeEventsClient{stream}
2888 if err := x.ClientStream.SendMsg(in); err != nil {
2889 return nil, err
2890 }
2891 if err := x.ClientStream.CloseSend(); err != nil {
2892 return nil, err
2893 }
2894 return x, nil
2895}
2896
2897type VolthaService_ReceiveChangeEventsClient interface {
2898 Recv() (*openflow_13.ChangeEvent, error)
2899 grpc.ClientStream
2900}
2901
2902type volthaServiceReceiveChangeEventsClient struct {
2903 grpc.ClientStream
2904}
2905
2906func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2907 m := new(openflow_13.ChangeEvent)
2908 if err := x.ClientStream.RecvMsg(m); err != nil {
2909 return nil, err
2910 }
2911 return m, nil
2912}
2913
2914func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2915 out := new(DeviceGroup)
2916 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2917 if err != nil {
2918 return nil, err
2919 }
2920 return out, nil
2921}
2922
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002923func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2924 out := new(EventFilter)
2925 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002926 if err != nil {
2927 return nil, err
2928 }
2929 return out, nil
2930}
2931
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002932func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
2933 out := new(EventFilters)
2934 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002935 if err != nil {
2936 return nil, err
2937 }
2938 return out, nil
2939}
2940
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002941func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2942 out := new(EventFilter)
2943 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002944 if err != nil {
2945 return nil, err
2946 }
2947 return out, nil
2948}
2949
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002950func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002951 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002952 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002953 if err != nil {
2954 return nil, err
2955 }
2956 return out, nil
2957}
2958
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002959func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
2960 out := new(EventFilters)
2961 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002962 if err != nil {
2963 return nil, err
2964 }
2965 return out, nil
2966}
2967
2968func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
2969 out := new(Images)
2970 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
2971 if err != nil {
2972 return nil, err
2973 }
2974 return out, nil
2975}
2976
2977func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
2978 out := new(SelfTestResponse)
2979 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
2980 if err != nil {
2981 return nil, err
2982 }
2983 return out, nil
2984}
2985
2986func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
2987 out := new(omci.MibDeviceData)
2988 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
2989 if err != nil {
2990 return nil, err
2991 }
2992 return out, nil
2993}
2994
2995func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
2996 out := new(omci.AlarmDeviceData)
2997 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
2998 if err != nil {
2999 return nil, err
3000 }
3001 return out, nil
3002}
3003
3004func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
3005 out := new(common.OperationResp)
3006 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
3007 if err != nil {
3008 return nil, err
3009 }
3010 return out, nil
3011}
3012
3013func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
3014 out := new(OfAgentSubscriber)
3015 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
3016 if err != nil {
3017 return nil, err
3018 }
3019 return out, nil
3020}
3021
kesavand4a002b02020-01-23 21:29:47 -05003022func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3023 out := new(empty.Empty)
3024 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...)
3025 if err != nil {
3026 return nil, err
3027 }
3028 return out, nil
3029}
3030
3031func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) {
3032 out := new(empty.Empty)
3033 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...)
3034 if err != nil {
3035 return nil, err
3036 }
3037 return out, nil
3038}
3039
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003040func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) {
3041 out := new(common.ReturnValues)
3042 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...)
3043 if err != nil {
3044 return nil, err
3045 }
3046 return out, nil
3047}
3048
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303049func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) {
3050 out := new(TestResponse)
3051 err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...)
3052 if err != nil {
3053 return nil, err
3054 }
3055 return out, nil
3056}
3057
William Kurkian1b363f42019-03-12 15:28:12 -04003058// VolthaServiceServer is the server API for VolthaService service.
3059type VolthaServiceServer interface {
William Kurkian1b363f42019-03-12 15:28:12 -04003060 // Get the membership group of a Voltha Core
3061 GetMembership(context.Context, *empty.Empty) (*Membership, error)
3062 // Set the membership group of a Voltha Core
3063 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
3064 // Get high level information on the Voltha cluster
3065 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
3066 // List all Voltha cluster core instances
3067 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
3068 // Get details on a Voltha cluster instance
3069 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
3070 // List all active adapters (plugins) in the Voltha cluster
3071 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
3072 // List all logical devices managed by the Voltha cluster
3073 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
3074 // Get additional information on a given logical device
3075 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
3076 // List ports of a logical device
3077 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
3078 // Gets a logical device port
3079 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
3080 // Enables a logical device port
3081 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3082 // Disables a logical device port
3083 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
3084 // List all flows of a logical device
3085 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3086 // Update flow table for logical device
3087 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
3088 // Update meter table for logical device
3089 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003090 // List all meters of a logical device
3091 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003092 // List all flow groups of a logical device
3093 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3094 // Update group table for device
3095 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
3096 // List all physical devices controlled by the Voltha cluster
3097 ListDevices(context.Context, *empty.Empty) (*Devices, error)
3098 // List all physical devices IDs controlled by the Voltha cluster
3099 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
3100 // Request to a voltha Core to reconcile a set of devices based on their IDs
3101 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
3102 // Get more information on a given physical device
3103 GetDevice(context.Context, *common.ID) (*Device, error)
3104 // Pre-provision a new physical device
3105 CreateDevice(context.Context, *Device) (*Device, error)
3106 // Enable a device. If the device was in pre-provisioned state then it
3107 // will transition to ENABLED state. If it was is DISABLED state then it
3108 // will transition to ENABLED state as well.
3109 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
3110 // Disable a device
3111 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
3112 // Reboot a device
3113 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
3114 // Delete a device
3115 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
3116 // Request an image download to the standby partition
3117 // of a device.
3118 // Note that the call is expected to be non-blocking.
3119 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
3120 // Get image download status on a device
3121 // The request retrieves progress on device and updates db record
3122 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3123 // Get image download db record
3124 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3125 // List image download db records for a given device
3126 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3127 // Cancel an existing image download process on a device
3128 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3129 // Activate the specified image at a standby partition
3130 // to active partition.
3131 // Depending on the device implementation, this call
3132 // may or may not cause device reboot.
3133 // If no reboot, then a reboot is required to make the
3134 // activated image running on device
3135 // Note that the call is expected to be non-blocking.
3136 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3137 // Revert the specified image at standby partition
3138 // to active partition, and revert to previous image
3139 // Depending on the device implementation, this call
3140 // may or may not cause device reboot.
3141 // If no reboot, then a reboot is required to make the
3142 // previous image running on device
3143 // Note that the call is expected to be non-blocking.
3144 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3145 // List ports of a device
3146 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3147 // List pm config of a device
3148 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3149 // Update the pm config of a device
3150 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3151 // List all flows of a device
3152 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3153 // List all flow groups of a device
3154 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3155 // List device types known to Voltha
3156 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3157 // Get additional information on a device type
3158 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3159 // List all device sharding groups
3160 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3161 // Stream control packets to the dataplane
3162 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3163 // Receive control packet stream
3164 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3165 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3166 // Get additional information on a device group
3167 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003168 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3169 // Get all filters present for a device
3170 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3171 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3172 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3173 // Get all the filters present
3174 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003175 GetImages(context.Context, *common.ID) (*Images, error)
3176 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3177 // OpenOMCI MIB information
3178 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3179 // OpenOMCI ALARM information
3180 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3181 // Simulate an Alarm
3182 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3183 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
kesavand4a002b02020-01-23 21:29:47 -05003184 EnablePort(context.Context, *Port) (*empty.Empty, error)
3185 DisablePort(context.Context, *Port) (*empty.Empty, error)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08003186 GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error)
onkar.kundargi7b85fa12020-02-27 13:19:22 +05303187 // omci start and stop cli implementation
3188 StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003189}
3190
3191func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3192 s.RegisterService(&_VolthaService_serviceDesc, srv)
3193}
3194
William Kurkian1b363f42019-03-12 15:28:12 -04003195func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3196 in := new(empty.Empty)
3197 if err := dec(in); err != nil {
3198 return nil, err
3199 }
3200 if interceptor == nil {
3201 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3202 }
3203 info := &grpc.UnaryServerInfo{
3204 Server: srv,
3205 FullMethod: "/voltha.VolthaService/GetMembership",
3206 }
3207 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3208 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3209 }
3210 return interceptor(ctx, in, info, handler)
3211}
3212
3213func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3214 in := new(Membership)
3215 if err := dec(in); err != nil {
3216 return nil, err
3217 }
3218 if interceptor == nil {
3219 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3220 }
3221 info := &grpc.UnaryServerInfo{
3222 Server: srv,
3223 FullMethod: "/voltha.VolthaService/UpdateMembership",
3224 }
3225 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3226 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3227 }
3228 return interceptor(ctx, in, info, handler)
3229}
3230
3231func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3232 in := new(empty.Empty)
3233 if err := dec(in); err != nil {
3234 return nil, err
3235 }
3236 if interceptor == nil {
3237 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3238 }
3239 info := &grpc.UnaryServerInfo{
3240 Server: srv,
3241 FullMethod: "/voltha.VolthaService/GetVoltha",
3242 }
3243 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3244 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3245 }
3246 return interceptor(ctx, in, info, handler)
3247}
3248
3249func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3250 in := new(empty.Empty)
3251 if err := dec(in); err != nil {
3252 return nil, err
3253 }
3254 if interceptor == nil {
3255 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3256 }
3257 info := &grpc.UnaryServerInfo{
3258 Server: srv,
3259 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3260 }
3261 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3262 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3263 }
3264 return interceptor(ctx, in, info, handler)
3265}
3266
3267func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3268 in := new(common.ID)
3269 if err := dec(in); err != nil {
3270 return nil, err
3271 }
3272 if interceptor == nil {
3273 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3274 }
3275 info := &grpc.UnaryServerInfo{
3276 Server: srv,
3277 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3278 }
3279 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3280 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3281 }
3282 return interceptor(ctx, in, info, handler)
3283}
3284
3285func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3286 in := new(empty.Empty)
3287 if err := dec(in); err != nil {
3288 return nil, err
3289 }
3290 if interceptor == nil {
3291 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3292 }
3293 info := &grpc.UnaryServerInfo{
3294 Server: srv,
3295 FullMethod: "/voltha.VolthaService/ListAdapters",
3296 }
3297 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3298 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3299 }
3300 return interceptor(ctx, in, info, handler)
3301}
3302
3303func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3304 in := new(empty.Empty)
3305 if err := dec(in); err != nil {
3306 return nil, err
3307 }
3308 if interceptor == nil {
3309 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3310 }
3311 info := &grpc.UnaryServerInfo{
3312 Server: srv,
3313 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3314 }
3315 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3316 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3317 }
3318 return interceptor(ctx, in, info, handler)
3319}
3320
3321func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3322 in := new(common.ID)
3323 if err := dec(in); err != nil {
3324 return nil, err
3325 }
3326 if interceptor == nil {
3327 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3328 }
3329 info := &grpc.UnaryServerInfo{
3330 Server: srv,
3331 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3332 }
3333 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3334 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3335 }
3336 return interceptor(ctx, in, info, handler)
3337}
3338
3339func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3340 in := new(common.ID)
3341 if err := dec(in); err != nil {
3342 return nil, err
3343 }
3344 if interceptor == nil {
3345 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3346 }
3347 info := &grpc.UnaryServerInfo{
3348 Server: srv,
3349 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3350 }
3351 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3352 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3353 }
3354 return interceptor(ctx, in, info, handler)
3355}
3356
3357func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3358 in := new(LogicalPortId)
3359 if err := dec(in); err != nil {
3360 return nil, err
3361 }
3362 if interceptor == nil {
3363 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3364 }
3365 info := &grpc.UnaryServerInfo{
3366 Server: srv,
3367 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3368 }
3369 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3370 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3371 }
3372 return interceptor(ctx, in, info, handler)
3373}
3374
3375func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3376 in := new(LogicalPortId)
3377 if err := dec(in); err != nil {
3378 return nil, err
3379 }
3380 if interceptor == nil {
3381 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3382 }
3383 info := &grpc.UnaryServerInfo{
3384 Server: srv,
3385 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3386 }
3387 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3388 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3389 }
3390 return interceptor(ctx, in, info, handler)
3391}
3392
3393func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3394 in := new(LogicalPortId)
3395 if err := dec(in); err != nil {
3396 return nil, err
3397 }
3398 if interceptor == nil {
3399 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3400 }
3401 info := &grpc.UnaryServerInfo{
3402 Server: srv,
3403 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3404 }
3405 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3406 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3407 }
3408 return interceptor(ctx, in, info, handler)
3409}
3410
3411func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3412 in := new(common.ID)
3413 if err := dec(in); err != nil {
3414 return nil, err
3415 }
3416 if interceptor == nil {
3417 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3418 }
3419 info := &grpc.UnaryServerInfo{
3420 Server: srv,
3421 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3422 }
3423 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3424 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3425 }
3426 return interceptor(ctx, in, info, handler)
3427}
3428
3429func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3430 in := new(openflow_13.FlowTableUpdate)
3431 if err := dec(in); err != nil {
3432 return nil, err
3433 }
3434 if interceptor == nil {
3435 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3436 }
3437 info := &grpc.UnaryServerInfo{
3438 Server: srv,
3439 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3440 }
3441 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3442 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3443 }
3444 return interceptor(ctx, in, info, handler)
3445}
3446
3447func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3448 in := new(openflow_13.MeterModUpdate)
3449 if err := dec(in); err != nil {
3450 return nil, err
3451 }
3452 if interceptor == nil {
3453 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3454 }
3455 info := &grpc.UnaryServerInfo{
3456 Server: srv,
3457 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3458 }
3459 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3460 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3461 }
3462 return interceptor(ctx, in, info, handler)
3463}
3464
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003465func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003466 in := new(common.ID)
3467 if err := dec(in); err != nil {
3468 return nil, err
3469 }
3470 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003471 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003472 }
3473 info := &grpc.UnaryServerInfo{
3474 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003475 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003476 }
3477 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003478 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003479 }
3480 return interceptor(ctx, in, info, handler)
3481}
3482
3483func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3484 in := new(common.ID)
3485 if err := dec(in); err != nil {
3486 return nil, err
3487 }
3488 if interceptor == nil {
3489 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3490 }
3491 info := &grpc.UnaryServerInfo{
3492 Server: srv,
3493 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3494 }
3495 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3496 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3497 }
3498 return interceptor(ctx, in, info, handler)
3499}
3500
3501func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3502 in := new(openflow_13.FlowGroupTableUpdate)
3503 if err := dec(in); err != nil {
3504 return nil, err
3505 }
3506 if interceptor == nil {
3507 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3508 }
3509 info := &grpc.UnaryServerInfo{
3510 Server: srv,
3511 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3512 }
3513 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3514 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3515 }
3516 return interceptor(ctx, in, info, handler)
3517}
3518
3519func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3520 in := new(empty.Empty)
3521 if err := dec(in); err != nil {
3522 return nil, err
3523 }
3524 if interceptor == nil {
3525 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3526 }
3527 info := &grpc.UnaryServerInfo{
3528 Server: srv,
3529 FullMethod: "/voltha.VolthaService/ListDevices",
3530 }
3531 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3532 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3533 }
3534 return interceptor(ctx, in, info, handler)
3535}
3536
3537func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3538 in := new(empty.Empty)
3539 if err := dec(in); err != nil {
3540 return nil, err
3541 }
3542 if interceptor == nil {
3543 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3544 }
3545 info := &grpc.UnaryServerInfo{
3546 Server: srv,
3547 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3548 }
3549 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3550 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3551 }
3552 return interceptor(ctx, in, info, handler)
3553}
3554
3555func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3556 in := new(common.IDs)
3557 if err := dec(in); err != nil {
3558 return nil, err
3559 }
3560 if interceptor == nil {
3561 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3562 }
3563 info := &grpc.UnaryServerInfo{
3564 Server: srv,
3565 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3566 }
3567 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3568 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3569 }
3570 return interceptor(ctx, in, info, handler)
3571}
3572
3573func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3574 in := new(common.ID)
3575 if err := dec(in); err != nil {
3576 return nil, err
3577 }
3578 if interceptor == nil {
3579 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3580 }
3581 info := &grpc.UnaryServerInfo{
3582 Server: srv,
3583 FullMethod: "/voltha.VolthaService/GetDevice",
3584 }
3585 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3586 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3587 }
3588 return interceptor(ctx, in, info, handler)
3589}
3590
3591func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3592 in := new(Device)
3593 if err := dec(in); err != nil {
3594 return nil, err
3595 }
3596 if interceptor == nil {
3597 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3598 }
3599 info := &grpc.UnaryServerInfo{
3600 Server: srv,
3601 FullMethod: "/voltha.VolthaService/CreateDevice",
3602 }
3603 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3604 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3605 }
3606 return interceptor(ctx, in, info, handler)
3607}
3608
3609func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3610 in := new(common.ID)
3611 if err := dec(in); err != nil {
3612 return nil, err
3613 }
3614 if interceptor == nil {
3615 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3616 }
3617 info := &grpc.UnaryServerInfo{
3618 Server: srv,
3619 FullMethod: "/voltha.VolthaService/EnableDevice",
3620 }
3621 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3622 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3623 }
3624 return interceptor(ctx, in, info, handler)
3625}
3626
3627func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3628 in := new(common.ID)
3629 if err := dec(in); err != nil {
3630 return nil, err
3631 }
3632 if interceptor == nil {
3633 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3634 }
3635 info := &grpc.UnaryServerInfo{
3636 Server: srv,
3637 FullMethod: "/voltha.VolthaService/DisableDevice",
3638 }
3639 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3640 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3641 }
3642 return interceptor(ctx, in, info, handler)
3643}
3644
3645func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3646 in := new(common.ID)
3647 if err := dec(in); err != nil {
3648 return nil, err
3649 }
3650 if interceptor == nil {
3651 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3652 }
3653 info := &grpc.UnaryServerInfo{
3654 Server: srv,
3655 FullMethod: "/voltha.VolthaService/RebootDevice",
3656 }
3657 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3658 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3659 }
3660 return interceptor(ctx, in, info, handler)
3661}
3662
3663func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3664 in := new(common.ID)
3665 if err := dec(in); err != nil {
3666 return nil, err
3667 }
3668 if interceptor == nil {
3669 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3670 }
3671 info := &grpc.UnaryServerInfo{
3672 Server: srv,
3673 FullMethod: "/voltha.VolthaService/DeleteDevice",
3674 }
3675 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3676 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3677 }
3678 return interceptor(ctx, in, info, handler)
3679}
3680
3681func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3682 in := new(ImageDownload)
3683 if err := dec(in); err != nil {
3684 return nil, err
3685 }
3686 if interceptor == nil {
3687 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3688 }
3689 info := &grpc.UnaryServerInfo{
3690 Server: srv,
3691 FullMethod: "/voltha.VolthaService/DownloadImage",
3692 }
3693 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3694 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3695 }
3696 return interceptor(ctx, in, info, handler)
3697}
3698
3699func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3700 in := new(ImageDownload)
3701 if err := dec(in); err != nil {
3702 return nil, err
3703 }
3704 if interceptor == nil {
3705 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3706 }
3707 info := &grpc.UnaryServerInfo{
3708 Server: srv,
3709 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3710 }
3711 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3712 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3713 }
3714 return interceptor(ctx, in, info, handler)
3715}
3716
3717func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3718 in := new(ImageDownload)
3719 if err := dec(in); err != nil {
3720 return nil, err
3721 }
3722 if interceptor == nil {
3723 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3724 }
3725 info := &grpc.UnaryServerInfo{
3726 Server: srv,
3727 FullMethod: "/voltha.VolthaService/GetImageDownload",
3728 }
3729 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3730 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3731 }
3732 return interceptor(ctx, in, info, handler)
3733}
3734
3735func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3736 in := new(common.ID)
3737 if err := dec(in); err != nil {
3738 return nil, err
3739 }
3740 if interceptor == nil {
3741 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3742 }
3743 info := &grpc.UnaryServerInfo{
3744 Server: srv,
3745 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3746 }
3747 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3748 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3749 }
3750 return interceptor(ctx, in, info, handler)
3751}
3752
3753func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3754 in := new(ImageDownload)
3755 if err := dec(in); err != nil {
3756 return nil, err
3757 }
3758 if interceptor == nil {
3759 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3760 }
3761 info := &grpc.UnaryServerInfo{
3762 Server: srv,
3763 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3764 }
3765 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3766 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3767 }
3768 return interceptor(ctx, in, info, handler)
3769}
3770
3771func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3772 in := new(ImageDownload)
3773 if err := dec(in); err != nil {
3774 return nil, err
3775 }
3776 if interceptor == nil {
3777 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3778 }
3779 info := &grpc.UnaryServerInfo{
3780 Server: srv,
3781 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3782 }
3783 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3784 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3785 }
3786 return interceptor(ctx, in, info, handler)
3787}
3788
3789func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3790 in := new(ImageDownload)
3791 if err := dec(in); err != nil {
3792 return nil, err
3793 }
3794 if interceptor == nil {
3795 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3796 }
3797 info := &grpc.UnaryServerInfo{
3798 Server: srv,
3799 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3800 }
3801 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3802 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3803 }
3804 return interceptor(ctx, in, info, handler)
3805}
3806
3807func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3808 in := new(common.ID)
3809 if err := dec(in); err != nil {
3810 return nil, err
3811 }
3812 if interceptor == nil {
3813 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3814 }
3815 info := &grpc.UnaryServerInfo{
3816 Server: srv,
3817 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3818 }
3819 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3820 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3821 }
3822 return interceptor(ctx, in, info, handler)
3823}
3824
3825func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3826 in := new(common.ID)
3827 if err := dec(in); err != nil {
3828 return nil, err
3829 }
3830 if interceptor == nil {
3831 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3832 }
3833 info := &grpc.UnaryServerInfo{
3834 Server: srv,
3835 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3836 }
3837 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3838 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3839 }
3840 return interceptor(ctx, in, info, handler)
3841}
3842
3843func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3844 in := new(PmConfigs)
3845 if err := dec(in); err != nil {
3846 return nil, err
3847 }
3848 if interceptor == nil {
3849 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3850 }
3851 info := &grpc.UnaryServerInfo{
3852 Server: srv,
3853 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3854 }
3855 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3856 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3857 }
3858 return interceptor(ctx, in, info, handler)
3859}
3860
3861func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3862 in := new(common.ID)
3863 if err := dec(in); err != nil {
3864 return nil, err
3865 }
3866 if interceptor == nil {
3867 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3868 }
3869 info := &grpc.UnaryServerInfo{
3870 Server: srv,
3871 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3872 }
3873 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3874 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3875 }
3876 return interceptor(ctx, in, info, handler)
3877}
3878
3879func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3880 in := new(common.ID)
3881 if err := dec(in); err != nil {
3882 return nil, err
3883 }
3884 if interceptor == nil {
3885 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3886 }
3887 info := &grpc.UnaryServerInfo{
3888 Server: srv,
3889 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3890 }
3891 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3892 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3893 }
3894 return interceptor(ctx, in, info, handler)
3895}
3896
3897func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3898 in := new(empty.Empty)
3899 if err := dec(in); err != nil {
3900 return nil, err
3901 }
3902 if interceptor == nil {
3903 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3904 }
3905 info := &grpc.UnaryServerInfo{
3906 Server: srv,
3907 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3908 }
3909 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3910 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
3911 }
3912 return interceptor(ctx, in, info, handler)
3913}
3914
3915func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3916 in := new(common.ID)
3917 if err := dec(in); err != nil {
3918 return nil, err
3919 }
3920 if interceptor == nil {
3921 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
3922 }
3923 info := &grpc.UnaryServerInfo{
3924 Server: srv,
3925 FullMethod: "/voltha.VolthaService/GetDeviceType",
3926 }
3927 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3928 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
3929 }
3930 return interceptor(ctx, in, info, handler)
3931}
3932
3933func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3934 in := new(empty.Empty)
3935 if err := dec(in); err != nil {
3936 return nil, err
3937 }
3938 if interceptor == nil {
3939 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
3940 }
3941 info := &grpc.UnaryServerInfo{
3942 Server: srv,
3943 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
3944 }
3945 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3946 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
3947 }
3948 return interceptor(ctx, in, info, handler)
3949}
3950
3951func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
3952 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
3953}
3954
3955type VolthaService_StreamPacketsOutServer interface {
3956 SendAndClose(*empty.Empty) error
3957 Recv() (*openflow_13.PacketOut, error)
3958 grpc.ServerStream
3959}
3960
3961type volthaServiceStreamPacketsOutServer struct {
3962 grpc.ServerStream
3963}
3964
3965func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
3966 return x.ServerStream.SendMsg(m)
3967}
3968
3969func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
3970 m := new(openflow_13.PacketOut)
3971 if err := x.ServerStream.RecvMsg(m); err != nil {
3972 return nil, err
3973 }
3974 return m, nil
3975}
3976
3977func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
3978 m := new(empty.Empty)
3979 if err := stream.RecvMsg(m); err != nil {
3980 return err
3981 }
3982 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
3983}
3984
3985type VolthaService_ReceivePacketsInServer interface {
3986 Send(*openflow_13.PacketIn) error
3987 grpc.ServerStream
3988}
3989
3990type volthaServiceReceivePacketsInServer struct {
3991 grpc.ServerStream
3992}
3993
3994func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
3995 return x.ServerStream.SendMsg(m)
3996}
3997
3998func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
3999 m := new(empty.Empty)
4000 if err := stream.RecvMsg(m); err != nil {
4001 return err
4002 }
4003 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
4004}
4005
4006type VolthaService_ReceiveChangeEventsServer interface {
4007 Send(*openflow_13.ChangeEvent) error
4008 grpc.ServerStream
4009}
4010
4011type volthaServiceReceiveChangeEventsServer struct {
4012 grpc.ServerStream
4013}
4014
4015func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
4016 return x.ServerStream.SendMsg(m)
4017}
4018
4019func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4020 in := new(common.ID)
4021 if err := dec(in); err != nil {
4022 return nil, err
4023 }
4024 if interceptor == nil {
4025 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
4026 }
4027 info := &grpc.UnaryServerInfo{
4028 Server: srv,
4029 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
4030 }
4031 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4032 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
4033 }
4034 return interceptor(ctx, in, info, handler)
4035}
4036
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004037func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4038 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004039 if err := dec(in); err != nil {
4040 return nil, err
4041 }
4042 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004043 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004044 }
4045 info := &grpc.UnaryServerInfo{
4046 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004047 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004048 }
4049 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004050 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004051 }
4052 return interceptor(ctx, in, info, handler)
4053}
4054
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004055func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004056 in := new(common.ID)
4057 if err := dec(in); err != nil {
4058 return nil, err
4059 }
4060 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004061 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004062 }
4063 info := &grpc.UnaryServerInfo{
4064 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004065 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004066 }
4067 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004068 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04004069 }
4070 return interceptor(ctx, in, info, handler)
4071}
4072
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004073func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4074 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004075 if err := dec(in); err != nil {
4076 return nil, err
4077 }
4078 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004079 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004080 }
4081 info := &grpc.UnaryServerInfo{
4082 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004083 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004084 }
4085 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004086 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004087 }
4088 return interceptor(ctx, in, info, handler)
4089}
4090
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004091func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4092 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004093 if err := dec(in); err != nil {
4094 return nil, err
4095 }
4096 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004097 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004098 }
4099 info := &grpc.UnaryServerInfo{
4100 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004101 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004102 }
4103 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004104 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004105 }
4106 return interceptor(ctx, in, info, handler)
4107}
4108
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004109func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004110 in := new(empty.Empty)
4111 if err := dec(in); err != nil {
4112 return nil, err
4113 }
4114 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004115 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004116 }
4117 info := &grpc.UnaryServerInfo{
4118 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004119 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04004120 }
4121 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004122 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04004123 }
4124 return interceptor(ctx, in, info, handler)
4125}
4126
4127func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4128 in := new(common.ID)
4129 if err := dec(in); err != nil {
4130 return nil, err
4131 }
4132 if interceptor == nil {
4133 return srv.(VolthaServiceServer).GetImages(ctx, in)
4134 }
4135 info := &grpc.UnaryServerInfo{
4136 Server: srv,
4137 FullMethod: "/voltha.VolthaService/GetImages",
4138 }
4139 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4140 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4141 }
4142 return interceptor(ctx, in, info, handler)
4143}
4144
4145func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4146 in := new(common.ID)
4147 if err := dec(in); err != nil {
4148 return nil, err
4149 }
4150 if interceptor == nil {
4151 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4152 }
4153 info := &grpc.UnaryServerInfo{
4154 Server: srv,
4155 FullMethod: "/voltha.VolthaService/SelfTest",
4156 }
4157 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4158 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4159 }
4160 return interceptor(ctx, in, info, handler)
4161}
4162
4163func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4164 in := new(common.ID)
4165 if err := dec(in); err != nil {
4166 return nil, err
4167 }
4168 if interceptor == nil {
4169 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4170 }
4171 info := &grpc.UnaryServerInfo{
4172 Server: srv,
4173 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4174 }
4175 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4176 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4177 }
4178 return interceptor(ctx, in, info, handler)
4179}
4180
4181func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4182 in := new(common.ID)
4183 if err := dec(in); err != nil {
4184 return nil, err
4185 }
4186 if interceptor == nil {
4187 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4188 }
4189 info := &grpc.UnaryServerInfo{
4190 Server: srv,
4191 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4192 }
4193 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4194 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4195 }
4196 return interceptor(ctx, in, info, handler)
4197}
4198
4199func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4200 in := new(SimulateAlarmRequest)
4201 if err := dec(in); err != nil {
4202 return nil, err
4203 }
4204 if interceptor == nil {
4205 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4206 }
4207 info := &grpc.UnaryServerInfo{
4208 Server: srv,
4209 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4210 }
4211 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4212 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4213 }
4214 return interceptor(ctx, in, info, handler)
4215}
4216
4217func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4218 in := new(OfAgentSubscriber)
4219 if err := dec(in); err != nil {
4220 return nil, err
4221 }
4222 if interceptor == nil {
4223 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4224 }
4225 info := &grpc.UnaryServerInfo{
4226 Server: srv,
4227 FullMethod: "/voltha.VolthaService/Subscribe",
4228 }
4229 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4230 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4231 }
4232 return interceptor(ctx, in, info, handler)
4233}
4234
kesavand4a002b02020-01-23 21:29:47 -05004235func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4236 in := new(Port)
4237 if err := dec(in); err != nil {
4238 return nil, err
4239 }
4240 if interceptor == nil {
4241 return srv.(VolthaServiceServer).EnablePort(ctx, in)
4242 }
4243 info := &grpc.UnaryServerInfo{
4244 Server: srv,
4245 FullMethod: "/voltha.VolthaService/EnablePort",
4246 }
4247 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4248 return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port))
4249 }
4250 return interceptor(ctx, in, info, handler)
4251}
4252
4253func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4254 in := new(Port)
4255 if err := dec(in); err != nil {
4256 return nil, err
4257 }
4258 if interceptor == nil {
4259 return srv.(VolthaServiceServer).DisablePort(ctx, in)
4260 }
4261 info := &grpc.UnaryServerInfo{
4262 Server: srv,
4263 FullMethod: "/voltha.VolthaService/DisablePort",
4264 }
4265 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4266 return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port))
4267 }
4268 return interceptor(ctx, in, info, handler)
4269}
4270
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004271func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4272 in := new(common.ValueSpecifier)
4273 if err := dec(in); err != nil {
4274 return nil, err
4275 }
4276 if interceptor == nil {
4277 return srv.(VolthaServiceServer).GetExtValue(ctx, in)
4278 }
4279 info := &grpc.UnaryServerInfo{
4280 Server: srv,
4281 FullMethod: "/voltha.VolthaService/GetExtValue",
4282 }
4283 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4284 return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*common.ValueSpecifier))
4285 }
4286 return interceptor(ctx, in, info, handler)
4287}
4288
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304289func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4290 in := new(OmciTestRequest)
4291 if err := dec(in); err != nil {
4292 return nil, err
4293 }
4294 if interceptor == nil {
4295 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in)
4296 }
4297 info := &grpc.UnaryServerInfo{
4298 Server: srv,
4299 FullMethod: "/voltha.VolthaService/StartOmciTestAction",
4300 }
4301 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4302 return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest))
4303 }
4304 return interceptor(ctx, in, info, handler)
4305}
4306
William Kurkian1b363f42019-03-12 15:28:12 -04004307var _VolthaService_serviceDesc = grpc.ServiceDesc{
4308 ServiceName: "voltha.VolthaService",
4309 HandlerType: (*VolthaServiceServer)(nil),
4310 Methods: []grpc.MethodDesc{
4311 {
William Kurkian1b363f42019-03-12 15:28:12 -04004312 MethodName: "GetMembership",
4313 Handler: _VolthaService_GetMembership_Handler,
4314 },
4315 {
4316 MethodName: "UpdateMembership",
4317 Handler: _VolthaService_UpdateMembership_Handler,
4318 },
4319 {
4320 MethodName: "GetVoltha",
4321 Handler: _VolthaService_GetVoltha_Handler,
4322 },
4323 {
4324 MethodName: "ListCoreInstances",
4325 Handler: _VolthaService_ListCoreInstances_Handler,
4326 },
4327 {
4328 MethodName: "GetCoreInstance",
4329 Handler: _VolthaService_GetCoreInstance_Handler,
4330 },
4331 {
4332 MethodName: "ListAdapters",
4333 Handler: _VolthaService_ListAdapters_Handler,
4334 },
4335 {
4336 MethodName: "ListLogicalDevices",
4337 Handler: _VolthaService_ListLogicalDevices_Handler,
4338 },
4339 {
4340 MethodName: "GetLogicalDevice",
4341 Handler: _VolthaService_GetLogicalDevice_Handler,
4342 },
4343 {
4344 MethodName: "ListLogicalDevicePorts",
4345 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4346 },
4347 {
4348 MethodName: "GetLogicalDevicePort",
4349 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4350 },
4351 {
4352 MethodName: "EnableLogicalDevicePort",
4353 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4354 },
4355 {
4356 MethodName: "DisableLogicalDevicePort",
4357 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4358 },
4359 {
4360 MethodName: "ListLogicalDeviceFlows",
4361 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4362 },
4363 {
4364 MethodName: "UpdateLogicalDeviceFlowTable",
4365 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4366 },
4367 {
4368 MethodName: "UpdateLogicalDeviceMeterTable",
4369 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4370 },
4371 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004372 MethodName: "ListLogicalDeviceMeters",
4373 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004374 },
4375 {
4376 MethodName: "ListLogicalDeviceFlowGroups",
4377 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4378 },
4379 {
4380 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4381 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4382 },
4383 {
4384 MethodName: "ListDevices",
4385 Handler: _VolthaService_ListDevices_Handler,
4386 },
4387 {
4388 MethodName: "ListDeviceIds",
4389 Handler: _VolthaService_ListDeviceIds_Handler,
4390 },
4391 {
4392 MethodName: "ReconcileDevices",
4393 Handler: _VolthaService_ReconcileDevices_Handler,
4394 },
4395 {
4396 MethodName: "GetDevice",
4397 Handler: _VolthaService_GetDevice_Handler,
4398 },
4399 {
4400 MethodName: "CreateDevice",
4401 Handler: _VolthaService_CreateDevice_Handler,
4402 },
4403 {
4404 MethodName: "EnableDevice",
4405 Handler: _VolthaService_EnableDevice_Handler,
4406 },
4407 {
4408 MethodName: "DisableDevice",
4409 Handler: _VolthaService_DisableDevice_Handler,
4410 },
4411 {
4412 MethodName: "RebootDevice",
4413 Handler: _VolthaService_RebootDevice_Handler,
4414 },
4415 {
4416 MethodName: "DeleteDevice",
4417 Handler: _VolthaService_DeleteDevice_Handler,
4418 },
4419 {
4420 MethodName: "DownloadImage",
4421 Handler: _VolthaService_DownloadImage_Handler,
4422 },
4423 {
4424 MethodName: "GetImageDownloadStatus",
4425 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4426 },
4427 {
4428 MethodName: "GetImageDownload",
4429 Handler: _VolthaService_GetImageDownload_Handler,
4430 },
4431 {
4432 MethodName: "ListImageDownloads",
4433 Handler: _VolthaService_ListImageDownloads_Handler,
4434 },
4435 {
4436 MethodName: "CancelImageDownload",
4437 Handler: _VolthaService_CancelImageDownload_Handler,
4438 },
4439 {
4440 MethodName: "ActivateImageUpdate",
4441 Handler: _VolthaService_ActivateImageUpdate_Handler,
4442 },
4443 {
4444 MethodName: "RevertImageUpdate",
4445 Handler: _VolthaService_RevertImageUpdate_Handler,
4446 },
4447 {
4448 MethodName: "ListDevicePorts",
4449 Handler: _VolthaService_ListDevicePorts_Handler,
4450 },
4451 {
4452 MethodName: "ListDevicePmConfigs",
4453 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4454 },
4455 {
4456 MethodName: "UpdateDevicePmConfigs",
4457 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4458 },
4459 {
4460 MethodName: "ListDeviceFlows",
4461 Handler: _VolthaService_ListDeviceFlows_Handler,
4462 },
4463 {
4464 MethodName: "ListDeviceFlowGroups",
4465 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4466 },
4467 {
4468 MethodName: "ListDeviceTypes",
4469 Handler: _VolthaService_ListDeviceTypes_Handler,
4470 },
4471 {
4472 MethodName: "GetDeviceType",
4473 Handler: _VolthaService_GetDeviceType_Handler,
4474 },
4475 {
4476 MethodName: "ListDeviceGroups",
4477 Handler: _VolthaService_ListDeviceGroups_Handler,
4478 },
4479 {
4480 MethodName: "GetDeviceGroup",
4481 Handler: _VolthaService_GetDeviceGroup_Handler,
4482 },
4483 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004484 MethodName: "CreateEventFilter",
4485 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004486 },
4487 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004488 MethodName: "GetEventFilter",
4489 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004490 },
4491 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004492 MethodName: "UpdateEventFilter",
4493 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004494 },
4495 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004496 MethodName: "DeleteEventFilter",
4497 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004498 },
4499 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004500 MethodName: "ListEventFilters",
4501 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004502 },
4503 {
4504 MethodName: "GetImages",
4505 Handler: _VolthaService_GetImages_Handler,
4506 },
4507 {
4508 MethodName: "SelfTest",
4509 Handler: _VolthaService_SelfTest_Handler,
4510 },
4511 {
4512 MethodName: "GetMibDeviceData",
4513 Handler: _VolthaService_GetMibDeviceData_Handler,
4514 },
4515 {
4516 MethodName: "GetAlarmDeviceData",
4517 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4518 },
4519 {
4520 MethodName: "SimulateAlarm",
4521 Handler: _VolthaService_SimulateAlarm_Handler,
4522 },
4523 {
4524 MethodName: "Subscribe",
4525 Handler: _VolthaService_Subscribe_Handler,
4526 },
kesavand4a002b02020-01-23 21:29:47 -05004527 {
4528 MethodName: "EnablePort",
4529 Handler: _VolthaService_EnablePort_Handler,
4530 },
4531 {
4532 MethodName: "DisablePort",
4533 Handler: _VolthaService_DisablePort_Handler,
4534 },
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304535 {
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -08004536 MethodName: "GetExtValue",
4537 Handler: _VolthaService_GetExtValue_Handler,
4538 },
4539 {
onkar.kundargi7b85fa12020-02-27 13:19:22 +05304540 MethodName: "StartOmciTestAction",
4541 Handler: _VolthaService_StartOmciTestAction_Handler,
4542 },
William Kurkian1b363f42019-03-12 15:28:12 -04004543 },
4544 Streams: []grpc.StreamDesc{
4545 {
4546 StreamName: "StreamPacketsOut",
4547 Handler: _VolthaService_StreamPacketsOut_Handler,
4548 ClientStreams: true,
4549 },
4550 {
4551 StreamName: "ReceivePacketsIn",
4552 Handler: _VolthaService_ReceivePacketsIn_Handler,
4553 ServerStreams: true,
4554 },
4555 {
4556 StreamName: "ReceiveChangeEvents",
4557 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4558 ServerStreams: true,
4559 },
4560 },
4561 Metadata: "voltha_protos/voltha.proto",
4562}