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