blob: 7a768b9119badd80f996675694c15e81c6761c02 [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"
Scott Baker383964b2019-11-01 14:26:07 -070011 common "github.com/opencord/voltha-protos/v2/go/common"
12 omci "github.com/opencord/voltha-protos/v2/go/omci"
13 openflow_13 "github.com/opencord/voltha-protos/v2/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
53// LogLevel from public import voltha_protos/common.proto
54type LogLevel = common.LogLevel
55
Scott Baker99af94e2019-08-20 10:45:06 -070056// Logging from public import voltha_protos/common.proto
57type Logging = common.Logging
58
59// LoggingComponent from public import voltha_protos/common.proto
60type LoggingComponent = common.LoggingComponent
61
62// Loggings from public import voltha_protos/common.proto
63type Loggings = common.Loggings
64
William Kurkian1b363f42019-03-12 15:28:12 -040065// AdminState from public import voltha_protos/common.proto
66type AdminState = common.AdminState
67
68// OperStatus from public import voltha_protos/common.proto
69type OperStatus = common.OperStatus
70
71// ConnectStatus from public import voltha_protos/common.proto
72type ConnectStatus = common.ConnectStatus
73
74// OperationResp from public import voltha_protos/common.proto
75type OperationResp = common.OperationResp
76
77// TestModeKeys from public import voltha_protos/common.proto
78type TestModeKeys = common.TestModeKeys
79
80var TestModeKeys_name = common.TestModeKeys_name
81var TestModeKeys_value = common.TestModeKeys_value
82
83const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
84
William Kurkianad745652019-03-20 08:45:51 -040085// LogLevel_LogLevel from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -040086type LogLevel_LogLevel = common.LogLevel_LogLevel
87
88var LogLevel_LogLevel_name = common.LogLevel_LogLevel_name
89var LogLevel_LogLevel_value = common.LogLevel_LogLevel_value
90
91const LogLevel_DEBUG = LogLevel_LogLevel(common.LogLevel_DEBUG)
92const LogLevel_INFO = LogLevel_LogLevel(common.LogLevel_INFO)
93const LogLevel_WARNING = LogLevel_LogLevel(common.LogLevel_WARNING)
94const LogLevel_ERROR = LogLevel_LogLevel(common.LogLevel_ERROR)
95const LogLevel_CRITICAL = LogLevel_LogLevel(common.LogLevel_CRITICAL)
96const LogLevel_FATAL = LogLevel_LogLevel(common.LogLevel_FATAL)
97
William Kurkianad745652019-03-20 08:45:51 -040098// AdminState_AdminState from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -040099type AdminState_AdminState = common.AdminState_AdminState
100
101var AdminState_AdminState_name = common.AdminState_AdminState_name
102var AdminState_AdminState_value = common.AdminState_AdminState_value
103
104const AdminState_UNKNOWN = AdminState_AdminState(common.AdminState_UNKNOWN)
105const AdminState_PREPROVISIONED = AdminState_AdminState(common.AdminState_PREPROVISIONED)
106const AdminState_ENABLED = AdminState_AdminState(common.AdminState_ENABLED)
107const AdminState_DISABLED = AdminState_AdminState(common.AdminState_DISABLED)
108const AdminState_DOWNLOADING_IMAGE = AdminState_AdminState(common.AdminState_DOWNLOADING_IMAGE)
109const AdminState_DELETED = AdminState_AdminState(common.AdminState_DELETED)
110
William Kurkianad745652019-03-20 08:45:51 -0400111// OperStatus_OperStatus from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400112type OperStatus_OperStatus = common.OperStatus_OperStatus
113
114var OperStatus_OperStatus_name = common.OperStatus_OperStatus_name
115var OperStatus_OperStatus_value = common.OperStatus_OperStatus_value
116
117const OperStatus_UNKNOWN = OperStatus_OperStatus(common.OperStatus_UNKNOWN)
118const OperStatus_DISCOVERED = OperStatus_OperStatus(common.OperStatus_DISCOVERED)
119const OperStatus_ACTIVATING = OperStatus_OperStatus(common.OperStatus_ACTIVATING)
120const OperStatus_TESTING = OperStatus_OperStatus(common.OperStatus_TESTING)
121const OperStatus_ACTIVE = OperStatus_OperStatus(common.OperStatus_ACTIVE)
122const OperStatus_FAILED = OperStatus_OperStatus(common.OperStatus_FAILED)
123
William Kurkianad745652019-03-20 08:45:51 -0400124// ConnectStatus_ConnectStatus from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400125type ConnectStatus_ConnectStatus = common.ConnectStatus_ConnectStatus
126
127var ConnectStatus_ConnectStatus_name = common.ConnectStatus_ConnectStatus_name
128var ConnectStatus_ConnectStatus_value = common.ConnectStatus_ConnectStatus_value
129
130const ConnectStatus_UNKNOWN = ConnectStatus_ConnectStatus(common.ConnectStatus_UNKNOWN)
131const ConnectStatus_UNREACHABLE = ConnectStatus_ConnectStatus(common.ConnectStatus_UNREACHABLE)
132const ConnectStatus_REACHABLE = ConnectStatus_ConnectStatus(common.ConnectStatus_REACHABLE)
133
William Kurkianad745652019-03-20 08:45:51 -0400134// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400135type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
136
137var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
138var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
139
140const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
141const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
142const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
143
William Kurkianad745652019-03-20 08:45:51 -0400144// OfpHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400145type OfpHeader = openflow_13.OfpHeader
146
William Kurkianad745652019-03-20 08:45:51 -0400147// OfpHelloElemHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400148type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader
149type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap
150
William Kurkianad745652019-03-20 08:45:51 -0400151// OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400152type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap
153
William Kurkianad745652019-03-20 08:45:51 -0400154// OfpHello from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400155type OfpHello = openflow_13.OfpHello
156
William Kurkianad745652019-03-20 08:45:51 -0400157// OfpSwitchConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400158type OfpSwitchConfig = openflow_13.OfpSwitchConfig
159
William Kurkianad745652019-03-20 08:45:51 -0400160// OfpTableMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400161type OfpTableMod = openflow_13.OfpTableMod
162
William Kurkianad745652019-03-20 08:45:51 -0400163// OfpPort from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400164type OfpPort = openflow_13.OfpPort
165
William Kurkianad745652019-03-20 08:45:51 -0400166// OfpSwitchFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400167type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures
168
William Kurkianad745652019-03-20 08:45:51 -0400169// OfpPortStatus from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400170type OfpPortStatus = openflow_13.OfpPortStatus
171
William Kurkianad745652019-03-20 08:45:51 -0400172// OfpPortMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400173type OfpPortMod = openflow_13.OfpPortMod
174
William Kurkianad745652019-03-20 08:45:51 -0400175// OfpMatch from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400176type OfpMatch = openflow_13.OfpMatch
177
William Kurkianad745652019-03-20 08:45:51 -0400178// OfpOxmField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400179type OfpOxmField = openflow_13.OfpOxmField
180type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField
181type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField
182
William Kurkianad745652019-03-20 08:45:51 -0400183// OfpOxmOfbField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400184type OfpOxmOfbField = openflow_13.OfpOxmOfbField
185type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port
186type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort
187type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata
188type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst
189type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc
190type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType
191type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid
192type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp
193type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp
194type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn
195type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto
196type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src
197type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst
198type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc
199type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst
200type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc
201type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst
202type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc
203type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst
204type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type
205type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code
206type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp
207type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa
208type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa
209type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha
210type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha
211type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src
212type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst
213type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel
214type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type
215type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code
216type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget
217type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl
218type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll
219type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel
220type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc
221type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos
222type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid
223type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId
224type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr
225type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask
226type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask
227type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask
228type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask
229type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask
230type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask
231type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask
232type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask
233type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask
234type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask
235type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask
236type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask
237type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask
238type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask
239
William Kurkianad745652019-03-20 08:45:51 -0400240// OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400241type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField
242
William Kurkianad745652019-03-20 08:45:51 -0400243// OfpAction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400244type OfpAction = openflow_13.OfpAction
245type OfpAction_Output = openflow_13.OfpAction_Output
246type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl
247type OfpAction_Push = openflow_13.OfpAction_Push
248type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls
249type OfpAction_Group = openflow_13.OfpAction_Group
250type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl
251type OfpAction_SetField = openflow_13.OfpAction_SetField
252type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter
253
William Kurkianad745652019-03-20 08:45:51 -0400254// OfpActionOutput from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400255type OfpActionOutput = openflow_13.OfpActionOutput
256
William Kurkianad745652019-03-20 08:45:51 -0400257// OfpActionMplsTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400258type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl
259
William Kurkianad745652019-03-20 08:45:51 -0400260// OfpActionPush from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400261type OfpActionPush = openflow_13.OfpActionPush
262
William Kurkianad745652019-03-20 08:45:51 -0400263// OfpActionPopMpls from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400264type OfpActionPopMpls = openflow_13.OfpActionPopMpls
265
William Kurkianad745652019-03-20 08:45:51 -0400266// OfpActionGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400267type OfpActionGroup = openflow_13.OfpActionGroup
268
William Kurkianad745652019-03-20 08:45:51 -0400269// OfpActionNwTtl from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400270type OfpActionNwTtl = openflow_13.OfpActionNwTtl
271
William Kurkianad745652019-03-20 08:45:51 -0400272// OfpActionSetField from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400273type OfpActionSetField = openflow_13.OfpActionSetField
274
William Kurkianad745652019-03-20 08:45:51 -0400275// OfpActionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400276type OfpActionExperimenter = openflow_13.OfpActionExperimenter
277
William Kurkianad745652019-03-20 08:45:51 -0400278// OfpInstruction from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400279type OfpInstruction = openflow_13.OfpInstruction
280type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable
281type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata
282type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions
283type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter
284type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter
285
William Kurkianad745652019-03-20 08:45:51 -0400286// OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400287type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable
288
William Kurkianad745652019-03-20 08:45:51 -0400289// OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400290type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata
291
William Kurkianad745652019-03-20 08:45:51 -0400292// OfpInstructionActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400293type OfpInstructionActions = openflow_13.OfpInstructionActions
294
William Kurkianad745652019-03-20 08:45:51 -0400295// OfpInstructionMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400296type OfpInstructionMeter = openflow_13.OfpInstructionMeter
297
William Kurkianad745652019-03-20 08:45:51 -0400298// OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400299type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter
300
William Kurkianad745652019-03-20 08:45:51 -0400301// OfpFlowMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400302type OfpFlowMod = openflow_13.OfpFlowMod
303
William Kurkianad745652019-03-20 08:45:51 -0400304// OfpBucket from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400305type OfpBucket = openflow_13.OfpBucket
306
William Kurkianad745652019-03-20 08:45:51 -0400307// OfpGroupMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400308type OfpGroupMod = openflow_13.OfpGroupMod
309
William Kurkianad745652019-03-20 08:45:51 -0400310// OfpPacketOut from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400311type OfpPacketOut = openflow_13.OfpPacketOut
312
William Kurkianad745652019-03-20 08:45:51 -0400313// OfpPacketIn from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400314type OfpPacketIn = openflow_13.OfpPacketIn
315
William Kurkianad745652019-03-20 08:45:51 -0400316// OfpFlowRemoved from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400317type OfpFlowRemoved = openflow_13.OfpFlowRemoved
318
William Kurkianad745652019-03-20 08:45:51 -0400319// OfpMeterBandHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400320type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader
321type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop
322type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark
323type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter
324
William Kurkianad745652019-03-20 08:45:51 -0400325// OfpMeterBandDrop from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400326type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop
327
William Kurkianad745652019-03-20 08:45:51 -0400328// OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400329type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark
330
William Kurkianad745652019-03-20 08:45:51 -0400331// OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400332type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter
333
William Kurkianad745652019-03-20 08:45:51 -0400334// OfpMeterMod from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400335type OfpMeterMod = openflow_13.OfpMeterMod
336
William Kurkianad745652019-03-20 08:45:51 -0400337// OfpErrorMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400338type OfpErrorMsg = openflow_13.OfpErrorMsg
339
William Kurkianad745652019-03-20 08:45:51 -0400340// OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400341type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg
342
William Kurkianad745652019-03-20 08:45:51 -0400343// OfpMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400344type OfpMultipartRequest = openflow_13.OfpMultipartRequest
345
William Kurkianad745652019-03-20 08:45:51 -0400346// OfpMultipartReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400347type OfpMultipartReply = openflow_13.OfpMultipartReply
348
William Kurkianad745652019-03-20 08:45:51 -0400349// OfpDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400350type OfpDesc = openflow_13.OfpDesc
351
William Kurkianad745652019-03-20 08:45:51 -0400352// OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400353type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest
354
William Kurkianad745652019-03-20 08:45:51 -0400355// OfpFlowStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400356type OfpFlowStats = openflow_13.OfpFlowStats
357
William Kurkianad745652019-03-20 08:45:51 -0400358// OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400359type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest
360
William Kurkianad745652019-03-20 08:45:51 -0400361// OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400362type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply
363
William Kurkianad745652019-03-20 08:45:51 -0400364// OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400365type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty
366type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions
367type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables
368type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions
369type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm
370type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter
371
William Kurkianad745652019-03-20 08:45:51 -0400372// OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400373type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions
374
William Kurkianad745652019-03-20 08:45:51 -0400375// OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400376type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables
377
William Kurkianad745652019-03-20 08:45:51 -0400378// OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400379type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions
380
William Kurkianad745652019-03-20 08:45:51 -0400381// OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400382type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm
383
William Kurkianad745652019-03-20 08:45:51 -0400384// OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400385type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter
386
William Kurkianad745652019-03-20 08:45:51 -0400387// OfpTableFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400388type OfpTableFeatures = openflow_13.OfpTableFeatures
389
William Kurkianad745652019-03-20 08:45:51 -0400390// OfpTableStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400391type OfpTableStats = openflow_13.OfpTableStats
392
William Kurkianad745652019-03-20 08:45:51 -0400393// OfpPortStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400394type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest
395
William Kurkianad745652019-03-20 08:45:51 -0400396// OfpPortStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400397type OfpPortStats = openflow_13.OfpPortStats
398
William Kurkianad745652019-03-20 08:45:51 -0400399// OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400400type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest
401
William Kurkianad745652019-03-20 08:45:51 -0400402// OfpBucketCounter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400403type OfpBucketCounter = openflow_13.OfpBucketCounter
404
William Kurkianad745652019-03-20 08:45:51 -0400405// OfpGroupStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400406type OfpGroupStats = openflow_13.OfpGroupStats
407
William Kurkianad745652019-03-20 08:45:51 -0400408// OfpGroupDesc from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400409type OfpGroupDesc = openflow_13.OfpGroupDesc
410
William Kurkianad745652019-03-20 08:45:51 -0400411// OfpGroupEntry from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400412type OfpGroupEntry = openflow_13.OfpGroupEntry
413
William Kurkianad745652019-03-20 08:45:51 -0400414// OfpGroupFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400415type OfpGroupFeatures = openflow_13.OfpGroupFeatures
416
William Kurkianad745652019-03-20 08:45:51 -0400417// OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400418type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest
419
William Kurkianad745652019-03-20 08:45:51 -0400420// OfpMeterBandStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400421type OfpMeterBandStats = openflow_13.OfpMeterBandStats
422
William Kurkianad745652019-03-20 08:45:51 -0400423// OfpMeterStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400424type OfpMeterStats = openflow_13.OfpMeterStats
425
William Kurkianad745652019-03-20 08:45:51 -0400426// OfpMeterConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400427type OfpMeterConfig = openflow_13.OfpMeterConfig
428
William Kurkianad745652019-03-20 08:45:51 -0400429// OfpMeterFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400430type OfpMeterFeatures = openflow_13.OfpMeterFeatures
431
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -0400432// OfpMeterEntry from public import voltha_protos/openflow_13.proto
433type OfpMeterEntry = openflow_13.OfpMeterEntry
434
William Kurkianad745652019-03-20 08:45:51 -0400435// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400436type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
437
William Kurkianad745652019-03-20 08:45:51 -0400438// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400439type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
440
William Kurkianad745652019-03-20 08:45:51 -0400441// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400442type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
443
William Kurkianad745652019-03-20 08:45:51 -0400444// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400445type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
446
William Kurkianad745652019-03-20 08:45:51 -0400447// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400448type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
449
William Kurkianad745652019-03-20 08:45:51 -0400450// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400451type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
452
William Kurkianad745652019-03-20 08:45:51 -0400453// OfpPacketQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400454type OfpPacketQueue = openflow_13.OfpPacketQueue
455
William Kurkianad745652019-03-20 08:45:51 -0400456// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400457type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
458
William Kurkianad745652019-03-20 08:45:51 -0400459// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400460type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
461
William Kurkianad745652019-03-20 08:45:51 -0400462// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400463type OfpActionSetQueue = openflow_13.OfpActionSetQueue
464
William Kurkianad745652019-03-20 08:45:51 -0400465// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400466type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
467
William Kurkianad745652019-03-20 08:45:51 -0400468// OfpQueueStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400469type OfpQueueStats = openflow_13.OfpQueueStats
470
William Kurkianad745652019-03-20 08:45:51 -0400471// OfpRoleRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400472type OfpRoleRequest = openflow_13.OfpRoleRequest
473
William Kurkianad745652019-03-20 08:45:51 -0400474// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400475type OfpAsyncConfig = openflow_13.OfpAsyncConfig
476
477// MeterModUpdate from public import voltha_protos/openflow_13.proto
478type MeterModUpdate = openflow_13.MeterModUpdate
479
480// MeterStatsReply from public import voltha_protos/openflow_13.proto
481type MeterStatsReply = openflow_13.MeterStatsReply
482
483// FlowTableUpdate from public import voltha_protos/openflow_13.proto
484type FlowTableUpdate = openflow_13.FlowTableUpdate
485
486// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
487type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
488
489// Flows from public import voltha_protos/openflow_13.proto
490type Flows = openflow_13.Flows
491
492// Meters from public import voltha_protos/openflow_13.proto
493type Meters = openflow_13.Meters
494
495// FlowGroups from public import voltha_protos/openflow_13.proto
496type FlowGroups = openflow_13.FlowGroups
497
498// FlowChanges from public import voltha_protos/openflow_13.proto
499type FlowChanges = openflow_13.FlowChanges
500
501// FlowGroupChanges from public import voltha_protos/openflow_13.proto
502type FlowGroupChanges = openflow_13.FlowGroupChanges
503
504// PacketIn from public import voltha_protos/openflow_13.proto
505type PacketIn = openflow_13.PacketIn
506
507// PacketOut from public import voltha_protos/openflow_13.proto
508type PacketOut = openflow_13.PacketOut
509
510// ChangeEvent from public import voltha_protos/openflow_13.proto
511type ChangeEvent = openflow_13.ChangeEvent
512type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
513
William Kurkianad745652019-03-20 08:45:51 -0400514// OfpPortNo from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400515type OfpPortNo = openflow_13.OfpPortNo
516
517var OfpPortNo_name = openflow_13.OfpPortNo_name
518var OfpPortNo_value = openflow_13.OfpPortNo_value
519
520const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
521const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
522const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
523const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
524const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
525const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
526const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
527const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
528const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
529const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
530
William Kurkianad745652019-03-20 08:45:51 -0400531// OfpType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400532type OfpType = openflow_13.OfpType
533
534var OfpType_name = openflow_13.OfpType_name
535var OfpType_value = openflow_13.OfpType_value
536
537const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
538const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
539const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
540const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
541const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
542const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
543const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
544const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
545const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
546const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
547const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
548const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
549const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
550const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
551const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
552const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
553const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
554const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
555const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
556const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
557const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
558const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
559const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
560const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
561const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
562const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
563const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
564const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
565const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
566const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
567
William Kurkianad745652019-03-20 08:45:51 -0400568// OfpHelloElemType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400569type OfpHelloElemType = openflow_13.OfpHelloElemType
570
571var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
572var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
573
574const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
575const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
576
William Kurkianad745652019-03-20 08:45:51 -0400577// OfpConfigFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400578type OfpConfigFlags = openflow_13.OfpConfigFlags
579
580var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
581var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
582
583const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
584const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
585const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
586const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
587
William Kurkianad745652019-03-20 08:45:51 -0400588// OfpTableConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400589type OfpTableConfig = openflow_13.OfpTableConfig
590
591var OfpTableConfig_name = openflow_13.OfpTableConfig_name
592var OfpTableConfig_value = openflow_13.OfpTableConfig_value
593
594const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
595const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
596
William Kurkianad745652019-03-20 08:45:51 -0400597// OfpTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400598type OfpTable = openflow_13.OfpTable
599
600var OfpTable_name = openflow_13.OfpTable_name
601var OfpTable_value = openflow_13.OfpTable_value
602
603const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
604const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
605const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
606
William Kurkianad745652019-03-20 08:45:51 -0400607// OfpCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400608type OfpCapabilities = openflow_13.OfpCapabilities
609
610var OfpCapabilities_name = openflow_13.OfpCapabilities_name
611var OfpCapabilities_value = openflow_13.OfpCapabilities_value
612
613const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
614const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
615const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
616const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
617const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
618const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
619const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
620const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
621
William Kurkianad745652019-03-20 08:45:51 -0400622// OfpPortConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400623type OfpPortConfig = openflow_13.OfpPortConfig
624
625var OfpPortConfig_name = openflow_13.OfpPortConfig_name
626var OfpPortConfig_value = openflow_13.OfpPortConfig_value
627
628const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
629const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
630const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
631const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
632const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
633
William Kurkianad745652019-03-20 08:45:51 -0400634// OfpPortState from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400635type OfpPortState = openflow_13.OfpPortState
636
637var OfpPortState_name = openflow_13.OfpPortState_name
638var OfpPortState_value = openflow_13.OfpPortState_value
639
640const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
641const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
642const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
643const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
644
William Kurkianad745652019-03-20 08:45:51 -0400645// OfpPortFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400646type OfpPortFeatures = openflow_13.OfpPortFeatures
647
648var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
649var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
650
651const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
652const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
653const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
654const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
655const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
656const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
657const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
658const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
659const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
660const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
661const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
662const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
663const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
664const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
665const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
666const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
667const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
668
William Kurkianad745652019-03-20 08:45:51 -0400669// OfpPortReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400670type OfpPortReason = openflow_13.OfpPortReason
671
672var OfpPortReason_name = openflow_13.OfpPortReason_name
673var OfpPortReason_value = openflow_13.OfpPortReason_value
674
675const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
676const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
677const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
678
William Kurkianad745652019-03-20 08:45:51 -0400679// OfpMatchType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400680type OfpMatchType = openflow_13.OfpMatchType
681
682var OfpMatchType_name = openflow_13.OfpMatchType_name
683var OfpMatchType_value = openflow_13.OfpMatchType_value
684
685const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
686const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
687
William Kurkianad745652019-03-20 08:45:51 -0400688// OfpOxmClass from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400689type OfpOxmClass = openflow_13.OfpOxmClass
690
691var OfpOxmClass_name = openflow_13.OfpOxmClass_name
692var OfpOxmClass_value = openflow_13.OfpOxmClass_value
693
694const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
695const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
696const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
697const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
698
William Kurkianad745652019-03-20 08:45:51 -0400699// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400700type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
701
702var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
703var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
704
705const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
706const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
707const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
708const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
709const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
710const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
711const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
712const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
713const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
714const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
715const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
716const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
717const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
718const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
719const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
720const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
721const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
722const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
723const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
724const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
725const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
726const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
727const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
728const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
729const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
730const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
731const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
732const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
733const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
734const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
735const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
736const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
737const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
738const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
739const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
740const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
741const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
742const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
743const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
744const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
745
William Kurkianad745652019-03-20 08:45:51 -0400746// OfpVlanId from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400747type OfpVlanId = openflow_13.OfpVlanId
748
749var OfpVlanId_name = openflow_13.OfpVlanId_name
750var OfpVlanId_value = openflow_13.OfpVlanId_value
751
752const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
753const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
754
William Kurkianad745652019-03-20 08:45:51 -0400755// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400756type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
757
758var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
759var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
760
761const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
762const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
763const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
764const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
765const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
766const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
767const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
768const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
769const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
770const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
771
William Kurkianad745652019-03-20 08:45:51 -0400772// OfpActionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400773type OfpActionType = openflow_13.OfpActionType
774
775var OfpActionType_name = openflow_13.OfpActionType_name
776var OfpActionType_value = openflow_13.OfpActionType_value
777
778const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
779const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
780const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
781const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
782const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
783const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
784const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
785const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
786const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
787const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
788const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
789const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
790const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
791const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
792const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
793const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
794const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
795
William Kurkianad745652019-03-20 08:45:51 -0400796// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400797type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
798
799var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
800var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
801
802const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
803const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
804const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
805
William Kurkianad745652019-03-20 08:45:51 -0400806// OfpInstructionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400807type OfpInstructionType = openflow_13.OfpInstructionType
808
809var OfpInstructionType_name = openflow_13.OfpInstructionType_name
810var OfpInstructionType_value = openflow_13.OfpInstructionType_value
811
812const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
813const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
814const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
815const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
816const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
817const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
818const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
819const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
820
William Kurkianad745652019-03-20 08:45:51 -0400821// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400822type OfpFlowModCommand = openflow_13.OfpFlowModCommand
823
824var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
825var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
826
827const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
828const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
829const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
830const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
831const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
832
William Kurkianad745652019-03-20 08:45:51 -0400833// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400834type OfpFlowModFlags = openflow_13.OfpFlowModFlags
835
836var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
837var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
838
839const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
840const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
841const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
842const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
843const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
844const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
845
William Kurkianad745652019-03-20 08:45:51 -0400846// OfpGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400847type OfpGroup = openflow_13.OfpGroup
848
849var OfpGroup_name = openflow_13.OfpGroup_name
850var OfpGroup_value = openflow_13.OfpGroup_value
851
852const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
853const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
854const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
855const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
856
William Kurkianad745652019-03-20 08:45:51 -0400857// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400858type OfpGroupModCommand = openflow_13.OfpGroupModCommand
859
860var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
861var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
862
863const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
864const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
865const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
866
William Kurkianad745652019-03-20 08:45:51 -0400867// OfpGroupType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400868type OfpGroupType = openflow_13.OfpGroupType
869
870var OfpGroupType_name = openflow_13.OfpGroupType_name
871var OfpGroupType_value = openflow_13.OfpGroupType_value
872
873const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
874const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
875const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
876const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
877
William Kurkianad745652019-03-20 08:45:51 -0400878// OfpPacketInReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400879type OfpPacketInReason = openflow_13.OfpPacketInReason
880
881var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
882var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
883
884const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
885const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
886const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
887
William Kurkianad745652019-03-20 08:45:51 -0400888// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400889type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
890
891var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
892var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
893
894const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
895const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
896const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
897const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
898const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
899
William Kurkianad745652019-03-20 08:45:51 -0400900// OfpMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400901type OfpMeter = openflow_13.OfpMeter
902
903var OfpMeter_name = openflow_13.OfpMeter_name
904var OfpMeter_value = openflow_13.OfpMeter_value
905
906const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
907const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
908const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
909const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
910const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
911
William Kurkianad745652019-03-20 08:45:51 -0400912// OfpMeterBandType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400913type OfpMeterBandType = openflow_13.OfpMeterBandType
914
915var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
916var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
917
918const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
919const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
920const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
921const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
922
William Kurkianad745652019-03-20 08:45:51 -0400923// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400924type OfpMeterModCommand = openflow_13.OfpMeterModCommand
925
926var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
927var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
928
929const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
930const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
931const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
932
William Kurkianad745652019-03-20 08:45:51 -0400933// OfpMeterFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400934type OfpMeterFlags = openflow_13.OfpMeterFlags
935
936var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
937var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
938
939const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
940const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
941const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
942const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
943const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
944
William Kurkianad745652019-03-20 08:45:51 -0400945// OfpErrorType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400946type OfpErrorType = openflow_13.OfpErrorType
947
948var OfpErrorType_name = openflow_13.OfpErrorType_name
949var OfpErrorType_value = openflow_13.OfpErrorType_value
950
951const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
952const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
953const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
954const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
955const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
956const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
957const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
958const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
959const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
960const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
961const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
962const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
963const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
964const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
965const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
966
William Kurkianad745652019-03-20 08:45:51 -0400967// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400968type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
969
970var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
971var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
972
973const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
974const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
975
William Kurkianad745652019-03-20 08:45:51 -0400976// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400977type OfpBadRequestCode = openflow_13.OfpBadRequestCode
978
979var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
980var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
981
982const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
983const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
984const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
985const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
986const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
987const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
988const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
989const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
990const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
991const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
992const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
993const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
994const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
995const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
996
William Kurkianad745652019-03-20 08:45:51 -0400997// OfpBadActionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400998type OfpBadActionCode = openflow_13.OfpBadActionCode
999
1000var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
1001var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
1002
1003const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
1004const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
1005const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
1006const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
1007const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
1008const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
1009const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
1010const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
1011const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
1012const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
1013const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
1014const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
1015const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
1016const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
1017const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
1018const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
1019
William Kurkianad745652019-03-20 08:45:51 -04001020// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001021type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
1022
1023var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
1024var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1025
1026const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1027const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1028const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1029const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1030const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1031const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1032const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1033const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1034const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1035
William Kurkianad745652019-03-20 08:45:51 -04001036// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001037type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1038
1039var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1040var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1041
1042const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1043const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1044const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1045const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1046const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1047const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1048const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1049const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1050const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1051const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1052const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1053const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1054
William Kurkianad745652019-03-20 08:45:51 -04001055// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001056type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1057
1058var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1059var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1060
1061const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1062const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1063const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1064const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1065const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1066const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1067const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1068const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1069
William Kurkianad745652019-03-20 08:45:51 -04001070// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001071type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1072
1073var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1074var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1075
1076const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1077const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1078const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1079const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1080const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1081const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1082const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1083const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1084const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1085const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1086const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1087const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1088const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1089const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1090const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1091
William Kurkianad745652019-03-20 08:45:51 -04001092// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001093type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1094
1095var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1096var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1097
1098const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1099const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1100const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1101const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1102const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1103
William Kurkianad745652019-03-20 08:45:51 -04001104// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001105type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1106
1107var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1108var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1109
1110const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1111const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1112const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1113
William Kurkianad745652019-03-20 08:45:51 -04001114// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001115type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1116
1117var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1118var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1119
1120const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1121const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1122const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1123
William Kurkianad745652019-03-20 08:45:51 -04001124// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001125type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1126
1127var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1128var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1129
1130const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1131const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1132const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1133
William Kurkianad745652019-03-20 08:45:51 -04001134// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001135type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1136
1137var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1138var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1139
1140const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1141const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1142const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1143
William Kurkianad745652019-03-20 08:45:51 -04001144// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001145type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1146
1147var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1148var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1149
1150const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1151const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1152const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1153const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1154const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1155const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1156const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1157const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1158const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
1159const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_VALUE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_VALUE)
1160const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1161const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1162
William Kurkianad745652019-03-20 08:45:51 -04001163// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001164type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1165
1166var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1167var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1168
1169const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1170const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1171const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1172const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1173const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1174const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1175
William Kurkianad745652019-03-20 08:45:51 -04001176// OfpMultipartType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001177type OfpMultipartType = openflow_13.OfpMultipartType
1178
1179var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1180var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1181
1182const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1183const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1184const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1185const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1186const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1187const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1188const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1189const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1190const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1191const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1192const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1193const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1194const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1195const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1196const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1197
William Kurkianad745652019-03-20 08:45:51 -04001198// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001199type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1200
1201var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1202var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1203
1204const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1205const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1206
William Kurkianad745652019-03-20 08:45:51 -04001207// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001208type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1209
1210var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1211var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1212
1213const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1214const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1215
William Kurkianad745652019-03-20 08:45:51 -04001216// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001217type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1218
1219var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1220var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1221
1222const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1223const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1224const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1225const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1226const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1227const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1228const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1229const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1230const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1231const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1232const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1233const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1234const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1235const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1236const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1237const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1238
William Kurkianad745652019-03-20 08:45:51 -04001239// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001240type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1241
1242var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1243var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1244
1245const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1246const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1247const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1248const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1249const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1250
William Kurkianad745652019-03-20 08:45:51 -04001251// OfpQueueProperties from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001252type OfpQueueProperties = openflow_13.OfpQueueProperties
1253
1254var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1255var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1256
1257const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1258const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1259const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1260const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1261
William Kurkianad745652019-03-20 08:45:51 -04001262// OfpControllerRole from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001263type OfpControllerRole = openflow_13.OfpControllerRole
1264
1265var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1266var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1267
1268const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1269const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1270const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1271const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1272
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001273type EventFilterRuleKey_EventFilterRuleType int32
William Kurkian1b363f42019-03-12 15:28:12 -04001274
1275const (
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001276 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1277 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1278 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1279 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1280 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1281 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
William Kurkian1b363f42019-03-12 15:28:12 -04001282)
1283
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001284var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1285 0: "filter_all",
1286 1: "category",
1287 2: "sub_category",
1288 3: "kpi_event_type",
1289 4: "config_event_type",
1290 5: "device_event_type",
William Kurkian1b363f42019-03-12 15:28:12 -04001291}
William Kurkianad745652019-03-20 08:45:51 -04001292
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001293var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1294 "filter_all": 0,
1295 "category": 1,
1296 "sub_category": 2,
1297 "kpi_event_type": 3,
1298 "config_event_type": 4,
1299 "device_event_type": 5,
William Kurkian1b363f42019-03-12 15:28:12 -04001300}
1301
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001302func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1303 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -04001304}
William Kurkianad745652019-03-20 08:45:51 -04001305
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001306func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001307 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001308}
1309
1310type SelfTestResponse_SelfTestResult int32
1311
1312const (
1313 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1314 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1315 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1316 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1317)
1318
1319var SelfTestResponse_SelfTestResult_name = map[int32]string{
1320 0: "SUCCESS",
1321 1: "FAILURE",
1322 2: "NOT_SUPPORTED",
1323 3: "UNKNOWN_ERROR",
1324}
William Kurkianad745652019-03-20 08:45:51 -04001325
William Kurkian1b363f42019-03-12 15:28:12 -04001326var SelfTestResponse_SelfTestResult_value = map[string]int32{
1327 "SUCCESS": 0,
1328 "FAILURE": 1,
1329 "NOT_SUPPORTED": 2,
1330 "UNKNOWN_ERROR": 3,
1331}
1332
1333func (x SelfTestResponse_SelfTestResult) String() string {
1334 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1335}
William Kurkianad745652019-03-20 08:45:51 -04001336
William Kurkian1b363f42019-03-12 15:28:12 -04001337func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001338 return fileDescriptor_e084f1a60ce7016c, []int{9, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001339}
1340
1341type DeviceGroup struct {
1342 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1343 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1344 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1345 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1346 XXX_unrecognized []byte `json:"-"`
1347 XXX_sizecache int32 `json:"-"`
1348}
1349
1350func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1351func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1352func (*DeviceGroup) ProtoMessage() {}
1353func (*DeviceGroup) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001354 return fileDescriptor_e084f1a60ce7016c, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -04001355}
William Kurkianad745652019-03-20 08:45:51 -04001356
William Kurkian1b363f42019-03-12 15:28:12 -04001357func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1358 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1359}
1360func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1361 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1362}
William Kurkianad745652019-03-20 08:45:51 -04001363func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1364 xxx_messageInfo_DeviceGroup.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001365}
1366func (m *DeviceGroup) XXX_Size() int {
1367 return xxx_messageInfo_DeviceGroup.Size(m)
1368}
1369func (m *DeviceGroup) XXX_DiscardUnknown() {
1370 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1371}
1372
1373var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1374
1375func (m *DeviceGroup) GetId() string {
1376 if m != nil {
1377 return m.Id
1378 }
1379 return ""
1380}
1381
1382func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1383 if m != nil {
1384 return m.LogicalDevices
1385 }
1386 return nil
1387}
1388
1389func (m *DeviceGroup) GetDevices() []*Device {
1390 if m != nil {
1391 return m.Devices
1392 }
1393 return nil
1394}
1395
1396type DeviceGroups struct {
1397 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1398 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1399 XXX_unrecognized []byte `json:"-"`
1400 XXX_sizecache int32 `json:"-"`
1401}
1402
1403func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1404func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1405func (*DeviceGroups) ProtoMessage() {}
1406func (*DeviceGroups) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001407 return fileDescriptor_e084f1a60ce7016c, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -04001408}
William Kurkianad745652019-03-20 08:45:51 -04001409
William Kurkian1b363f42019-03-12 15:28:12 -04001410func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1411 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1412}
1413func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1414 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1415}
William Kurkianad745652019-03-20 08:45:51 -04001416func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1417 xxx_messageInfo_DeviceGroups.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001418}
1419func (m *DeviceGroups) XXX_Size() int {
1420 return xxx_messageInfo_DeviceGroups.Size(m)
1421}
1422func (m *DeviceGroups) XXX_DiscardUnknown() {
1423 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1424}
1425
1426var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1427
1428func (m *DeviceGroups) GetItems() []*DeviceGroup {
1429 if m != nil {
1430 return m.Items
1431 }
1432 return nil
1433}
1434
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001435type EventFilterRuleKey struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001436 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1437 XXX_unrecognized []byte `json:"-"`
1438 XXX_sizecache int32 `json:"-"`
1439}
1440
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001441func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1442func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1443func (*EventFilterRuleKey) ProtoMessage() {}
1444func (*EventFilterRuleKey) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001445 return fileDescriptor_e084f1a60ce7016c, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -04001446}
William Kurkianad745652019-03-20 08:45:51 -04001447
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001448func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1449 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001450}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001451func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1452 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001453}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001454func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1455 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001456}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001457func (m *EventFilterRuleKey) XXX_Size() int {
1458 return xxx_messageInfo_EventFilterRuleKey.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001459}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001460func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1461 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001462}
1463
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001464var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001465
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001466type EventFilterRule struct {
1467 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"`
1468 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1469 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1470 XXX_unrecognized []byte `json:"-"`
1471 XXX_sizecache int32 `json:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -04001472}
1473
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001474func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1475func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1476func (*EventFilterRule) ProtoMessage() {}
1477func (*EventFilterRule) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001478 return fileDescriptor_e084f1a60ce7016c, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -04001479}
William Kurkianad745652019-03-20 08:45:51 -04001480
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001481func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1482 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001483}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001484func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1485 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001486}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001487func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1488 xxx_messageInfo_EventFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001489}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001490func (m *EventFilterRule) XXX_Size() int {
1491 return xxx_messageInfo_EventFilterRule.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001492}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001493func (m *EventFilterRule) XXX_DiscardUnknown() {
1494 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001495}
1496
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001497var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001498
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001499func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
William Kurkian1b363f42019-03-12 15:28:12 -04001500 if m != nil {
1501 return m.Key
1502 }
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001503 return EventFilterRuleKey_filter_all
William Kurkian1b363f42019-03-12 15:28:12 -04001504}
1505
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001506func (m *EventFilterRule) GetValue() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001507 if m != nil {
1508 return m.Value
1509 }
1510 return ""
1511}
1512
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001513type EventFilter struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001514 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001515 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1516 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1517 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1518 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001519 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1520 XXX_unrecognized []byte `json:"-"`
1521 XXX_sizecache int32 `json:"-"`
1522}
1523
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001524func (m *EventFilter) Reset() { *m = EventFilter{} }
1525func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1526func (*EventFilter) ProtoMessage() {}
1527func (*EventFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001528 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001529}
William Kurkianad745652019-03-20 08:45:51 -04001530
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001531func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1532 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001533}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001534func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1535 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001536}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001537func (m *EventFilter) XXX_Merge(src proto.Message) {
1538 xxx_messageInfo_EventFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001539}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001540func (m *EventFilter) XXX_Size() int {
1541 return xxx_messageInfo_EventFilter.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001542}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001543func (m *EventFilter) XXX_DiscardUnknown() {
1544 xxx_messageInfo_EventFilter.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001545}
1546
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001547var xxx_messageInfo_EventFilter proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001548
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001549func (m *EventFilter) GetId() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001550 if m != nil {
1551 return m.Id
1552 }
1553 return ""
1554}
1555
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001556func (m *EventFilter) GetEnable() bool {
1557 if m != nil {
1558 return m.Enable
1559 }
1560 return false
1561}
1562
1563func (m *EventFilter) GetDeviceId() string {
1564 if m != nil {
1565 return m.DeviceId
1566 }
1567 return ""
1568}
1569
1570func (m *EventFilter) GetEventType() string {
1571 if m != nil {
1572 return m.EventType
1573 }
1574 return ""
1575}
1576
1577func (m *EventFilter) GetRules() []*EventFilterRule {
William Kurkian1b363f42019-03-12 15:28:12 -04001578 if m != nil {
1579 return m.Rules
1580 }
1581 return nil
1582}
1583
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001584type EventFilters struct {
1585 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001586 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1587 XXX_unrecognized []byte `json:"-"`
1588 XXX_sizecache int32 `json:"-"`
1589}
1590
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001591func (m *EventFilters) Reset() { *m = EventFilters{} }
1592func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1593func (*EventFilters) ProtoMessage() {}
1594func (*EventFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001595 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001596}
William Kurkianad745652019-03-20 08:45:51 -04001597
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001598func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1599 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001600}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001601func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1602 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001603}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001604func (m *EventFilters) XXX_Merge(src proto.Message) {
1605 xxx_messageInfo_EventFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001606}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001607func (m *EventFilters) XXX_Size() int {
1608 return xxx_messageInfo_EventFilters.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001609}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001610func (m *EventFilters) XXX_DiscardUnknown() {
1611 xxx_messageInfo_EventFilters.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001612}
1613
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001614var xxx_messageInfo_EventFilters proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001615
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001616func (m *EventFilters) GetFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001617 if m != nil {
1618 return m.Filters
1619 }
1620 return nil
1621}
1622
William Kurkian1b363f42019-03-12 15:28:12 -04001623// CoreInstance represents a core instance. It is data held in memory when a core
1624// is running. This data is not persistent.
1625type CoreInstance struct {
1626 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1627 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1628 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1629 XXX_unrecognized []byte `json:"-"`
1630 XXX_sizecache int32 `json:"-"`
1631}
1632
1633func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1634func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1635func (*CoreInstance) ProtoMessage() {}
1636func (*CoreInstance) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001637 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001638}
William Kurkianad745652019-03-20 08:45:51 -04001639
William Kurkian1b363f42019-03-12 15:28:12 -04001640func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1641 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1642}
1643func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1644 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1645}
William Kurkianad745652019-03-20 08:45:51 -04001646func (m *CoreInstance) XXX_Merge(src proto.Message) {
1647 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001648}
1649func (m *CoreInstance) XXX_Size() int {
1650 return xxx_messageInfo_CoreInstance.Size(m)
1651}
1652func (m *CoreInstance) XXX_DiscardUnknown() {
1653 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1654}
1655
1656var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1657
1658func (m *CoreInstance) GetInstanceId() string {
1659 if m != nil {
1660 return m.InstanceId
1661 }
1662 return ""
1663}
1664
1665func (m *CoreInstance) GetHealth() *HealthStatus {
1666 if m != nil {
1667 return m.Health
1668 }
1669 return nil
1670}
1671
1672type CoreInstances struct {
1673 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1674 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1675 XXX_unrecognized []byte `json:"-"`
1676 XXX_sizecache int32 `json:"-"`
1677}
1678
1679func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1680func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1681func (*CoreInstances) ProtoMessage() {}
1682func (*CoreInstances) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001683 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001684}
William Kurkianad745652019-03-20 08:45:51 -04001685
William Kurkian1b363f42019-03-12 15:28:12 -04001686func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1687 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1688}
1689func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1690 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1691}
William Kurkianad745652019-03-20 08:45:51 -04001692func (m *CoreInstances) XXX_Merge(src proto.Message) {
1693 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001694}
1695func (m *CoreInstances) XXX_Size() int {
1696 return xxx_messageInfo_CoreInstances.Size(m)
1697}
1698func (m *CoreInstances) XXX_DiscardUnknown() {
1699 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1700}
1701
1702var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1703
1704func (m *CoreInstances) GetItems() []*CoreInstance {
1705 if m != nil {
1706 return m.Items
1707 }
1708 return nil
1709}
1710
1711// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1712// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1713// for better performance
1714type Voltha struct {
1715 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1716 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1717 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1718 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1719 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1720 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001721 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001722 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1723 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1724 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1725 XXX_unrecognized []byte `json:"-"`
1726 XXX_sizecache int32 `json:"-"`
1727}
1728
1729func (m *Voltha) Reset() { *m = Voltha{} }
1730func (m *Voltha) String() string { return proto.CompactTextString(m) }
1731func (*Voltha) ProtoMessage() {}
1732func (*Voltha) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001733 return fileDescriptor_e084f1a60ce7016c, []int{8}
William Kurkian1b363f42019-03-12 15:28:12 -04001734}
William Kurkianad745652019-03-20 08:45:51 -04001735
William Kurkian1b363f42019-03-12 15:28:12 -04001736func (m *Voltha) XXX_Unmarshal(b []byte) error {
1737 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1738}
1739func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1740 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1741}
William Kurkianad745652019-03-20 08:45:51 -04001742func (m *Voltha) XXX_Merge(src proto.Message) {
1743 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001744}
1745func (m *Voltha) XXX_Size() int {
1746 return xxx_messageInfo_Voltha.Size(m)
1747}
1748func (m *Voltha) XXX_DiscardUnknown() {
1749 xxx_messageInfo_Voltha.DiscardUnknown(m)
1750}
1751
1752var xxx_messageInfo_Voltha proto.InternalMessageInfo
1753
1754func (m *Voltha) GetVersion() string {
1755 if m != nil {
1756 return m.Version
1757 }
1758 return ""
1759}
1760
1761func (m *Voltha) GetAdapters() []*Adapter {
1762 if m != nil {
1763 return m.Adapters
1764 }
1765 return nil
1766}
1767
1768func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1769 if m != nil {
1770 return m.LogicalDevices
1771 }
1772 return nil
1773}
1774
1775func (m *Voltha) GetDevices() []*Device {
1776 if m != nil {
1777 return m.Devices
1778 }
1779 return nil
1780}
1781
1782func (m *Voltha) GetDeviceTypes() []*DeviceType {
1783 if m != nil {
1784 return m.DeviceTypes
1785 }
1786 return nil
1787}
1788
1789func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1790 if m != nil {
1791 return m.DeviceGroups
1792 }
1793 return nil
1794}
1795
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001796func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001797 if m != nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001798 return m.EventFilters
William Kurkian1b363f42019-03-12 15:28:12 -04001799 }
1800 return nil
1801}
1802
1803func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1804 if m != nil {
1805 return m.OmciMibDatabase
1806 }
1807 return nil
1808}
1809
1810func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1811 if m != nil {
1812 return m.OmciAlarmDatabase
1813 }
1814 return nil
1815}
1816
1817// Device Self Test Response
1818type SelfTestResponse struct {
1819 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1820 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1821 XXX_unrecognized []byte `json:"-"`
1822 XXX_sizecache int32 `json:"-"`
1823}
1824
1825func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
1826func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
1827func (*SelfTestResponse) ProtoMessage() {}
1828func (*SelfTestResponse) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001829 return fileDescriptor_e084f1a60ce7016c, []int{9}
William Kurkian1b363f42019-03-12 15:28:12 -04001830}
William Kurkianad745652019-03-20 08:45:51 -04001831
William Kurkian1b363f42019-03-12 15:28:12 -04001832func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
1833 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
1834}
1835func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1836 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
1837}
William Kurkianad745652019-03-20 08:45:51 -04001838func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
1839 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001840}
1841func (m *SelfTestResponse) XXX_Size() int {
1842 return xxx_messageInfo_SelfTestResponse.Size(m)
1843}
1844func (m *SelfTestResponse) XXX_DiscardUnknown() {
1845 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
1846}
1847
1848var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
1849
1850func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
1851 if m != nil {
1852 return m.Result
1853 }
1854 return SelfTestResponse_SUCCESS
1855}
1856
1857type OfAgentSubscriber struct {
1858 // ID of ofagent instance
1859 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
1860 // ID of voltha instance to which the ofagent is subscribed
1861 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
1862 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1863 XXX_unrecognized []byte `json:"-"`
1864 XXX_sizecache int32 `json:"-"`
1865}
1866
1867func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
1868func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
1869func (*OfAgentSubscriber) ProtoMessage() {}
1870func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001871 return fileDescriptor_e084f1a60ce7016c, []int{10}
William Kurkian1b363f42019-03-12 15:28:12 -04001872}
William Kurkianad745652019-03-20 08:45:51 -04001873
William Kurkian1b363f42019-03-12 15:28:12 -04001874func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
1875 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
1876}
1877func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1878 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
1879}
William Kurkianad745652019-03-20 08:45:51 -04001880func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
1881 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001882}
1883func (m *OfAgentSubscriber) XXX_Size() int {
1884 return xxx_messageInfo_OfAgentSubscriber.Size(m)
1885}
1886func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
1887 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
1888}
1889
1890var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
1891
1892func (m *OfAgentSubscriber) GetOfagentId() string {
1893 if m != nil {
1894 return m.OfagentId
1895 }
1896 return ""
1897}
1898
1899func (m *OfAgentSubscriber) GetVolthaId() string {
1900 if m != nil {
1901 return m.VolthaId
1902 }
1903 return ""
1904}
1905
1906// Identifies a membership group a Core belongs to
1907type Membership struct {
1908 // Group name
1909 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
1910 // Unique ID of a container within that group
1911 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
1912 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1913 XXX_unrecognized []byte `json:"-"`
1914 XXX_sizecache int32 `json:"-"`
1915}
1916
1917func (m *Membership) Reset() { *m = Membership{} }
1918func (m *Membership) String() string { return proto.CompactTextString(m) }
1919func (*Membership) ProtoMessage() {}
1920func (*Membership) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001921 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001922}
William Kurkianad745652019-03-20 08:45:51 -04001923
William Kurkian1b363f42019-03-12 15:28:12 -04001924func (m *Membership) XXX_Unmarshal(b []byte) error {
1925 return xxx_messageInfo_Membership.Unmarshal(m, b)
1926}
1927func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1928 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
1929}
William Kurkianad745652019-03-20 08:45:51 -04001930func (m *Membership) XXX_Merge(src proto.Message) {
1931 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001932}
1933func (m *Membership) XXX_Size() int {
1934 return xxx_messageInfo_Membership.Size(m)
1935}
1936func (m *Membership) XXX_DiscardUnknown() {
1937 xxx_messageInfo_Membership.DiscardUnknown(m)
1938}
1939
1940var xxx_messageInfo_Membership proto.InternalMessageInfo
1941
1942func (m *Membership) GetGroupName() string {
1943 if m != nil {
1944 return m.GroupName
1945 }
1946 return ""
1947}
1948
1949func (m *Membership) GetId() string {
1950 if m != nil {
1951 return m.Id
1952 }
1953 return ""
1954}
1955
manikkaraj k166cb202019-07-28 13:05:56 -04001956// Additional information required to process flow at device adapters
1957type FlowMetadata struct {
1958 // Meters associated with flow-update to adapter
1959 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
1960 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1961 XXX_unrecognized []byte `json:"-"`
1962 XXX_sizecache int32 `json:"-"`
1963}
1964
1965func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
1966func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
1967func (*FlowMetadata) ProtoMessage() {}
1968func (*FlowMetadata) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001969 return fileDescriptor_e084f1a60ce7016c, []int{12}
manikkaraj k166cb202019-07-28 13:05:56 -04001970}
1971
1972func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
1973 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
1974}
1975func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1976 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
1977}
1978func (m *FlowMetadata) XXX_Merge(src proto.Message) {
1979 xxx_messageInfo_FlowMetadata.Merge(m, src)
1980}
1981func (m *FlowMetadata) XXX_Size() int {
1982 return xxx_messageInfo_FlowMetadata.Size(m)
1983}
1984func (m *FlowMetadata) XXX_DiscardUnknown() {
1985 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
1986}
1987
1988var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
1989
1990func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
1991 if m != nil {
1992 return m.Meters
1993 }
1994 return nil
1995}
1996
William Kurkian1b363f42019-03-12 15:28:12 -04001997func init() {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001998 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
William Kurkianad745652019-03-20 08:45:51 -04001999 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04002000 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2001 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002002 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2003 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2004 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2005 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
William Kurkian1b363f42019-03-12 15:28:12 -04002006 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2007 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
2008 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2009 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2010 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2011 proto.RegisterType((*Membership)(nil), "voltha.Membership")
manikkaraj k166cb202019-07-28 13:05:56 -04002012 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianad745652019-03-20 08:45:51 -04002013}
2014
2015func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2016
2017var fileDescriptor_e084f1a60ce7016c = []byte{
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002018 // 2553 bytes of a gzipped FileDescriptorProto
2019 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcb, 0x6f, 0x1b, 0xc7,
2020 0x19, 0xd7, 0xea, 0xad, 0x4f, 0xa4, 0x44, 0x0e, 0xf5, 0x60, 0x28, 0x29, 0x96, 0x27, 0xf1, 0xa3,
2021 0x6a, 0x4c, 0xda, 0x52, 0x6c, 0xb4, 0x4e, 0x83, 0x44, 0xa2, 0x64, 0x95, 0xb5, 0x2c, 0xb1, 0x2b,
2022 0xcb, 0xee, 0x23, 0x06, 0xb1, 0xe4, 0x8e, 0xa8, 0x85, 0x97, 0xbb, 0xec, 0xce, 0x50, 0xae, 0xe0,
2023 0x06, 0x28, 0xd2, 0x47, 0x8a, 0xa2, 0xa7, 0xe6, 0xde, 0x53, 0x81, 0x02, 0x45, 0xff, 0x15, 0x9f,
2024 0xfa, 0x0f, 0x14, 0x45, 0x0f, 0x3d, 0xf6, 0x94, 0xf6, 0x58, 0xcc, 0x63, 0xc9, 0x7d, 0xea, 0x91,
2025 0x06, 0xe8, 0x49, 0xdc, 0x99, 0x6f, 0x7e, 0xbf, 0xef, 0x35, 0xf3, 0x7d, 0x3b, 0x2b, 0x28, 0x9d,
2026 0xba, 0x36, 0x3b, 0x31, 0x1a, 0x5d, 0xcf, 0x65, 0x2e, 0xad, 0xc8, 0xa7, 0xb2, 0x78, 0x42, 0xe3,
2027 0xf2, 0xa9, 0xb4, 0xdc, 0x76, 0xdd, 0xb6, 0x4d, 0x2a, 0x46, 0xd7, 0xaa, 0x18, 0x8e, 0xe3, 0x32,
2028 0x83, 0x59, 0xae, 0x43, 0xa5, 0x54, 0x69, 0x49, 0xcd, 0x8a, 0xa7, 0x66, 0xef, 0xb8, 0x42, 0x3a,
2029 0x5d, 0x76, 0xa6, 0x26, 0x8b, 0x61, 0xf8, 0x0e, 0x61, 0x0a, 0xbc, 0x14, 0x21, 0x6e, 0xb9, 0x9d,
2030 0x8e, 0xeb, 0x24, 0xcf, 0x9d, 0x10, 0xc3, 0x66, 0x27, 0x6a, 0x0e, 0x87, 0xe7, 0x6c, 0xb7, 0x6d,
2031 0xb5, 0x0c, 0xbb, 0x61, 0x92, 0x53, 0xab, 0x45, 0x92, 0xd7, 0x87, 0xe6, 0x96, 0xc2, 0x73, 0x86,
2032 0x69, 0x74, 0x19, 0xf1, 0xd4, 0xe4, 0xb5, 0xf0, 0xa4, 0xdb, 0x25, 0xce, 0xb1, 0xed, 0xbe, 0x6a,
2033 0xdc, 0xdb, 0x48, 0x11, 0xe8, 0xb4, 0xac, 0x46, 0xc7, 0x6a, 0x36, 0xcc, 0xa6, 0x12, 0xb8, 0x9e,
2034 0x20, 0x60, 0xd8, 0x86, 0xd7, 0x19, 0x88, 0xac, 0x86, 0x45, 0xce, 0x0c, 0xa7, 0xdd, 0x70, 0xbb,
2035 0x01, 0x97, 0xe2, 0x3f, 0x6a, 0x30, 0xbd, 0x2d, 0x94, 0xde, 0xf5, 0xdc, 0x5e, 0x17, 0xcd, 0xc3,
2036 0xb0, 0x65, 0x16, 0xb5, 0x55, 0xed, 0xf6, 0xd4, 0xd6, 0xd8, 0x3f, 0xbf, 0x7c, 0xb3, 0xa2, 0xe9,
2037 0xc3, 0x96, 0x89, 0x6a, 0x30, 0x1b, 0x36, 0x9f, 0x16, 0x87, 0x57, 0x47, 0x6e, 0x4f, 0xaf, 0xcf,
2038 0x97, 0x55, 0x1c, 0xf7, 0xe4, 0xb4, 0xc4, 0xda, 0x9a, 0xfa, 0xfb, 0x97, 0x6f, 0x56, 0x46, 0x39,
2039 0x96, 0x3e, 0x63, 0x07, 0x67, 0x28, 0xda, 0x80, 0x09, 0x1f, 0x62, 0x44, 0x40, 0xcc, 0xf8, 0x10,
2040 0xf1, 0xb5, 0xbe, 0x24, 0xfe, 0x36, 0x64, 0x02, 0x5a, 0x52, 0xf4, 0x0d, 0x18, 0xb3, 0x18, 0xe9,
2041 0xd0, 0xa2, 0x26, 0x20, 0x0a, 0x61, 0x08, 0x21, 0xa4, 0x4b, 0x09, 0xfc, 0x07, 0x0d, 0xd0, 0xce,
2042 0x29, 0x71, 0xd8, 0x23, 0xcb, 0x66, 0xc4, 0xd3, 0x7b, 0x36, 0x79, 0x4c, 0xce, 0xf0, 0xe7, 0x1a,
2043 0x14, 0x22, 0xc3, 0x4f, 0xcf, 0xba, 0x04, 0xcd, 0x00, 0x1c, 0x8b, 0x91, 0x86, 0x61, 0xdb, 0xb9,
2044 0x21, 0x94, 0x81, 0xc9, 0x96, 0xc1, 0x48, 0xdb, 0xf5, 0xce, 0x72, 0x1a, 0xca, 0x41, 0x86, 0xf6,
2045 0x9a, 0x8d, 0xfe, 0xc8, 0x30, 0x42, 0x30, 0xf3, 0xb2, 0x6b, 0x35, 0x08, 0x87, 0x6a, 0xb0, 0xb3,
2046 0x2e, 0xc9, 0x8d, 0xa0, 0x79, 0xc8, 0xb7, 0x5c, 0xe7, 0xd8, 0x6a, 0x07, 0x87, 0x47, 0xf9, 0xb0,
2047 0xb4, 0x27, 0x38, 0x3c, 0x86, 0x2d, 0x98, 0x8d, 0x28, 0x82, 0x3e, 0x86, 0x91, 0x97, 0xe4, 0x4c,
2048 0x84, 0x61, 0x66, 0xbd, 0xec, 0x1b, 0x17, 0xb7, 0xa2, 0x9c, 0x60, 0x81, 0xce, 0x97, 0xa2, 0x39,
2049 0x18, 0x3b, 0x35, 0xec, 0x1e, 0x29, 0x0e, 0xf3, 0x50, 0xea, 0xf2, 0x01, 0xff, 0x49, 0x83, 0xe9,
2050 0xc0, 0x92, 0xb4, 0x68, 0x2f, 0xc0, 0x38, 0x71, 0x8c, 0xa6, 0x2d, 0x57, 0x4f, 0xea, 0xea, 0x09,
2051 0x2d, 0xc1, 0x94, 0x32, 0xc0, 0x32, 0x8b, 0x23, 0x02, 0x78, 0x52, 0x0e, 0xd4, 0x4c, 0xb4, 0x02,
2052 0x30, 0x30, 0xab, 0x38, 0x2a, 0x66, 0xa7, 0xc4, 0x88, 0xf0, 0xeb, 0x1d, 0x18, 0xf3, 0x7a, 0x36,
2053 0xa1, 0xc5, 0x31, 0x11, 0xb1, 0xc5, 0x14, 0xa3, 0x74, 0x29, 0x85, 0x3f, 0x84, 0x4c, 0x60, 0x86,
2054 0xa2, 0x3b, 0x30, 0x21, 0xc3, 0x12, 0x0b, 0x79, 0x10, 0xc0, 0x97, 0xc1, 0x1e, 0x64, 0xaa, 0xae,
2055 0x47, 0x6a, 0x0e, 0x65, 0x86, 0xd3, 0x22, 0xe8, 0x26, 0x4c, 0x5b, 0xea, 0x77, 0x23, 0x6a, 0x31,
2056 0xf8, 0x33, 0x35, 0x13, 0x6d, 0xc0, 0xb8, 0x3c, 0x02, 0x84, 0xe5, 0xd3, 0xeb, 0x73, 0x3e, 0xcb,
2057 0x77, 0xc5, 0xe8, 0x21, 0x33, 0x58, 0x8f, 0x6e, 0x8d, 0xf1, 0x0c, 0x1d, 0xd2, 0x95, 0xe8, 0xc3,
2058 0xb1, 0xff, 0x70, 0x1c, 0xbc, 0x05, 0xd9, 0x20, 0x27, 0x45, 0x6b, 0xe1, 0x24, 0xed, 0x63, 0x05,
2059 0xa5, 0x54, 0x96, 0xfa, 0x18, 0x7f, 0x1b, 0x85, 0xf1, 0x67, 0x42, 0x0a, 0x5d, 0x83, 0x89, 0x53,
2060 0xe2, 0x51, 0xcb, 0x75, 0xc2, 0xea, 0xfa, 0xa3, 0xe8, 0x01, 0x4c, 0xaa, 0x23, 0xc5, 0xdf, 0x8c,
2061 0xb3, 0x3e, 0xc3, 0xa6, 0x1c, 0x0f, 0x6e, 0xa5, 0xbe, 0x6c, 0xd2, 0x5e, 0x1e, 0xf9, 0xdf, 0xf7,
2062 0xf2, 0xe8, 0x65, 0xf7, 0x32, 0xfa, 0x18, 0x32, 0x2a, 0x8b, 0x78, 0xa6, 0xf8, 0x09, 0x81, 0xc2,
2063 0x2b, 0x79, 0xce, 0x04, 0x57, 0x4f, 0x9b, 0xfd, 0x61, 0x8a, 0xaa, 0x90, 0x55, 0x08, 0x6d, 0x71,
2064 0x1c, 0x14, 0xc7, 0x53, 0x4f, 0x81, 0x20, 0x86, 0xa2, 0x55, 0x47, 0x48, 0x15, 0xb2, 0x32, 0x5f,
2065 0xfd, 0xbc, 0x9a, 0x48, 0xcd, 0xab, 0x10, 0x08, 0x09, 0xa6, 0xe5, 0xf7, 0x21, 0x3f, 0x38, 0x98,
2066 0x0d, 0x66, 0x34, 0x0d, 0x4a, 0x8a, 0xcb, 0x0a, 0x88, 0xcf, 0x94, 0x9f, 0x58, 0x4d, 0xa9, 0xce,
2067 0xb6, 0xc1, 0x8c, 0xad, 0x1c, 0x07, 0x9a, 0x0e, 0x6c, 0x23, 0x7d, 0x96, 0x4b, 0x71, 0x21, 0xb5,
2068 0x1a, 0x3d, 0x87, 0x42, 0xf0, 0x28, 0xf7, 0x41, 0x57, 0x54, 0x88, 0x04, 0xe8, 0x26, 0x9f, 0x3b,
2069 0x17, 0x56, 0xa8, 0x25, 0xc5, 0x14, 0x82, 0x9f, 0x62, 0x7f, 0xd1, 0x20, 0x77, 0x48, 0xec, 0xe3,
2070 0xa7, 0x84, 0x32, 0x9d, 0xd0, 0xae, 0xeb, 0x50, 0x82, 0x3e, 0x82, 0x71, 0x8f, 0xd0, 0x9e, 0xcd,
2071 0xd4, 0x99, 0x73, 0xcb, 0xf7, 0x42, 0x54, 0x32, 0x38, 0xd0, 0xb3, 0x99, 0xae, 0x96, 0xe1, 0x3a,
2072 0xcc, 0x84, 0x67, 0xd0, 0x34, 0x4c, 0x1c, 0x1e, 0x55, 0xab, 0x3b, 0x87, 0x87, 0xb9, 0x21, 0xfe,
2073 0xf0, 0x68, 0xb3, 0xb6, 0x77, 0xa4, 0xef, 0xe4, 0x34, 0x94, 0x87, 0xec, 0xfe, 0xc1, 0xd3, 0xc6,
2074 0xe1, 0x51, 0xbd, 0x7e, 0xa0, 0x3f, 0xdd, 0xd9, 0xce, 0x0d, 0xf3, 0xa1, 0xa3, 0xfd, 0xc7, 0xfb,
2075 0x07, 0xcf, 0xf7, 0x1b, 0x3b, 0xba, 0x7e, 0xa0, 0xe7, 0x46, 0x1e, 0x8e, 0xfd, 0x8b, 0x6f, 0x32,
2076 0x7c, 0x00, 0xf9, 0x83, 0xe3, 0xcd, 0x36, 0x71, 0xd8, 0x61, 0xaf, 0x49, 0x5b, 0x9e, 0xd5, 0x24,
2077 0x1e, 0x3f, 0x6b, 0xdc, 0x63, 0x83, 0x0f, 0xf6, 0x77, 0xb3, 0x3e, 0xa5, 0x46, 0x6a, 0x26, 0x3f,
2078 0xa7, 0x54, 0xe1, 0xb3, 0x4c, 0x75, 0x00, 0x4e, 0xca, 0x81, 0x9a, 0x89, 0x3f, 0x00, 0x78, 0x42,
2079 0x3a, 0x4d, 0xe2, 0xd1, 0x13, 0xab, 0xcb, 0x91, 0x44, 0x0e, 0x35, 0x1c, 0xa3, 0x43, 0x7c, 0x24,
2080 0x31, 0xb2, 0x6f, 0x74, 0x78, 0x35, 0x18, 0xee, 0x43, 0x0c, 0x5b, 0x26, 0xde, 0x81, 0xcc, 0x23,
2081 0xdb, 0x7d, 0xf5, 0x84, 0x30, 0x83, 0x47, 0x06, 0xdd, 0x87, 0xf1, 0x0e, 0x09, 0x9c, 0x4a, 0x2b,
2082 0xe5, 0x60, 0x21, 0x77, 0x8f, 0xbb, 0x0d, 0x31, 0xdd, 0x90, 0xe5, 0x40, 0x57, 0xc2, 0xeb, 0xbf,
2083 0xbb, 0x0b, 0x59, 0xb9, 0xcd, 0x0f, 0x89, 0xc7, 0x43, 0x86, 0x74, 0x98, 0x39, 0xea, 0x9a, 0x06,
2084 0x23, 0x7b, 0x6e, 0x7b, 0x8f, 0x9c, 0x12, 0x1b, 0xcd, 0x96, 0x55, 0xa3, 0xb2, 0xe7, 0xb6, 0xdb,
2085 0x96, 0xd3, 0x2e, 0x2d, 0x94, 0x65, 0xfb, 0x53, 0xf6, 0xdb, 0x9f, 0xf2, 0x0e, 0x6f, 0x7f, 0xf0,
2086 0xe2, 0x67, 0x7f, 0xfd, 0xc7, 0x17, 0xc3, 0x79, 0x9c, 0x11, 0x5d, 0xd3, 0xe9, 0x3d, 0xde, 0xa8,
2087 0xd0, 0x87, 0xda, 0x1a, 0xaa, 0x43, 0x66, 0x97, 0x30, 0x1f, 0x90, 0xa2, 0x62, 0x04, 0xb1, 0xea,
2088 0x76, 0xba, 0xae, 0x43, 0x1c, 0x56, 0xca, 0x45, 0x66, 0x28, 0x9e, 0x13, 0xa0, 0x33, 0x28, 0x04,
2089 0x8a, 0x9e, 0x43, 0x76, 0x97, 0xb0, 0x80, 0xfb, 0x52, 0x74, 0x2a, 0xf5, 0x77, 0xf3, 0x40, 0x16,
2090 0x97, 0x04, 0xe4, 0x1c, 0x42, 0x3e, 0x64, 0x67, 0x80, 0xf3, 0x02, 0x72, 0xd2, 0xfc, 0x00, 0x76,
2091 0x02, 0x46, 0xaa, 0x0f, 0x56, 0x04, 0xf6, 0x22, 0x4e, 0xc0, 0xe6, 0x9e, 0xd8, 0x86, 0xa9, 0x5d,
2092 0xc2, 0xd4, 0xc1, 0x9a, 0xa6, 0x73, 0xff, 0xec, 0x92, 0x72, 0x78, 0x56, 0x60, 0x4e, 0xa1, 0x09,
2093 0x85, 0x89, 0x7a, 0x90, 0xdf, 0xb3, 0x28, 0x0b, 0x1f, 0xf2, 0x69, 0x68, 0xf3, 0x49, 0xa7, 0x3d,
2094 0xc5, 0xf7, 0x7e, 0xfb, 0xef, 0x37, 0x2b, 0x13, 0xaa, 0x30, 0x88, 0xdf, 0x48, 0xfe, 0x16, 0x64,
2095 0x05, 0x94, 0xf7, 0x0d, 0xb0, 0xfa, 0x0c, 0x87, 0x30, 0xbb, 0x4b, 0x42, 0xac, 0x08, 0xfc, 0x78,
2096 0xd5, 0xb6, 0x4b, 0x89, 0x65, 0x05, 0xbf, 0x2d, 0xf0, 0x8a, 0x68, 0x21, 0x86, 0x57, 0x79, 0x6d,
2097 0x99, 0x9f, 0x22, 0x03, 0x32, 0xdc, 0x96, 0x4d, 0xbf, 0x28, 0xa4, 0x99, 0x91, 0x8b, 0x94, 0x14,
2098 0x8a, 0x6f, 0x71, 0xad, 0x61, 0x50, 0x7b, 0x04, 0x11, 0x42, 0x39, 0x9f, 0xa8, 0x5f, 0x67, 0x5e,
2099 0x03, 0xe2, 0x14, 0x7b, 0xe1, 0x92, 0x91, 0x46, 0xb4, 0x90, 0x58, 0x7c, 0x28, 0xbe, 0xcf, 0xe9,
2100 0xf2, 0xb1, 0x92, 0x25, 0x58, 0xdf, 0x42, 0x8b, 0x81, 0xf4, 0x0c, 0x4e, 0xa3, 0x1f, 0x43, 0x4e,
2101 0xe6, 0xfe, 0x00, 0x2b, 0xe4, 0xb5, 0xe4, 0x5a, 0x87, 0xdf, 0x15, 0xb8, 0x6f, 0xa3, 0xe5, 0x14,
2102 0x5c, 0xe9, 0x3c, 0x0f, 0x16, 0x62, 0x96, 0xd5, 0x5d, 0x8f, 0xd1, 0xe4, 0xc0, 0x28, 0x39, 0x21,
2103 0x81, 0x1f, 0xa8, 0x04, 0xe8, 0xf2, 0x27, 0xc1, 0xf6, 0x2e, 0xc2, 0xe7, 0xb1, 0x55, 0x84, 0x24,
2104 0xfa, 0x85, 0x06, 0x73, 0x51, 0x8b, 0x38, 0x22, 0x9a, 0x4f, 0xa0, 0xa9, 0x99, 0xa5, 0x42, 0xc2,
2105 0x30, 0xfe, 0x88, 0x93, 0x8f, 0xc3, 0x28, 0x87, 0x14, 0xdc, 0x65, 0xf4, 0xde, 0xc5, 0xdc, 0x95,
2106 0xd7, 0xfc, 0x4f, 0x83, 0x5b, 0xfe, 0x2b, 0x0d, 0x16, 0x77, 0x44, 0x33, 0x78, 0x69, 0x45, 0xd2,
2107 0xb6, 0xec, 0x07, 0x42, 0x81, 0xfb, 0x78, 0xe3, 0x2a, 0x0a, 0x54, 0x54, 0x27, 0xfa, 0xb9, 0x06,
2108 0xc5, 0x6d, 0x8b, 0x7e, 0x2d, 0x8a, 0x7c, 0x47, 0x28, 0xf2, 0x00, 0xbf, 0x7f, 0x25, 0x45, 0x4c,
2109 0xc9, 0x8e, 0x7e, 0x96, 0x90, 0x0b, 0xbc, 0x44, 0x84, 0x73, 0x01, 0x85, 0xea, 0x82, 0x98, 0xc7,
2110 0x5b, 0x2a, 0x13, 0xf8, 0x68, 0xfc, 0x28, 0xb8, 0x28, 0x2b, 0xc4, 0x2a, 0x9e, 0x15, 0xcb, 0xfd,
2111 0xba, 0x11, 0x56, 0xe0, 0xa9, 0x50, 0x6f, 0x39, 0x46, 0x2c, 0xc6, 0xe5, 0x9a, 0x54, 0x97, 0xdc,
2112 0x11, 0x2a, 0xdc, 0xc2, 0x97, 0x50, 0x81, 0x1f, 0xaf, 0xbf, 0xd4, 0x60, 0x25, 0x41, 0x8b, 0x27,
2113 0xbc, 0xd8, 0x49, 0x35, 0x96, 0x42, 0x6a, 0x88, 0x89, 0x27, 0xae, 0x79, 0x81, 0x16, 0x65, 0xa1,
2114 0xc5, 0x6d, 0xfc, 0xce, 0xb9, 0x5a, 0xc8, 0x92, 0xca, 0xd5, 0xf8, 0xb9, 0x06, 0x8b, 0xb1, 0x58,
2115 0x08, 0xae, 0x70, 0x30, 0x0a, 0x71, 0x65, 0x28, 0xde, 0xe6, 0x11, 0x98, 0xf4, 0xcb, 0x79, 0x2c,
2116 0x1c, 0x37, 0xd0, 0x65, 0xb4, 0x40, 0xbf, 0xd7, 0x60, 0x29, 0x31, 0x1d, 0x54, 0xd3, 0x19, 0x54,
2117 0x63, 0x31, 0x16, 0x1a, 0x29, 0x84, 0xf7, 0x39, 0x7b, 0x16, 0xa6, 0xc5, 0x94, 0xec, 0x70, 0x63,
2118 0xfa, 0xac, 0xa1, 0xdb, 0x17, 0xc6, 0x46, 0xad, 0x45, 0x5f, 0x68, 0x70, 0x3d, 0x25, 0x49, 0x04,
2119 0xa3, 0x0c, 0xd1, 0xf5, 0x64, 0x75, 0x2e, 0x93, 0x2e, 0x1b, 0x42, 0xa5, 0x3b, 0xf8, 0xd2, 0x2a,
2120 0xf1, 0x68, 0xbd, 0x80, 0x69, 0xee, 0xa9, 0x8b, 0xea, 0xc2, 0x6c, 0xb8, 0xa9, 0xa7, 0xf8, 0x06,
2121 0xf7, 0xc5, 0x54, 0xff, 0xc5, 0x43, 0x36, 0x3f, 0x68, 0xd6, 0xa7, 0xf6, 0x0b, 0x80, 0x09, 0xd9,
2122 0x01, 0x7c, 0xcd, 0x4c, 0x27, 0x98, 0x1e, 0x84, 0x84, 0xe2, 0x32, 0x07, 0x17, 0x8d, 0xfe, 0x79,
2123 0xb5, 0x59, 0x72, 0x58, 0x26, 0x45, 0x47, 0x90, 0xd3, 0x49, 0xcb, 0x75, 0x5a, 0x96, 0x4d, 0x7c,
2124 0x4b, 0x82, 0x80, 0xa9, 0x2e, 0x5b, 0x16, 0x98, 0x0b, 0x38, 0x8e, 0xc9, 0x7d, 0xb3, 0x23, 0xfa,
2125 0x95, 0x84, 0xb2, 0x15, 0x79, 0xbf, 0xf2, 0x61, 0xd0, 0x5c, 0xc4, 0x7c, 0x59, 0xa7, 0xbe, 0x07,
2126 0x99, 0xaa, 0x47, 0x0c, 0xa6, 0x54, 0x43, 0x91, 0xd5, 0x31, 0x34, 0xd5, 0xa1, 0xe1, 0xa8, 0x33,
2127 0xb9, 0x4a, 0xcf, 0x21, 0x23, 0x0f, 0xfe, 0x04, 0xad, 0xd2, 0x8c, 0x7c, 0x47, 0xe0, 0xad, 0xe0,
2128 0xa5, 0x24, 0xed, 0xfc, 0xa3, 0xfc, 0x87, 0x90, 0x55, 0x27, 0xf9, 0x15, 0x90, 0x55, 0x9d, 0xc6,
2129 0xcb, 0x89, 0xc8, 0xfe, 0xd9, 0xfc, 0x1c, 0x32, 0x3a, 0x69, 0xba, 0x2e, 0xfb, 0xda, 0x74, 0xf6,
2130 0x04, 0x1c, 0x07, 0xde, 0x26, 0x36, 0x61, 0x5f, 0xc1, 0x19, 0x6b, 0xc9, 0xc0, 0xa6, 0x80, 0x43,
2131 0x3d, 0xc8, 0x6e, 0xbb, 0xaf, 0x1c, 0xdb, 0x35, 0xcc, 0x5a, 0xc7, 0x68, 0x93, 0x41, 0x2d, 0x13,
2132 0x8f, 0xfe, 0x5c, 0x69, 0xde, 0x27, 0x3c, 0xe8, 0x12, 0x4f, 0xdc, 0x91, 0xf2, 0x17, 0x34, 0xfc,
2133 0x40, 0x70, 0xdc, 0xc5, 0xdf, 0x4c, 0xe4, 0xb0, 0x38, 0x44, 0xc3, 0x54, 0x18, 0xb4, 0xf2, 0x9a,
2134 0xbf, 0xf3, 0x7c, 0xca, 0x83, 0xfb, 0x99, 0x06, 0x0b, 0xbb, 0x84, 0x85, 0x38, 0xe4, 0x5d, 0x47,
2135 0xba, 0x02, 0x49, 0xc3, 0xf8, 0xa1, 0x50, 0xe0, 0x7d, 0xb4, 0x7e, 0x05, 0x05, 0x2a, 0x54, 0x32,
2136 0xf5, 0x44, 0xcb, 0x16, 0xc2, 0xbb, 0x22, 0xbb, 0x3a, 0x87, 0xd0, 0x55, 0xcc, 0x47, 0xc7, 0xb2,
2137 0x4d, 0x0d, 0x21, 0xd1, 0x48, 0x44, 0x93, 0xd8, 0x28, 0x7e, 0x4f, 0xd0, 0xdd, 0x44, 0xef, 0x5e,
2138 0x86, 0x0e, 0xfd, 0x14, 0x0a, 0x55, 0xde, 0x80, 0xdb, 0x97, 0xb4, 0x30, 0x31, 0xc0, 0xca, 0xc2,
2139 0xb5, 0x2b, 0x59, 0xf8, 0x1b, 0x0d, 0x0a, 0x9b, 0x2d, 0x66, 0x9d, 0x1a, 0x8c, 0x08, 0x16, 0x79,
2140 0x9c, 0x5f, 0x91, 0xba, 0x2a, 0xa8, 0x3f, 0xc4, 0xdf, 0xba, 0x4a, 0x68, 0xe5, 0x70, 0x4f, 0xf0,
2141 0xf1, 0x44, 0xfb, 0xb5, 0x06, 0x79, 0x9d, 0x9c, 0x12, 0x8f, 0xfd, 0x5f, 0x14, 0xf1, 0x04, 0x35,
2142 0x57, 0xe4, 0x13, 0x98, 0x1d, 0x94, 0x87, 0x78, 0xef, 0x9e, 0xf5, 0x35, 0x92, 0x4d, 0x7b, 0x39,
2143 0xd6, 0xb4, 0x2f, 0xa3, 0x52, 0x22, 0xbd, 0x6c, 0xd6, 0x5f, 0x40, 0x21, 0x80, 0xde, 0xa9, 0x8a,
2144 0xb7, 0xff, 0x30, 0x43, 0xbe, 0xcf, 0xe0, 0x4f, 0xe3, 0x5b, 0x02, 0xf9, 0x3a, 0xba, 0x96, 0x8c,
2145 0xdc, 0x51, 0xb7, 0x08, 0x14, 0x39, 0x30, 0x2f, 0x3d, 0x17, 0x25, 0x88, 0x83, 0xa6, 0x1e, 0x47,
2146 0x6b, 0xb2, 0xcb, 0xc4, 0x17, 0x91, 0x71, 0x67, 0x75, 0x82, 0xce, 0xba, 0x5c, 0x73, 0xfb, 0xf0,
2147 0xdc, 0xe6, 0x36, 0xcd, 0x7b, 0xfd, 0xa6, 0x76, 0x2e, 0xcc, 0x77, 0x95, 0xee, 0xe9, 0xd1, 0x25,
2148 0xba, 0x27, 0x8c, 0x56, 0x53, 0xf9, 0xfd, 0xae, 0xc9, 0x0d, 0x1a, 0x2d, 0xef, 0x1d, 0xd3, 0x5a,
2149 0x88, 0x42, 0xfc, 0xee, 0x92, 0xe2, 0x0a, 0x67, 0x9d, 0x09, 0xdf, 0x75, 0x26, 0x57, 0x6b, 0x39,
2150 0x87, 0x74, 0x71, 0xb9, 0x32, 0x80, 0x88, 0xf8, 0x38, 0x46, 0x81, 0xaf, 0x0b, 0xb8, 0x25, 0xf4,
2151 0x56, 0x12, 0x9c, 0xec, 0x00, 0x28, 0xe4, 0x06, 0x46, 0x28, 0x2f, 0xa6, 0x59, 0x31, 0x97, 0x70,
2152 0x7d, 0xaa, 0x2e, 0x2c, 0x66, 0x23, 0x17, 0xae, 0xf2, 0xb6, 0x05, 0xcd, 0x47, 0x88, 0x95, 0xe7,
2153 0x1e, 0x41, 0xee, 0x90, 0x79, 0xc4, 0xe8, 0xd4, 0x8d, 0xd6, 0x4b, 0xc2, 0xe8, 0x41, 0x8f, 0xa1,
2154 0x85, 0x50, 0xb8, 0xe4, 0xc4, 0x41, 0x8f, 0xa5, 0xa6, 0xe7, 0xd0, 0x6d, 0x0d, 0xed, 0x88, 0xe6,
2155 0x8a, 0x58, 0xa7, 0x44, 0x01, 0xd5, 0x9c, 0x73, 0xae, 0x5b, 0xe2, 0xf8, 0x35, 0x07, 0x0f, 0xdd,
2156 0xd5, 0xd0, 0x63, 0x28, 0x28, 0x98, 0xea, 0x89, 0xe1, 0xb4, 0x89, 0xb8, 0xd8, 0x4d, 0x77, 0x43,
2157 0x31, 0x84, 0x14, 0x58, 0x22, 0xc0, 0x8e, 0x60, 0xa6, 0x1f, 0x24, 0xf9, 0xc5, 0x2c, 0xfc, 0x66,
2158 0x11, 0x77, 0x21, 0xc6, 0xc9, 0x29, 0xaf, 0xbc, 0x25, 0xe3, 0xd4, 0x80, 0xbc, 0xec, 0xd4, 0x82,
2159 0x5f, 0x67, 0x92, 0xae, 0xa2, 0x4b, 0x49, 0x83, 0x78, 0x55, 0x50, 0x94, 0x70, 0x3f, 0x20, 0xa1,
2160 0x9b, 0x6d, 0xbe, 0x85, 0x9f, 0x09, 0xbd, 0x83, 0xe8, 0x89, 0x57, 0x15, 0xc1, 0x6f, 0x2e, 0x71,
2161 0xc5, 0x43, 0xa8, 0x52, 0x71, 0x13, 0xf2, 0xf2, 0x28, 0xfa, 0x6a, 0x8a, 0xdf, 0x10, 0x14, 0xd7,
2162 0x4a, 0xe7, 0x50, 0x70, 0xed, 0x4d, 0xc8, 0xcb, 0x7e, 0xeb, 0x42, 0x96, 0xb4, 0x7c, 0x52, 0xb6,
2163 0xac, 0x9d, 0x67, 0x4b, 0x43, 0x6e, 0x96, 0xd0, 0x77, 0xa7, 0x0b, 0x37, 0x4b, 0xc8, 0x63, 0x2b,
2164 0xd1, 0x8d, 0x11, 0x62, 0x41, 0x7b, 0xa2, 0xad, 0x17, 0x45, 0x8e, 0x26, 0xb7, 0xf5, 0x72, 0xce,
2165 0xef, 0x15, 0xd1, 0x52, 0x7a, 0x89, 0xa3, 0xe8, 0x07, 0x30, 0xe9, 0x5f, 0xb9, 0x87, 0xc0, 0x8a,
2166 0x69, 0x77, 0xf7, 0xf8, 0xa6, 0x80, 0x5d, 0xc5, 0x6f, 0x27, 0xc2, 0x52, 0x62, 0x1f, 0x37, 0x18,
2167 0x47, 0x7b, 0x26, 0x3a, 0xb1, 0xd0, 0x97, 0x8b, 0xe8, 0x0b, 0x74, 0xec, 0xd3, 0x46, 0xfc, 0x34,
2168 0xe2, 0xdb, 0x88, 0xcb, 0xa9, 0x17, 0x64, 0xab, 0x89, 0x3e, 0x01, 0xb4, 0x4b, 0x58, 0xe4, 0xe3,
2169 0x45, 0xe4, 0x5a, 0x2e, 0xe9, 0xfb, 0x46, 0xdc, 0x1f, 0x61, 0x6c, 0xf1, 0xa9, 0x04, 0x51, 0xc8,
2170 0x1e, 0x5a, 0x9d, 0x9e, 0x6d, 0x30, 0x22, 0xd6, 0xa3, 0xe5, 0xbe, 0x23, 0x82, 0xc3, 0x3a, 0xf9,
2171 0x49, 0x8f, 0x50, 0x96, 0xd6, 0x5d, 0xc4, 0xae, 0x3e, 0xc2, 0x3e, 0x52, 0x48, 0x0d, 0x8e, 0xc4,
2172 0x33, 0xb3, 0x0a, 0x53, 0xfd, 0xef, 0x12, 0xe8, 0x2d, 0x9f, 0x30, 0xf6, 0xc5, 0xa2, 0x94, 0x3e,
2173 0x85, 0x87, 0xb6, 0x6c, 0x28, 0xb8, 0x5e, 0x5b, 0x9c, 0x3b, 0x2d, 0xd7, 0x33, 0x95, 0xe8, 0x56,
2174 0x46, 0x5e, 0x44, 0xd7, 0xc5, 0xc7, 0xfb, 0x1f, 0x95, 0xdb, 0x16, 0x3b, 0xe9, 0x35, 0xb9, 0xd6,
2175 0x15, 0x5f, 0x52, 0xfd, 0x13, 0xc5, 0x1d, 0xff, 0x5f, 0x2a, 0xd6, 0x2b, 0x6d, 0x57, 0x8d, 0xfd,
2176 0x79, 0x78, 0xe1, 0xc0, 0xc7, 0x7b, 0x16, 0xbc, 0xd7, 0xae, 0x0f, 0xd7, 0x47, 0xea, 0xa3, 0xf5,
2177 0xb1, 0xfa, 0x78, 0x7d, 0xa2, 0x3e, 0xd9, 0x1c, 0x17, 0x6b, 0x37, 0xfe, 0x1b, 0x00, 0x00, 0xff,
2178 0xff, 0x85, 0xd9, 0x4c, 0xe3, 0x9e, 0x21, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002179}
2180
2181// Reference imports to suppress errors if they are not otherwise used.
2182var _ context.Context
2183var _ grpc.ClientConn
2184
2185// This is a compile-time assertion to ensure that this generated file
2186// is compatible with the grpc package it is being compiled against.
2187const _ = grpc.SupportPackageIsVersion4
2188
2189// VolthaServiceClient is the client API for VolthaService service.
2190//
2191// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2192type VolthaServiceClient interface {
2193 // Get more information on a given physical device
Scott Baker99af94e2019-08-20 10:45:06 -07002194 UpdateLogLevel(ctx context.Context, in *common.Logging, opts ...grpc.CallOption) (*empty.Empty, error)
2195 GetLogLevels(ctx context.Context, in *common.LoggingComponent, opts ...grpc.CallOption) (*common.Loggings, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002196 // Get the membership group of a Voltha Core
2197 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2198 // Set the membership group of a Voltha Core
2199 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2200 // Get high level information on the Voltha cluster
2201 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2202 // List all Voltha cluster core instances
2203 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2204 // Get details on a Voltha cluster instance
2205 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2206 // List all active adapters (plugins) in the Voltha cluster
2207 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2208 // List all logical devices managed by the Voltha cluster
2209 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2210 // Get additional information on a given logical device
2211 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2212 // List ports of a logical device
2213 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2214 // Gets a logical device port
2215 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2216 // Enables a logical device port
2217 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2218 // Disables a logical device port
2219 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2220 // List all flows of a logical device
2221 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2222 // Update flow table for logical device
2223 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2224 // Update meter table for logical device
2225 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002226 // List all meters of a logical device
2227 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002228 // List all flow groups of a logical device
2229 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2230 // Update group table for device
2231 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2232 // List all physical devices controlled by the Voltha cluster
2233 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2234 // List all physical devices IDs controlled by the Voltha cluster
2235 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2236 // Request to a voltha Core to reconcile a set of devices based on their IDs
2237 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2238 // Get more information on a given physical device
2239 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2240 // Pre-provision a new physical device
2241 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2242 // Enable a device. If the device was in pre-provisioned state then it
2243 // will transition to ENABLED state. If it was is DISABLED state then it
2244 // will transition to ENABLED state as well.
2245 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2246 // Disable a device
2247 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2248 // Reboot a device
2249 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2250 // Delete a device
2251 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2252 // Request an image download to the standby partition
2253 // of a device.
2254 // Note that the call is expected to be non-blocking.
2255 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2256 // Get image download status on a device
2257 // The request retrieves progress on device and updates db record
2258 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2259 // Get image download db record
2260 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2261 // List image download db records for a given device
2262 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2263 // Cancel an existing image download process on a device
2264 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2265 // Activate the specified image at a standby partition
2266 // to active partition.
2267 // Depending on the device implementation, this call
2268 // may or may not cause device reboot.
2269 // If no reboot, then a reboot is required to make the
2270 // activated image running on device
2271 // Note that the call is expected to be non-blocking.
2272 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2273 // Revert the specified image at standby partition
2274 // to active partition, and revert to previous image
2275 // Depending on the device implementation, this call
2276 // may or may not cause device reboot.
2277 // If no reboot, then a reboot is required to make the
2278 // previous image running on device
2279 // Note that the call is expected to be non-blocking.
2280 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2281 // List ports of a device
2282 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2283 // List pm config of a device
2284 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2285 // Update the pm config of a device
2286 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2287 // List all flows of a device
2288 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2289 // List all flow groups of a device
2290 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2291 // List device types known to Voltha
2292 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2293 // Get additional information on a device type
2294 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2295 // List all device sharding groups
2296 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2297 // Stream control packets to the dataplane
2298 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2299 // Receive control packet stream
2300 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2301 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2302 // Get additional information on a device group
2303 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002304 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2305 // Get all filters present for a device
2306 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2307 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2308 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2309 // Get all the filters present
2310 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002311 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2312 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2313 // OpenOMCI MIB information
2314 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2315 // OpenOMCI ALARM information
2316 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2317 // Simulate an Alarm
2318 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2319 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
2320}
2321
2322type volthaServiceClient struct {
2323 cc *grpc.ClientConn
2324}
2325
2326func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2327 return &volthaServiceClient{cc}
2328}
2329
Scott Baker99af94e2019-08-20 10:45:06 -07002330func (c *volthaServiceClient) UpdateLogLevel(ctx context.Context, in *common.Logging, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002331 out := new(empty.Empty)
2332 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogLevel", in, out, opts...)
2333 if err != nil {
2334 return nil, err
2335 }
2336 return out, nil
2337}
2338
Scott Baker99af94e2019-08-20 10:45:06 -07002339func (c *volthaServiceClient) GetLogLevels(ctx context.Context, in *common.LoggingComponent, opts ...grpc.CallOption) (*common.Loggings, error) {
2340 out := new(common.Loggings)
2341 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogLevels", in, out, opts...)
2342 if err != nil {
2343 return nil, err
2344 }
2345 return out, nil
2346}
2347
William Kurkian1b363f42019-03-12 15:28:12 -04002348func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2349 out := new(Membership)
2350 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2351 if err != nil {
2352 return nil, err
2353 }
2354 return out, nil
2355}
2356
2357func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2358 out := new(empty.Empty)
2359 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2360 if err != nil {
2361 return nil, err
2362 }
2363 return out, nil
2364}
2365
2366func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2367 out := new(Voltha)
2368 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2369 if err != nil {
2370 return nil, err
2371 }
2372 return out, nil
2373}
2374
2375func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2376 out := new(CoreInstances)
2377 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2378 if err != nil {
2379 return nil, err
2380 }
2381 return out, nil
2382}
2383
2384func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2385 out := new(CoreInstance)
2386 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2387 if err != nil {
2388 return nil, err
2389 }
2390 return out, nil
2391}
2392
2393func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2394 out := new(Adapters)
2395 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2396 if err != nil {
2397 return nil, err
2398 }
2399 return out, nil
2400}
2401
2402func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2403 out := new(LogicalDevices)
2404 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2405 if err != nil {
2406 return nil, err
2407 }
2408 return out, nil
2409}
2410
2411func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2412 out := new(LogicalDevice)
2413 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2414 if err != nil {
2415 return nil, err
2416 }
2417 return out, nil
2418}
2419
2420func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2421 out := new(LogicalPorts)
2422 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2423 if err != nil {
2424 return nil, err
2425 }
2426 return out, nil
2427}
2428
2429func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2430 out := new(LogicalPort)
2431 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2432 if err != nil {
2433 return nil, err
2434 }
2435 return out, nil
2436}
2437
2438func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2439 out := new(empty.Empty)
2440 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2441 if err != nil {
2442 return nil, err
2443 }
2444 return out, nil
2445}
2446
2447func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2448 out := new(empty.Empty)
2449 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2450 if err != nil {
2451 return nil, err
2452 }
2453 return out, nil
2454}
2455
2456func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2457 out := new(openflow_13.Flows)
2458 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2459 if err != nil {
2460 return nil, err
2461 }
2462 return out, nil
2463}
2464
2465func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2466 out := new(empty.Empty)
2467 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2468 if err != nil {
2469 return nil, err
2470 }
2471 return out, nil
2472}
2473
2474func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2475 out := new(empty.Empty)
2476 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2477 if err != nil {
2478 return nil, err
2479 }
2480 return out, nil
2481}
2482
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002483func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2484 out := new(openflow_13.Meters)
2485 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002486 if err != nil {
2487 return nil, err
2488 }
2489 return out, nil
2490}
2491
2492func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2493 out := new(openflow_13.FlowGroups)
2494 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2495 if err != nil {
2496 return nil, err
2497 }
2498 return out, nil
2499}
2500
2501func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2502 out := new(empty.Empty)
2503 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2504 if err != nil {
2505 return nil, err
2506 }
2507 return out, nil
2508}
2509
2510func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2511 out := new(Devices)
2512 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2513 if err != nil {
2514 return nil, err
2515 }
2516 return out, nil
2517}
2518
2519func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2520 out := new(common.IDs)
2521 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2522 if err != nil {
2523 return nil, err
2524 }
2525 return out, nil
2526}
2527
2528func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2529 out := new(empty.Empty)
2530 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2531 if err != nil {
2532 return nil, err
2533 }
2534 return out, nil
2535}
2536
2537func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2538 out := new(Device)
2539 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2540 if err != nil {
2541 return nil, err
2542 }
2543 return out, nil
2544}
2545
2546func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2547 out := new(Device)
2548 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2549 if err != nil {
2550 return nil, err
2551 }
2552 return out, nil
2553}
2554
2555func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2556 out := new(empty.Empty)
2557 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2558 if err != nil {
2559 return nil, err
2560 }
2561 return out, nil
2562}
2563
2564func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2565 out := new(empty.Empty)
2566 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2567 if err != nil {
2568 return nil, err
2569 }
2570 return out, nil
2571}
2572
2573func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2574 out := new(empty.Empty)
2575 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2576 if err != nil {
2577 return nil, err
2578 }
2579 return out, nil
2580}
2581
2582func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2583 out := new(empty.Empty)
2584 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2585 if err != nil {
2586 return nil, err
2587 }
2588 return out, nil
2589}
2590
2591func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2592 out := new(common.OperationResp)
2593 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2594 if err != nil {
2595 return nil, err
2596 }
2597 return out, nil
2598}
2599
2600func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2601 out := new(ImageDownload)
2602 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2603 if err != nil {
2604 return nil, err
2605 }
2606 return out, nil
2607}
2608
2609func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2610 out := new(ImageDownload)
2611 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2612 if err != nil {
2613 return nil, err
2614 }
2615 return out, nil
2616}
2617
2618func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2619 out := new(ImageDownloads)
2620 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2621 if err != nil {
2622 return nil, err
2623 }
2624 return out, nil
2625}
2626
2627func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2628 out := new(common.OperationResp)
2629 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2630 if err != nil {
2631 return nil, err
2632 }
2633 return out, nil
2634}
2635
2636func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2637 out := new(common.OperationResp)
2638 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2639 if err != nil {
2640 return nil, err
2641 }
2642 return out, nil
2643}
2644
2645func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2646 out := new(common.OperationResp)
2647 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2648 if err != nil {
2649 return nil, err
2650 }
2651 return out, nil
2652}
2653
2654func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2655 out := new(Ports)
2656 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2657 if err != nil {
2658 return nil, err
2659 }
2660 return out, nil
2661}
2662
2663func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2664 out := new(PmConfigs)
2665 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2666 if err != nil {
2667 return nil, err
2668 }
2669 return out, nil
2670}
2671
2672func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2673 out := new(empty.Empty)
2674 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2675 if err != nil {
2676 return nil, err
2677 }
2678 return out, nil
2679}
2680
2681func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2682 out := new(openflow_13.Flows)
2683 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2684 if err != nil {
2685 return nil, err
2686 }
2687 return out, nil
2688}
2689
2690func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2691 out := new(openflow_13.FlowGroups)
2692 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2693 if err != nil {
2694 return nil, err
2695 }
2696 return out, nil
2697}
2698
2699func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2700 out := new(DeviceTypes)
2701 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2702 if err != nil {
2703 return nil, err
2704 }
2705 return out, nil
2706}
2707
2708func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2709 out := new(DeviceType)
2710 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2711 if err != nil {
2712 return nil, err
2713 }
2714 return out, nil
2715}
2716
2717func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2718 out := new(DeviceGroups)
2719 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2720 if err != nil {
2721 return nil, err
2722 }
2723 return out, nil
2724}
2725
2726func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2727 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2728 if err != nil {
2729 return nil, err
2730 }
2731 x := &volthaServiceStreamPacketsOutClient{stream}
2732 return x, nil
2733}
2734
2735type VolthaService_StreamPacketsOutClient interface {
2736 Send(*openflow_13.PacketOut) error
2737 CloseAndRecv() (*empty.Empty, error)
2738 grpc.ClientStream
2739}
2740
2741type volthaServiceStreamPacketsOutClient struct {
2742 grpc.ClientStream
2743}
2744
2745func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2746 return x.ClientStream.SendMsg(m)
2747}
2748
2749func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2750 if err := x.ClientStream.CloseSend(); err != nil {
2751 return nil, err
2752 }
2753 m := new(empty.Empty)
2754 if err := x.ClientStream.RecvMsg(m); err != nil {
2755 return nil, err
2756 }
2757 return m, nil
2758}
2759
2760func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2761 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2762 if err != nil {
2763 return nil, err
2764 }
2765 x := &volthaServiceReceivePacketsInClient{stream}
2766 if err := x.ClientStream.SendMsg(in); err != nil {
2767 return nil, err
2768 }
2769 if err := x.ClientStream.CloseSend(); err != nil {
2770 return nil, err
2771 }
2772 return x, nil
2773}
2774
2775type VolthaService_ReceivePacketsInClient interface {
2776 Recv() (*openflow_13.PacketIn, error)
2777 grpc.ClientStream
2778}
2779
2780type volthaServiceReceivePacketsInClient struct {
2781 grpc.ClientStream
2782}
2783
2784func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2785 m := new(openflow_13.PacketIn)
2786 if err := x.ClientStream.RecvMsg(m); err != nil {
2787 return nil, err
2788 }
2789 return m, nil
2790}
2791
2792func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2793 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2794 if err != nil {
2795 return nil, err
2796 }
2797 x := &volthaServiceReceiveChangeEventsClient{stream}
2798 if err := x.ClientStream.SendMsg(in); err != nil {
2799 return nil, err
2800 }
2801 if err := x.ClientStream.CloseSend(); err != nil {
2802 return nil, err
2803 }
2804 return x, nil
2805}
2806
2807type VolthaService_ReceiveChangeEventsClient interface {
2808 Recv() (*openflow_13.ChangeEvent, error)
2809 grpc.ClientStream
2810}
2811
2812type volthaServiceReceiveChangeEventsClient struct {
2813 grpc.ClientStream
2814}
2815
2816func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2817 m := new(openflow_13.ChangeEvent)
2818 if err := x.ClientStream.RecvMsg(m); err != nil {
2819 return nil, err
2820 }
2821 return m, nil
2822}
2823
2824func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2825 out := new(DeviceGroup)
2826 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2827 if err != nil {
2828 return nil, err
2829 }
2830 return out, nil
2831}
2832
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002833func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2834 out := new(EventFilter)
2835 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002836 if err != nil {
2837 return nil, err
2838 }
2839 return out, nil
2840}
2841
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002842func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
2843 out := new(EventFilters)
2844 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002845 if err != nil {
2846 return nil, err
2847 }
2848 return out, nil
2849}
2850
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002851func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2852 out := new(EventFilter)
2853 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002854 if err != nil {
2855 return nil, err
2856 }
2857 return out, nil
2858}
2859
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002860func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002861 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002862 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002863 if err != nil {
2864 return nil, err
2865 }
2866 return out, nil
2867}
2868
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002869func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
2870 out := new(EventFilters)
2871 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002872 if err != nil {
2873 return nil, err
2874 }
2875 return out, nil
2876}
2877
2878func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
2879 out := new(Images)
2880 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
2881 if err != nil {
2882 return nil, err
2883 }
2884 return out, nil
2885}
2886
2887func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
2888 out := new(SelfTestResponse)
2889 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
2890 if err != nil {
2891 return nil, err
2892 }
2893 return out, nil
2894}
2895
2896func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
2897 out := new(omci.MibDeviceData)
2898 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
2899 if err != nil {
2900 return nil, err
2901 }
2902 return out, nil
2903}
2904
2905func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
2906 out := new(omci.AlarmDeviceData)
2907 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
2908 if err != nil {
2909 return nil, err
2910 }
2911 return out, nil
2912}
2913
2914func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
2915 out := new(common.OperationResp)
2916 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
2917 if err != nil {
2918 return nil, err
2919 }
2920 return out, nil
2921}
2922
2923func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
2924 out := new(OfAgentSubscriber)
2925 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
2926 if err != nil {
2927 return nil, err
2928 }
2929 return out, nil
2930}
2931
2932// VolthaServiceServer is the server API for VolthaService service.
2933type VolthaServiceServer interface {
2934 // Get more information on a given physical device
Scott Baker99af94e2019-08-20 10:45:06 -07002935 UpdateLogLevel(context.Context, *common.Logging) (*empty.Empty, error)
2936 GetLogLevels(context.Context, *common.LoggingComponent) (*common.Loggings, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002937 // Get the membership group of a Voltha Core
2938 GetMembership(context.Context, *empty.Empty) (*Membership, error)
2939 // Set the membership group of a Voltha Core
2940 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
2941 // Get high level information on the Voltha cluster
2942 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
2943 // List all Voltha cluster core instances
2944 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
2945 // Get details on a Voltha cluster instance
2946 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
2947 // List all active adapters (plugins) in the Voltha cluster
2948 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
2949 // List all logical devices managed by the Voltha cluster
2950 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
2951 // Get additional information on a given logical device
2952 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
2953 // List ports of a logical device
2954 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
2955 // Gets a logical device port
2956 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
2957 // Enables a logical device port
2958 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2959 // Disables a logical device port
2960 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2961 // List all flows of a logical device
2962 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2963 // Update flow table for logical device
2964 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
2965 // Update meter table for logical device
2966 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002967 // List all meters of a logical device
2968 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002969 // List all flow groups of a logical device
2970 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2971 // Update group table for device
2972 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
2973 // List all physical devices controlled by the Voltha cluster
2974 ListDevices(context.Context, *empty.Empty) (*Devices, error)
2975 // List all physical devices IDs controlled by the Voltha cluster
2976 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
2977 // Request to a voltha Core to reconcile a set of devices based on their IDs
2978 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
2979 // Get more information on a given physical device
2980 GetDevice(context.Context, *common.ID) (*Device, error)
2981 // Pre-provision a new physical device
2982 CreateDevice(context.Context, *Device) (*Device, error)
2983 // Enable a device. If the device was in pre-provisioned state then it
2984 // will transition to ENABLED state. If it was is DISABLED state then it
2985 // will transition to ENABLED state as well.
2986 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
2987 // Disable a device
2988 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
2989 // Reboot a device
2990 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
2991 // Delete a device
2992 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
2993 // Request an image download to the standby partition
2994 // of a device.
2995 // Note that the call is expected to be non-blocking.
2996 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
2997 // Get image download status on a device
2998 // The request retrieves progress on device and updates db record
2999 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
3000 // Get image download db record
3001 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
3002 // List image download db records for a given device
3003 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
3004 // Cancel an existing image download process on a device
3005 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
3006 // Activate the specified image at a standby partition
3007 // to active partition.
3008 // Depending on the device implementation, this call
3009 // may or may not cause device reboot.
3010 // If no reboot, then a reboot is required to make the
3011 // activated image running on device
3012 // Note that the call is expected to be non-blocking.
3013 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3014 // Revert the specified image at standby partition
3015 // to active partition, and revert to previous image
3016 // Depending on the device implementation, this call
3017 // may or may not cause device reboot.
3018 // If no reboot, then a reboot is required to make the
3019 // previous image running on device
3020 // Note that the call is expected to be non-blocking.
3021 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3022 // List ports of a device
3023 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3024 // List pm config of a device
3025 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3026 // Update the pm config of a device
3027 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3028 // List all flows of a device
3029 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3030 // List all flow groups of a device
3031 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3032 // List device types known to Voltha
3033 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3034 // Get additional information on a device type
3035 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3036 // List all device sharding groups
3037 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3038 // Stream control packets to the dataplane
3039 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3040 // Receive control packet stream
3041 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3042 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3043 // Get additional information on a device group
3044 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003045 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3046 // Get all filters present for a device
3047 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3048 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3049 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3050 // Get all the filters present
3051 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003052 GetImages(context.Context, *common.ID) (*Images, error)
3053 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3054 // OpenOMCI MIB information
3055 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3056 // OpenOMCI ALARM information
3057 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3058 // Simulate an Alarm
3059 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3060 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
3061}
3062
3063func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3064 s.RegisterService(&_VolthaService_serviceDesc, srv)
3065}
3066
3067func _VolthaService_UpdateLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Scott Baker99af94e2019-08-20 10:45:06 -07003068 in := new(common.Logging)
William Kurkian1b363f42019-03-12 15:28:12 -04003069 if err := dec(in); err != nil {
3070 return nil, err
3071 }
3072 if interceptor == nil {
3073 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, in)
3074 }
3075 info := &grpc.UnaryServerInfo{
3076 Server: srv,
3077 FullMethod: "/voltha.VolthaService/UpdateLogLevel",
3078 }
3079 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Scott Baker99af94e2019-08-20 10:45:06 -07003080 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, req.(*common.Logging))
3081 }
3082 return interceptor(ctx, in, info, handler)
3083}
3084
3085func _VolthaService_GetLogLevels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3086 in := new(common.LoggingComponent)
3087 if err := dec(in); err != nil {
3088 return nil, err
3089 }
3090 if interceptor == nil {
3091 return srv.(VolthaServiceServer).GetLogLevels(ctx, in)
3092 }
3093 info := &grpc.UnaryServerInfo{
3094 Server: srv,
3095 FullMethod: "/voltha.VolthaService/GetLogLevels",
3096 }
3097 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3098 return srv.(VolthaServiceServer).GetLogLevels(ctx, req.(*common.LoggingComponent))
William Kurkian1b363f42019-03-12 15:28:12 -04003099 }
3100 return interceptor(ctx, in, info, handler)
3101}
3102
3103func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3104 in := new(empty.Empty)
3105 if err := dec(in); err != nil {
3106 return nil, err
3107 }
3108 if interceptor == nil {
3109 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3110 }
3111 info := &grpc.UnaryServerInfo{
3112 Server: srv,
3113 FullMethod: "/voltha.VolthaService/GetMembership",
3114 }
3115 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3116 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3117 }
3118 return interceptor(ctx, in, info, handler)
3119}
3120
3121func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3122 in := new(Membership)
3123 if err := dec(in); err != nil {
3124 return nil, err
3125 }
3126 if interceptor == nil {
3127 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3128 }
3129 info := &grpc.UnaryServerInfo{
3130 Server: srv,
3131 FullMethod: "/voltha.VolthaService/UpdateMembership",
3132 }
3133 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3134 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3135 }
3136 return interceptor(ctx, in, info, handler)
3137}
3138
3139func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3140 in := new(empty.Empty)
3141 if err := dec(in); err != nil {
3142 return nil, err
3143 }
3144 if interceptor == nil {
3145 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3146 }
3147 info := &grpc.UnaryServerInfo{
3148 Server: srv,
3149 FullMethod: "/voltha.VolthaService/GetVoltha",
3150 }
3151 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3152 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3153 }
3154 return interceptor(ctx, in, info, handler)
3155}
3156
3157func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3158 in := new(empty.Empty)
3159 if err := dec(in); err != nil {
3160 return nil, err
3161 }
3162 if interceptor == nil {
3163 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3164 }
3165 info := &grpc.UnaryServerInfo{
3166 Server: srv,
3167 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3168 }
3169 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3170 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3171 }
3172 return interceptor(ctx, in, info, handler)
3173}
3174
3175func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3176 in := new(common.ID)
3177 if err := dec(in); err != nil {
3178 return nil, err
3179 }
3180 if interceptor == nil {
3181 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3182 }
3183 info := &grpc.UnaryServerInfo{
3184 Server: srv,
3185 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3186 }
3187 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3188 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3189 }
3190 return interceptor(ctx, in, info, handler)
3191}
3192
3193func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3194 in := new(empty.Empty)
3195 if err := dec(in); err != nil {
3196 return nil, err
3197 }
3198 if interceptor == nil {
3199 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3200 }
3201 info := &grpc.UnaryServerInfo{
3202 Server: srv,
3203 FullMethod: "/voltha.VolthaService/ListAdapters",
3204 }
3205 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3206 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3207 }
3208 return interceptor(ctx, in, info, handler)
3209}
3210
3211func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3212 in := new(empty.Empty)
3213 if err := dec(in); err != nil {
3214 return nil, err
3215 }
3216 if interceptor == nil {
3217 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3218 }
3219 info := &grpc.UnaryServerInfo{
3220 Server: srv,
3221 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3222 }
3223 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3224 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3225 }
3226 return interceptor(ctx, in, info, handler)
3227}
3228
3229func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3230 in := new(common.ID)
3231 if err := dec(in); err != nil {
3232 return nil, err
3233 }
3234 if interceptor == nil {
3235 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3236 }
3237 info := &grpc.UnaryServerInfo{
3238 Server: srv,
3239 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3240 }
3241 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3242 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3243 }
3244 return interceptor(ctx, in, info, handler)
3245}
3246
3247func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3248 in := new(common.ID)
3249 if err := dec(in); err != nil {
3250 return nil, err
3251 }
3252 if interceptor == nil {
3253 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3254 }
3255 info := &grpc.UnaryServerInfo{
3256 Server: srv,
3257 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3258 }
3259 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3260 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3261 }
3262 return interceptor(ctx, in, info, handler)
3263}
3264
3265func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3266 in := new(LogicalPortId)
3267 if err := dec(in); err != nil {
3268 return nil, err
3269 }
3270 if interceptor == nil {
3271 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3272 }
3273 info := &grpc.UnaryServerInfo{
3274 Server: srv,
3275 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3276 }
3277 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3278 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3279 }
3280 return interceptor(ctx, in, info, handler)
3281}
3282
3283func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3284 in := new(LogicalPortId)
3285 if err := dec(in); err != nil {
3286 return nil, err
3287 }
3288 if interceptor == nil {
3289 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3290 }
3291 info := &grpc.UnaryServerInfo{
3292 Server: srv,
3293 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3294 }
3295 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3296 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3297 }
3298 return interceptor(ctx, in, info, handler)
3299}
3300
3301func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3302 in := new(LogicalPortId)
3303 if err := dec(in); err != nil {
3304 return nil, err
3305 }
3306 if interceptor == nil {
3307 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3308 }
3309 info := &grpc.UnaryServerInfo{
3310 Server: srv,
3311 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3312 }
3313 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3314 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3315 }
3316 return interceptor(ctx, in, info, handler)
3317}
3318
3319func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3320 in := new(common.ID)
3321 if err := dec(in); err != nil {
3322 return nil, err
3323 }
3324 if interceptor == nil {
3325 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3326 }
3327 info := &grpc.UnaryServerInfo{
3328 Server: srv,
3329 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3330 }
3331 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3332 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3333 }
3334 return interceptor(ctx, in, info, handler)
3335}
3336
3337func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3338 in := new(openflow_13.FlowTableUpdate)
3339 if err := dec(in); err != nil {
3340 return nil, err
3341 }
3342 if interceptor == nil {
3343 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3344 }
3345 info := &grpc.UnaryServerInfo{
3346 Server: srv,
3347 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3348 }
3349 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3350 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3351 }
3352 return interceptor(ctx, in, info, handler)
3353}
3354
3355func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3356 in := new(openflow_13.MeterModUpdate)
3357 if err := dec(in); err != nil {
3358 return nil, err
3359 }
3360 if interceptor == nil {
3361 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3362 }
3363 info := &grpc.UnaryServerInfo{
3364 Server: srv,
3365 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3366 }
3367 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3368 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3369 }
3370 return interceptor(ctx, in, info, handler)
3371}
3372
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003373func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003374 in := new(common.ID)
3375 if err := dec(in); err != nil {
3376 return nil, err
3377 }
3378 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003379 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003380 }
3381 info := &grpc.UnaryServerInfo{
3382 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003383 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003384 }
3385 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003386 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003387 }
3388 return interceptor(ctx, in, info, handler)
3389}
3390
3391func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3392 in := new(common.ID)
3393 if err := dec(in); err != nil {
3394 return nil, err
3395 }
3396 if interceptor == nil {
3397 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3398 }
3399 info := &grpc.UnaryServerInfo{
3400 Server: srv,
3401 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3402 }
3403 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3404 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3405 }
3406 return interceptor(ctx, in, info, handler)
3407}
3408
3409func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3410 in := new(openflow_13.FlowGroupTableUpdate)
3411 if err := dec(in); err != nil {
3412 return nil, err
3413 }
3414 if interceptor == nil {
3415 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3416 }
3417 info := &grpc.UnaryServerInfo{
3418 Server: srv,
3419 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3420 }
3421 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3422 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3423 }
3424 return interceptor(ctx, in, info, handler)
3425}
3426
3427func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3428 in := new(empty.Empty)
3429 if err := dec(in); err != nil {
3430 return nil, err
3431 }
3432 if interceptor == nil {
3433 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3434 }
3435 info := &grpc.UnaryServerInfo{
3436 Server: srv,
3437 FullMethod: "/voltha.VolthaService/ListDevices",
3438 }
3439 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3440 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3441 }
3442 return interceptor(ctx, in, info, handler)
3443}
3444
3445func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3446 in := new(empty.Empty)
3447 if err := dec(in); err != nil {
3448 return nil, err
3449 }
3450 if interceptor == nil {
3451 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3452 }
3453 info := &grpc.UnaryServerInfo{
3454 Server: srv,
3455 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3456 }
3457 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3458 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3459 }
3460 return interceptor(ctx, in, info, handler)
3461}
3462
3463func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3464 in := new(common.IDs)
3465 if err := dec(in); err != nil {
3466 return nil, err
3467 }
3468 if interceptor == nil {
3469 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3470 }
3471 info := &grpc.UnaryServerInfo{
3472 Server: srv,
3473 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3474 }
3475 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3476 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3477 }
3478 return interceptor(ctx, in, info, handler)
3479}
3480
3481func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3482 in := new(common.ID)
3483 if err := dec(in); err != nil {
3484 return nil, err
3485 }
3486 if interceptor == nil {
3487 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3488 }
3489 info := &grpc.UnaryServerInfo{
3490 Server: srv,
3491 FullMethod: "/voltha.VolthaService/GetDevice",
3492 }
3493 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3494 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3495 }
3496 return interceptor(ctx, in, info, handler)
3497}
3498
3499func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3500 in := new(Device)
3501 if err := dec(in); err != nil {
3502 return nil, err
3503 }
3504 if interceptor == nil {
3505 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3506 }
3507 info := &grpc.UnaryServerInfo{
3508 Server: srv,
3509 FullMethod: "/voltha.VolthaService/CreateDevice",
3510 }
3511 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3512 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3513 }
3514 return interceptor(ctx, in, info, handler)
3515}
3516
3517func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3518 in := new(common.ID)
3519 if err := dec(in); err != nil {
3520 return nil, err
3521 }
3522 if interceptor == nil {
3523 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3524 }
3525 info := &grpc.UnaryServerInfo{
3526 Server: srv,
3527 FullMethod: "/voltha.VolthaService/EnableDevice",
3528 }
3529 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3530 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3531 }
3532 return interceptor(ctx, in, info, handler)
3533}
3534
3535func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3536 in := new(common.ID)
3537 if err := dec(in); err != nil {
3538 return nil, err
3539 }
3540 if interceptor == nil {
3541 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3542 }
3543 info := &grpc.UnaryServerInfo{
3544 Server: srv,
3545 FullMethod: "/voltha.VolthaService/DisableDevice",
3546 }
3547 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3548 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3549 }
3550 return interceptor(ctx, in, info, handler)
3551}
3552
3553func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3554 in := new(common.ID)
3555 if err := dec(in); err != nil {
3556 return nil, err
3557 }
3558 if interceptor == nil {
3559 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3560 }
3561 info := &grpc.UnaryServerInfo{
3562 Server: srv,
3563 FullMethod: "/voltha.VolthaService/RebootDevice",
3564 }
3565 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3566 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3567 }
3568 return interceptor(ctx, in, info, handler)
3569}
3570
3571func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3572 in := new(common.ID)
3573 if err := dec(in); err != nil {
3574 return nil, err
3575 }
3576 if interceptor == nil {
3577 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3578 }
3579 info := &grpc.UnaryServerInfo{
3580 Server: srv,
3581 FullMethod: "/voltha.VolthaService/DeleteDevice",
3582 }
3583 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3584 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3585 }
3586 return interceptor(ctx, in, info, handler)
3587}
3588
3589func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3590 in := new(ImageDownload)
3591 if err := dec(in); err != nil {
3592 return nil, err
3593 }
3594 if interceptor == nil {
3595 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3596 }
3597 info := &grpc.UnaryServerInfo{
3598 Server: srv,
3599 FullMethod: "/voltha.VolthaService/DownloadImage",
3600 }
3601 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3602 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3603 }
3604 return interceptor(ctx, in, info, handler)
3605}
3606
3607func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3608 in := new(ImageDownload)
3609 if err := dec(in); err != nil {
3610 return nil, err
3611 }
3612 if interceptor == nil {
3613 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3614 }
3615 info := &grpc.UnaryServerInfo{
3616 Server: srv,
3617 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3618 }
3619 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3620 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3621 }
3622 return interceptor(ctx, in, info, handler)
3623}
3624
3625func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3626 in := new(ImageDownload)
3627 if err := dec(in); err != nil {
3628 return nil, err
3629 }
3630 if interceptor == nil {
3631 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3632 }
3633 info := &grpc.UnaryServerInfo{
3634 Server: srv,
3635 FullMethod: "/voltha.VolthaService/GetImageDownload",
3636 }
3637 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3638 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3639 }
3640 return interceptor(ctx, in, info, handler)
3641}
3642
3643func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3644 in := new(common.ID)
3645 if err := dec(in); err != nil {
3646 return nil, err
3647 }
3648 if interceptor == nil {
3649 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3650 }
3651 info := &grpc.UnaryServerInfo{
3652 Server: srv,
3653 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3654 }
3655 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3656 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3657 }
3658 return interceptor(ctx, in, info, handler)
3659}
3660
3661func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3662 in := new(ImageDownload)
3663 if err := dec(in); err != nil {
3664 return nil, err
3665 }
3666 if interceptor == nil {
3667 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3668 }
3669 info := &grpc.UnaryServerInfo{
3670 Server: srv,
3671 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3672 }
3673 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3674 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3675 }
3676 return interceptor(ctx, in, info, handler)
3677}
3678
3679func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3680 in := new(ImageDownload)
3681 if err := dec(in); err != nil {
3682 return nil, err
3683 }
3684 if interceptor == nil {
3685 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3686 }
3687 info := &grpc.UnaryServerInfo{
3688 Server: srv,
3689 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3690 }
3691 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3692 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3693 }
3694 return interceptor(ctx, in, info, handler)
3695}
3696
3697func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3698 in := new(ImageDownload)
3699 if err := dec(in); err != nil {
3700 return nil, err
3701 }
3702 if interceptor == nil {
3703 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3704 }
3705 info := &grpc.UnaryServerInfo{
3706 Server: srv,
3707 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3708 }
3709 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3710 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3711 }
3712 return interceptor(ctx, in, info, handler)
3713}
3714
3715func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3716 in := new(common.ID)
3717 if err := dec(in); err != nil {
3718 return nil, err
3719 }
3720 if interceptor == nil {
3721 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3722 }
3723 info := &grpc.UnaryServerInfo{
3724 Server: srv,
3725 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3726 }
3727 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3728 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3729 }
3730 return interceptor(ctx, in, info, handler)
3731}
3732
3733func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3734 in := new(common.ID)
3735 if err := dec(in); err != nil {
3736 return nil, err
3737 }
3738 if interceptor == nil {
3739 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3740 }
3741 info := &grpc.UnaryServerInfo{
3742 Server: srv,
3743 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3744 }
3745 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3746 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3747 }
3748 return interceptor(ctx, in, info, handler)
3749}
3750
3751func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3752 in := new(PmConfigs)
3753 if err := dec(in); err != nil {
3754 return nil, err
3755 }
3756 if interceptor == nil {
3757 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3758 }
3759 info := &grpc.UnaryServerInfo{
3760 Server: srv,
3761 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3762 }
3763 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3764 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3765 }
3766 return interceptor(ctx, in, info, handler)
3767}
3768
3769func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3770 in := new(common.ID)
3771 if err := dec(in); err != nil {
3772 return nil, err
3773 }
3774 if interceptor == nil {
3775 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3776 }
3777 info := &grpc.UnaryServerInfo{
3778 Server: srv,
3779 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3780 }
3781 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3782 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3783 }
3784 return interceptor(ctx, in, info, handler)
3785}
3786
3787func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3788 in := new(common.ID)
3789 if err := dec(in); err != nil {
3790 return nil, err
3791 }
3792 if interceptor == nil {
3793 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3794 }
3795 info := &grpc.UnaryServerInfo{
3796 Server: srv,
3797 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3798 }
3799 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3800 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3801 }
3802 return interceptor(ctx, in, info, handler)
3803}
3804
3805func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3806 in := new(empty.Empty)
3807 if err := dec(in); err != nil {
3808 return nil, err
3809 }
3810 if interceptor == nil {
3811 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3812 }
3813 info := &grpc.UnaryServerInfo{
3814 Server: srv,
3815 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3816 }
3817 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3818 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
3819 }
3820 return interceptor(ctx, in, info, handler)
3821}
3822
3823func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3824 in := new(common.ID)
3825 if err := dec(in); err != nil {
3826 return nil, err
3827 }
3828 if interceptor == nil {
3829 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
3830 }
3831 info := &grpc.UnaryServerInfo{
3832 Server: srv,
3833 FullMethod: "/voltha.VolthaService/GetDeviceType",
3834 }
3835 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3836 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
3837 }
3838 return interceptor(ctx, in, info, handler)
3839}
3840
3841func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3842 in := new(empty.Empty)
3843 if err := dec(in); err != nil {
3844 return nil, err
3845 }
3846 if interceptor == nil {
3847 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
3848 }
3849 info := &grpc.UnaryServerInfo{
3850 Server: srv,
3851 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
3852 }
3853 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3854 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
3855 }
3856 return interceptor(ctx, in, info, handler)
3857}
3858
3859func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
3860 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
3861}
3862
3863type VolthaService_StreamPacketsOutServer interface {
3864 SendAndClose(*empty.Empty) error
3865 Recv() (*openflow_13.PacketOut, error)
3866 grpc.ServerStream
3867}
3868
3869type volthaServiceStreamPacketsOutServer struct {
3870 grpc.ServerStream
3871}
3872
3873func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
3874 return x.ServerStream.SendMsg(m)
3875}
3876
3877func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
3878 m := new(openflow_13.PacketOut)
3879 if err := x.ServerStream.RecvMsg(m); err != nil {
3880 return nil, err
3881 }
3882 return m, nil
3883}
3884
3885func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
3886 m := new(empty.Empty)
3887 if err := stream.RecvMsg(m); err != nil {
3888 return err
3889 }
3890 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
3891}
3892
3893type VolthaService_ReceivePacketsInServer interface {
3894 Send(*openflow_13.PacketIn) error
3895 grpc.ServerStream
3896}
3897
3898type volthaServiceReceivePacketsInServer struct {
3899 grpc.ServerStream
3900}
3901
3902func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
3903 return x.ServerStream.SendMsg(m)
3904}
3905
3906func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
3907 m := new(empty.Empty)
3908 if err := stream.RecvMsg(m); err != nil {
3909 return err
3910 }
3911 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
3912}
3913
3914type VolthaService_ReceiveChangeEventsServer interface {
3915 Send(*openflow_13.ChangeEvent) error
3916 grpc.ServerStream
3917}
3918
3919type volthaServiceReceiveChangeEventsServer struct {
3920 grpc.ServerStream
3921}
3922
3923func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
3924 return x.ServerStream.SendMsg(m)
3925}
3926
3927func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3928 in := new(common.ID)
3929 if err := dec(in); err != nil {
3930 return nil, err
3931 }
3932 if interceptor == nil {
3933 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
3934 }
3935 info := &grpc.UnaryServerInfo{
3936 Server: srv,
3937 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
3938 }
3939 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3940 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
3941 }
3942 return interceptor(ctx, in, info, handler)
3943}
3944
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003945func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3946 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04003947 if err := dec(in); err != nil {
3948 return nil, err
3949 }
3950 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003951 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003952 }
3953 info := &grpc.UnaryServerInfo{
3954 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003955 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04003956 }
3957 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003958 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04003959 }
3960 return interceptor(ctx, in, info, handler)
3961}
3962
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003963func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003964 in := new(common.ID)
3965 if err := dec(in); err != nil {
3966 return nil, err
3967 }
3968 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003969 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003970 }
3971 info := &grpc.UnaryServerInfo{
3972 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003973 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04003974 }
3975 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003976 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003977 }
3978 return interceptor(ctx, in, info, handler)
3979}
3980
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003981func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3982 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04003983 if err := dec(in); err != nil {
3984 return nil, err
3985 }
3986 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003987 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003988 }
3989 info := &grpc.UnaryServerInfo{
3990 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003991 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04003992 }
3993 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003994 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04003995 }
3996 return interceptor(ctx, in, info, handler)
3997}
3998
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003999func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4000 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04004001 if err := dec(in); err != nil {
4002 return nil, err
4003 }
4004 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004005 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004006 }
4007 info := &grpc.UnaryServerInfo{
4008 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004009 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004010 }
4011 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004012 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004013 }
4014 return interceptor(ctx, in, info, handler)
4015}
4016
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004017func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004018 in := new(empty.Empty)
4019 if err := dec(in); err != nil {
4020 return nil, err
4021 }
4022 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004023 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004024 }
4025 info := &grpc.UnaryServerInfo{
4026 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004027 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04004028 }
4029 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004030 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04004031 }
4032 return interceptor(ctx, in, info, handler)
4033}
4034
4035func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4036 in := new(common.ID)
4037 if err := dec(in); err != nil {
4038 return nil, err
4039 }
4040 if interceptor == nil {
4041 return srv.(VolthaServiceServer).GetImages(ctx, in)
4042 }
4043 info := &grpc.UnaryServerInfo{
4044 Server: srv,
4045 FullMethod: "/voltha.VolthaService/GetImages",
4046 }
4047 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4048 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4049 }
4050 return interceptor(ctx, in, info, handler)
4051}
4052
4053func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4054 in := new(common.ID)
4055 if err := dec(in); err != nil {
4056 return nil, err
4057 }
4058 if interceptor == nil {
4059 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4060 }
4061 info := &grpc.UnaryServerInfo{
4062 Server: srv,
4063 FullMethod: "/voltha.VolthaService/SelfTest",
4064 }
4065 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4066 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4067 }
4068 return interceptor(ctx, in, info, handler)
4069}
4070
4071func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4072 in := new(common.ID)
4073 if err := dec(in); err != nil {
4074 return nil, err
4075 }
4076 if interceptor == nil {
4077 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4078 }
4079 info := &grpc.UnaryServerInfo{
4080 Server: srv,
4081 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4082 }
4083 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4084 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4085 }
4086 return interceptor(ctx, in, info, handler)
4087}
4088
4089func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4090 in := new(common.ID)
4091 if err := dec(in); err != nil {
4092 return nil, err
4093 }
4094 if interceptor == nil {
4095 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4096 }
4097 info := &grpc.UnaryServerInfo{
4098 Server: srv,
4099 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4100 }
4101 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4102 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4103 }
4104 return interceptor(ctx, in, info, handler)
4105}
4106
4107func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4108 in := new(SimulateAlarmRequest)
4109 if err := dec(in); err != nil {
4110 return nil, err
4111 }
4112 if interceptor == nil {
4113 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4114 }
4115 info := &grpc.UnaryServerInfo{
4116 Server: srv,
4117 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4118 }
4119 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4120 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4121 }
4122 return interceptor(ctx, in, info, handler)
4123}
4124
4125func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4126 in := new(OfAgentSubscriber)
4127 if err := dec(in); err != nil {
4128 return nil, err
4129 }
4130 if interceptor == nil {
4131 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4132 }
4133 info := &grpc.UnaryServerInfo{
4134 Server: srv,
4135 FullMethod: "/voltha.VolthaService/Subscribe",
4136 }
4137 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4138 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4139 }
4140 return interceptor(ctx, in, info, handler)
4141}
4142
4143var _VolthaService_serviceDesc = grpc.ServiceDesc{
4144 ServiceName: "voltha.VolthaService",
4145 HandlerType: (*VolthaServiceServer)(nil),
4146 Methods: []grpc.MethodDesc{
4147 {
4148 MethodName: "UpdateLogLevel",
4149 Handler: _VolthaService_UpdateLogLevel_Handler,
4150 },
4151 {
Scott Baker99af94e2019-08-20 10:45:06 -07004152 MethodName: "GetLogLevels",
4153 Handler: _VolthaService_GetLogLevels_Handler,
4154 },
4155 {
William Kurkian1b363f42019-03-12 15:28:12 -04004156 MethodName: "GetMembership",
4157 Handler: _VolthaService_GetMembership_Handler,
4158 },
4159 {
4160 MethodName: "UpdateMembership",
4161 Handler: _VolthaService_UpdateMembership_Handler,
4162 },
4163 {
4164 MethodName: "GetVoltha",
4165 Handler: _VolthaService_GetVoltha_Handler,
4166 },
4167 {
4168 MethodName: "ListCoreInstances",
4169 Handler: _VolthaService_ListCoreInstances_Handler,
4170 },
4171 {
4172 MethodName: "GetCoreInstance",
4173 Handler: _VolthaService_GetCoreInstance_Handler,
4174 },
4175 {
4176 MethodName: "ListAdapters",
4177 Handler: _VolthaService_ListAdapters_Handler,
4178 },
4179 {
4180 MethodName: "ListLogicalDevices",
4181 Handler: _VolthaService_ListLogicalDevices_Handler,
4182 },
4183 {
4184 MethodName: "GetLogicalDevice",
4185 Handler: _VolthaService_GetLogicalDevice_Handler,
4186 },
4187 {
4188 MethodName: "ListLogicalDevicePorts",
4189 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4190 },
4191 {
4192 MethodName: "GetLogicalDevicePort",
4193 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4194 },
4195 {
4196 MethodName: "EnableLogicalDevicePort",
4197 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4198 },
4199 {
4200 MethodName: "DisableLogicalDevicePort",
4201 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4202 },
4203 {
4204 MethodName: "ListLogicalDeviceFlows",
4205 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4206 },
4207 {
4208 MethodName: "UpdateLogicalDeviceFlowTable",
4209 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4210 },
4211 {
4212 MethodName: "UpdateLogicalDeviceMeterTable",
4213 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4214 },
4215 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004216 MethodName: "ListLogicalDeviceMeters",
4217 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004218 },
4219 {
4220 MethodName: "ListLogicalDeviceFlowGroups",
4221 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4222 },
4223 {
4224 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4225 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4226 },
4227 {
4228 MethodName: "ListDevices",
4229 Handler: _VolthaService_ListDevices_Handler,
4230 },
4231 {
4232 MethodName: "ListDeviceIds",
4233 Handler: _VolthaService_ListDeviceIds_Handler,
4234 },
4235 {
4236 MethodName: "ReconcileDevices",
4237 Handler: _VolthaService_ReconcileDevices_Handler,
4238 },
4239 {
4240 MethodName: "GetDevice",
4241 Handler: _VolthaService_GetDevice_Handler,
4242 },
4243 {
4244 MethodName: "CreateDevice",
4245 Handler: _VolthaService_CreateDevice_Handler,
4246 },
4247 {
4248 MethodName: "EnableDevice",
4249 Handler: _VolthaService_EnableDevice_Handler,
4250 },
4251 {
4252 MethodName: "DisableDevice",
4253 Handler: _VolthaService_DisableDevice_Handler,
4254 },
4255 {
4256 MethodName: "RebootDevice",
4257 Handler: _VolthaService_RebootDevice_Handler,
4258 },
4259 {
4260 MethodName: "DeleteDevice",
4261 Handler: _VolthaService_DeleteDevice_Handler,
4262 },
4263 {
4264 MethodName: "DownloadImage",
4265 Handler: _VolthaService_DownloadImage_Handler,
4266 },
4267 {
4268 MethodName: "GetImageDownloadStatus",
4269 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4270 },
4271 {
4272 MethodName: "GetImageDownload",
4273 Handler: _VolthaService_GetImageDownload_Handler,
4274 },
4275 {
4276 MethodName: "ListImageDownloads",
4277 Handler: _VolthaService_ListImageDownloads_Handler,
4278 },
4279 {
4280 MethodName: "CancelImageDownload",
4281 Handler: _VolthaService_CancelImageDownload_Handler,
4282 },
4283 {
4284 MethodName: "ActivateImageUpdate",
4285 Handler: _VolthaService_ActivateImageUpdate_Handler,
4286 },
4287 {
4288 MethodName: "RevertImageUpdate",
4289 Handler: _VolthaService_RevertImageUpdate_Handler,
4290 },
4291 {
4292 MethodName: "ListDevicePorts",
4293 Handler: _VolthaService_ListDevicePorts_Handler,
4294 },
4295 {
4296 MethodName: "ListDevicePmConfigs",
4297 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4298 },
4299 {
4300 MethodName: "UpdateDevicePmConfigs",
4301 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4302 },
4303 {
4304 MethodName: "ListDeviceFlows",
4305 Handler: _VolthaService_ListDeviceFlows_Handler,
4306 },
4307 {
4308 MethodName: "ListDeviceFlowGroups",
4309 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4310 },
4311 {
4312 MethodName: "ListDeviceTypes",
4313 Handler: _VolthaService_ListDeviceTypes_Handler,
4314 },
4315 {
4316 MethodName: "GetDeviceType",
4317 Handler: _VolthaService_GetDeviceType_Handler,
4318 },
4319 {
4320 MethodName: "ListDeviceGroups",
4321 Handler: _VolthaService_ListDeviceGroups_Handler,
4322 },
4323 {
4324 MethodName: "GetDeviceGroup",
4325 Handler: _VolthaService_GetDeviceGroup_Handler,
4326 },
4327 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004328 MethodName: "CreateEventFilter",
4329 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004330 },
4331 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004332 MethodName: "GetEventFilter",
4333 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004334 },
4335 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004336 MethodName: "UpdateEventFilter",
4337 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004338 },
4339 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004340 MethodName: "DeleteEventFilter",
4341 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004342 },
4343 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004344 MethodName: "ListEventFilters",
4345 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004346 },
4347 {
4348 MethodName: "GetImages",
4349 Handler: _VolthaService_GetImages_Handler,
4350 },
4351 {
4352 MethodName: "SelfTest",
4353 Handler: _VolthaService_SelfTest_Handler,
4354 },
4355 {
4356 MethodName: "GetMibDeviceData",
4357 Handler: _VolthaService_GetMibDeviceData_Handler,
4358 },
4359 {
4360 MethodName: "GetAlarmDeviceData",
4361 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4362 },
4363 {
4364 MethodName: "SimulateAlarm",
4365 Handler: _VolthaService_SimulateAlarm_Handler,
4366 },
4367 {
4368 MethodName: "Subscribe",
4369 Handler: _VolthaService_Subscribe_Handler,
4370 },
4371 },
4372 Streams: []grpc.StreamDesc{
4373 {
4374 StreamName: "StreamPacketsOut",
4375 Handler: _VolthaService_StreamPacketsOut_Handler,
4376 ClientStreams: true,
4377 },
4378 {
4379 StreamName: "ReceivePacketsIn",
4380 Handler: _VolthaService_ReceivePacketsIn_Handler,
4381 ServerStreams: true,
4382 },
4383 {
4384 StreamName: "ReceiveChangeEvents",
4385 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4386 ServerStreams: true,
4387 },
4388 },
4389 Metadata: "voltha_protos/voltha.proto",
4390}