blob: e5e41428a33841baab24ebb694057aaf8be58679 [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
1273type AlarmFilterRuleKey_AlarmFilterRuleKey int32
1274
1275const (
1276 AlarmFilterRuleKey_id AlarmFilterRuleKey_AlarmFilterRuleKey = 0
1277 AlarmFilterRuleKey_type AlarmFilterRuleKey_AlarmFilterRuleKey = 1
1278 AlarmFilterRuleKey_severity AlarmFilterRuleKey_AlarmFilterRuleKey = 2
1279 AlarmFilterRuleKey_resource_id AlarmFilterRuleKey_AlarmFilterRuleKey = 3
1280 AlarmFilterRuleKey_category AlarmFilterRuleKey_AlarmFilterRuleKey = 4
1281 AlarmFilterRuleKey_device_id AlarmFilterRuleKey_AlarmFilterRuleKey = 5
1282)
1283
1284var AlarmFilterRuleKey_AlarmFilterRuleKey_name = map[int32]string{
1285 0: "id",
1286 1: "type",
1287 2: "severity",
1288 3: "resource_id",
1289 4: "category",
1290 5: "device_id",
1291}
William Kurkianad745652019-03-20 08:45:51 -04001292
William Kurkian1b363f42019-03-12 15:28:12 -04001293var AlarmFilterRuleKey_AlarmFilterRuleKey_value = map[string]int32{
1294 "id": 0,
1295 "type": 1,
1296 "severity": 2,
1297 "resource_id": 3,
1298 "category": 4,
1299 "device_id": 5,
1300}
1301
1302func (x AlarmFilterRuleKey_AlarmFilterRuleKey) String() string {
1303 return proto.EnumName(AlarmFilterRuleKey_AlarmFilterRuleKey_name, int32(x))
1304}
William Kurkianad745652019-03-20 08:45:51 -04001305
William Kurkian1b363f42019-03-12 15:28:12 -04001306func (AlarmFilterRuleKey_AlarmFilterRuleKey) 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
1435type AlarmFilterRuleKey struct {
1436 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1437 XXX_unrecognized []byte `json:"-"`
1438 XXX_sizecache int32 `json:"-"`
1439}
1440
1441func (m *AlarmFilterRuleKey) Reset() { *m = AlarmFilterRuleKey{} }
1442func (m *AlarmFilterRuleKey) String() string { return proto.CompactTextString(m) }
1443func (*AlarmFilterRuleKey) ProtoMessage() {}
1444func (*AlarmFilterRuleKey) 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
William Kurkian1b363f42019-03-12 15:28:12 -04001448func (m *AlarmFilterRuleKey) XXX_Unmarshal(b []byte) error {
1449 return xxx_messageInfo_AlarmFilterRuleKey.Unmarshal(m, b)
1450}
1451func (m *AlarmFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1452 return xxx_messageInfo_AlarmFilterRuleKey.Marshal(b, m, deterministic)
1453}
William Kurkianad745652019-03-20 08:45:51 -04001454func (m *AlarmFilterRuleKey) XXX_Merge(src proto.Message) {
1455 xxx_messageInfo_AlarmFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001456}
1457func (m *AlarmFilterRuleKey) XXX_Size() int {
1458 return xxx_messageInfo_AlarmFilterRuleKey.Size(m)
1459}
1460func (m *AlarmFilterRuleKey) XXX_DiscardUnknown() {
1461 xxx_messageInfo_AlarmFilterRuleKey.DiscardUnknown(m)
1462}
1463
1464var xxx_messageInfo_AlarmFilterRuleKey proto.InternalMessageInfo
1465
1466type AlarmFilterRule struct {
1467 Key AlarmFilterRuleKey_AlarmFilterRuleKey `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.AlarmFilterRuleKey_AlarmFilterRuleKey" 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:"-"`
1472}
1473
1474func (m *AlarmFilterRule) Reset() { *m = AlarmFilterRule{} }
1475func (m *AlarmFilterRule) String() string { return proto.CompactTextString(m) }
1476func (*AlarmFilterRule) ProtoMessage() {}
1477func (*AlarmFilterRule) 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
William Kurkian1b363f42019-03-12 15:28:12 -04001481func (m *AlarmFilterRule) XXX_Unmarshal(b []byte) error {
1482 return xxx_messageInfo_AlarmFilterRule.Unmarshal(m, b)
1483}
1484func (m *AlarmFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1485 return xxx_messageInfo_AlarmFilterRule.Marshal(b, m, deterministic)
1486}
William Kurkianad745652019-03-20 08:45:51 -04001487func (m *AlarmFilterRule) XXX_Merge(src proto.Message) {
1488 xxx_messageInfo_AlarmFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001489}
1490func (m *AlarmFilterRule) XXX_Size() int {
1491 return xxx_messageInfo_AlarmFilterRule.Size(m)
1492}
1493func (m *AlarmFilterRule) XXX_DiscardUnknown() {
1494 xxx_messageInfo_AlarmFilterRule.DiscardUnknown(m)
1495}
1496
1497var xxx_messageInfo_AlarmFilterRule proto.InternalMessageInfo
1498
1499func (m *AlarmFilterRule) GetKey() AlarmFilterRuleKey_AlarmFilterRuleKey {
1500 if m != nil {
1501 return m.Key
1502 }
1503 return AlarmFilterRuleKey_id
1504}
1505
1506func (m *AlarmFilterRule) GetValue() string {
1507 if m != nil {
1508 return m.Value
1509 }
1510 return ""
1511}
1512
1513type AlarmFilter struct {
1514 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1515 Rules []*AlarmFilterRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
1516 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1517 XXX_unrecognized []byte `json:"-"`
1518 XXX_sizecache int32 `json:"-"`
1519}
1520
1521func (m *AlarmFilter) Reset() { *m = AlarmFilter{} }
1522func (m *AlarmFilter) String() string { return proto.CompactTextString(m) }
1523func (*AlarmFilter) ProtoMessage() {}
1524func (*AlarmFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001525 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001526}
William Kurkianad745652019-03-20 08:45:51 -04001527
William Kurkian1b363f42019-03-12 15:28:12 -04001528func (m *AlarmFilter) XXX_Unmarshal(b []byte) error {
1529 return xxx_messageInfo_AlarmFilter.Unmarshal(m, b)
1530}
1531func (m *AlarmFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1532 return xxx_messageInfo_AlarmFilter.Marshal(b, m, deterministic)
1533}
William Kurkianad745652019-03-20 08:45:51 -04001534func (m *AlarmFilter) XXX_Merge(src proto.Message) {
1535 xxx_messageInfo_AlarmFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001536}
1537func (m *AlarmFilter) XXX_Size() int {
1538 return xxx_messageInfo_AlarmFilter.Size(m)
1539}
1540func (m *AlarmFilter) XXX_DiscardUnknown() {
1541 xxx_messageInfo_AlarmFilter.DiscardUnknown(m)
1542}
1543
1544var xxx_messageInfo_AlarmFilter proto.InternalMessageInfo
1545
1546func (m *AlarmFilter) GetId() string {
1547 if m != nil {
1548 return m.Id
1549 }
1550 return ""
1551}
1552
1553func (m *AlarmFilter) GetRules() []*AlarmFilterRule {
1554 if m != nil {
1555 return m.Rules
1556 }
1557 return nil
1558}
1559
1560type AlarmFilters struct {
1561 Filters []*AlarmFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
1562 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1563 XXX_unrecognized []byte `json:"-"`
1564 XXX_sizecache int32 `json:"-"`
1565}
1566
1567func (m *AlarmFilters) Reset() { *m = AlarmFilters{} }
1568func (m *AlarmFilters) String() string { return proto.CompactTextString(m) }
1569func (*AlarmFilters) ProtoMessage() {}
1570func (*AlarmFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001571 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001572}
William Kurkianad745652019-03-20 08:45:51 -04001573
William Kurkian1b363f42019-03-12 15:28:12 -04001574func (m *AlarmFilters) XXX_Unmarshal(b []byte) error {
1575 return xxx_messageInfo_AlarmFilters.Unmarshal(m, b)
1576}
1577func (m *AlarmFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1578 return xxx_messageInfo_AlarmFilters.Marshal(b, m, deterministic)
1579}
William Kurkianad745652019-03-20 08:45:51 -04001580func (m *AlarmFilters) XXX_Merge(src proto.Message) {
1581 xxx_messageInfo_AlarmFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001582}
1583func (m *AlarmFilters) XXX_Size() int {
1584 return xxx_messageInfo_AlarmFilters.Size(m)
1585}
1586func (m *AlarmFilters) XXX_DiscardUnknown() {
1587 xxx_messageInfo_AlarmFilters.DiscardUnknown(m)
1588}
1589
1590var xxx_messageInfo_AlarmFilters proto.InternalMessageInfo
1591
1592func (m *AlarmFilters) GetFilters() []*AlarmFilter {
1593 if m != nil {
1594 return m.Filters
1595 }
1596 return nil
1597}
1598
William Kurkian1b363f42019-03-12 15:28:12 -04001599// CoreInstance represents a core instance. It is data held in memory when a core
1600// is running. This data is not persistent.
1601type CoreInstance struct {
1602 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1603 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1604 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1605 XXX_unrecognized []byte `json:"-"`
1606 XXX_sizecache int32 `json:"-"`
1607}
1608
1609func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1610func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1611func (*CoreInstance) ProtoMessage() {}
1612func (*CoreInstance) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001613 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001614}
William Kurkianad745652019-03-20 08:45:51 -04001615
William Kurkian1b363f42019-03-12 15:28:12 -04001616func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1617 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1618}
1619func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1620 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1621}
William Kurkianad745652019-03-20 08:45:51 -04001622func (m *CoreInstance) XXX_Merge(src proto.Message) {
1623 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001624}
1625func (m *CoreInstance) XXX_Size() int {
1626 return xxx_messageInfo_CoreInstance.Size(m)
1627}
1628func (m *CoreInstance) XXX_DiscardUnknown() {
1629 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1630}
1631
1632var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1633
1634func (m *CoreInstance) GetInstanceId() string {
1635 if m != nil {
1636 return m.InstanceId
1637 }
1638 return ""
1639}
1640
1641func (m *CoreInstance) GetHealth() *HealthStatus {
1642 if m != nil {
1643 return m.Health
1644 }
1645 return nil
1646}
1647
1648type CoreInstances struct {
1649 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1650 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1651 XXX_unrecognized []byte `json:"-"`
1652 XXX_sizecache int32 `json:"-"`
1653}
1654
1655func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1656func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1657func (*CoreInstances) ProtoMessage() {}
1658func (*CoreInstances) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001659 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001660}
William Kurkianad745652019-03-20 08:45:51 -04001661
William Kurkian1b363f42019-03-12 15:28:12 -04001662func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1663 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1664}
1665func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1666 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1667}
William Kurkianad745652019-03-20 08:45:51 -04001668func (m *CoreInstances) XXX_Merge(src proto.Message) {
1669 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001670}
1671func (m *CoreInstances) XXX_Size() int {
1672 return xxx_messageInfo_CoreInstances.Size(m)
1673}
1674func (m *CoreInstances) XXX_DiscardUnknown() {
1675 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1676}
1677
1678var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1679
1680func (m *CoreInstances) GetItems() []*CoreInstance {
1681 if m != nil {
1682 return m.Items
1683 }
1684 return nil
1685}
1686
1687// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1688// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1689// for better performance
1690type Voltha struct {
1691 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1692 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1693 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1694 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1695 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1696 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
1697 AlarmFilters []*AlarmFilter `protobuf:"bytes,7,rep,name=alarm_filters,json=alarmFilters,proto3" json:"alarm_filters,omitempty"`
1698 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1699 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1700 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1701 XXX_unrecognized []byte `json:"-"`
1702 XXX_sizecache int32 `json:"-"`
1703}
1704
1705func (m *Voltha) Reset() { *m = Voltha{} }
1706func (m *Voltha) String() string { return proto.CompactTextString(m) }
1707func (*Voltha) ProtoMessage() {}
1708func (*Voltha) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001709 return fileDescriptor_e084f1a60ce7016c, []int{8}
William Kurkian1b363f42019-03-12 15:28:12 -04001710}
William Kurkianad745652019-03-20 08:45:51 -04001711
William Kurkian1b363f42019-03-12 15:28:12 -04001712func (m *Voltha) XXX_Unmarshal(b []byte) error {
1713 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1714}
1715func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1716 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1717}
William Kurkianad745652019-03-20 08:45:51 -04001718func (m *Voltha) XXX_Merge(src proto.Message) {
1719 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001720}
1721func (m *Voltha) XXX_Size() int {
1722 return xxx_messageInfo_Voltha.Size(m)
1723}
1724func (m *Voltha) XXX_DiscardUnknown() {
1725 xxx_messageInfo_Voltha.DiscardUnknown(m)
1726}
1727
1728var xxx_messageInfo_Voltha proto.InternalMessageInfo
1729
1730func (m *Voltha) GetVersion() string {
1731 if m != nil {
1732 return m.Version
1733 }
1734 return ""
1735}
1736
1737func (m *Voltha) GetAdapters() []*Adapter {
1738 if m != nil {
1739 return m.Adapters
1740 }
1741 return nil
1742}
1743
1744func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1745 if m != nil {
1746 return m.LogicalDevices
1747 }
1748 return nil
1749}
1750
1751func (m *Voltha) GetDevices() []*Device {
1752 if m != nil {
1753 return m.Devices
1754 }
1755 return nil
1756}
1757
1758func (m *Voltha) GetDeviceTypes() []*DeviceType {
1759 if m != nil {
1760 return m.DeviceTypes
1761 }
1762 return nil
1763}
1764
1765func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1766 if m != nil {
1767 return m.DeviceGroups
1768 }
1769 return nil
1770}
1771
1772func (m *Voltha) GetAlarmFilters() []*AlarmFilter {
1773 if m != nil {
1774 return m.AlarmFilters
1775 }
1776 return nil
1777}
1778
1779func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1780 if m != nil {
1781 return m.OmciMibDatabase
1782 }
1783 return nil
1784}
1785
1786func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1787 if m != nil {
1788 return m.OmciAlarmDatabase
1789 }
1790 return nil
1791}
1792
1793// Device Self Test Response
1794type SelfTestResponse struct {
1795 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1796 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1797 XXX_unrecognized []byte `json:"-"`
1798 XXX_sizecache int32 `json:"-"`
1799}
1800
1801func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
1802func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
1803func (*SelfTestResponse) ProtoMessage() {}
1804func (*SelfTestResponse) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001805 return fileDescriptor_e084f1a60ce7016c, []int{9}
William Kurkian1b363f42019-03-12 15:28:12 -04001806}
William Kurkianad745652019-03-20 08:45:51 -04001807
William Kurkian1b363f42019-03-12 15:28:12 -04001808func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
1809 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
1810}
1811func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1812 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
1813}
William Kurkianad745652019-03-20 08:45:51 -04001814func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
1815 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001816}
1817func (m *SelfTestResponse) XXX_Size() int {
1818 return xxx_messageInfo_SelfTestResponse.Size(m)
1819}
1820func (m *SelfTestResponse) XXX_DiscardUnknown() {
1821 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
1822}
1823
1824var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
1825
1826func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
1827 if m != nil {
1828 return m.Result
1829 }
1830 return SelfTestResponse_SUCCESS
1831}
1832
1833type OfAgentSubscriber struct {
1834 // ID of ofagent instance
1835 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
1836 // ID of voltha instance to which the ofagent is subscribed
1837 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
1838 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1839 XXX_unrecognized []byte `json:"-"`
1840 XXX_sizecache int32 `json:"-"`
1841}
1842
1843func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
1844func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
1845func (*OfAgentSubscriber) ProtoMessage() {}
1846func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001847 return fileDescriptor_e084f1a60ce7016c, []int{10}
William Kurkian1b363f42019-03-12 15:28:12 -04001848}
William Kurkianad745652019-03-20 08:45:51 -04001849
William Kurkian1b363f42019-03-12 15:28:12 -04001850func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
1851 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
1852}
1853func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1854 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
1855}
William Kurkianad745652019-03-20 08:45:51 -04001856func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
1857 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001858}
1859func (m *OfAgentSubscriber) XXX_Size() int {
1860 return xxx_messageInfo_OfAgentSubscriber.Size(m)
1861}
1862func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
1863 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
1864}
1865
1866var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
1867
1868func (m *OfAgentSubscriber) GetOfagentId() string {
1869 if m != nil {
1870 return m.OfagentId
1871 }
1872 return ""
1873}
1874
1875func (m *OfAgentSubscriber) GetVolthaId() string {
1876 if m != nil {
1877 return m.VolthaId
1878 }
1879 return ""
1880}
1881
1882// Identifies a membership group a Core belongs to
1883type Membership struct {
1884 // Group name
1885 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
1886 // Unique ID of a container within that group
1887 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
1888 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1889 XXX_unrecognized []byte `json:"-"`
1890 XXX_sizecache int32 `json:"-"`
1891}
1892
1893func (m *Membership) Reset() { *m = Membership{} }
1894func (m *Membership) String() string { return proto.CompactTextString(m) }
1895func (*Membership) ProtoMessage() {}
1896func (*Membership) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001897 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001898}
William Kurkianad745652019-03-20 08:45:51 -04001899
William Kurkian1b363f42019-03-12 15:28:12 -04001900func (m *Membership) XXX_Unmarshal(b []byte) error {
1901 return xxx_messageInfo_Membership.Unmarshal(m, b)
1902}
1903func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1904 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
1905}
William Kurkianad745652019-03-20 08:45:51 -04001906func (m *Membership) XXX_Merge(src proto.Message) {
1907 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001908}
1909func (m *Membership) XXX_Size() int {
1910 return xxx_messageInfo_Membership.Size(m)
1911}
1912func (m *Membership) XXX_DiscardUnknown() {
1913 xxx_messageInfo_Membership.DiscardUnknown(m)
1914}
1915
1916var xxx_messageInfo_Membership proto.InternalMessageInfo
1917
1918func (m *Membership) GetGroupName() string {
1919 if m != nil {
1920 return m.GroupName
1921 }
1922 return ""
1923}
1924
1925func (m *Membership) GetId() string {
1926 if m != nil {
1927 return m.Id
1928 }
1929 return ""
1930}
1931
manikkaraj k166cb202019-07-28 13:05:56 -04001932// Additional information required to process flow at device adapters
1933type FlowMetadata struct {
1934 // Meters associated with flow-update to adapter
1935 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
1936 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1937 XXX_unrecognized []byte `json:"-"`
1938 XXX_sizecache int32 `json:"-"`
1939}
1940
1941func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
1942func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
1943func (*FlowMetadata) ProtoMessage() {}
1944func (*FlowMetadata) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001945 return fileDescriptor_e084f1a60ce7016c, []int{12}
manikkaraj k166cb202019-07-28 13:05:56 -04001946}
1947
1948func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
1949 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
1950}
1951func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1952 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
1953}
1954func (m *FlowMetadata) XXX_Merge(src proto.Message) {
1955 xxx_messageInfo_FlowMetadata.Merge(m, src)
1956}
1957func (m *FlowMetadata) XXX_Size() int {
1958 return xxx_messageInfo_FlowMetadata.Size(m)
1959}
1960func (m *FlowMetadata) XXX_DiscardUnknown() {
1961 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
1962}
1963
1964var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
1965
1966func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
1967 if m != nil {
1968 return m.Meters
1969 }
1970 return nil
1971}
1972
William Kurkian1b363f42019-03-12 15:28:12 -04001973func init() {
William Kurkianad745652019-03-20 08:45:51 -04001974 proto.RegisterEnum("voltha.AlarmFilterRuleKey_AlarmFilterRuleKey", AlarmFilterRuleKey_AlarmFilterRuleKey_name, AlarmFilterRuleKey_AlarmFilterRuleKey_value)
1975 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04001976 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
1977 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
1978 proto.RegisterType((*AlarmFilterRuleKey)(nil), "voltha.AlarmFilterRuleKey")
1979 proto.RegisterType((*AlarmFilterRule)(nil), "voltha.AlarmFilterRule")
1980 proto.RegisterType((*AlarmFilter)(nil), "voltha.AlarmFilter")
1981 proto.RegisterType((*AlarmFilters)(nil), "voltha.AlarmFilters")
William Kurkian1b363f42019-03-12 15:28:12 -04001982 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
1983 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
1984 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
1985 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
1986 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
1987 proto.RegisterType((*Membership)(nil), "voltha.Membership")
manikkaraj k166cb202019-07-28 13:05:56 -04001988 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianad745652019-03-20 08:45:51 -04001989}
1990
1991func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
1992
1993var fileDescriptor_e084f1a60ce7016c = []byte{
Scott Baker383964b2019-11-01 14:26:07 -07001994 // 2497 bytes of a gzipped FileDescriptorProto
1995 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcb, 0x72, 0xdb, 0xc8,
1996 0xd5, 0x16, 0x75, 0xd7, 0x21, 0x29, 0x92, 0x4d, 0x5d, 0x38, 0x94, 0x34, 0x96, 0x7b, 0x7c, 0xfb,
1997 0xf5, 0x8f, 0x48, 0x5b, 0x1a, 0xbb, 0x12, 0x4f, 0xa6, 0x26, 0x16, 0x25, 0x2b, 0x8c, 0x65, 0x89,
1998 0x01, 0x2d, 0x3b, 0xc9, 0x8c, 0x8b, 0x05, 0x12, 0x2d, 0x0a, 0x35, 0x20, 0xc0, 0xa0, 0x9b, 0x74,
1999 0x54, 0xce, 0x54, 0x52, 0xce, 0xb5, 0xb2, 0xcc, 0xbc, 0x42, 0x56, 0xa9, 0xbc, 0x8a, 0x57, 0x79,
2000 0x81, 0x54, 0x2a, 0x8b, 0x2c, 0xb3, 0x72, 0xb2, 0x4c, 0xf5, 0x05, 0x24, 0x40, 0x00, 0xba, 0x4c,
2001 0xa6, 0x2a, 0x2b, 0x11, 0xdd, 0xa7, 0xbf, 0xef, 0xeb, 0xd3, 0xa7, 0xfb, 0x1c, 0x34, 0x04, 0xc5,
2002 0xbe, 0x63, 0xb1, 0x53, 0xbd, 0xd1, 0x75, 0x1d, 0xe6, 0xd0, 0xb2, 0x7c, 0x2a, 0x89, 0x27, 0x34,
2003 0x2d, 0x9f, 0x8a, 0xab, 0x6d, 0xc7, 0x69, 0x5b, 0xa4, 0xac, 0x77, 0xcd, 0xb2, 0x6e, 0xdb, 0x0e,
2004 0xd3, 0x99, 0xe9, 0xd8, 0x54, 0x5a, 0x15, 0x57, 0x54, 0xaf, 0x78, 0x6a, 0xf6, 0x4e, 0xca, 0xa4,
2005 0xd3, 0x65, 0x67, 0xaa, 0xb3, 0x10, 0x84, 0xef, 0x10, 0xa6, 0xc0, 0x8b, 0x23, 0xc4, 0x2d, 0xa7,
2006 0xd3, 0x71, 0xec, 0xe8, 0xbe, 0x53, 0xa2, 0x5b, 0xec, 0x54, 0xf5, 0xe1, 0x60, 0x9f, 0xe5, 0xb4,
2007 0xcd, 0x96, 0x6e, 0x35, 0x0c, 0xd2, 0x37, 0x5b, 0x24, 0x7a, 0x7c, 0xa0, 0x6f, 0x25, 0xd8, 0xa7,
2008 0x1b, 0x7a, 0x97, 0x11, 0x57, 0x75, 0x5e, 0x0b, 0x76, 0x3a, 0x5d, 0x62, 0x9f, 0x58, 0xce, 0xab,
2009 0xc6, 0xbd, 0xed, 0x18, 0x83, 0x4e, 0xcb, 0x6c, 0x74, 0xcc, 0x66, 0xc3, 0x68, 0x2a, 0x83, 0xeb,
2010 0x11, 0x06, 0xba, 0xa5, 0xbb, 0x9d, 0xa1, 0xc9, 0x7a, 0xd0, 0xe4, 0x4c, 0xb7, 0xdb, 0x0d, 0xa7,
2011 0xeb, 0x73, 0x29, 0xfe, 0x63, 0x02, 0x92, 0xbb, 0x42, 0xf4, 0xbe, 0xeb, 0xf4, 0xba, 0x68, 0x11,
2012 0xc6, 0x4d, 0xa3, 0x90, 0x58, 0x4f, 0xdc, 0x99, 0xdb, 0x99, 0xfa, 0xc7, 0xbb, 0xb7, 0x6b, 0x09,
2013 0x6d, 0xdc, 0x34, 0x50, 0x15, 0x32, 0xc1, 0xe9, 0xd3, 0xc2, 0xf8, 0xfa, 0xc4, 0x9d, 0xe4, 0xd6,
2014 0x62, 0x49, 0xad, 0xe3, 0x81, 0xec, 0x96, 0x58, 0x3b, 0x73, 0x7f, 0x7b, 0xf7, 0x76, 0x6d, 0x92,
2015 0x63, 0x69, 0xf3, 0x96, 0xbf, 0x87, 0xa2, 0x6d, 0x98, 0xf1, 0x20, 0x26, 0x04, 0xc4, 0xbc, 0x07,
2016 0x11, 0x1e, 0xeb, 0x59, 0xe2, 0x6f, 0x43, 0xca, 0xa7, 0x92, 0xa2, 0xff, 0x83, 0x29, 0x93, 0x91,
2017 0x0e, 0x2d, 0x24, 0x04, 0x44, 0x3e, 0x08, 0x21, 0x8c, 0x34, 0x69, 0x81, 0x7f, 0x0e, 0xe8, 0x11,
2018 0xf7, 0xca, 0x63, 0xd3, 0x62, 0xc4, 0xd5, 0x7a, 0x16, 0x79, 0x42, 0xce, 0x70, 0x33, 0xaa, 0x15,
2019 0x4d, 0x73, 0xd6, 0xec, 0x18, 0x9a, 0x85, 0x49, 0x76, 0xd6, 0x25, 0xd9, 0x04, 0x4a, 0xc1, 0x2c,
2020 0x25, 0x7d, 0xe2, 0x9a, 0xec, 0x2c, 0x3b, 0x8e, 0x32, 0x90, 0x74, 0x09, 0x75, 0x7a, 0x6e, 0x8b,
2021 0x34, 0x4c, 0x23, 0x3b, 0xc1, 0xbb, 0x5b, 0x3a, 0x23, 0x6d, 0xc7, 0x3d, 0xcb, 0x4e, 0xa2, 0x34,
2022 0xcc, 0x49, 0xc1, 0xbc, 0x73, 0xea, 0xe1, 0xd4, 0x3f, 0xdf, 0xbd, 0x5d, 0x1b, 0xc3, 0xa7, 0x90,
2023 0x19, 0xa1, 0x42, 0x9f, 0xc2, 0xc4, 0x17, 0xe4, 0x4c, 0xb8, 0x79, 0x7e, 0x6b, 0xd3, 0x13, 0x1f,
2024 0x16, 0x14, 0xd1, 0xa4, 0xf1, 0x91, 0x68, 0x01, 0xa6, 0xfa, 0xba, 0xd5, 0x23, 0x85, 0x71, 0xbe,
2025 0x52, 0x9a, 0x7c, 0xc0, 0x75, 0x48, 0xfa, 0x06, 0xc4, 0xad, 0xe5, 0x26, 0x4c, 0xb9, 0x3d, 0x6b,
2026 0xb0, 0x82, 0xcb, 0x31, 0xf4, 0x9a, 0xb4, 0xc2, 0x9f, 0x40, 0xca, 0xd7, 0x43, 0xd1, 0x26, 0xcc,
2027 0x9c, 0xc8, 0x9f, 0xa3, 0xce, 0xf7, 0x03, 0x78, 0x36, 0xd8, 0x85, 0x54, 0xc5, 0x71, 0x49, 0xd5,
2028 0xa6, 0x4c, 0xb7, 0x5b, 0x04, 0xdd, 0x82, 0xa4, 0xa9, 0x7e, 0x37, 0x46, 0xd5, 0x81, 0xd7, 0x53,
2029 0x35, 0xd0, 0x36, 0x4c, 0xcb, 0xcd, 0x28, 0xa6, 0x98, 0xdc, 0x5a, 0xf0, 0x58, 0xbe, 0x27, 0x5a,
2030 0xeb, 0x4c, 0x67, 0x3d, 0xba, 0x33, 0xc5, 0x63, 0x65, 0x4c, 0x53, 0xa6, 0x0f, 0xa7, 0xfe, 0xcd,
2031 0x71, 0xf0, 0x0e, 0xa4, 0xfd, 0x9c, 0x14, 0x6d, 0x04, 0xc3, 0x65, 0x80, 0xe5, 0xb7, 0x52, 0xf1,
2032 0xe2, 0x61, 0xfc, 0x75, 0x12, 0xa6, 0x9f, 0x0b, 0x2b, 0x74, 0x0d, 0x66, 0xfa, 0xc4, 0xa5, 0xa6,
2033 0x63, 0x07, 0xe5, 0x7a, 0xad, 0xe8, 0x01, 0xcc, 0xaa, 0xcd, 0xed, 0x39, 0x35, 0x33, 0xf0, 0x89,
2034 0x6c, 0xf7, 0x07, 0xf5, 0xc0, 0x36, 0x6a, 0x57, 0x4d, 0xfc, 0xf7, 0xbb, 0x6a, 0xf2, 0xb2, 0xbb,
2035 0x0a, 0x7d, 0x17, 0x52, 0x2a, 0x5e, 0x79, 0xb4, 0xd3, 0xc2, 0x94, 0x18, 0x89, 0x82, 0x23, 0x9f,
2036 0x9d, 0x75, 0x03, 0xa3, 0x93, 0xc6, 0xa0, 0x99, 0xa2, 0x0a, 0xa4, 0x15, 0x42, 0x5b, 0x6c, 0xcc,
2037 0xc2, 0x74, 0xec, 0x7e, 0xf4, 0x63, 0x28, 0x5a, 0xb5, 0x99, 0x2b, 0x90, 0x96, 0xe7, 0x96, 0x17,
2038 0x57, 0x33, 0xb1, 0x71, 0x15, 0x00, 0xd1, 0xfd, 0x61, 0xf9, 0x03, 0xc8, 0x0d, 0x8f, 0x48, 0x9d,
2039 0xe9, 0x4d, 0x9d, 0x92, 0xc2, 0xaa, 0x02, 0xe2, 0x3d, 0xa5, 0xa7, 0x66, 0x53, 0xca, 0xd9, 0xd5,
2040 0x99, 0xbe, 0x93, 0xe5, 0x40, 0x49, 0xdf, 0x86, 0xd5, 0x32, 0xdc, 0x8a, 0x1b, 0xa9, 0xd1, 0xe8,
2041 0x05, 0xe4, 0xfd, 0x87, 0xaa, 0x07, 0xba, 0xa6, 0x96, 0x48, 0x80, 0x0a, 0x6d, 0xe7, 0xc2, 0x0a,
2042 0x59, 0xd2, 0x4c, 0x21, 0x78, 0x21, 0xf6, 0xe7, 0x04, 0x64, 0xeb, 0xc4, 0x3a, 0x79, 0x46, 0x28,
2043 0xd3, 0x08, 0xed, 0x3a, 0x36, 0xe5, 0x47, 0xc3, 0xb4, 0x4b, 0x68, 0xcf, 0x62, 0xea, 0x74, 0xb8,
2044 0xed, 0x79, 0x61, 0xd4, 0xd2, 0xdf, 0xd0, 0xb3, 0x98, 0xa6, 0x86, 0xe1, 0x1a, 0xcc, 0x07, 0x7b,
2045 0x50, 0x12, 0x66, 0xea, 0xc7, 0x95, 0xca, 0x5e, 0xbd, 0x9e, 0x1d, 0xe3, 0x0f, 0x8f, 0x1f, 0x55,
2046 0x0f, 0x8e, 0xb5, 0xbd, 0x6c, 0x02, 0xe5, 0x20, 0x7d, 0x78, 0xf4, 0xac, 0x51, 0x3f, 0xae, 0xd5,
2047 0x8e, 0xb4, 0x67, 0x7b, 0xbb, 0xd9, 0x71, 0xde, 0x74, 0x7c, 0xf8, 0xe4, 0xf0, 0xe8, 0xc5, 0x61,
2048 0x63, 0x4f, 0xd3, 0x8e, 0xb4, 0xec, 0x84, 0x77, 0x8e, 0x1d, 0x41, 0xee, 0xe8, 0xe4, 0x51, 0x9b,
2049 0xd8, 0xac, 0xde, 0x6b, 0xd2, 0x96, 0x6b, 0x36, 0x89, 0x8b, 0xd6, 0x00, 0x9c, 0x13, 0x9d, 0x37,
2050 0x0e, 0x76, 0xb3, 0x36, 0xa7, 0x5a, 0xaa, 0x06, 0x5a, 0x81, 0x39, 0x95, 0x82, 0x4c, 0x43, 0x9d,
2051 0x55, 0xb3, 0xb2, 0xa1, 0x6a, 0xe0, 0x8f, 0x01, 0x9e, 0x92, 0x4e, 0x93, 0xb8, 0xf4, 0xd4, 0xec,
2052 0x72, 0x24, 0x11, 0x43, 0x0d, 0x5b, 0xef, 0x10, 0x0f, 0x49, 0xb4, 0x1c, 0xea, 0x1d, 0x82, 0xe6,
2053 0xc5, 0x61, 0x26, 0x21, 0xc6, 0x4d, 0x03, 0xef, 0x41, 0xea, 0xb1, 0xe5, 0xbc, 0x7a, 0x4a, 0x98,
2054 0xce, 0x57, 0x06, 0xdd, 0x87, 0xe9, 0x0e, 0xf1, 0x9d, 0x4a, 0x6b, 0x25, 0x7f, 0x4a, 0x75, 0x4e,
2055 0xba, 0x0d, 0xd1, 0xdd, 0x68, 0x39, 0xf6, 0x89, 0xd9, 0xd6, 0x94, 0xf1, 0xd6, 0x9b, 0xbb, 0x90,
2056 0x96, 0xdb, 0xbc, 0x4e, 0x5c, 0xbe, 0x64, 0x48, 0x83, 0xf9, 0xe3, 0xae, 0xa1, 0x33, 0x72, 0xe0,
2057 0xb4, 0x0f, 0x48, 0x9f, 0x58, 0x28, 0x53, 0x52, 0x25, 0xc3, 0x81, 0xd3, 0x6e, 0x9b, 0x76, 0xbb,
2058 0xb8, 0x54, 0x92, 0x85, 0x48, 0xc9, 0x2b, 0x44, 0x4a, 0x7b, 0xbc, 0x10, 0xc1, 0xcb, 0x6f, 0xfe,
2059 0xf2, 0xf7, 0xaf, 0xc6, 0x73, 0x38, 0x25, 0xea, 0x97, 0xfe, 0x3d, 0x5e, 0x32, 0xd0, 0x87, 0x89,
2060 0x0d, 0x54, 0x83, 0xd4, 0x3e, 0x61, 0x1e, 0x20, 0x45, 0x85, 0x11, 0xc4, 0x8a, 0xd3, 0xe9, 0x3a,
2061 0x36, 0xb1, 0x59, 0x31, 0x3b, 0xd2, 0x43, 0xf1, 0x82, 0x00, 0x9d, 0x47, 0x01, 0x50, 0xf4, 0x02,
2062 0xd2, 0xfb, 0x84, 0xf9, 0xdc, 0x17, 0xa3, 0xa9, 0x38, 0xd8, 0xcd, 0x43, 0x5b, 0x5c, 0x14, 0x90,
2063 0x0b, 0x08, 0x79, 0x90, 0x9d, 0x21, 0xce, 0x4b, 0xc8, 0xca, 0xe9, 0xfb, 0xb0, 0x23, 0x30, 0x62,
2064 0x7d, 0xb0, 0x26, 0xb0, 0x97, 0x71, 0x04, 0x36, 0xf7, 0xc4, 0x2e, 0xcc, 0xed, 0x13, 0xa6, 0x0e,
2065 0xd6, 0x38, 0xcd, 0x83, 0xb3, 0x4b, 0xda, 0xe1, 0x8c, 0xc0, 0x9c, 0x43, 0x33, 0x0a, 0x13, 0xf5,
2066 0x20, 0x77, 0x60, 0x52, 0x16, 0x3c, 0xe4, 0xe3, 0xd0, 0x16, 0xa3, 0x4e, 0x7b, 0x8a, 0xef, 0xfd,
2067 0xfe, 0x5f, 0x6f, 0xd7, 0x66, 0x54, 0x62, 0x10, 0xbf, 0x91, 0xfc, 0x2d, 0xc8, 0xf2, 0x28, 0xe7,
2068 0x4d, 0xc0, 0x1c, 0x30, 0xd4, 0x21, 0xb3, 0x4f, 0x02, 0xac, 0x08, 0xbc, 0xf5, 0xaa, 0xee, 0x16,
2069 0x23, 0xd3, 0x0a, 0x7e, 0x5f, 0xe0, 0x15, 0xd0, 0x52, 0x08, 0xaf, 0xfc, 0xda, 0x34, 0xbe, 0x44,
2070 0x3a, 0xa4, 0xf8, 0x5c, 0x1e, 0x79, 0x49, 0x21, 0x6e, 0x1a, 0xd9, 0x91, 0x94, 0x42, 0xf1, 0x6d,
2071 0xae, 0x1a, 0x86, 0xb9, 0x47, 0x10, 0x21, 0x94, 0xf5, 0x88, 0x06, 0x79, 0xe6, 0x35, 0x20, 0x4e,
2072 0x71, 0x10, 0x4c, 0x19, 0x71, 0x44, 0x4b, 0x91, 0xc9, 0x87, 0xe2, 0xfb, 0x9c, 0x2e, 0x17, 0x4a,
2073 0x59, 0x82, 0xf5, 0x3d, 0xb4, 0xec, 0x0b, 0x4f, 0x7f, 0x37, 0xfa, 0x0c, 0xb2, 0x32, 0xf6, 0x87,
2074 0x58, 0x01, 0xaf, 0x45, 0xe7, 0x3a, 0x7c, 0x43, 0xe0, 0xbe, 0x8f, 0x56, 0x63, 0x70, 0xa5, 0xf3,
2075 0x5c, 0x58, 0x0a, 0xcd, 0xac, 0xe6, 0xb8, 0x8c, 0x46, 0x2f, 0x8c, 0xb2, 0x13, 0x16, 0xf8, 0x81,
2076 0x0a, 0x80, 0x2e, 0x7f, 0x12, 0x6c, 0x37, 0x10, 0x3e, 0x8f, 0xad, 0x2c, 0x2c, 0xd1, 0x2f, 0x13,
2077 0xb0, 0x30, 0x3a, 0x23, 0x8e, 0x88, 0x16, 0x23, 0x68, 0xaa, 0x46, 0x31, 0x1f, 0xd1, 0x8c, 0x3f,
2078 0xe5, 0xe4, 0xd3, 0x30, 0xc9, 0x21, 0x05, 0x77, 0x09, 0x7d, 0x78, 0x31, 0x77, 0xf9, 0x35, 0xff,
2079 0xd3, 0xe0, 0x33, 0xff, 0x75, 0x02, 0x96, 0xf7, 0x6c, 0xbd, 0x69, 0x91, 0x4b, 0x0b, 0x89, 0xdb,
2080 0xb2, 0x1f, 0x0b, 0x01, 0xf7, 0xf1, 0xf6, 0x55, 0x04, 0x94, 0x89, 0x20, 0x47, 0xbf, 0x4d, 0x40,
2081 0x61, 0xd7, 0xa4, 0xdf, 0x88, 0x90, 0xef, 0x08, 0x21, 0x0f, 0xf0, 0x47, 0x57, 0x12, 0x62, 0x48,
2082 0x76, 0xf4, 0xb3, 0x88, 0x58, 0xe0, 0x29, 0x22, 0x18, 0x0b, 0x28, 0x90, 0x17, 0x44, 0x3f, 0xde,
2083 0x51, 0x91, 0xc0, 0x5b, 0xc3, 0x47, 0xc1, 0x45, 0x51, 0x21, 0x46, 0xf1, 0xa8, 0x58, 0x1d, 0xe4,
2084 0x8d, 0xa0, 0x80, 0x67, 0x42, 0xde, 0x6a, 0x88, 0x58, 0xb4, 0xcb, 0x31, 0xb1, 0x2e, 0xd9, 0x14,
2085 0x12, 0x6e, 0xe3, 0x4b, 0x48, 0xe0, 0xc7, 0xeb, 0xaf, 0x12, 0xb0, 0x16, 0xa1, 0xe2, 0x29, 0x4f,
2086 0x76, 0x52, 0xc6, 0x4a, 0x40, 0x86, 0xe8, 0x78, 0xea, 0x18, 0x17, 0xa8, 0x28, 0x09, 0x15, 0x77,
2087 0xf0, 0x07, 0xe7, 0xaa, 0x90, 0x29, 0x95, 0xcb, 0xf8, 0x45, 0x02, 0x96, 0x43, 0x6b, 0x21, 0xb8,
2088 0x82, 0x8b, 0x91, 0x0f, 0x8b, 0xa1, 0x78, 0x97, 0xaf, 0xc0, 0xac, 0x97, 0xce, 0x43, 0xcb, 0x71,
2089 0x13, 0x5d, 0x46, 0x05, 0xfa, 0x43, 0x02, 0x56, 0x22, 0xc3, 0x41, 0x15, 0x9d, 0x7e, 0x19, 0xcb,
2090 0xa1, 0xa5, 0x91, 0x46, 0xf8, 0x90, 0xb3, 0xa7, 0x21, 0x29, 0xba, 0x64, 0x85, 0x1b, 0xd2, 0xb3,
2091 0x81, 0xee, 0x5c, 0xb8, 0x36, 0x6a, 0x2c, 0xfa, 0x2a, 0x01, 0xd7, 0x63, 0x82, 0x44, 0x30, 0xca,
2092 0x25, 0xba, 0x1e, 0x2d, 0xe7, 0x32, 0xe1, 0xb2, 0x2d, 0x24, 0x6d, 0xe2, 0x4b, 0x4b, 0xe2, 0xab,
2093 0xf5, 0x12, 0x92, 0xdc, 0x53, 0x17, 0xe5, 0x85, 0x4c, 0xb0, 0xa8, 0xa7, 0xf8, 0x26, 0xf7, 0xc5,
2094 0xdc, 0xe0, 0xc5, 0x43, 0x16, 0x3f, 0x28, 0xe3, 0x51, 0x7b, 0x09, 0xc0, 0x80, 0xf4, 0x10, 0xbe,
2095 0x6a, 0xc4, 0x13, 0x24, 0x87, 0x4b, 0x42, 0x71, 0x89, 0x83, 0x8b, 0x42, 0xff, 0xbc, 0xdc, 0x2c,
2096 0x39, 0x4c, 0x83, 0xa2, 0x63, 0xc8, 0x6a, 0xa4, 0xe5, 0xd8, 0x2d, 0xd3, 0x22, 0xde, 0x4c, 0xfc,
2097 0x80, 0xb1, 0x2e, 0x5b, 0x15, 0x98, 0x4b, 0x38, 0x8c, 0xc9, 0x7d, 0xb3, 0x27, 0xea, 0x95, 0x88,
2098 0xb4, 0x35, 0xf2, 0x7e, 0xe5, 0xc1, 0xa0, 0x85, 0x91, 0xe9, 0xcb, 0x3c, 0xf5, 0x7d, 0x48, 0x55,
2099 0x5c, 0xa2, 0x33, 0x25, 0x0d, 0x8d, 0x8c, 0x0e, 0xa1, 0xa9, 0x0a, 0x0d, 0x8f, 0x3a, 0x93, 0x4b,
2100 0x7a, 0x01, 0x29, 0x79, 0xf0, 0x47, 0xa8, 0x8a, 0x9b, 0xe4, 0x07, 0x02, 0x6f, 0x0d, 0xaf, 0x44,
2101 0xa9, 0xf3, 0x8e, 0xf2, 0x1f, 0x41, 0x5a, 0x9d, 0xe4, 0x57, 0x40, 0x56, 0x79, 0x1a, 0xaf, 0x46,
2102 0x22, 0x7b, 0x67, 0xf3, 0x0b, 0x48, 0x69, 0xa4, 0xe9, 0x38, 0xec, 0x1b, 0xd3, 0xec, 0x0a, 0x38,
2103 0x0e, 0xbc, 0x4b, 0x2c, 0xc2, 0xbe, 0x86, 0x33, 0x36, 0xa2, 0x81, 0x0d, 0x01, 0x87, 0x7a, 0x90,
2104 0xde, 0x75, 0x5e, 0xd9, 0x96, 0xa3, 0x1b, 0xd5, 0x8e, 0xde, 0x26, 0xc3, 0x5c, 0x26, 0x1e, 0xbd,
2105 0xbe, 0xe2, 0xa2, 0x47, 0x78, 0xd4, 0x25, 0xae, 0xb8, 0xad, 0xe4, 0x2f, 0x68, 0xf8, 0x81, 0xe0,
2106 0xb8, 0x8b, 0xff, 0x3f, 0x92, 0xc3, 0xe4, 0x10, 0x0d, 0x43, 0x61, 0xd0, 0xf2, 0x6b, 0xfe, 0xce,
2107 0xf3, 0x25, 0x5f, 0xdc, 0x37, 0x09, 0x58, 0xda, 0x27, 0x2c, 0xc0, 0x21, 0xef, 0x3a, 0xe2, 0x05,
2108 0x44, 0x35, 0xe3, 0x87, 0x42, 0xc0, 0x47, 0x68, 0xeb, 0x0a, 0x02, 0xca, 0x54, 0x32, 0xf5, 0x44,
2109 0xc9, 0x16, 0xc0, 0xbb, 0x22, 0xbb, 0x3a, 0x87, 0xd0, 0x55, 0xa6, 0x8f, 0x4e, 0x64, 0x99, 0x1a,
2110 0x40, 0xa2, 0x23, 0x2b, 0x1a, 0xc5, 0x46, 0xf1, 0x87, 0x82, 0xee, 0x16, 0xba, 0x71, 0x19, 0x3a,
2111 0xf4, 0x53, 0xc8, 0x57, 0x78, 0x01, 0x6e, 0x5d, 0x72, 0x86, 0x91, 0x0b, 0xac, 0x66, 0xb8, 0x71,
2112 0xa5, 0x19, 0xfe, 0x2e, 0x01, 0xf9, 0x47, 0x2d, 0x66, 0xf6, 0x75, 0x46, 0x04, 0x8b, 0x3c, 0xce,
2113 0xaf, 0x48, 0x5d, 0x11, 0xd4, 0x9f, 0xe0, 0x6f, 0x5d, 0x65, 0x69, 0x65, 0x73, 0x4f, 0xf0, 0xf1,
2114 0x40, 0xfb, 0x4d, 0x02, 0x72, 0x1a, 0xe9, 0x13, 0x97, 0xfd, 0x4f, 0x84, 0xb8, 0x82, 0x9a, 0x0b,
2115 0xf9, 0x1c, 0x32, 0xc3, 0xf4, 0x10, 0xae, 0xdd, 0xd3, 0x9e, 0x22, 0x59, 0xb4, 0x97, 0x42, 0x45,
2116 0xfb, 0x2a, 0x2a, 0x46, 0xd2, 0xcb, 0x62, 0xfd, 0x25, 0xe4, 0x7d, 0xe8, 0x9d, 0x8a, 0x78, 0xfb,
2117 0x0f, 0x32, 0xe4, 0x06, 0x0c, 0x5e, 0x37, 0xbe, 0x2d, 0x90, 0xaf, 0xa3, 0x6b, 0xd1, 0xc8, 0x1d,
2118 0x75, 0x8b, 0x40, 0x91, 0x0d, 0x8b, 0xd2, 0x73, 0xa3, 0x04, 0x61, 0xd0, 0xd8, 0xe3, 0x68, 0x43,
2119 0x56, 0x99, 0xf8, 0x22, 0x32, 0xee, 0xac, 0x8e, 0xdf, 0x59, 0x97, 0x2b, 0x6e, 0x1f, 0x9e, 0x5b,
2120 0xdc, 0xc6, 0x79, 0x6f, 0x50, 0xd4, 0x2e, 0x04, 0xf9, 0xae, 0x52, 0x3d, 0x3d, 0xbe, 0x44, 0xf5,
2121 0x84, 0xd1, 0x7a, 0x2c, 0xbf, 0x57, 0x35, 0x39, 0xfe, 0x49, 0xcb, 0x7b, 0xc7, 0xb8, 0x12, 0x22,
2122 0x1f, 0xbe, 0xbb, 0xa4, 0xb8, 0xcc, 0x59, 0xe7, 0x83, 0x77, 0x9d, 0xd1, 0xd9, 0x5a, 0xf6, 0x21,
2123 0x4d, 0x5c, 0xae, 0x0c, 0x21, 0x46, 0x7c, 0x1c, 0xa2, 0xc0, 0xd7, 0x05, 0xdc, 0x0a, 0x7a, 0x2f,
2124 0x0a, 0x4e, 0x56, 0x00, 0x14, 0xb2, 0xc3, 0x49, 0x28, 0x2f, 0xc6, 0xcd, 0x62, 0x21, 0xe2, 0xfa,
2125 0x54, 0x5d, 0x58, 0x64, 0x46, 0x2e, 0x5c, 0xe5, 0x6d, 0x0b, 0x5a, 0x1c, 0x21, 0x56, 0x9e, 0x7b,
2126 0x0c, 0xd9, 0x3a, 0x73, 0x89, 0xde, 0xa9, 0xe9, 0xad, 0x2f, 0x08, 0xa3, 0x47, 0x3d, 0x86, 0x96,
2127 0x02, 0xcb, 0x25, 0x3b, 0x8e, 0x7a, 0x2c, 0x36, 0x3c, 0xc7, 0xee, 0x24, 0xd0, 0x9e, 0x28, 0xae,
2128 0x88, 0xd9, 0x27, 0x0a, 0xa8, 0x6a, 0x9f, 0x73, 0xdd, 0x12, 0xc6, 0xaf, 0xda, 0x78, 0xec, 0x6e,
2129 0x02, 0x3d, 0x81, 0xbc, 0x82, 0xa9, 0x9c, 0xea, 0x76, 0x9b, 0xec, 0xf5, 0x89, 0xcd, 0xe2, 0xdd,
2130 0x50, 0x08, 0x20, 0xf9, 0x86, 0x08, 0xb0, 0x63, 0x98, 0x1f, 0x2c, 0x92, 0xfc, 0x76, 0x15, 0x7c,
2131 0xb3, 0x08, 0xbb, 0x10, 0xe3, 0xe8, 0x90, 0x57, 0xde, 0x92, 0xeb, 0xd4, 0x80, 0x9c, 0xac, 0xd4,
2132 0xfc, 0x5f, 0x52, 0xa2, 0xae, 0xa2, 0x8b, 0x51, 0x8d, 0x78, 0x5d, 0x50, 0x14, 0xf1, 0x60, 0x41,
2133 0x02, 0x37, 0xdb, 0x7c, 0x0b, 0x4b, 0xdd, 0x7e, 0xf4, 0x48, 0xdd, 0x7e, 0xd0, 0x90, 0xee, 0x00,
2134 0xa8, 0xd4, 0x6d, 0x40, 0x4e, 0x9e, 0x44, 0x5f, 0x4f, 0xf7, 0x4d, 0x41, 0x71, 0xad, 0x78, 0x0e,
2135 0x05, 0x17, 0xff, 0x19, 0xe4, 0x64, 0xb9, 0x15, 0xa7, 0x3f, 0x2e, 0x8a, 0xd4, 0x14, 0x36, 0xce,
2136 0x9b, 0x42, 0x43, 0x6e, 0x91, 0xc0, 0xd7, 0xa6, 0x0b, 0xb7, 0x88, 0xdf, 0xda, 0xbb, 0x7c, 0x44,
2137 0xd1, 0xde, 0x47, 0x07, 0xa2, 0x98, 0x17, 0xa9, 0x8d, 0x46, 0x17, 0xf3, 0xb2, 0xcf, 0xab, 0x10,
2138 0xd1, 0x4a, 0x7c, 0x62, 0xa3, 0xe8, 0x87, 0x30, 0xeb, 0x5d, 0xb4, 0x07, 0xc0, 0x0a, 0x71, 0x37,
2139 0xf6, 0xf8, 0x96, 0x80, 0x5d, 0xc7, 0xef, 0x47, 0xc2, 0x52, 0x62, 0x9d, 0x34, 0x18, 0x47, 0x7b,
2140 0x2e, 0xea, 0xaf, 0xc0, 0xf7, 0x8a, 0xd1, 0xd7, 0xe6, 0xd0, 0x07, 0x8d, 0xf0, 0x19, 0xc4, 0x37,
2141 0x0f, 0xb7, 0x53, 0xaf, 0xc5, 0x66, 0x13, 0x7d, 0x0e, 0xc8, 0x0b, 0xbd, 0x18, 0xe4, 0xe8, 0xaf,
2142 0x1a, 0x61, 0x7f, 0x04, 0xb1, 0x85, 0x97, 0x11, 0x85, 0x74, 0xdd, 0xec, 0xf4, 0x2c, 0x2f, 0x06,
2143 0xd1, 0xea, 0xc0, 0x11, 0xfe, 0x66, 0x8d, 0xfc, 0xa4, 0x47, 0x28, 0x8b, 0xab, 0x29, 0x42, 0x17,
2144 0x1e, 0x41, 0x1f, 0x29, 0xa4, 0x06, 0x47, 0xe2, 0x01, 0x59, 0x81, 0xb9, 0xc1, 0xd7, 0x08, 0xf4,
2145 0x9e, 0x47, 0x18, 0xfa, 0x4e, 0x51, 0x8c, 0xef, 0xc2, 0x63, 0x3b, 0x16, 0xe4, 0x1d, 0xb7, 0x2d,
2146 0x4e, 0x9b, 0x96, 0xe3, 0x1a, 0xca, 0x74, 0x27, 0x25, 0xaf, 0x9f, 0x6b, 0xe2, 0xe3, 0xf9, 0x8f,
2147 0x4b, 0x6d, 0x93, 0x9d, 0xf6, 0x9a, 0x5c, 0x75, 0xd9, 0xb3, 0x54, 0xff, 0xc4, 0xb0, 0xe9, 0xfd,
2148 0x4b, 0xc3, 0x56, 0xb9, 0xed, 0xa8, 0xb6, 0x3f, 0x8d, 0x2f, 0x1d, 0x79, 0x78, 0xcf, 0xfd, 0xb7,
2149 0xd9, 0xb5, 0xf1, 0xda, 0x44, 0x6d, 0xb2, 0x36, 0x55, 0x9b, 0xae, 0xcd, 0xd4, 0x66, 0x9b, 0xd3,
2150 0x62, 0xec, 0xf6, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x42, 0x95, 0xa9, 0x38, 0x1e, 0x21, 0x00,
2151 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002152}
2153
2154// Reference imports to suppress errors if they are not otherwise used.
2155var _ context.Context
2156var _ grpc.ClientConn
2157
2158// This is a compile-time assertion to ensure that this generated file
2159// is compatible with the grpc package it is being compiled against.
2160const _ = grpc.SupportPackageIsVersion4
2161
2162// VolthaServiceClient is the client API for VolthaService service.
2163//
2164// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2165type VolthaServiceClient interface {
2166 // Get more information on a given physical device
Scott Baker99af94e2019-08-20 10:45:06 -07002167 UpdateLogLevel(ctx context.Context, in *common.Logging, opts ...grpc.CallOption) (*empty.Empty, error)
2168 GetLogLevels(ctx context.Context, in *common.LoggingComponent, opts ...grpc.CallOption) (*common.Loggings, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002169 // Get the membership group of a Voltha Core
2170 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2171 // Set the membership group of a Voltha Core
2172 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2173 // Get high level information on the Voltha cluster
2174 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2175 // List all Voltha cluster core instances
2176 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2177 // Get details on a Voltha cluster instance
2178 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2179 // List all active adapters (plugins) in the Voltha cluster
2180 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2181 // List all logical devices managed by the Voltha cluster
2182 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2183 // Get additional information on a given logical device
2184 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2185 // List ports of a logical device
2186 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2187 // Gets a logical device port
2188 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2189 // Enables a logical device port
2190 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2191 // Disables a logical device port
2192 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2193 // List all flows of a logical device
2194 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2195 // Update flow table for logical device
2196 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2197 // Update meter table for logical device
2198 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002199 // List all meters of a logical device
2200 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002201 // List all flow groups of a logical device
2202 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2203 // Update group table for device
2204 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2205 // List all physical devices controlled by the Voltha cluster
2206 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2207 // List all physical devices IDs controlled by the Voltha cluster
2208 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2209 // Request to a voltha Core to reconcile a set of devices based on their IDs
2210 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2211 // Get more information on a given physical device
2212 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2213 // Pre-provision a new physical device
2214 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2215 // Enable a device. If the device was in pre-provisioned state then it
2216 // will transition to ENABLED state. If it was is DISABLED state then it
2217 // will transition to ENABLED state as well.
2218 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2219 // Disable a device
2220 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2221 // Reboot a device
2222 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2223 // Delete a device
2224 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2225 // Request an image download to the standby partition
2226 // of a device.
2227 // Note that the call is expected to be non-blocking.
2228 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2229 // Get image download status on a device
2230 // The request retrieves progress on device and updates db record
2231 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2232 // Get image download db record
2233 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2234 // List image download db records for a given device
2235 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2236 // Cancel an existing image download process on a device
2237 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2238 // Activate the specified image at a standby partition
2239 // to active partition.
2240 // Depending on the device implementation, this call
2241 // may or may not cause device reboot.
2242 // If no reboot, then a reboot is required to make the
2243 // activated image running on device
2244 // Note that the call is expected to be non-blocking.
2245 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2246 // Revert the specified image at standby partition
2247 // to active partition, and revert to previous image
2248 // Depending on the device implementation, this call
2249 // may or may not cause device reboot.
2250 // If no reboot, then a reboot is required to make the
2251 // previous image running on device
2252 // Note that the call is expected to be non-blocking.
2253 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2254 // List ports of a device
2255 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2256 // List pm config of a device
2257 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2258 // Update the pm config of a device
2259 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2260 // List all flows of a device
2261 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2262 // List all flow groups of a device
2263 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2264 // List device types known to Voltha
2265 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2266 // Get additional information on a device type
2267 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2268 // List all device sharding groups
2269 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2270 // Stream control packets to the dataplane
2271 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2272 // Receive control packet stream
2273 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2274 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2275 // Get additional information on a device group
2276 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
2277 CreateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error)
2278 GetAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*AlarmFilter, error)
2279 UpdateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error)
2280 DeleteAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2281 ListAlarmFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AlarmFilters, error)
2282 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2283 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2284 // OpenOMCI MIB information
2285 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2286 // OpenOMCI ALARM information
2287 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2288 // Simulate an Alarm
2289 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2290 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
2291}
2292
2293type volthaServiceClient struct {
2294 cc *grpc.ClientConn
2295}
2296
2297func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2298 return &volthaServiceClient{cc}
2299}
2300
Scott Baker99af94e2019-08-20 10:45:06 -07002301func (c *volthaServiceClient) UpdateLogLevel(ctx context.Context, in *common.Logging, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002302 out := new(empty.Empty)
2303 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogLevel", in, out, opts...)
2304 if err != nil {
2305 return nil, err
2306 }
2307 return out, nil
2308}
2309
Scott Baker99af94e2019-08-20 10:45:06 -07002310func (c *volthaServiceClient) GetLogLevels(ctx context.Context, in *common.LoggingComponent, opts ...grpc.CallOption) (*common.Loggings, error) {
2311 out := new(common.Loggings)
2312 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogLevels", in, out, opts...)
2313 if err != nil {
2314 return nil, err
2315 }
2316 return out, nil
2317}
2318
William Kurkian1b363f42019-03-12 15:28:12 -04002319func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2320 out := new(Membership)
2321 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2322 if err != nil {
2323 return nil, err
2324 }
2325 return out, nil
2326}
2327
2328func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2329 out := new(empty.Empty)
2330 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2331 if err != nil {
2332 return nil, err
2333 }
2334 return out, nil
2335}
2336
2337func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2338 out := new(Voltha)
2339 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2340 if err != nil {
2341 return nil, err
2342 }
2343 return out, nil
2344}
2345
2346func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2347 out := new(CoreInstances)
2348 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2349 if err != nil {
2350 return nil, err
2351 }
2352 return out, nil
2353}
2354
2355func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2356 out := new(CoreInstance)
2357 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2358 if err != nil {
2359 return nil, err
2360 }
2361 return out, nil
2362}
2363
2364func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2365 out := new(Adapters)
2366 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2367 if err != nil {
2368 return nil, err
2369 }
2370 return out, nil
2371}
2372
2373func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2374 out := new(LogicalDevices)
2375 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2376 if err != nil {
2377 return nil, err
2378 }
2379 return out, nil
2380}
2381
2382func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2383 out := new(LogicalDevice)
2384 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2385 if err != nil {
2386 return nil, err
2387 }
2388 return out, nil
2389}
2390
2391func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2392 out := new(LogicalPorts)
2393 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2394 if err != nil {
2395 return nil, err
2396 }
2397 return out, nil
2398}
2399
2400func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2401 out := new(LogicalPort)
2402 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2403 if err != nil {
2404 return nil, err
2405 }
2406 return out, nil
2407}
2408
2409func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2410 out := new(empty.Empty)
2411 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2412 if err != nil {
2413 return nil, err
2414 }
2415 return out, nil
2416}
2417
2418func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2419 out := new(empty.Empty)
2420 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2421 if err != nil {
2422 return nil, err
2423 }
2424 return out, nil
2425}
2426
2427func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2428 out := new(openflow_13.Flows)
2429 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2430 if err != nil {
2431 return nil, err
2432 }
2433 return out, nil
2434}
2435
2436func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2437 out := new(empty.Empty)
2438 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2439 if err != nil {
2440 return nil, err
2441 }
2442 return out, nil
2443}
2444
2445func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2446 out := new(empty.Empty)
2447 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2448 if err != nil {
2449 return nil, err
2450 }
2451 return out, nil
2452}
2453
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002454func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2455 out := new(openflow_13.Meters)
2456 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002457 if err != nil {
2458 return nil, err
2459 }
2460 return out, nil
2461}
2462
2463func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2464 out := new(openflow_13.FlowGroups)
2465 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2466 if err != nil {
2467 return nil, err
2468 }
2469 return out, nil
2470}
2471
2472func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2473 out := new(empty.Empty)
2474 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2475 if err != nil {
2476 return nil, err
2477 }
2478 return out, nil
2479}
2480
2481func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2482 out := new(Devices)
2483 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2484 if err != nil {
2485 return nil, err
2486 }
2487 return out, nil
2488}
2489
2490func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2491 out := new(common.IDs)
2492 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2493 if err != nil {
2494 return nil, err
2495 }
2496 return out, nil
2497}
2498
2499func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2500 out := new(empty.Empty)
2501 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2502 if err != nil {
2503 return nil, err
2504 }
2505 return out, nil
2506}
2507
2508func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2509 out := new(Device)
2510 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2511 if err != nil {
2512 return nil, err
2513 }
2514 return out, nil
2515}
2516
2517func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2518 out := new(Device)
2519 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2520 if err != nil {
2521 return nil, err
2522 }
2523 return out, nil
2524}
2525
2526func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2527 out := new(empty.Empty)
2528 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2529 if err != nil {
2530 return nil, err
2531 }
2532 return out, nil
2533}
2534
2535func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2536 out := new(empty.Empty)
2537 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2538 if err != nil {
2539 return nil, err
2540 }
2541 return out, nil
2542}
2543
2544func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2545 out := new(empty.Empty)
2546 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2547 if err != nil {
2548 return nil, err
2549 }
2550 return out, nil
2551}
2552
2553func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2554 out := new(empty.Empty)
2555 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2556 if err != nil {
2557 return nil, err
2558 }
2559 return out, nil
2560}
2561
2562func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2563 out := new(common.OperationResp)
2564 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2565 if err != nil {
2566 return nil, err
2567 }
2568 return out, nil
2569}
2570
2571func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2572 out := new(ImageDownload)
2573 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2574 if err != nil {
2575 return nil, err
2576 }
2577 return out, nil
2578}
2579
2580func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2581 out := new(ImageDownload)
2582 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2583 if err != nil {
2584 return nil, err
2585 }
2586 return out, nil
2587}
2588
2589func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2590 out := new(ImageDownloads)
2591 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2592 if err != nil {
2593 return nil, err
2594 }
2595 return out, nil
2596}
2597
2598func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2599 out := new(common.OperationResp)
2600 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2601 if err != nil {
2602 return nil, err
2603 }
2604 return out, nil
2605}
2606
2607func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2608 out := new(common.OperationResp)
2609 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2610 if err != nil {
2611 return nil, err
2612 }
2613 return out, nil
2614}
2615
2616func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2617 out := new(common.OperationResp)
2618 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2619 if err != nil {
2620 return nil, err
2621 }
2622 return out, nil
2623}
2624
2625func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2626 out := new(Ports)
2627 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2628 if err != nil {
2629 return nil, err
2630 }
2631 return out, nil
2632}
2633
2634func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2635 out := new(PmConfigs)
2636 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2637 if err != nil {
2638 return nil, err
2639 }
2640 return out, nil
2641}
2642
2643func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2644 out := new(empty.Empty)
2645 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2646 if err != nil {
2647 return nil, err
2648 }
2649 return out, nil
2650}
2651
2652func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2653 out := new(openflow_13.Flows)
2654 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2655 if err != nil {
2656 return nil, err
2657 }
2658 return out, nil
2659}
2660
2661func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2662 out := new(openflow_13.FlowGroups)
2663 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2664 if err != nil {
2665 return nil, err
2666 }
2667 return out, nil
2668}
2669
2670func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2671 out := new(DeviceTypes)
2672 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2673 if err != nil {
2674 return nil, err
2675 }
2676 return out, nil
2677}
2678
2679func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2680 out := new(DeviceType)
2681 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2682 if err != nil {
2683 return nil, err
2684 }
2685 return out, nil
2686}
2687
2688func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2689 out := new(DeviceGroups)
2690 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2691 if err != nil {
2692 return nil, err
2693 }
2694 return out, nil
2695}
2696
2697func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2698 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2699 if err != nil {
2700 return nil, err
2701 }
2702 x := &volthaServiceStreamPacketsOutClient{stream}
2703 return x, nil
2704}
2705
2706type VolthaService_StreamPacketsOutClient interface {
2707 Send(*openflow_13.PacketOut) error
2708 CloseAndRecv() (*empty.Empty, error)
2709 grpc.ClientStream
2710}
2711
2712type volthaServiceStreamPacketsOutClient struct {
2713 grpc.ClientStream
2714}
2715
2716func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2717 return x.ClientStream.SendMsg(m)
2718}
2719
2720func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2721 if err := x.ClientStream.CloseSend(); err != nil {
2722 return nil, err
2723 }
2724 m := new(empty.Empty)
2725 if err := x.ClientStream.RecvMsg(m); err != nil {
2726 return nil, err
2727 }
2728 return m, nil
2729}
2730
2731func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2732 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2733 if err != nil {
2734 return nil, err
2735 }
2736 x := &volthaServiceReceivePacketsInClient{stream}
2737 if err := x.ClientStream.SendMsg(in); err != nil {
2738 return nil, err
2739 }
2740 if err := x.ClientStream.CloseSend(); err != nil {
2741 return nil, err
2742 }
2743 return x, nil
2744}
2745
2746type VolthaService_ReceivePacketsInClient interface {
2747 Recv() (*openflow_13.PacketIn, error)
2748 grpc.ClientStream
2749}
2750
2751type volthaServiceReceivePacketsInClient struct {
2752 grpc.ClientStream
2753}
2754
2755func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2756 m := new(openflow_13.PacketIn)
2757 if err := x.ClientStream.RecvMsg(m); err != nil {
2758 return nil, err
2759 }
2760 return m, nil
2761}
2762
2763func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2764 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2765 if err != nil {
2766 return nil, err
2767 }
2768 x := &volthaServiceReceiveChangeEventsClient{stream}
2769 if err := x.ClientStream.SendMsg(in); err != nil {
2770 return nil, err
2771 }
2772 if err := x.ClientStream.CloseSend(); err != nil {
2773 return nil, err
2774 }
2775 return x, nil
2776}
2777
2778type VolthaService_ReceiveChangeEventsClient interface {
2779 Recv() (*openflow_13.ChangeEvent, error)
2780 grpc.ClientStream
2781}
2782
2783type volthaServiceReceiveChangeEventsClient struct {
2784 grpc.ClientStream
2785}
2786
2787func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2788 m := new(openflow_13.ChangeEvent)
2789 if err := x.ClientStream.RecvMsg(m); err != nil {
2790 return nil, err
2791 }
2792 return m, nil
2793}
2794
2795func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2796 out := new(DeviceGroup)
2797 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2798 if err != nil {
2799 return nil, err
2800 }
2801 return out, nil
2802}
2803
2804func (c *volthaServiceClient) CreateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error) {
2805 out := new(AlarmFilter)
2806 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateAlarmFilter", in, out, opts...)
2807 if err != nil {
2808 return nil, err
2809 }
2810 return out, nil
2811}
2812
2813func (c *volthaServiceClient) GetAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*AlarmFilter, error) {
2814 out := new(AlarmFilter)
2815 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmFilter", in, out, opts...)
2816 if err != nil {
2817 return nil, err
2818 }
2819 return out, nil
2820}
2821
2822func (c *volthaServiceClient) UpdateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error) {
2823 out := new(AlarmFilter)
2824 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateAlarmFilter", in, out, opts...)
2825 if err != nil {
2826 return nil, err
2827 }
2828 return out, nil
2829}
2830
2831func (c *volthaServiceClient) DeleteAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2832 out := new(empty.Empty)
2833 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteAlarmFilter", in, out, opts...)
2834 if err != nil {
2835 return nil, err
2836 }
2837 return out, nil
2838}
2839
2840func (c *volthaServiceClient) ListAlarmFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AlarmFilters, error) {
2841 out := new(AlarmFilters)
2842 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAlarmFilters", in, out, opts...)
2843 if err != nil {
2844 return nil, err
2845 }
2846 return out, nil
2847}
2848
2849func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
2850 out := new(Images)
2851 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
2852 if err != nil {
2853 return nil, err
2854 }
2855 return out, nil
2856}
2857
2858func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
2859 out := new(SelfTestResponse)
2860 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
2861 if err != nil {
2862 return nil, err
2863 }
2864 return out, nil
2865}
2866
2867func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
2868 out := new(omci.MibDeviceData)
2869 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
2870 if err != nil {
2871 return nil, err
2872 }
2873 return out, nil
2874}
2875
2876func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
2877 out := new(omci.AlarmDeviceData)
2878 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
2879 if err != nil {
2880 return nil, err
2881 }
2882 return out, nil
2883}
2884
2885func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
2886 out := new(common.OperationResp)
2887 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
2888 if err != nil {
2889 return nil, err
2890 }
2891 return out, nil
2892}
2893
2894func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
2895 out := new(OfAgentSubscriber)
2896 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
2897 if err != nil {
2898 return nil, err
2899 }
2900 return out, nil
2901}
2902
2903// VolthaServiceServer is the server API for VolthaService service.
2904type VolthaServiceServer interface {
2905 // Get more information on a given physical device
Scott Baker99af94e2019-08-20 10:45:06 -07002906 UpdateLogLevel(context.Context, *common.Logging) (*empty.Empty, error)
2907 GetLogLevels(context.Context, *common.LoggingComponent) (*common.Loggings, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002908 // Get the membership group of a Voltha Core
2909 GetMembership(context.Context, *empty.Empty) (*Membership, error)
2910 // Set the membership group of a Voltha Core
2911 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
2912 // Get high level information on the Voltha cluster
2913 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
2914 // List all Voltha cluster core instances
2915 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
2916 // Get details on a Voltha cluster instance
2917 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
2918 // List all active adapters (plugins) in the Voltha cluster
2919 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
2920 // List all logical devices managed by the Voltha cluster
2921 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
2922 // Get additional information on a given logical device
2923 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
2924 // List ports of a logical device
2925 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
2926 // Gets a logical device port
2927 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
2928 // Enables a logical device port
2929 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2930 // Disables a logical device port
2931 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2932 // List all flows of a logical device
2933 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2934 // Update flow table for logical device
2935 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
2936 // Update meter table for logical device
2937 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002938 // List all meters of a logical device
2939 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002940 // List all flow groups of a logical device
2941 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2942 // Update group table for device
2943 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
2944 // List all physical devices controlled by the Voltha cluster
2945 ListDevices(context.Context, *empty.Empty) (*Devices, error)
2946 // List all physical devices IDs controlled by the Voltha cluster
2947 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
2948 // Request to a voltha Core to reconcile a set of devices based on their IDs
2949 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
2950 // Get more information on a given physical device
2951 GetDevice(context.Context, *common.ID) (*Device, error)
2952 // Pre-provision a new physical device
2953 CreateDevice(context.Context, *Device) (*Device, error)
2954 // Enable a device. If the device was in pre-provisioned state then it
2955 // will transition to ENABLED state. If it was is DISABLED state then it
2956 // will transition to ENABLED state as well.
2957 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
2958 // Disable a device
2959 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
2960 // Reboot a device
2961 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
2962 // Delete a device
2963 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
2964 // Request an image download to the standby partition
2965 // of a device.
2966 // Note that the call is expected to be non-blocking.
2967 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
2968 // Get image download status on a device
2969 // The request retrieves progress on device and updates db record
2970 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
2971 // Get image download db record
2972 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
2973 // List image download db records for a given device
2974 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
2975 // Cancel an existing image download process on a device
2976 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
2977 // Activate the specified image at a standby partition
2978 // to active partition.
2979 // Depending on the device implementation, this call
2980 // may or may not cause device reboot.
2981 // If no reboot, then a reboot is required to make the
2982 // activated image running on device
2983 // Note that the call is expected to be non-blocking.
2984 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
2985 // Revert the specified image at standby partition
2986 // to active partition, and revert to previous image
2987 // Depending on the device implementation, this call
2988 // may or may not cause device reboot.
2989 // If no reboot, then a reboot is required to make the
2990 // previous image running on device
2991 // Note that the call is expected to be non-blocking.
2992 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
2993 // List ports of a device
2994 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
2995 // List pm config of a device
2996 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
2997 // Update the pm config of a device
2998 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
2999 // List all flows of a device
3000 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3001 // List all flow groups of a device
3002 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3003 // List device types known to Voltha
3004 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3005 // Get additional information on a device type
3006 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3007 // List all device sharding groups
3008 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3009 // Stream control packets to the dataplane
3010 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3011 // Receive control packet stream
3012 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3013 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3014 // Get additional information on a device group
3015 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
3016 CreateAlarmFilter(context.Context, *AlarmFilter) (*AlarmFilter, error)
3017 GetAlarmFilter(context.Context, *common.ID) (*AlarmFilter, error)
3018 UpdateAlarmFilter(context.Context, *AlarmFilter) (*AlarmFilter, error)
3019 DeleteAlarmFilter(context.Context, *common.ID) (*empty.Empty, error)
3020 ListAlarmFilters(context.Context, *empty.Empty) (*AlarmFilters, error)
3021 GetImages(context.Context, *common.ID) (*Images, error)
3022 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3023 // OpenOMCI MIB information
3024 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3025 // OpenOMCI ALARM information
3026 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3027 // Simulate an Alarm
3028 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3029 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
3030}
3031
3032func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3033 s.RegisterService(&_VolthaService_serviceDesc, srv)
3034}
3035
3036func _VolthaService_UpdateLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Scott Baker99af94e2019-08-20 10:45:06 -07003037 in := new(common.Logging)
William Kurkian1b363f42019-03-12 15:28:12 -04003038 if err := dec(in); err != nil {
3039 return nil, err
3040 }
3041 if interceptor == nil {
3042 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, in)
3043 }
3044 info := &grpc.UnaryServerInfo{
3045 Server: srv,
3046 FullMethod: "/voltha.VolthaService/UpdateLogLevel",
3047 }
3048 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Scott Baker99af94e2019-08-20 10:45:06 -07003049 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, req.(*common.Logging))
3050 }
3051 return interceptor(ctx, in, info, handler)
3052}
3053
3054func _VolthaService_GetLogLevels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3055 in := new(common.LoggingComponent)
3056 if err := dec(in); err != nil {
3057 return nil, err
3058 }
3059 if interceptor == nil {
3060 return srv.(VolthaServiceServer).GetLogLevels(ctx, in)
3061 }
3062 info := &grpc.UnaryServerInfo{
3063 Server: srv,
3064 FullMethod: "/voltha.VolthaService/GetLogLevels",
3065 }
3066 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3067 return srv.(VolthaServiceServer).GetLogLevels(ctx, req.(*common.LoggingComponent))
William Kurkian1b363f42019-03-12 15:28:12 -04003068 }
3069 return interceptor(ctx, in, info, handler)
3070}
3071
3072func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3073 in := new(empty.Empty)
3074 if err := dec(in); err != nil {
3075 return nil, err
3076 }
3077 if interceptor == nil {
3078 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3079 }
3080 info := &grpc.UnaryServerInfo{
3081 Server: srv,
3082 FullMethod: "/voltha.VolthaService/GetMembership",
3083 }
3084 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3085 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3086 }
3087 return interceptor(ctx, in, info, handler)
3088}
3089
3090func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3091 in := new(Membership)
3092 if err := dec(in); err != nil {
3093 return nil, err
3094 }
3095 if interceptor == nil {
3096 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3097 }
3098 info := &grpc.UnaryServerInfo{
3099 Server: srv,
3100 FullMethod: "/voltha.VolthaService/UpdateMembership",
3101 }
3102 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3103 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3104 }
3105 return interceptor(ctx, in, info, handler)
3106}
3107
3108func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3109 in := new(empty.Empty)
3110 if err := dec(in); err != nil {
3111 return nil, err
3112 }
3113 if interceptor == nil {
3114 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3115 }
3116 info := &grpc.UnaryServerInfo{
3117 Server: srv,
3118 FullMethod: "/voltha.VolthaService/GetVoltha",
3119 }
3120 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3121 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3122 }
3123 return interceptor(ctx, in, info, handler)
3124}
3125
3126func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3127 in := new(empty.Empty)
3128 if err := dec(in); err != nil {
3129 return nil, err
3130 }
3131 if interceptor == nil {
3132 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3133 }
3134 info := &grpc.UnaryServerInfo{
3135 Server: srv,
3136 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3137 }
3138 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3139 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3140 }
3141 return interceptor(ctx, in, info, handler)
3142}
3143
3144func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3145 in := new(common.ID)
3146 if err := dec(in); err != nil {
3147 return nil, err
3148 }
3149 if interceptor == nil {
3150 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3151 }
3152 info := &grpc.UnaryServerInfo{
3153 Server: srv,
3154 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3155 }
3156 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3157 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3158 }
3159 return interceptor(ctx, in, info, handler)
3160}
3161
3162func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3163 in := new(empty.Empty)
3164 if err := dec(in); err != nil {
3165 return nil, err
3166 }
3167 if interceptor == nil {
3168 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3169 }
3170 info := &grpc.UnaryServerInfo{
3171 Server: srv,
3172 FullMethod: "/voltha.VolthaService/ListAdapters",
3173 }
3174 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3175 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3176 }
3177 return interceptor(ctx, in, info, handler)
3178}
3179
3180func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3181 in := new(empty.Empty)
3182 if err := dec(in); err != nil {
3183 return nil, err
3184 }
3185 if interceptor == nil {
3186 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3187 }
3188 info := &grpc.UnaryServerInfo{
3189 Server: srv,
3190 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3191 }
3192 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3193 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3194 }
3195 return interceptor(ctx, in, info, handler)
3196}
3197
3198func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3199 in := new(common.ID)
3200 if err := dec(in); err != nil {
3201 return nil, err
3202 }
3203 if interceptor == nil {
3204 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3205 }
3206 info := &grpc.UnaryServerInfo{
3207 Server: srv,
3208 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3209 }
3210 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3211 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3212 }
3213 return interceptor(ctx, in, info, handler)
3214}
3215
3216func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3217 in := new(common.ID)
3218 if err := dec(in); err != nil {
3219 return nil, err
3220 }
3221 if interceptor == nil {
3222 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3223 }
3224 info := &grpc.UnaryServerInfo{
3225 Server: srv,
3226 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3227 }
3228 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3229 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3230 }
3231 return interceptor(ctx, in, info, handler)
3232}
3233
3234func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3235 in := new(LogicalPortId)
3236 if err := dec(in); err != nil {
3237 return nil, err
3238 }
3239 if interceptor == nil {
3240 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3241 }
3242 info := &grpc.UnaryServerInfo{
3243 Server: srv,
3244 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3245 }
3246 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3247 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3248 }
3249 return interceptor(ctx, in, info, handler)
3250}
3251
3252func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3253 in := new(LogicalPortId)
3254 if err := dec(in); err != nil {
3255 return nil, err
3256 }
3257 if interceptor == nil {
3258 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3259 }
3260 info := &grpc.UnaryServerInfo{
3261 Server: srv,
3262 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3263 }
3264 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3265 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3266 }
3267 return interceptor(ctx, in, info, handler)
3268}
3269
3270func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3271 in := new(LogicalPortId)
3272 if err := dec(in); err != nil {
3273 return nil, err
3274 }
3275 if interceptor == nil {
3276 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3277 }
3278 info := &grpc.UnaryServerInfo{
3279 Server: srv,
3280 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3281 }
3282 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3283 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3284 }
3285 return interceptor(ctx, in, info, handler)
3286}
3287
3288func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3289 in := new(common.ID)
3290 if err := dec(in); err != nil {
3291 return nil, err
3292 }
3293 if interceptor == nil {
3294 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3295 }
3296 info := &grpc.UnaryServerInfo{
3297 Server: srv,
3298 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3299 }
3300 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3301 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3302 }
3303 return interceptor(ctx, in, info, handler)
3304}
3305
3306func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3307 in := new(openflow_13.FlowTableUpdate)
3308 if err := dec(in); err != nil {
3309 return nil, err
3310 }
3311 if interceptor == nil {
3312 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3313 }
3314 info := &grpc.UnaryServerInfo{
3315 Server: srv,
3316 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3317 }
3318 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3319 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3320 }
3321 return interceptor(ctx, in, info, handler)
3322}
3323
3324func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3325 in := new(openflow_13.MeterModUpdate)
3326 if err := dec(in); err != nil {
3327 return nil, err
3328 }
3329 if interceptor == nil {
3330 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3331 }
3332 info := &grpc.UnaryServerInfo{
3333 Server: srv,
3334 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3335 }
3336 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3337 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3338 }
3339 return interceptor(ctx, in, info, handler)
3340}
3341
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003342func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003343 in := new(common.ID)
3344 if err := dec(in); err != nil {
3345 return nil, err
3346 }
3347 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003348 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003349 }
3350 info := &grpc.UnaryServerInfo{
3351 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003352 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003353 }
3354 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003355 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003356 }
3357 return interceptor(ctx, in, info, handler)
3358}
3359
3360func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3361 in := new(common.ID)
3362 if err := dec(in); err != nil {
3363 return nil, err
3364 }
3365 if interceptor == nil {
3366 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3367 }
3368 info := &grpc.UnaryServerInfo{
3369 Server: srv,
3370 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3371 }
3372 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3373 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3374 }
3375 return interceptor(ctx, in, info, handler)
3376}
3377
3378func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3379 in := new(openflow_13.FlowGroupTableUpdate)
3380 if err := dec(in); err != nil {
3381 return nil, err
3382 }
3383 if interceptor == nil {
3384 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3385 }
3386 info := &grpc.UnaryServerInfo{
3387 Server: srv,
3388 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3389 }
3390 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3391 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3392 }
3393 return interceptor(ctx, in, info, handler)
3394}
3395
3396func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3397 in := new(empty.Empty)
3398 if err := dec(in); err != nil {
3399 return nil, err
3400 }
3401 if interceptor == nil {
3402 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3403 }
3404 info := &grpc.UnaryServerInfo{
3405 Server: srv,
3406 FullMethod: "/voltha.VolthaService/ListDevices",
3407 }
3408 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3409 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3410 }
3411 return interceptor(ctx, in, info, handler)
3412}
3413
3414func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3415 in := new(empty.Empty)
3416 if err := dec(in); err != nil {
3417 return nil, err
3418 }
3419 if interceptor == nil {
3420 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3421 }
3422 info := &grpc.UnaryServerInfo{
3423 Server: srv,
3424 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3425 }
3426 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3427 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3428 }
3429 return interceptor(ctx, in, info, handler)
3430}
3431
3432func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3433 in := new(common.IDs)
3434 if err := dec(in); err != nil {
3435 return nil, err
3436 }
3437 if interceptor == nil {
3438 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3439 }
3440 info := &grpc.UnaryServerInfo{
3441 Server: srv,
3442 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3443 }
3444 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3445 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3446 }
3447 return interceptor(ctx, in, info, handler)
3448}
3449
3450func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3451 in := new(common.ID)
3452 if err := dec(in); err != nil {
3453 return nil, err
3454 }
3455 if interceptor == nil {
3456 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3457 }
3458 info := &grpc.UnaryServerInfo{
3459 Server: srv,
3460 FullMethod: "/voltha.VolthaService/GetDevice",
3461 }
3462 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3463 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3464 }
3465 return interceptor(ctx, in, info, handler)
3466}
3467
3468func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3469 in := new(Device)
3470 if err := dec(in); err != nil {
3471 return nil, err
3472 }
3473 if interceptor == nil {
3474 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3475 }
3476 info := &grpc.UnaryServerInfo{
3477 Server: srv,
3478 FullMethod: "/voltha.VolthaService/CreateDevice",
3479 }
3480 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3481 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3482 }
3483 return interceptor(ctx, in, info, handler)
3484}
3485
3486func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3487 in := new(common.ID)
3488 if err := dec(in); err != nil {
3489 return nil, err
3490 }
3491 if interceptor == nil {
3492 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3493 }
3494 info := &grpc.UnaryServerInfo{
3495 Server: srv,
3496 FullMethod: "/voltha.VolthaService/EnableDevice",
3497 }
3498 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3499 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3500 }
3501 return interceptor(ctx, in, info, handler)
3502}
3503
3504func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3505 in := new(common.ID)
3506 if err := dec(in); err != nil {
3507 return nil, err
3508 }
3509 if interceptor == nil {
3510 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3511 }
3512 info := &grpc.UnaryServerInfo{
3513 Server: srv,
3514 FullMethod: "/voltha.VolthaService/DisableDevice",
3515 }
3516 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3517 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3518 }
3519 return interceptor(ctx, in, info, handler)
3520}
3521
3522func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3523 in := new(common.ID)
3524 if err := dec(in); err != nil {
3525 return nil, err
3526 }
3527 if interceptor == nil {
3528 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3529 }
3530 info := &grpc.UnaryServerInfo{
3531 Server: srv,
3532 FullMethod: "/voltha.VolthaService/RebootDevice",
3533 }
3534 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3535 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3536 }
3537 return interceptor(ctx, in, info, handler)
3538}
3539
3540func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3541 in := new(common.ID)
3542 if err := dec(in); err != nil {
3543 return nil, err
3544 }
3545 if interceptor == nil {
3546 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3547 }
3548 info := &grpc.UnaryServerInfo{
3549 Server: srv,
3550 FullMethod: "/voltha.VolthaService/DeleteDevice",
3551 }
3552 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3553 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3554 }
3555 return interceptor(ctx, in, info, handler)
3556}
3557
3558func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3559 in := new(ImageDownload)
3560 if err := dec(in); err != nil {
3561 return nil, err
3562 }
3563 if interceptor == nil {
3564 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3565 }
3566 info := &grpc.UnaryServerInfo{
3567 Server: srv,
3568 FullMethod: "/voltha.VolthaService/DownloadImage",
3569 }
3570 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3571 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3572 }
3573 return interceptor(ctx, in, info, handler)
3574}
3575
3576func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3577 in := new(ImageDownload)
3578 if err := dec(in); err != nil {
3579 return nil, err
3580 }
3581 if interceptor == nil {
3582 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3583 }
3584 info := &grpc.UnaryServerInfo{
3585 Server: srv,
3586 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3587 }
3588 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3589 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3590 }
3591 return interceptor(ctx, in, info, handler)
3592}
3593
3594func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3595 in := new(ImageDownload)
3596 if err := dec(in); err != nil {
3597 return nil, err
3598 }
3599 if interceptor == nil {
3600 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3601 }
3602 info := &grpc.UnaryServerInfo{
3603 Server: srv,
3604 FullMethod: "/voltha.VolthaService/GetImageDownload",
3605 }
3606 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3607 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3608 }
3609 return interceptor(ctx, in, info, handler)
3610}
3611
3612func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3613 in := new(common.ID)
3614 if err := dec(in); err != nil {
3615 return nil, err
3616 }
3617 if interceptor == nil {
3618 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3619 }
3620 info := &grpc.UnaryServerInfo{
3621 Server: srv,
3622 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3623 }
3624 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3625 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3626 }
3627 return interceptor(ctx, in, info, handler)
3628}
3629
3630func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3631 in := new(ImageDownload)
3632 if err := dec(in); err != nil {
3633 return nil, err
3634 }
3635 if interceptor == nil {
3636 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3637 }
3638 info := &grpc.UnaryServerInfo{
3639 Server: srv,
3640 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3641 }
3642 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3643 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3644 }
3645 return interceptor(ctx, in, info, handler)
3646}
3647
3648func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3649 in := new(ImageDownload)
3650 if err := dec(in); err != nil {
3651 return nil, err
3652 }
3653 if interceptor == nil {
3654 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3655 }
3656 info := &grpc.UnaryServerInfo{
3657 Server: srv,
3658 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3659 }
3660 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3661 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3662 }
3663 return interceptor(ctx, in, info, handler)
3664}
3665
3666func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3667 in := new(ImageDownload)
3668 if err := dec(in); err != nil {
3669 return nil, err
3670 }
3671 if interceptor == nil {
3672 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3673 }
3674 info := &grpc.UnaryServerInfo{
3675 Server: srv,
3676 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3677 }
3678 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3679 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3680 }
3681 return interceptor(ctx, in, info, handler)
3682}
3683
3684func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3685 in := new(common.ID)
3686 if err := dec(in); err != nil {
3687 return nil, err
3688 }
3689 if interceptor == nil {
3690 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3691 }
3692 info := &grpc.UnaryServerInfo{
3693 Server: srv,
3694 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3695 }
3696 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3697 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3698 }
3699 return interceptor(ctx, in, info, handler)
3700}
3701
3702func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3703 in := new(common.ID)
3704 if err := dec(in); err != nil {
3705 return nil, err
3706 }
3707 if interceptor == nil {
3708 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3709 }
3710 info := &grpc.UnaryServerInfo{
3711 Server: srv,
3712 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3713 }
3714 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3715 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3716 }
3717 return interceptor(ctx, in, info, handler)
3718}
3719
3720func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3721 in := new(PmConfigs)
3722 if err := dec(in); err != nil {
3723 return nil, err
3724 }
3725 if interceptor == nil {
3726 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3727 }
3728 info := &grpc.UnaryServerInfo{
3729 Server: srv,
3730 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3731 }
3732 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3733 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3734 }
3735 return interceptor(ctx, in, info, handler)
3736}
3737
3738func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3739 in := new(common.ID)
3740 if err := dec(in); err != nil {
3741 return nil, err
3742 }
3743 if interceptor == nil {
3744 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3745 }
3746 info := &grpc.UnaryServerInfo{
3747 Server: srv,
3748 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3749 }
3750 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3751 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3752 }
3753 return interceptor(ctx, in, info, handler)
3754}
3755
3756func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3757 in := new(common.ID)
3758 if err := dec(in); err != nil {
3759 return nil, err
3760 }
3761 if interceptor == nil {
3762 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3763 }
3764 info := &grpc.UnaryServerInfo{
3765 Server: srv,
3766 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3767 }
3768 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3769 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3770 }
3771 return interceptor(ctx, in, info, handler)
3772}
3773
3774func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3775 in := new(empty.Empty)
3776 if err := dec(in); err != nil {
3777 return nil, err
3778 }
3779 if interceptor == nil {
3780 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3781 }
3782 info := &grpc.UnaryServerInfo{
3783 Server: srv,
3784 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3785 }
3786 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3787 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
3788 }
3789 return interceptor(ctx, in, info, handler)
3790}
3791
3792func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3793 in := new(common.ID)
3794 if err := dec(in); err != nil {
3795 return nil, err
3796 }
3797 if interceptor == nil {
3798 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
3799 }
3800 info := &grpc.UnaryServerInfo{
3801 Server: srv,
3802 FullMethod: "/voltha.VolthaService/GetDeviceType",
3803 }
3804 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3805 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
3806 }
3807 return interceptor(ctx, in, info, handler)
3808}
3809
3810func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3811 in := new(empty.Empty)
3812 if err := dec(in); err != nil {
3813 return nil, err
3814 }
3815 if interceptor == nil {
3816 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
3817 }
3818 info := &grpc.UnaryServerInfo{
3819 Server: srv,
3820 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
3821 }
3822 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3823 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
3824 }
3825 return interceptor(ctx, in, info, handler)
3826}
3827
3828func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
3829 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
3830}
3831
3832type VolthaService_StreamPacketsOutServer interface {
3833 SendAndClose(*empty.Empty) error
3834 Recv() (*openflow_13.PacketOut, error)
3835 grpc.ServerStream
3836}
3837
3838type volthaServiceStreamPacketsOutServer struct {
3839 grpc.ServerStream
3840}
3841
3842func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
3843 return x.ServerStream.SendMsg(m)
3844}
3845
3846func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
3847 m := new(openflow_13.PacketOut)
3848 if err := x.ServerStream.RecvMsg(m); err != nil {
3849 return nil, err
3850 }
3851 return m, nil
3852}
3853
3854func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
3855 m := new(empty.Empty)
3856 if err := stream.RecvMsg(m); err != nil {
3857 return err
3858 }
3859 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
3860}
3861
3862type VolthaService_ReceivePacketsInServer interface {
3863 Send(*openflow_13.PacketIn) error
3864 grpc.ServerStream
3865}
3866
3867type volthaServiceReceivePacketsInServer struct {
3868 grpc.ServerStream
3869}
3870
3871func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
3872 return x.ServerStream.SendMsg(m)
3873}
3874
3875func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
3876 m := new(empty.Empty)
3877 if err := stream.RecvMsg(m); err != nil {
3878 return err
3879 }
3880 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
3881}
3882
3883type VolthaService_ReceiveChangeEventsServer interface {
3884 Send(*openflow_13.ChangeEvent) error
3885 grpc.ServerStream
3886}
3887
3888type volthaServiceReceiveChangeEventsServer struct {
3889 grpc.ServerStream
3890}
3891
3892func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
3893 return x.ServerStream.SendMsg(m)
3894}
3895
3896func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3897 in := new(common.ID)
3898 if err := dec(in); err != nil {
3899 return nil, err
3900 }
3901 if interceptor == nil {
3902 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
3903 }
3904 info := &grpc.UnaryServerInfo{
3905 Server: srv,
3906 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
3907 }
3908 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3909 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
3910 }
3911 return interceptor(ctx, in, info, handler)
3912}
3913
3914func _VolthaService_CreateAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3915 in := new(AlarmFilter)
3916 if err := dec(in); err != nil {
3917 return nil, err
3918 }
3919 if interceptor == nil {
3920 return srv.(VolthaServiceServer).CreateAlarmFilter(ctx, in)
3921 }
3922 info := &grpc.UnaryServerInfo{
3923 Server: srv,
3924 FullMethod: "/voltha.VolthaService/CreateAlarmFilter",
3925 }
3926 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3927 return srv.(VolthaServiceServer).CreateAlarmFilter(ctx, req.(*AlarmFilter))
3928 }
3929 return interceptor(ctx, in, info, handler)
3930}
3931
3932func _VolthaService_GetAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3933 in := new(common.ID)
3934 if err := dec(in); err != nil {
3935 return nil, err
3936 }
3937 if interceptor == nil {
3938 return srv.(VolthaServiceServer).GetAlarmFilter(ctx, in)
3939 }
3940 info := &grpc.UnaryServerInfo{
3941 Server: srv,
3942 FullMethod: "/voltha.VolthaService/GetAlarmFilter",
3943 }
3944 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3945 return srv.(VolthaServiceServer).GetAlarmFilter(ctx, req.(*common.ID))
3946 }
3947 return interceptor(ctx, in, info, handler)
3948}
3949
3950func _VolthaService_UpdateAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3951 in := new(AlarmFilter)
3952 if err := dec(in); err != nil {
3953 return nil, err
3954 }
3955 if interceptor == nil {
3956 return srv.(VolthaServiceServer).UpdateAlarmFilter(ctx, in)
3957 }
3958 info := &grpc.UnaryServerInfo{
3959 Server: srv,
3960 FullMethod: "/voltha.VolthaService/UpdateAlarmFilter",
3961 }
3962 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3963 return srv.(VolthaServiceServer).UpdateAlarmFilter(ctx, req.(*AlarmFilter))
3964 }
3965 return interceptor(ctx, in, info, handler)
3966}
3967
3968func _VolthaService_DeleteAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3969 in := new(common.ID)
3970 if err := dec(in); err != nil {
3971 return nil, err
3972 }
3973 if interceptor == nil {
3974 return srv.(VolthaServiceServer).DeleteAlarmFilter(ctx, in)
3975 }
3976 info := &grpc.UnaryServerInfo{
3977 Server: srv,
3978 FullMethod: "/voltha.VolthaService/DeleteAlarmFilter",
3979 }
3980 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3981 return srv.(VolthaServiceServer).DeleteAlarmFilter(ctx, req.(*common.ID))
3982 }
3983 return interceptor(ctx, in, info, handler)
3984}
3985
3986func _VolthaService_ListAlarmFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3987 in := new(empty.Empty)
3988 if err := dec(in); err != nil {
3989 return nil, err
3990 }
3991 if interceptor == nil {
3992 return srv.(VolthaServiceServer).ListAlarmFilters(ctx, in)
3993 }
3994 info := &grpc.UnaryServerInfo{
3995 Server: srv,
3996 FullMethod: "/voltha.VolthaService/ListAlarmFilters",
3997 }
3998 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3999 return srv.(VolthaServiceServer).ListAlarmFilters(ctx, req.(*empty.Empty))
4000 }
4001 return interceptor(ctx, in, info, handler)
4002}
4003
4004func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4005 in := new(common.ID)
4006 if err := dec(in); err != nil {
4007 return nil, err
4008 }
4009 if interceptor == nil {
4010 return srv.(VolthaServiceServer).GetImages(ctx, in)
4011 }
4012 info := &grpc.UnaryServerInfo{
4013 Server: srv,
4014 FullMethod: "/voltha.VolthaService/GetImages",
4015 }
4016 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4017 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4018 }
4019 return interceptor(ctx, in, info, handler)
4020}
4021
4022func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4023 in := new(common.ID)
4024 if err := dec(in); err != nil {
4025 return nil, err
4026 }
4027 if interceptor == nil {
4028 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4029 }
4030 info := &grpc.UnaryServerInfo{
4031 Server: srv,
4032 FullMethod: "/voltha.VolthaService/SelfTest",
4033 }
4034 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4035 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4036 }
4037 return interceptor(ctx, in, info, handler)
4038}
4039
4040func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4041 in := new(common.ID)
4042 if err := dec(in); err != nil {
4043 return nil, err
4044 }
4045 if interceptor == nil {
4046 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4047 }
4048 info := &grpc.UnaryServerInfo{
4049 Server: srv,
4050 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4051 }
4052 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4053 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4054 }
4055 return interceptor(ctx, in, info, handler)
4056}
4057
4058func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4059 in := new(common.ID)
4060 if err := dec(in); err != nil {
4061 return nil, err
4062 }
4063 if interceptor == nil {
4064 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4065 }
4066 info := &grpc.UnaryServerInfo{
4067 Server: srv,
4068 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4069 }
4070 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4071 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4072 }
4073 return interceptor(ctx, in, info, handler)
4074}
4075
4076func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4077 in := new(SimulateAlarmRequest)
4078 if err := dec(in); err != nil {
4079 return nil, err
4080 }
4081 if interceptor == nil {
4082 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4083 }
4084 info := &grpc.UnaryServerInfo{
4085 Server: srv,
4086 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4087 }
4088 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4089 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4090 }
4091 return interceptor(ctx, in, info, handler)
4092}
4093
4094func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4095 in := new(OfAgentSubscriber)
4096 if err := dec(in); err != nil {
4097 return nil, err
4098 }
4099 if interceptor == nil {
4100 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4101 }
4102 info := &grpc.UnaryServerInfo{
4103 Server: srv,
4104 FullMethod: "/voltha.VolthaService/Subscribe",
4105 }
4106 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4107 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4108 }
4109 return interceptor(ctx, in, info, handler)
4110}
4111
4112var _VolthaService_serviceDesc = grpc.ServiceDesc{
4113 ServiceName: "voltha.VolthaService",
4114 HandlerType: (*VolthaServiceServer)(nil),
4115 Methods: []grpc.MethodDesc{
4116 {
4117 MethodName: "UpdateLogLevel",
4118 Handler: _VolthaService_UpdateLogLevel_Handler,
4119 },
4120 {
Scott Baker99af94e2019-08-20 10:45:06 -07004121 MethodName: "GetLogLevels",
4122 Handler: _VolthaService_GetLogLevels_Handler,
4123 },
4124 {
William Kurkian1b363f42019-03-12 15:28:12 -04004125 MethodName: "GetMembership",
4126 Handler: _VolthaService_GetMembership_Handler,
4127 },
4128 {
4129 MethodName: "UpdateMembership",
4130 Handler: _VolthaService_UpdateMembership_Handler,
4131 },
4132 {
4133 MethodName: "GetVoltha",
4134 Handler: _VolthaService_GetVoltha_Handler,
4135 },
4136 {
4137 MethodName: "ListCoreInstances",
4138 Handler: _VolthaService_ListCoreInstances_Handler,
4139 },
4140 {
4141 MethodName: "GetCoreInstance",
4142 Handler: _VolthaService_GetCoreInstance_Handler,
4143 },
4144 {
4145 MethodName: "ListAdapters",
4146 Handler: _VolthaService_ListAdapters_Handler,
4147 },
4148 {
4149 MethodName: "ListLogicalDevices",
4150 Handler: _VolthaService_ListLogicalDevices_Handler,
4151 },
4152 {
4153 MethodName: "GetLogicalDevice",
4154 Handler: _VolthaService_GetLogicalDevice_Handler,
4155 },
4156 {
4157 MethodName: "ListLogicalDevicePorts",
4158 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4159 },
4160 {
4161 MethodName: "GetLogicalDevicePort",
4162 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4163 },
4164 {
4165 MethodName: "EnableLogicalDevicePort",
4166 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4167 },
4168 {
4169 MethodName: "DisableLogicalDevicePort",
4170 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4171 },
4172 {
4173 MethodName: "ListLogicalDeviceFlows",
4174 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4175 },
4176 {
4177 MethodName: "UpdateLogicalDeviceFlowTable",
4178 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4179 },
4180 {
4181 MethodName: "UpdateLogicalDeviceMeterTable",
4182 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4183 },
4184 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004185 MethodName: "ListLogicalDeviceMeters",
4186 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004187 },
4188 {
4189 MethodName: "ListLogicalDeviceFlowGroups",
4190 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4191 },
4192 {
4193 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4194 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4195 },
4196 {
4197 MethodName: "ListDevices",
4198 Handler: _VolthaService_ListDevices_Handler,
4199 },
4200 {
4201 MethodName: "ListDeviceIds",
4202 Handler: _VolthaService_ListDeviceIds_Handler,
4203 },
4204 {
4205 MethodName: "ReconcileDevices",
4206 Handler: _VolthaService_ReconcileDevices_Handler,
4207 },
4208 {
4209 MethodName: "GetDevice",
4210 Handler: _VolthaService_GetDevice_Handler,
4211 },
4212 {
4213 MethodName: "CreateDevice",
4214 Handler: _VolthaService_CreateDevice_Handler,
4215 },
4216 {
4217 MethodName: "EnableDevice",
4218 Handler: _VolthaService_EnableDevice_Handler,
4219 },
4220 {
4221 MethodName: "DisableDevice",
4222 Handler: _VolthaService_DisableDevice_Handler,
4223 },
4224 {
4225 MethodName: "RebootDevice",
4226 Handler: _VolthaService_RebootDevice_Handler,
4227 },
4228 {
4229 MethodName: "DeleteDevice",
4230 Handler: _VolthaService_DeleteDevice_Handler,
4231 },
4232 {
4233 MethodName: "DownloadImage",
4234 Handler: _VolthaService_DownloadImage_Handler,
4235 },
4236 {
4237 MethodName: "GetImageDownloadStatus",
4238 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4239 },
4240 {
4241 MethodName: "GetImageDownload",
4242 Handler: _VolthaService_GetImageDownload_Handler,
4243 },
4244 {
4245 MethodName: "ListImageDownloads",
4246 Handler: _VolthaService_ListImageDownloads_Handler,
4247 },
4248 {
4249 MethodName: "CancelImageDownload",
4250 Handler: _VolthaService_CancelImageDownload_Handler,
4251 },
4252 {
4253 MethodName: "ActivateImageUpdate",
4254 Handler: _VolthaService_ActivateImageUpdate_Handler,
4255 },
4256 {
4257 MethodName: "RevertImageUpdate",
4258 Handler: _VolthaService_RevertImageUpdate_Handler,
4259 },
4260 {
4261 MethodName: "ListDevicePorts",
4262 Handler: _VolthaService_ListDevicePorts_Handler,
4263 },
4264 {
4265 MethodName: "ListDevicePmConfigs",
4266 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4267 },
4268 {
4269 MethodName: "UpdateDevicePmConfigs",
4270 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4271 },
4272 {
4273 MethodName: "ListDeviceFlows",
4274 Handler: _VolthaService_ListDeviceFlows_Handler,
4275 },
4276 {
4277 MethodName: "ListDeviceFlowGroups",
4278 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4279 },
4280 {
4281 MethodName: "ListDeviceTypes",
4282 Handler: _VolthaService_ListDeviceTypes_Handler,
4283 },
4284 {
4285 MethodName: "GetDeviceType",
4286 Handler: _VolthaService_GetDeviceType_Handler,
4287 },
4288 {
4289 MethodName: "ListDeviceGroups",
4290 Handler: _VolthaService_ListDeviceGroups_Handler,
4291 },
4292 {
4293 MethodName: "GetDeviceGroup",
4294 Handler: _VolthaService_GetDeviceGroup_Handler,
4295 },
4296 {
4297 MethodName: "CreateAlarmFilter",
4298 Handler: _VolthaService_CreateAlarmFilter_Handler,
4299 },
4300 {
4301 MethodName: "GetAlarmFilter",
4302 Handler: _VolthaService_GetAlarmFilter_Handler,
4303 },
4304 {
4305 MethodName: "UpdateAlarmFilter",
4306 Handler: _VolthaService_UpdateAlarmFilter_Handler,
4307 },
4308 {
4309 MethodName: "DeleteAlarmFilter",
4310 Handler: _VolthaService_DeleteAlarmFilter_Handler,
4311 },
4312 {
4313 MethodName: "ListAlarmFilters",
4314 Handler: _VolthaService_ListAlarmFilters_Handler,
4315 },
4316 {
4317 MethodName: "GetImages",
4318 Handler: _VolthaService_GetImages_Handler,
4319 },
4320 {
4321 MethodName: "SelfTest",
4322 Handler: _VolthaService_SelfTest_Handler,
4323 },
4324 {
4325 MethodName: "GetMibDeviceData",
4326 Handler: _VolthaService_GetMibDeviceData_Handler,
4327 },
4328 {
4329 MethodName: "GetAlarmDeviceData",
4330 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4331 },
4332 {
4333 MethodName: "SimulateAlarm",
4334 Handler: _VolthaService_SimulateAlarm_Handler,
4335 },
4336 {
4337 MethodName: "Subscribe",
4338 Handler: _VolthaService_Subscribe_Handler,
4339 },
4340 },
4341 Streams: []grpc.StreamDesc{
4342 {
4343 StreamName: "StreamPacketsOut",
4344 Handler: _VolthaService_StreamPacketsOut_Handler,
4345 ClientStreams: true,
4346 },
4347 {
4348 StreamName: "ReceivePacketsIn",
4349 Handler: _VolthaService_ReceivePacketsIn_Handler,
4350 ServerStreams: true,
4351 },
4352 {
4353 StreamName: "ReceiveChangeEvents",
4354 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4355 ServerStreams: true,
4356 },
4357 },
4358 Metadata: "voltha_protos/voltha.proto",
4359}