blob: ab5b37fd4ecb3d7ff3c278f6486516df9472ab7b [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
1970func init() {
William Kurkianad745652019-03-20 08:45:51 -04001971 proto.RegisterEnum("voltha.AlarmFilterRuleKey_AlarmFilterRuleKey", AlarmFilterRuleKey_AlarmFilterRuleKey_name, AlarmFilterRuleKey_AlarmFilterRuleKey_value)
1972 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04001973 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
1974 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
1975 proto.RegisterType((*AlarmFilterRuleKey)(nil), "voltha.AlarmFilterRuleKey")
1976 proto.RegisterType((*AlarmFilterRule)(nil), "voltha.AlarmFilterRule")
1977 proto.RegisterType((*AlarmFilter)(nil), "voltha.AlarmFilter")
1978 proto.RegisterType((*AlarmFilters)(nil), "voltha.AlarmFilters")
1979 proto.RegisterType((*Logging)(nil), "voltha.Logging")
1980 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
1981 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
1982 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
1983 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
1984 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
1985 proto.RegisterType((*Membership)(nil), "voltha.Membership")
William Kurkianad745652019-03-20 08:45:51 -04001986}
1987
1988func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
1989
1990var fileDescriptor_e084f1a60ce7016c = []byte{
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04001991 // 2471 bytes of a gzipped FileDescriptorProto
1992 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5b, 0x73, 0xdb, 0xc6,
1993 0xf5, 0x17, 0x75, 0xd7, 0x21, 0x29, 0x92, 0x47, 0x37, 0x9a, 0x92, 0x62, 0x69, 0xe3, 0xdb, 0x5f,
1994 0x89, 0xc8, 0xd8, 0x4a, 0x3c, 0xff, 0x3a, 0xcd, 0xa4, 0xd6, 0xc5, 0x2a, 0x6b, 0x59, 0x62, 0x41,
1995 0xcb, 0x6e, 0x9b, 0x78, 0x38, 0x20, 0xb1, 0xa2, 0x30, 0x06, 0x01, 0x16, 0x0b, 0xca, 0xd5, 0xb8,
1996 0x99, 0x76, 0xd2, 0xeb, 0xf4, 0xb1, 0xf9, 0x0a, 0x7d, 0xea, 0xb4, 0x1f, 0xc5, 0x4f, 0xfd, 0x02,
1997 0x9d, 0x4e, 0x1f, 0xfa, 0xd8, 0x27, 0xb7, 0x8f, 0x9d, 0xbd, 0x80, 0x02, 0x08, 0x40, 0x97, 0x34,
1998 0x33, 0x7d, 0x12, 0xb1, 0xe7, 0xec, 0xef, 0xf7, 0xdb, 0xb3, 0xbb, 0x67, 0x0f, 0x16, 0x82, 0xd2,
1999 0x89, 0x63, 0x79, 0xc7, 0x7a, 0xa3, 0xeb, 0x3a, 0x9e, 0xc3, 0x2a, 0xf2, 0xa9, 0x2c, 0x9e, 0x70,
2000 0x5c, 0x3e, 0x95, 0x96, 0xda, 0x8e, 0xd3, 0xb6, 0x68, 0x45, 0xef, 0x9a, 0x15, 0xdd, 0xb6, 0x1d,
2001 0x4f, 0xf7, 0x4c, 0xc7, 0x66, 0xd2, 0xab, 0xb4, 0xa8, 0xac, 0xe2, 0xa9, 0xd9, 0x3b, 0xaa, 0xd0,
2002 0x4e, 0xd7, 0x3b, 0x55, 0xc6, 0x62, 0x18, 0xbe, 0x43, 0x3d, 0x05, 0x5e, 0x1a, 0x20, 0x6e, 0x39,
2003 0x9d, 0x8e, 0x63, 0xc7, 0xdb, 0x8e, 0xa9, 0x6e, 0x79, 0xc7, 0xca, 0x46, 0xc2, 0x36, 0xcb, 0x69,
2004 0x9b, 0x2d, 0xdd, 0x6a, 0x18, 0xf4, 0xc4, 0x6c, 0xd1, 0xf8, 0xfe, 0x21, 0xdb, 0x62, 0xd8, 0xa6,
2005 0x1b, 0x7a, 0xd7, 0xa3, 0xae, 0x32, 0x5e, 0x0f, 0x1b, 0x9d, 0x2e, 0xb5, 0x8f, 0x2c, 0xe7, 0x55,
2006 0xe3, 0xee, 0x46, 0x82, 0x43, 0xa7, 0x65, 0x36, 0x3a, 0x66, 0xb3, 0x61, 0x34, 0x95, 0xc3, 0x6a,
2007 0x8c, 0x83, 0x6e, 0xe9, 0x6e, 0xe7, 0xcc, 0x65, 0x25, 0xec, 0x72, 0xaa, 0xdb, 0xed, 0x86, 0xd3,
2008 0x0d, 0x84, 0x94, 0xfc, 0x21, 0x05, 0xe9, 0x6d, 0x21, 0x7a, 0xd7, 0x75, 0x7a, 0x5d, 0x9c, 0x83,
2009 0x61, 0xd3, 0x28, 0xa6, 0x56, 0x52, 0x77, 0xa6, 0x36, 0xc7, 0xfe, 0xf1, 0xf6, 0xcd, 0x72, 0x4a,
2010 0x1b, 0x36, 0x0d, 0xac, 0x42, 0x2e, 0x3c, 0x7c, 0x56, 0x1c, 0x5e, 0x19, 0xb9, 0x93, 0xbe, 0x37,
2011 0x57, 0x56, 0xf3, 0xb8, 0x27, 0xcd, 0x12, 0x6b, 0x73, 0xea, 0x6f, 0x6f, 0xdf, 0x2c, 0x8f, 0x72,
2012 0x2c, 0x6d, 0xda, 0x0a, 0x5a, 0x18, 0x6e, 0xc0, 0x84, 0x0f, 0x31, 0x22, 0x20, 0xa6, 0x7d, 0x88,
2013 0x68, 0x5f, 0xdf, 0x93, 0x7c, 0x0b, 0x32, 0x01, 0x95, 0x0c, 0xff, 0x0f, 0xc6, 0x4c, 0x8f, 0x76,
2014 0x58, 0x31, 0x25, 0x20, 0x66, 0xc2, 0x10, 0xc2, 0x49, 0x93, 0x1e, 0xe4, 0x67, 0x80, 0x0f, 0x79,
2015 0x54, 0x1e, 0x99, 0x96, 0x47, 0x5d, 0xad, 0x67, 0xd1, 0xc7, 0xf4, 0x94, 0x34, 0xe3, 0x5a, 0x71,
2016 0x9c, 0xb3, 0xe6, 0x87, 0x70, 0x12, 0x46, 0xbd, 0xd3, 0x2e, 0xcd, 0xa7, 0x30, 0x03, 0x93, 0x8c,
2017 0x9e, 0x50, 0xd7, 0xf4, 0x4e, 0xf3, 0xc3, 0x98, 0x83, 0xb4, 0x4b, 0x99, 0xd3, 0x73, 0x5b, 0xb4,
2018 0x61, 0x1a, 0xf9, 0x11, 0x6e, 0x6e, 0xe9, 0x1e, 0x6d, 0x3b, 0xee, 0x69, 0x7e, 0x14, 0xb3, 0x30,
2019 0x25, 0x05, 0x73, 0xe3, 0xd8, 0x83, 0xb1, 0x7f, 0xbe, 0x7d, 0xb3, 0x3c, 0x44, 0x8e, 0x21, 0x37,
2020 0x40, 0x85, 0x9f, 0xc2, 0xc8, 0x4b, 0x7a, 0x2a, 0xc2, 0x3c, 0x7d, 0x6f, 0xdd, 0x17, 0x1f, 0x15,
2021 0x14, 0xd3, 0xa4, 0xf1, 0x9e, 0x38, 0x0b, 0x63, 0x27, 0xba, 0xd5, 0xa3, 0xc5, 0x61, 0x3e, 0x53,
2022 0x9a, 0x7c, 0x20, 0x75, 0x48, 0x07, 0x3a, 0x24, 0xcd, 0xe5, 0x3a, 0x8c, 0xb9, 0x3d, 0xab, 0x3f,
2023 0x83, 0x0b, 0x09, 0xf4, 0x9a, 0xf4, 0x22, 0x9f, 0x40, 0x26, 0x60, 0x61, 0xb8, 0x0e, 0x13, 0x47,
2024 0xf2, 0xe7, 0x60, 0xf0, 0x83, 0x00, 0xbe, 0x0f, 0x79, 0x01, 0x13, 0x7b, 0x4e, 0xbb, 0x6d, 0xda,
2025 0x6d, 0xac, 0xc0, 0x98, 0x45, 0x4f, 0xa8, 0xa5, 0xc6, 0x7d, 0xad, 0xac, 0x76, 0xe2, 0x9e, 0xd3,
2026 0xde, 0xe3, 0xed, 0xfd, 0x1f, 0x9a, 0xf4, 0xc3, 0x55, 0xc8, 0x74, 0xf5, 0xd6, 0x4b, 0xbd, 0x4d,
2027 0x1b, 0xb6, 0xde, 0xf1, 0x07, 0x9b, 0x56, 0x6d, 0xfb, 0x7a, 0x87, 0x12, 0x17, 0x32, 0x5b, 0x8e,
2028 0x4b, 0xab, 0x36, 0xf3, 0x74, 0xbb, 0x45, 0xf1, 0x16, 0xa4, 0x4d, 0xf5, 0xbb, 0x31, 0x38, 0x78,
2029 0xf0, 0x2d, 0x55, 0x03, 0x37, 0x60, 0x5c, 0xee, 0x75, 0x01, 0x9a, 0xbe, 0x37, 0xeb, 0x0f, 0xe2,
2030 0xbb, 0xa2, 0xb5, 0xee, 0xe9, 0x5e, 0x8f, 0x6d, 0x8e, 0xf1, 0xa5, 0x38, 0xa4, 0x29, 0xd7, 0x07,
2031 0x63, 0xff, 0xe6, 0x38, 0x64, 0x13, 0xb2, 0x41, 0x4e, 0x86, 0x6b, 0xe1, 0xd5, 0xd8, 0xc7, 0x0a,
2032 0x7a, 0xa9, 0xe5, 0xe8, 0x63, 0xfc, 0x75, 0x14, 0xc6, 0x9f, 0x09, 0x2f, 0xbc, 0x0e, 0x13, 0x27,
2033 0xd4, 0x65, 0xa6, 0x63, 0x87, 0xe5, 0xfa, 0xad, 0x78, 0x1f, 0x26, 0x55, 0xee, 0xf0, 0xe7, 0x2c,
2034 0xd7, 0x0f, 0xb9, 0x6c, 0x0f, 0xee, 0x99, 0xbe, 0x6f, 0xdc, 0xa6, 0x1d, 0xf9, 0xef, 0x37, 0xed,
2035 0xe8, 0x65, 0x37, 0x2d, 0x7e, 0x07, 0x32, 0x6a, 0x3b, 0xf0, 0xcd, 0xc4, 0x8a, 0x63, 0xa2, 0x27,
2036 0x86, 0x7b, 0x3e, 0x3d, 0xed, 0x86, 0x7a, 0xa7, 0x8d, 0x7e, 0x33, 0xc3, 0x2d, 0xc8, 0x2a, 0x84,
2037 0xb6, 0xd8, 0xf7, 0xc5, 0xf1, 0xc4, 0xed, 0x1e, 0xc4, 0x50, 0xb4, 0x2a, 0x57, 0x6c, 0x41, 0x56,
2038 0xa6, 0x45, 0x7f, 0xd9, 0x4e, 0x24, 0x2e, 0xdb, 0x10, 0x88, 0x1e, 0x5c, 0xf5, 0xdf, 0x87, 0xc2,
2039 0x59, 0x06, 0xd6, 0x3d, 0xbd, 0xa9, 0x33, 0x5a, 0x5c, 0x52, 0x40, 0xdc, 0x52, 0x7e, 0x62, 0x36,
2040 0xa5, 0x9c, 0x6d, 0xdd, 0xd3, 0x37, 0xf3, 0x1c, 0x28, 0x1d, 0xc8, 0x07, 0x5a, 0x8e, 0x7b, 0x71,
2041 0x27, 0xd5, 0x1b, 0x9f, 0xc3, 0x4c, 0x30, 0x67, 0xfb, 0xa0, 0xcb, 0x6a, 0x8a, 0x04, 0xa8, 0xd0,
2042 0x76, 0x2e, 0xac, 0x90, 0x25, 0xdd, 0x14, 0x82, 0xbf, 0xc4, 0xfe, 0x94, 0x82, 0x7c, 0x9d, 0x5a,
2043 0x47, 0x4f, 0x29, 0xf3, 0x34, 0xca, 0xba, 0x8e, 0xcd, 0x78, 0xe6, 0x19, 0x77, 0x29, 0xeb, 0x59,
2044 0x9e, 0xda, 0x84, 0xb7, 0xfd, 0x28, 0x0c, 0x7a, 0x06, 0x1b, 0x7a, 0x96, 0xa7, 0xa9, 0x6e, 0xa4,
2045 0x06, 0xd3, 0x61, 0x0b, 0xa6, 0x61, 0xa2, 0x7e, 0xb8, 0xb5, 0xb5, 0x53, 0xaf, 0xe7, 0x87, 0xf8,
2046 0xc3, 0xa3, 0x87, 0xd5, 0xbd, 0x43, 0x6d, 0x27, 0x9f, 0xc2, 0x02, 0x64, 0xf7, 0x0f, 0x9e, 0x36,
2047 0xea, 0x87, 0xb5, 0xda, 0x81, 0xf6, 0x74, 0x67, 0x3b, 0x3f, 0xcc, 0x9b, 0x0e, 0xf7, 0x1f, 0xef,
2048 0x1f, 0x3c, 0xdf, 0x6f, 0xec, 0x68, 0xda, 0x81, 0x96, 0x1f, 0xf1, 0xd3, 0xe4, 0x01, 0x14, 0x0e,
2049 0x8e, 0x1e, 0xb6, 0xa9, 0xed, 0xd5, 0x7b, 0x4d, 0xd6, 0x72, 0xcd, 0x26, 0x75, 0x71, 0x19, 0xc0,
2050 0x39, 0xd2, 0x79, 0x63, 0x7f, 0x37, 0x6b, 0x53, 0xaa, 0xa5, 0x6a, 0xe0, 0x22, 0x4c, 0xa9, 0x13,
2051 0xce, 0x34, 0x54, 0x76, 0x98, 0x94, 0x0d, 0x55, 0x83, 0x7c, 0x0c, 0xf0, 0x84, 0x76, 0x9a, 0xd4,
2052 0x65, 0xc7, 0x66, 0x97, 0x23, 0x89, 0x35, 0x24, 0x33, 0x89, 0x42, 0x12, 0x2d, 0x3c, 0x8f, 0xe0,
2053 0xb4, 0xc8, 0x95, 0x12, 0x62, 0xd8, 0x34, 0xee, 0xfd, 0xb9, 0x02, 0x59, 0xb9, 0x3f, 0xeb, 0xd4,
2054 0xe5, 0xb1, 0xc6, 0x03, 0x98, 0x3e, 0xec, 0x1a, 0xba, 0x47, 0xfd, 0x2c, 0x85, 0xb9, 0xc0, 0x36,
2055 0xe2, 0x09, 0xae, 0x34, 0x5f, 0x96, 0x05, 0x4a, 0xd9, 0x2f, 0x50, 0xca, 0x3b, 0xbc, 0x40, 0x21,
2056 0xb3, 0x5f, 0xfe, 0xe5, 0xef, 0x5f, 0x0d, 0x4f, 0x63, 0x46, 0xd4, 0x35, 0x27, 0x77, 0x79, 0x29,
2057 0xc1, 0xf0, 0x39, 0x64, 0x77, 0xa9, 0x17, 0x90, 0x98, 0xd0, 0xbd, 0xd4, 0xdf, 0x31, 0x67, 0xbe,
2058 0xa4, 0x24, 0x20, 0x67, 0x11, 0x7d, 0xc8, 0xce, 0x19, 0xce, 0x0b, 0xc8, 0x4b, 0xa5, 0x01, 0xec,
2059 0x18, 0x8c, 0x44, 0xb9, 0xcb, 0x02, 0x7b, 0x81, 0xc4, 0x60, 0x3f, 0x48, 0xad, 0xe1, 0x36, 0x4c,
2060 0xed, 0x52, 0x4f, 0x25, 0xaf, 0x24, 0xcd, 0xfd, 0xfc, 0x20, 0xfd, 0x48, 0x4e, 0x60, 0x4e, 0xe1,
2061 0x84, 0xc2, 0xc4, 0x1e, 0x14, 0xf6, 0x4c, 0xe6, 0x85, 0x13, 0x69, 0x12, 0xda, 0x5c, 0x5c, 0x46,
2062 0x65, 0xe4, 0xee, 0xef, 0xfe, 0xf5, 0x66, 0x79, 0x42, 0x25, 0x5f, 0xf1, 0x1b, 0xe5, 0x6f, 0x41,
2063 0x36, 0x83, 0x05, 0x7f, 0x00, 0x66, 0x9f, 0xa1, 0x0e, 0xb9, 0x5d, 0x1a, 0x62, 0x45, 0xf0, 0xcf,
2064 0xa1, 0xea, 0x76, 0x29, 0x36, 0x75, 0x93, 0x77, 0x04, 0x5e, 0x11, 0xe7, 0x23, 0x78, 0x95, 0xd7,
2065 0xa6, 0xf1, 0x05, 0xea, 0x90, 0xe1, 0x63, 0x79, 0xe8, 0x27, 0xde, 0xa4, 0x61, 0xe4, 0x07, 0xd2,
2066 0x36, 0x23, 0xb7, 0xb9, 0x6a, 0x38, 0xcb, 0xef, 0x82, 0x08, 0x31, 0xef, 0x13, 0xf5, 0x73, 0xf9,
2067 0x6b, 0x40, 0x4e, 0xb1, 0x17, 0x4e, 0xcb, 0x49, 0x44, 0xf3, 0xb1, 0x09, 0x9e, 0x91, 0x8f, 0x38,
2068 0x5d, 0x21, 0x72, 0x2c, 0x08, 0xd6, 0x6b, 0xb8, 0x10, 0x58, 0x9e, 0x41, 0x33, 0x7e, 0x06, 0xf9,
2069 0x5d, 0x1a, 0xe6, 0x0e, 0x45, 0x2d, 0xfe, 0x3c, 0x21, 0x37, 0x04, 0xee, 0x3b, 0xb8, 0x94, 0x80,
2070 0x2b, 0x83, 0xe7, 0xc2, 0x7c, 0x64, 0x64, 0x35, 0xc7, 0xf5, 0x58, 0xfc, 0xc4, 0x28, 0x3f, 0xe1,
2071 0x41, 0xee, 0xab, 0x05, 0xd0, 0xe5, 0x4f, 0x82, 0xed, 0x06, 0x92, 0xf3, 0xd8, 0x2a, 0xc2, 0x13,
2072 0x7f, 0x91, 0x82, 0xd9, 0xc1, 0x11, 0x71, 0x44, 0x9c, 0x8b, 0xa1, 0xa9, 0x1a, 0xa5, 0x99, 0x98,
2073 0x66, 0xf2, 0x29, 0x27, 0x1f, 0x87, 0x51, 0x0e, 0x29, 0xb8, 0xcb, 0xf8, 0xfe, 0xc5, 0xdc, 0x95,
2074 0xd7, 0xfc, 0x4f, 0x83, 0x8f, 0xfc, 0x57, 0x29, 0x58, 0xd8, 0xb1, 0xf5, 0xa6, 0x45, 0x2f, 0x2d,
2075 0x24, 0x69, 0xcb, 0x7e, 0x2c, 0x04, 0x7c, 0x44, 0x36, 0xae, 0x22, 0xa0, 0x42, 0x05, 0x39, 0xfe,
2076 0x26, 0x05, 0xc5, 0x6d, 0x93, 0x7d, 0x23, 0x42, 0xbe, 0x2d, 0x84, 0xdc, 0x27, 0x1f, 0x5e, 0x49,
2077 0x88, 0x21, 0xd9, 0xf1, 0xa7, 0x31, 0x6b, 0xe1, 0x91, 0xe5, 0xbc, 0x0a, 0xaf, 0x05, 0x2c, 0x07,
2078 0xdf, 0x96, 0x84, 0x9d, 0x6c, 0xaa, 0x95, 0xc0, 0x5b, 0xa3, 0xa9, 0xe0, 0xa2, 0x55, 0x21, 0x7a,
2079 0xf1, 0x55, 0xb1, 0xd4, 0x4f, 0xf1, 0x61, 0x01, 0x4f, 0x85, 0xbc, 0xa5, 0x08, 0xb1, 0x68, 0x97,
2080 0x7d, 0x12, 0x43, 0xb2, 0x2e, 0x24, 0xdc, 0x26, 0x97, 0x90, 0xc0, 0xd3, 0xeb, 0x2f, 0x53, 0xb0,
2081 0x1c, 0xa3, 0xe2, 0x09, 0xf5, 0xa8, 0x2b, 0x65, 0x2c, 0x86, 0x64, 0x08, 0xc3, 0x13, 0xc7, 0xb8,
2082 0x40, 0x45, 0x59, 0xa8, 0xb8, 0x43, 0xde, 0x3d, 0x57, 0x45, 0x87, 0x83, 0x09, 0x19, 0x3f, 0x4f,
2083 0xc1, 0x42, 0x64, 0x2e, 0x04, 0x57, 0x78, 0x32, 0x66, 0xa2, 0x62, 0x18, 0xd9, 0xe6, 0x33, 0x30,
2084 0x09, 0xe3, 0x12, 0x2e, 0x32, 0x1d, 0x37, 0xf1, 0x32, 0x2a, 0xf0, 0xf7, 0x29, 0x58, 0x8c, 0x5d,
2085 0x0e, 0xaa, 0xb0, 0x0b, 0xca, 0x58, 0x88, 0x4c, 0x8d, 0x74, 0x22, 0xfb, 0x9c, 0x3d, 0x0b, 0x69,
2086 0x61, 0x92, 0x55, 0x64, 0x44, 0xcf, 0x1a, 0xde, 0xb9, 0x70, 0x6e, 0x54, 0x5f, 0xfc, 0x2a, 0x05,
2087 0xab, 0x09, 0x8b, 0x44, 0x30, 0xca, 0x29, 0x5a, 0x8d, 0x97, 0x73, 0x99, 0xe5, 0xb2, 0x21, 0x24,
2088 0xad, 0x93, 0x4b, 0x4b, 0xe2, 0xb3, 0xf5, 0x02, 0xd2, 0x3c, 0x52, 0x17, 0x9d, 0x0b, 0xb9, 0x70,
2089 0xe1, 0xcc, 0xc8, 0x4d, 0x1e, 0x8b, 0xa9, 0x7e, 0x71, 0x2f, 0xa8, 0x0b, 0x98, 0xf3, 0xa9, 0xfd,
2090 0x03, 0xc0, 0x80, 0xec, 0x19, 0x7c, 0xd5, 0x48, 0x26, 0x48, 0x9f, 0x4d, 0x09, 0x23, 0x65, 0x0e,
2091 0x2e, 0x8a, 0xe9, 0xf3, 0xce, 0x66, 0xc9, 0x61, 0x1a, 0x0c, 0x0f, 0x21, 0xaf, 0xd1, 0x96, 0x63,
2092 0xb7, 0x4c, 0x8b, 0xfa, 0x23, 0x09, 0x02, 0x26, 0x86, 0x6c, 0x49, 0x60, 0xce, 0x93, 0x28, 0x26,
2093 0x8f, 0xcd, 0x8e, 0xa8, 0x57, 0x62, 0x8e, 0xad, 0x81, 0x77, 0x18, 0x1f, 0x06, 0x67, 0x07, 0x86,
2094 0x2f, 0xcf, 0xa9, 0xef, 0x41, 0x66, 0xcb, 0xa5, 0xba, 0xa7, 0xa4, 0xe1, 0x40, 0xef, 0x08, 0x9a,
2095 0xaa, 0xd0, 0xc8, 0x60, 0x30, 0xb9, 0xa4, 0xe7, 0x90, 0x91, 0x89, 0x3f, 0x46, 0x55, 0xd2, 0x20,
2096 0xdf, 0x15, 0x78, 0xcb, 0x64, 0x31, 0x4e, 0x9d, 0x9f, 0xca, 0x7f, 0x08, 0x59, 0x95, 0xc9, 0xaf,
2097 0x80, 0xac, 0xce, 0x69, 0xb2, 0x14, 0x8b, 0xec, 0xe7, 0xe6, 0xe7, 0x90, 0xd1, 0x68, 0xd3, 0x71,
2098 0xbc, 0x6f, 0x4c, 0xb3, 0x2b, 0xe0, 0x38, 0xf0, 0x36, 0xb5, 0xa8, 0xf7, 0x35, 0x82, 0xb1, 0x16,
2099 0x0f, 0x6c, 0x08, 0x38, 0xec, 0x41, 0x76, 0xdb, 0x79, 0x65, 0x5b, 0x8e, 0x6e, 0x54, 0x3b, 0x7a,
2100 0x9b, 0x9e, 0x9d, 0x65, 0xe2, 0xd1, 0xb7, 0x95, 0xe6, 0x7c, 0xc2, 0x83, 0x2e, 0x75, 0xc5, 0x85,
2101 0x23, 0x7f, 0x09, 0x22, 0xf7, 0x05, 0xc7, 0x07, 0xe4, 0xbd, 0x58, 0x0e, 0x93, 0x43, 0x34, 0x0c,
2102 0x85, 0xc1, 0x2a, 0xaf, 0xf9, 0x7b, 0xc5, 0x17, 0x7c, 0x72, 0xbf, 0x4c, 0xc1, 0xfc, 0x2e, 0xf5,
2103 0x42, 0x1c, 0xf2, 0x3e, 0x21, 0x59, 0x40, 0x5c, 0x33, 0x79, 0x20, 0x04, 0x7c, 0x88, 0xf7, 0xae,
2104 0x20, 0xa0, 0xc2, 0x24, 0x53, 0x4f, 0x94, 0x6c, 0x21, 0xbc, 0x2b, 0xb2, 0xab, 0x3c, 0x84, 0x57,
2105 0x19, 0x3e, 0x1e, 0xc9, 0x32, 0x35, 0x84, 0xc4, 0x06, 0x66, 0x34, 0x8e, 0x8d, 0x91, 0xf7, 0x05,
2106 0xdd, 0x2d, 0xbc, 0x71, 0x19, 0x3a, 0xfc, 0x09, 0xcc, 0x6c, 0xf1, 0x02, 0xdc, 0xba, 0xe4, 0x08,
2107 0x63, 0x27, 0x58, 0x8d, 0x70, 0xed, 0x4a, 0x23, 0xfc, 0x6d, 0x0a, 0x66, 0x1e, 0xb6, 0x3c, 0xf3,
2108 0x44, 0xf7, 0xa8, 0x60, 0x91, 0xe9, 0xfc, 0x8a, 0xd4, 0x5b, 0x82, 0xfa, 0x13, 0xf2, 0xff, 0x57,
2109 0x99, 0x5a, 0xd9, 0xdc, 0x13, 0x7c, 0x7c, 0xa1, 0xfd, 0x3a, 0x05, 0x05, 0x8d, 0x9e, 0x50, 0xd7,
2110 0xfb, 0x9f, 0x08, 0x71, 0x05, 0x35, 0x17, 0xf2, 0x39, 0xe4, 0xce, 0x8e, 0x87, 0x68, 0xed, 0x9e,
2111 0xf5, 0x15, 0xc9, 0xa2, 0xbd, 0x1c, 0x29, 0xda, 0x97, 0xb0, 0x14, 0x4b, 0x2f, 0x8b, 0xf5, 0x17,
2112 0x30, 0x13, 0x40, 0xef, 0x6c, 0x39, 0xf6, 0x91, 0xd9, 0x0e, 0x33, 0x14, 0xfa, 0x0c, 0xbe, 0x99,
2113 0xdc, 0x16, 0xc8, 0xab, 0x78, 0x3d, 0x1e, 0xb9, 0xd3, 0x68, 0x29, 0x1c, 0x1b, 0xe6, 0x64, 0xe4,
2114 0x06, 0x09, 0xa2, 0xa0, 0x89, 0xe9, 0x68, 0x4d, 0x56, 0x99, 0xe4, 0x22, 0x32, 0x1e, 0xac, 0x4e,
2115 0x30, 0x58, 0x97, 0x2b, 0x6e, 0x1f, 0x9c, 0x5b, 0xdc, 0x26, 0x45, 0xaf, 0x5f, 0xd4, 0xce, 0x86,
2116 0xf9, 0xae, 0x52, 0x3d, 0x3d, 0xba, 0x44, 0xf5, 0x44, 0x70, 0x25, 0x91, 0xdf, 0xaf, 0x9a, 0x9c,
2117 0xe0, 0xa0, 0xe5, 0xdd, 0x5e, 0x52, 0x09, 0x31, 0x13, 0xbd, 0x1f, 0x64, 0xa4, 0xc2, 0x59, 0xa7,
2118 0xc3, 0xf7, 0x89, 0xf1, 0xa7, 0xb5, 0xb4, 0xa1, 0x26, 0x2e, 0x57, 0xce, 0x20, 0x06, 0x62, 0x1c,
2119 0xa1, 0x20, 0xab, 0x02, 0x6e, 0x11, 0xaf, 0xc5, 0xc1, 0xc9, 0x0a, 0x80, 0x41, 0xfe, 0x6c, 0x10,
2120 0x2a, 0x8a, 0x49, 0xa3, 0x98, 0x8d, 0xb9, 0xa2, 0x54, 0x17, 0x16, 0xb9, 0x81, 0x4b, 0x4d, 0x79,
2121 0xdb, 0x82, 0x73, 0x03, 0xc4, 0x2a, 0x72, 0x8f, 0x20, 0x5f, 0xf7, 0x5c, 0xaa, 0x77, 0x6a, 0x7a,
2122 0xeb, 0x25, 0xf5, 0xd8, 0x41, 0xcf, 0xc3, 0xf9, 0xd0, 0x74, 0x49, 0xc3, 0x41, 0xcf, 0x4b, 0x5c,
2123 0x9e, 0x43, 0x77, 0x52, 0xb8, 0x23, 0x8a, 0x2b, 0x6a, 0x9e, 0x50, 0x05, 0x54, 0xb5, 0xcf, 0xb9,
2124 0x6e, 0x89, 0xe2, 0x57, 0x6d, 0x32, 0xf4, 0x41, 0x0a, 0x1f, 0xc3, 0x8c, 0x82, 0xd9, 0x3a, 0xd6,
2125 0xed, 0x36, 0xdd, 0x39, 0xa1, 0xb6, 0x97, 0x1c, 0x86, 0x62, 0x08, 0x29, 0xd0, 0x45, 0x80, 0x1d,
2126 0xc2, 0x74, 0x7f, 0x92, 0xe4, 0xe7, 0xa7, 0xf0, 0x9b, 0x45, 0x34, 0x84, 0x84, 0xc4, 0x2f, 0x79,
2127 0x15, 0x2d, 0x39, 0x4f, 0x0d, 0x28, 0xc8, 0x4a, 0x2d, 0xf8, 0x31, 0x24, 0xee, 0xba, 0xb7, 0x14,
2128 0xd7, 0x48, 0x56, 0x04, 0x45, 0x89, 0xf4, 0x27, 0x24, 0x74, 0x7b, 0xcc, 0xb7, 0xb0, 0xd4, 0x1d,
2129 0x44, 0x8f, 0xd5, 0x1d, 0x04, 0x8d, 0xe8, 0x0e, 0x81, 0x4a, 0xdd, 0x06, 0x14, 0x64, 0x26, 0xfa,
2130 0x7a, 0xba, 0x6f, 0x0a, 0x8a, 0xeb, 0xa5, 0x73, 0x28, 0xb8, 0xf8, 0xcf, 0xa0, 0x20, 0xcb, 0xad,
2131 0x24, 0xfd, 0x49, 0xab, 0x48, 0x0d, 0x61, 0xed, 0xbc, 0x21, 0x34, 0xe4, 0x16, 0x09, 0x7d, 0x30,
2132 0xba, 0x70, 0x8b, 0x04, 0xbd, 0xfd, 0xcb, 0x47, 0x8c, 0x8f, 0x3e, 0xee, 0x89, 0x62, 0x5e, 0x1c,
2133 0x6d, 0x2c, 0xbe, 0x98, 0x97, 0x36, 0xbf, 0x42, 0xc4, 0xc5, 0xe4, 0x83, 0x8d, 0xe1, 0x0f, 0x60,
2134 0xd2, 0xbf, 0xcc, 0x0e, 0x81, 0x15, 0x93, 0x6e, 0xc5, 0xc9, 0x2d, 0x01, 0xbb, 0x42, 0xde, 0x89,
2135 0x85, 0x65, 0xd4, 0x3a, 0x6a, 0x78, 0x1c, 0xed, 0x99, 0xa8, 0xbf, 0x42, 0xdf, 0x04, 0x06, 0x5f,
2136 0x9b, 0x23, 0x1f, 0x0d, 0xa2, 0x39, 0x88, 0x6f, 0x1e, 0xee, 0xa7, 0x5e, 0x8b, 0xcd, 0x26, 0x7e,
2137 0x0e, 0xe8, 0x2f, 0xbd, 0x04, 0xe4, 0xf8, 0x2f, 0x07, 0xd1, 0x78, 0x84, 0xb1, 0x45, 0x94, 0x91,
2138 0x41, 0xb6, 0x6e, 0x76, 0x7a, 0x96, 0xbf, 0x06, 0x71, 0xa9, 0x1f, 0x88, 0x60, 0xb3, 0x46, 0x7f,
2139 0xdc, 0xa3, 0xcc, 0x4b, 0xaa, 0x29, 0x22, 0x17, 0x1e, 0xe1, 0x18, 0x29, 0xa4, 0x06, 0x47, 0xe2,
2140 0x0b, 0x72, 0x0b, 0xa6, 0xfa, 0x37, 0xfe, 0x78, 0xcd, 0x27, 0x8c, 0x7c, 0x0b, 0x28, 0x25, 0x9b,
2141 0xc8, 0xd0, 0xa6, 0x09, 0x33, 0x8e, 0xdb, 0x16, 0xd9, 0xa6, 0xe5, 0xb8, 0x86, 0x72, 0xdd, 0xcc,
2142 0xc8, 0xeb, 0xe7, 0x9a, 0xf8, 0xfe, 0xfd, 0xa3, 0xf7, 0xda, 0xa6, 0x77, 0xdc, 0x6b, 0x72, 0xd5,
2143 0x15, 0xdf, 0x53, 0xfd, 0x1f, 0xc2, 0xba, 0xfa, 0x44, 0xde, 0x76, 0x54, 0xc3, 0x1f, 0x87, 0xe7,
2144 0x0f, 0x7c, 0xb0, 0x67, 0xc1, 0xab, 0xec, 0xda, 0x70, 0x6d, 0xa4, 0x36, 0x5a, 0x1b, 0xab, 0x8d,
2145 0xd7, 0x26, 0x6a, 0x93, 0xcd, 0x71, 0xd1, 0x71, 0xe3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf1,
2146 0x46, 0xf6, 0xe2, 0xde, 0x20, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002147}
2148
2149// Reference imports to suppress errors if they are not otherwise used.
2150var _ context.Context
2151var _ grpc.ClientConn
2152
2153// This is a compile-time assertion to ensure that this generated file
2154// is compatible with the grpc package it is being compiled against.
2155const _ = grpc.SupportPackageIsVersion4
2156
2157// VolthaServiceClient is the client API for VolthaService service.
2158//
2159// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2160type VolthaServiceClient interface {
2161 // Get more information on a given physical device
2162 UpdateLogLevel(ctx context.Context, in *Logging, opts ...grpc.CallOption) (*empty.Empty, error)
2163 // Get the membership group of a Voltha Core
2164 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2165 // Set the membership group of a Voltha Core
2166 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2167 // Get high level information on the Voltha cluster
2168 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2169 // List all Voltha cluster core instances
2170 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2171 // Get details on a Voltha cluster instance
2172 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2173 // List all active adapters (plugins) in the Voltha cluster
2174 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2175 // List all logical devices managed by the Voltha cluster
2176 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2177 // Get additional information on a given logical device
2178 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2179 // List ports of a logical device
2180 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2181 // Gets a logical device port
2182 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2183 // Enables a logical device port
2184 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2185 // Disables a logical device port
2186 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2187 // List all flows of a logical device
2188 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2189 // Update flow table for logical device
2190 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2191 // Update meter table for logical device
2192 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002193 // List all meters of a logical device
2194 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002195 // List all flow groups of a logical device
2196 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2197 // Update group table for device
2198 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2199 // List all physical devices controlled by the Voltha cluster
2200 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2201 // List all physical devices IDs controlled by the Voltha cluster
2202 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2203 // Request to a voltha Core to reconcile a set of devices based on their IDs
2204 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2205 // Get more information on a given physical device
2206 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2207 // Pre-provision a new physical device
2208 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2209 // Enable a device. If the device was in pre-provisioned state then it
2210 // will transition to ENABLED state. If it was is DISABLED state then it
2211 // will transition to ENABLED state as well.
2212 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2213 // Disable a device
2214 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2215 // Reboot a device
2216 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2217 // Delete a device
2218 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2219 // Request an image download to the standby partition
2220 // of a device.
2221 // Note that the call is expected to be non-blocking.
2222 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2223 // Get image download status on a device
2224 // The request retrieves progress on device and updates db record
2225 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2226 // Get image download db record
2227 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2228 // List image download db records for a given device
2229 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2230 // Cancel an existing image download process on a device
2231 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2232 // Activate the specified image at a standby partition
2233 // to active partition.
2234 // Depending on the device implementation, this call
2235 // may or may not cause device reboot.
2236 // If no reboot, then a reboot is required to make the
2237 // activated image running on device
2238 // Note that the call is expected to be non-blocking.
2239 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2240 // Revert the specified image at standby partition
2241 // to active partition, and revert to previous image
2242 // Depending on the device implementation, this call
2243 // may or may not cause device reboot.
2244 // If no reboot, then a reboot is required to make the
2245 // previous image running on device
2246 // Note that the call is expected to be non-blocking.
2247 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2248 // List ports of a device
2249 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2250 // List pm config of a device
2251 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2252 // Update the pm config of a device
2253 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2254 // List all flows of a device
2255 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2256 // List all flow groups of a device
2257 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2258 // List device types known to Voltha
2259 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2260 // Get additional information on a device type
2261 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2262 // List all device sharding groups
2263 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2264 // Stream control packets to the dataplane
2265 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2266 // Receive control packet stream
2267 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2268 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2269 // Get additional information on a device group
2270 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
2271 CreateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error)
2272 GetAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*AlarmFilter, error)
2273 UpdateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error)
2274 DeleteAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2275 ListAlarmFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AlarmFilters, error)
2276 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2277 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2278 // OpenOMCI MIB information
2279 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2280 // OpenOMCI ALARM information
2281 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2282 // Simulate an Alarm
2283 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2284 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
2285}
2286
2287type volthaServiceClient struct {
2288 cc *grpc.ClientConn
2289}
2290
2291func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2292 return &volthaServiceClient{cc}
2293}
2294
2295func (c *volthaServiceClient) UpdateLogLevel(ctx context.Context, in *Logging, opts ...grpc.CallOption) (*empty.Empty, error) {
2296 out := new(empty.Empty)
2297 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogLevel", in, out, opts...)
2298 if err != nil {
2299 return nil, err
2300 }
2301 return out, nil
2302}
2303
2304func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2305 out := new(Membership)
2306 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2307 if err != nil {
2308 return nil, err
2309 }
2310 return out, nil
2311}
2312
2313func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2314 out := new(empty.Empty)
2315 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2316 if err != nil {
2317 return nil, err
2318 }
2319 return out, nil
2320}
2321
2322func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2323 out := new(Voltha)
2324 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2325 if err != nil {
2326 return nil, err
2327 }
2328 return out, nil
2329}
2330
2331func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2332 out := new(CoreInstances)
2333 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2334 if err != nil {
2335 return nil, err
2336 }
2337 return out, nil
2338}
2339
2340func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2341 out := new(CoreInstance)
2342 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2343 if err != nil {
2344 return nil, err
2345 }
2346 return out, nil
2347}
2348
2349func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2350 out := new(Adapters)
2351 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2352 if err != nil {
2353 return nil, err
2354 }
2355 return out, nil
2356}
2357
2358func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2359 out := new(LogicalDevices)
2360 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2361 if err != nil {
2362 return nil, err
2363 }
2364 return out, nil
2365}
2366
2367func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2368 out := new(LogicalDevice)
2369 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2370 if err != nil {
2371 return nil, err
2372 }
2373 return out, nil
2374}
2375
2376func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2377 out := new(LogicalPorts)
2378 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2379 if err != nil {
2380 return nil, err
2381 }
2382 return out, nil
2383}
2384
2385func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2386 out := new(LogicalPort)
2387 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2388 if err != nil {
2389 return nil, err
2390 }
2391 return out, nil
2392}
2393
2394func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2395 out := new(empty.Empty)
2396 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2397 if err != nil {
2398 return nil, err
2399 }
2400 return out, nil
2401}
2402
2403func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2404 out := new(empty.Empty)
2405 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2406 if err != nil {
2407 return nil, err
2408 }
2409 return out, nil
2410}
2411
2412func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2413 out := new(openflow_13.Flows)
2414 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2415 if err != nil {
2416 return nil, err
2417 }
2418 return out, nil
2419}
2420
2421func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2422 out := new(empty.Empty)
2423 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2424 if err != nil {
2425 return nil, err
2426 }
2427 return out, nil
2428}
2429
2430func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2431 out := new(empty.Empty)
2432 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2433 if err != nil {
2434 return nil, err
2435 }
2436 return out, nil
2437}
2438
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002439func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2440 out := new(openflow_13.Meters)
2441 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002442 if err != nil {
2443 return nil, err
2444 }
2445 return out, nil
2446}
2447
2448func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2449 out := new(openflow_13.FlowGroups)
2450 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2451 if err != nil {
2452 return nil, err
2453 }
2454 return out, nil
2455}
2456
2457func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2458 out := new(empty.Empty)
2459 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2460 if err != nil {
2461 return nil, err
2462 }
2463 return out, nil
2464}
2465
2466func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2467 out := new(Devices)
2468 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2469 if err != nil {
2470 return nil, err
2471 }
2472 return out, nil
2473}
2474
2475func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2476 out := new(common.IDs)
2477 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2478 if err != nil {
2479 return nil, err
2480 }
2481 return out, nil
2482}
2483
2484func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2485 out := new(empty.Empty)
2486 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2487 if err != nil {
2488 return nil, err
2489 }
2490 return out, nil
2491}
2492
2493func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2494 out := new(Device)
2495 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2496 if err != nil {
2497 return nil, err
2498 }
2499 return out, nil
2500}
2501
2502func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2503 out := new(Device)
2504 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2505 if err != nil {
2506 return nil, err
2507 }
2508 return out, nil
2509}
2510
2511func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2512 out := new(empty.Empty)
2513 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2514 if err != nil {
2515 return nil, err
2516 }
2517 return out, nil
2518}
2519
2520func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2521 out := new(empty.Empty)
2522 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2523 if err != nil {
2524 return nil, err
2525 }
2526 return out, nil
2527}
2528
2529func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2530 out := new(empty.Empty)
2531 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2532 if err != nil {
2533 return nil, err
2534 }
2535 return out, nil
2536}
2537
2538func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2539 out := new(empty.Empty)
2540 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2541 if err != nil {
2542 return nil, err
2543 }
2544 return out, nil
2545}
2546
2547func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2548 out := new(common.OperationResp)
2549 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2550 if err != nil {
2551 return nil, err
2552 }
2553 return out, nil
2554}
2555
2556func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2557 out := new(ImageDownload)
2558 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2559 if err != nil {
2560 return nil, err
2561 }
2562 return out, nil
2563}
2564
2565func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2566 out := new(ImageDownload)
2567 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2568 if err != nil {
2569 return nil, err
2570 }
2571 return out, nil
2572}
2573
2574func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2575 out := new(ImageDownloads)
2576 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2577 if err != nil {
2578 return nil, err
2579 }
2580 return out, nil
2581}
2582
2583func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2584 out := new(common.OperationResp)
2585 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2586 if err != nil {
2587 return nil, err
2588 }
2589 return out, nil
2590}
2591
2592func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2593 out := new(common.OperationResp)
2594 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2595 if err != nil {
2596 return nil, err
2597 }
2598 return out, nil
2599}
2600
2601func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2602 out := new(common.OperationResp)
2603 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2604 if err != nil {
2605 return nil, err
2606 }
2607 return out, nil
2608}
2609
2610func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2611 out := new(Ports)
2612 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2613 if err != nil {
2614 return nil, err
2615 }
2616 return out, nil
2617}
2618
2619func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2620 out := new(PmConfigs)
2621 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2622 if err != nil {
2623 return nil, err
2624 }
2625 return out, nil
2626}
2627
2628func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2629 out := new(empty.Empty)
2630 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2631 if err != nil {
2632 return nil, err
2633 }
2634 return out, nil
2635}
2636
2637func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2638 out := new(openflow_13.Flows)
2639 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2640 if err != nil {
2641 return nil, err
2642 }
2643 return out, nil
2644}
2645
2646func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2647 out := new(openflow_13.FlowGroups)
2648 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2649 if err != nil {
2650 return nil, err
2651 }
2652 return out, nil
2653}
2654
2655func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2656 out := new(DeviceTypes)
2657 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2658 if err != nil {
2659 return nil, err
2660 }
2661 return out, nil
2662}
2663
2664func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2665 out := new(DeviceType)
2666 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2667 if err != nil {
2668 return nil, err
2669 }
2670 return out, nil
2671}
2672
2673func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2674 out := new(DeviceGroups)
2675 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2676 if err != nil {
2677 return nil, err
2678 }
2679 return out, nil
2680}
2681
2682func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2683 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2684 if err != nil {
2685 return nil, err
2686 }
2687 x := &volthaServiceStreamPacketsOutClient{stream}
2688 return x, nil
2689}
2690
2691type VolthaService_StreamPacketsOutClient interface {
2692 Send(*openflow_13.PacketOut) error
2693 CloseAndRecv() (*empty.Empty, error)
2694 grpc.ClientStream
2695}
2696
2697type volthaServiceStreamPacketsOutClient struct {
2698 grpc.ClientStream
2699}
2700
2701func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2702 return x.ClientStream.SendMsg(m)
2703}
2704
2705func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2706 if err := x.ClientStream.CloseSend(); err != nil {
2707 return nil, err
2708 }
2709 m := new(empty.Empty)
2710 if err := x.ClientStream.RecvMsg(m); err != nil {
2711 return nil, err
2712 }
2713 return m, nil
2714}
2715
2716func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2717 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2718 if err != nil {
2719 return nil, err
2720 }
2721 x := &volthaServiceReceivePacketsInClient{stream}
2722 if err := x.ClientStream.SendMsg(in); err != nil {
2723 return nil, err
2724 }
2725 if err := x.ClientStream.CloseSend(); err != nil {
2726 return nil, err
2727 }
2728 return x, nil
2729}
2730
2731type VolthaService_ReceivePacketsInClient interface {
2732 Recv() (*openflow_13.PacketIn, error)
2733 grpc.ClientStream
2734}
2735
2736type volthaServiceReceivePacketsInClient struct {
2737 grpc.ClientStream
2738}
2739
2740func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2741 m := new(openflow_13.PacketIn)
2742 if err := x.ClientStream.RecvMsg(m); err != nil {
2743 return nil, err
2744 }
2745 return m, nil
2746}
2747
2748func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2749 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2750 if err != nil {
2751 return nil, err
2752 }
2753 x := &volthaServiceReceiveChangeEventsClient{stream}
2754 if err := x.ClientStream.SendMsg(in); err != nil {
2755 return nil, err
2756 }
2757 if err := x.ClientStream.CloseSend(); err != nil {
2758 return nil, err
2759 }
2760 return x, nil
2761}
2762
2763type VolthaService_ReceiveChangeEventsClient interface {
2764 Recv() (*openflow_13.ChangeEvent, error)
2765 grpc.ClientStream
2766}
2767
2768type volthaServiceReceiveChangeEventsClient struct {
2769 grpc.ClientStream
2770}
2771
2772func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2773 m := new(openflow_13.ChangeEvent)
2774 if err := x.ClientStream.RecvMsg(m); err != nil {
2775 return nil, err
2776 }
2777 return m, nil
2778}
2779
2780func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2781 out := new(DeviceGroup)
2782 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2783 if err != nil {
2784 return nil, err
2785 }
2786 return out, nil
2787}
2788
2789func (c *volthaServiceClient) CreateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error) {
2790 out := new(AlarmFilter)
2791 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateAlarmFilter", in, out, opts...)
2792 if err != nil {
2793 return nil, err
2794 }
2795 return out, nil
2796}
2797
2798func (c *volthaServiceClient) GetAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*AlarmFilter, error) {
2799 out := new(AlarmFilter)
2800 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmFilter", in, out, opts...)
2801 if err != nil {
2802 return nil, err
2803 }
2804 return out, nil
2805}
2806
2807func (c *volthaServiceClient) UpdateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error) {
2808 out := new(AlarmFilter)
2809 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateAlarmFilter", in, out, opts...)
2810 if err != nil {
2811 return nil, err
2812 }
2813 return out, nil
2814}
2815
2816func (c *volthaServiceClient) DeleteAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2817 out := new(empty.Empty)
2818 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteAlarmFilter", in, out, opts...)
2819 if err != nil {
2820 return nil, err
2821 }
2822 return out, nil
2823}
2824
2825func (c *volthaServiceClient) ListAlarmFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AlarmFilters, error) {
2826 out := new(AlarmFilters)
2827 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAlarmFilters", in, out, opts...)
2828 if err != nil {
2829 return nil, err
2830 }
2831 return out, nil
2832}
2833
2834func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
2835 out := new(Images)
2836 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
2837 if err != nil {
2838 return nil, err
2839 }
2840 return out, nil
2841}
2842
2843func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
2844 out := new(SelfTestResponse)
2845 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
2846 if err != nil {
2847 return nil, err
2848 }
2849 return out, nil
2850}
2851
2852func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
2853 out := new(omci.MibDeviceData)
2854 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
2855 if err != nil {
2856 return nil, err
2857 }
2858 return out, nil
2859}
2860
2861func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
2862 out := new(omci.AlarmDeviceData)
2863 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
2864 if err != nil {
2865 return nil, err
2866 }
2867 return out, nil
2868}
2869
2870func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
2871 out := new(common.OperationResp)
2872 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
2873 if err != nil {
2874 return nil, err
2875 }
2876 return out, nil
2877}
2878
2879func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
2880 out := new(OfAgentSubscriber)
2881 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
2882 if err != nil {
2883 return nil, err
2884 }
2885 return out, nil
2886}
2887
2888// VolthaServiceServer is the server API for VolthaService service.
2889type VolthaServiceServer interface {
2890 // Get more information on a given physical device
2891 UpdateLogLevel(context.Context, *Logging) (*empty.Empty, error)
2892 // Get the membership group of a Voltha Core
2893 GetMembership(context.Context, *empty.Empty) (*Membership, error)
2894 // Set the membership group of a Voltha Core
2895 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
2896 // Get high level information on the Voltha cluster
2897 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
2898 // List all Voltha cluster core instances
2899 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
2900 // Get details on a Voltha cluster instance
2901 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
2902 // List all active adapters (plugins) in the Voltha cluster
2903 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
2904 // List all logical devices managed by the Voltha cluster
2905 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
2906 // Get additional information on a given logical device
2907 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
2908 // List ports of a logical device
2909 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
2910 // Gets a logical device port
2911 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
2912 // Enables a logical device port
2913 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2914 // Disables a logical device port
2915 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2916 // List all flows of a logical device
2917 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2918 // Update flow table for logical device
2919 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
2920 // Update meter table for logical device
2921 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002922 // List all meters of a logical device
2923 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002924 // List all flow groups of a logical device
2925 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2926 // Update group table for device
2927 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
2928 // List all physical devices controlled by the Voltha cluster
2929 ListDevices(context.Context, *empty.Empty) (*Devices, error)
2930 // List all physical devices IDs controlled by the Voltha cluster
2931 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
2932 // Request to a voltha Core to reconcile a set of devices based on their IDs
2933 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
2934 // Get more information on a given physical device
2935 GetDevice(context.Context, *common.ID) (*Device, error)
2936 // Pre-provision a new physical device
2937 CreateDevice(context.Context, *Device) (*Device, error)
2938 // Enable a device. If the device was in pre-provisioned state then it
2939 // will transition to ENABLED state. If it was is DISABLED state then it
2940 // will transition to ENABLED state as well.
2941 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
2942 // Disable a device
2943 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
2944 // Reboot a device
2945 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
2946 // Delete a device
2947 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
2948 // Request an image download to the standby partition
2949 // of a device.
2950 // Note that the call is expected to be non-blocking.
2951 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
2952 // Get image download status on a device
2953 // The request retrieves progress on device and updates db record
2954 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
2955 // Get image download db record
2956 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
2957 // List image download db records for a given device
2958 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
2959 // Cancel an existing image download process on a device
2960 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
2961 // Activate the specified image at a standby partition
2962 // to active partition.
2963 // Depending on the device implementation, this call
2964 // may or may not cause device reboot.
2965 // If no reboot, then a reboot is required to make the
2966 // activated image running on device
2967 // Note that the call is expected to be non-blocking.
2968 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
2969 // Revert the specified image at standby partition
2970 // to active partition, and revert to previous image
2971 // Depending on the device implementation, this call
2972 // may or may not cause device reboot.
2973 // If no reboot, then a reboot is required to make the
2974 // previous image running on device
2975 // Note that the call is expected to be non-blocking.
2976 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
2977 // List ports of a device
2978 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
2979 // List pm config of a device
2980 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
2981 // Update the pm config of a device
2982 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
2983 // List all flows of a device
2984 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2985 // List all flow groups of a device
2986 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2987 // List device types known to Voltha
2988 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
2989 // Get additional information on a device type
2990 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
2991 // List all device sharding groups
2992 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
2993 // Stream control packets to the dataplane
2994 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
2995 // Receive control packet stream
2996 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
2997 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
2998 // Get additional information on a device group
2999 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
3000 CreateAlarmFilter(context.Context, *AlarmFilter) (*AlarmFilter, error)
3001 GetAlarmFilter(context.Context, *common.ID) (*AlarmFilter, error)
3002 UpdateAlarmFilter(context.Context, *AlarmFilter) (*AlarmFilter, error)
3003 DeleteAlarmFilter(context.Context, *common.ID) (*empty.Empty, error)
3004 ListAlarmFilters(context.Context, *empty.Empty) (*AlarmFilters, error)
3005 GetImages(context.Context, *common.ID) (*Images, error)
3006 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3007 // OpenOMCI MIB information
3008 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3009 // OpenOMCI ALARM information
3010 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3011 // Simulate an Alarm
3012 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3013 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
3014}
3015
3016func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3017 s.RegisterService(&_VolthaService_serviceDesc, srv)
3018}
3019
3020func _VolthaService_UpdateLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3021 in := new(Logging)
3022 if err := dec(in); err != nil {
3023 return nil, err
3024 }
3025 if interceptor == nil {
3026 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, in)
3027 }
3028 info := &grpc.UnaryServerInfo{
3029 Server: srv,
3030 FullMethod: "/voltha.VolthaService/UpdateLogLevel",
3031 }
3032 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3033 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, req.(*Logging))
3034 }
3035 return interceptor(ctx, in, info, handler)
3036}
3037
3038func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3039 in := new(empty.Empty)
3040 if err := dec(in); err != nil {
3041 return nil, err
3042 }
3043 if interceptor == nil {
3044 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3045 }
3046 info := &grpc.UnaryServerInfo{
3047 Server: srv,
3048 FullMethod: "/voltha.VolthaService/GetMembership",
3049 }
3050 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3051 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3052 }
3053 return interceptor(ctx, in, info, handler)
3054}
3055
3056func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3057 in := new(Membership)
3058 if err := dec(in); err != nil {
3059 return nil, err
3060 }
3061 if interceptor == nil {
3062 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3063 }
3064 info := &grpc.UnaryServerInfo{
3065 Server: srv,
3066 FullMethod: "/voltha.VolthaService/UpdateMembership",
3067 }
3068 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3069 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3070 }
3071 return interceptor(ctx, in, info, handler)
3072}
3073
3074func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3075 in := new(empty.Empty)
3076 if err := dec(in); err != nil {
3077 return nil, err
3078 }
3079 if interceptor == nil {
3080 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3081 }
3082 info := &grpc.UnaryServerInfo{
3083 Server: srv,
3084 FullMethod: "/voltha.VolthaService/GetVoltha",
3085 }
3086 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3087 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3088 }
3089 return interceptor(ctx, in, info, handler)
3090}
3091
3092func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3093 in := new(empty.Empty)
3094 if err := dec(in); err != nil {
3095 return nil, err
3096 }
3097 if interceptor == nil {
3098 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3099 }
3100 info := &grpc.UnaryServerInfo{
3101 Server: srv,
3102 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3103 }
3104 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3105 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3106 }
3107 return interceptor(ctx, in, info, handler)
3108}
3109
3110func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3111 in := new(common.ID)
3112 if err := dec(in); err != nil {
3113 return nil, err
3114 }
3115 if interceptor == nil {
3116 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3117 }
3118 info := &grpc.UnaryServerInfo{
3119 Server: srv,
3120 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3121 }
3122 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3123 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3124 }
3125 return interceptor(ctx, in, info, handler)
3126}
3127
3128func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3129 in := new(empty.Empty)
3130 if err := dec(in); err != nil {
3131 return nil, err
3132 }
3133 if interceptor == nil {
3134 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3135 }
3136 info := &grpc.UnaryServerInfo{
3137 Server: srv,
3138 FullMethod: "/voltha.VolthaService/ListAdapters",
3139 }
3140 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3141 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3142 }
3143 return interceptor(ctx, in, info, handler)
3144}
3145
3146func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3147 in := new(empty.Empty)
3148 if err := dec(in); err != nil {
3149 return nil, err
3150 }
3151 if interceptor == nil {
3152 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3153 }
3154 info := &grpc.UnaryServerInfo{
3155 Server: srv,
3156 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3157 }
3158 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3159 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3160 }
3161 return interceptor(ctx, in, info, handler)
3162}
3163
3164func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3165 in := new(common.ID)
3166 if err := dec(in); err != nil {
3167 return nil, err
3168 }
3169 if interceptor == nil {
3170 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3171 }
3172 info := &grpc.UnaryServerInfo{
3173 Server: srv,
3174 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3175 }
3176 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3177 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3178 }
3179 return interceptor(ctx, in, info, handler)
3180}
3181
3182func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3183 in := new(common.ID)
3184 if err := dec(in); err != nil {
3185 return nil, err
3186 }
3187 if interceptor == nil {
3188 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3189 }
3190 info := &grpc.UnaryServerInfo{
3191 Server: srv,
3192 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3193 }
3194 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3195 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3196 }
3197 return interceptor(ctx, in, info, handler)
3198}
3199
3200func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3201 in := new(LogicalPortId)
3202 if err := dec(in); err != nil {
3203 return nil, err
3204 }
3205 if interceptor == nil {
3206 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3207 }
3208 info := &grpc.UnaryServerInfo{
3209 Server: srv,
3210 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3211 }
3212 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3213 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3214 }
3215 return interceptor(ctx, in, info, handler)
3216}
3217
3218func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3219 in := new(LogicalPortId)
3220 if err := dec(in); err != nil {
3221 return nil, err
3222 }
3223 if interceptor == nil {
3224 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3225 }
3226 info := &grpc.UnaryServerInfo{
3227 Server: srv,
3228 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3229 }
3230 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3231 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3232 }
3233 return interceptor(ctx, in, info, handler)
3234}
3235
3236func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3237 in := new(LogicalPortId)
3238 if err := dec(in); err != nil {
3239 return nil, err
3240 }
3241 if interceptor == nil {
3242 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3243 }
3244 info := &grpc.UnaryServerInfo{
3245 Server: srv,
3246 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3247 }
3248 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3249 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3250 }
3251 return interceptor(ctx, in, info, handler)
3252}
3253
3254func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3255 in := new(common.ID)
3256 if err := dec(in); err != nil {
3257 return nil, err
3258 }
3259 if interceptor == nil {
3260 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3261 }
3262 info := &grpc.UnaryServerInfo{
3263 Server: srv,
3264 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3265 }
3266 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3267 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3268 }
3269 return interceptor(ctx, in, info, handler)
3270}
3271
3272func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3273 in := new(openflow_13.FlowTableUpdate)
3274 if err := dec(in); err != nil {
3275 return nil, err
3276 }
3277 if interceptor == nil {
3278 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3279 }
3280 info := &grpc.UnaryServerInfo{
3281 Server: srv,
3282 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3283 }
3284 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3285 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3286 }
3287 return interceptor(ctx, in, info, handler)
3288}
3289
3290func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3291 in := new(openflow_13.MeterModUpdate)
3292 if err := dec(in); err != nil {
3293 return nil, err
3294 }
3295 if interceptor == nil {
3296 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3297 }
3298 info := &grpc.UnaryServerInfo{
3299 Server: srv,
3300 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3301 }
3302 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3303 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3304 }
3305 return interceptor(ctx, in, info, handler)
3306}
3307
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003308func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003309 in := new(common.ID)
3310 if err := dec(in); err != nil {
3311 return nil, err
3312 }
3313 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003314 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003315 }
3316 info := &grpc.UnaryServerInfo{
3317 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003318 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003319 }
3320 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003321 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003322 }
3323 return interceptor(ctx, in, info, handler)
3324}
3325
3326func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3327 in := new(common.ID)
3328 if err := dec(in); err != nil {
3329 return nil, err
3330 }
3331 if interceptor == nil {
3332 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3333 }
3334 info := &grpc.UnaryServerInfo{
3335 Server: srv,
3336 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3337 }
3338 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3339 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3340 }
3341 return interceptor(ctx, in, info, handler)
3342}
3343
3344func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3345 in := new(openflow_13.FlowGroupTableUpdate)
3346 if err := dec(in); err != nil {
3347 return nil, err
3348 }
3349 if interceptor == nil {
3350 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3351 }
3352 info := &grpc.UnaryServerInfo{
3353 Server: srv,
3354 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3355 }
3356 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3357 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3358 }
3359 return interceptor(ctx, in, info, handler)
3360}
3361
3362func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3363 in := new(empty.Empty)
3364 if err := dec(in); err != nil {
3365 return nil, err
3366 }
3367 if interceptor == nil {
3368 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3369 }
3370 info := &grpc.UnaryServerInfo{
3371 Server: srv,
3372 FullMethod: "/voltha.VolthaService/ListDevices",
3373 }
3374 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3375 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3376 }
3377 return interceptor(ctx, in, info, handler)
3378}
3379
3380func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3381 in := new(empty.Empty)
3382 if err := dec(in); err != nil {
3383 return nil, err
3384 }
3385 if interceptor == nil {
3386 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3387 }
3388 info := &grpc.UnaryServerInfo{
3389 Server: srv,
3390 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3391 }
3392 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3393 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3394 }
3395 return interceptor(ctx, in, info, handler)
3396}
3397
3398func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3399 in := new(common.IDs)
3400 if err := dec(in); err != nil {
3401 return nil, err
3402 }
3403 if interceptor == nil {
3404 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3405 }
3406 info := &grpc.UnaryServerInfo{
3407 Server: srv,
3408 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3409 }
3410 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3411 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3412 }
3413 return interceptor(ctx, in, info, handler)
3414}
3415
3416func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3417 in := new(common.ID)
3418 if err := dec(in); err != nil {
3419 return nil, err
3420 }
3421 if interceptor == nil {
3422 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3423 }
3424 info := &grpc.UnaryServerInfo{
3425 Server: srv,
3426 FullMethod: "/voltha.VolthaService/GetDevice",
3427 }
3428 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3429 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3430 }
3431 return interceptor(ctx, in, info, handler)
3432}
3433
3434func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3435 in := new(Device)
3436 if err := dec(in); err != nil {
3437 return nil, err
3438 }
3439 if interceptor == nil {
3440 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3441 }
3442 info := &grpc.UnaryServerInfo{
3443 Server: srv,
3444 FullMethod: "/voltha.VolthaService/CreateDevice",
3445 }
3446 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3447 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3448 }
3449 return interceptor(ctx, in, info, handler)
3450}
3451
3452func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3453 in := new(common.ID)
3454 if err := dec(in); err != nil {
3455 return nil, err
3456 }
3457 if interceptor == nil {
3458 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3459 }
3460 info := &grpc.UnaryServerInfo{
3461 Server: srv,
3462 FullMethod: "/voltha.VolthaService/EnableDevice",
3463 }
3464 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3465 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3466 }
3467 return interceptor(ctx, in, info, handler)
3468}
3469
3470func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3471 in := new(common.ID)
3472 if err := dec(in); err != nil {
3473 return nil, err
3474 }
3475 if interceptor == nil {
3476 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3477 }
3478 info := &grpc.UnaryServerInfo{
3479 Server: srv,
3480 FullMethod: "/voltha.VolthaService/DisableDevice",
3481 }
3482 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3483 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3484 }
3485 return interceptor(ctx, in, info, handler)
3486}
3487
3488func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3489 in := new(common.ID)
3490 if err := dec(in); err != nil {
3491 return nil, err
3492 }
3493 if interceptor == nil {
3494 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3495 }
3496 info := &grpc.UnaryServerInfo{
3497 Server: srv,
3498 FullMethod: "/voltha.VolthaService/RebootDevice",
3499 }
3500 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3501 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3502 }
3503 return interceptor(ctx, in, info, handler)
3504}
3505
3506func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3507 in := new(common.ID)
3508 if err := dec(in); err != nil {
3509 return nil, err
3510 }
3511 if interceptor == nil {
3512 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3513 }
3514 info := &grpc.UnaryServerInfo{
3515 Server: srv,
3516 FullMethod: "/voltha.VolthaService/DeleteDevice",
3517 }
3518 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3519 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3520 }
3521 return interceptor(ctx, in, info, handler)
3522}
3523
3524func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3525 in := new(ImageDownload)
3526 if err := dec(in); err != nil {
3527 return nil, err
3528 }
3529 if interceptor == nil {
3530 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3531 }
3532 info := &grpc.UnaryServerInfo{
3533 Server: srv,
3534 FullMethod: "/voltha.VolthaService/DownloadImage",
3535 }
3536 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3537 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3538 }
3539 return interceptor(ctx, in, info, handler)
3540}
3541
3542func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3543 in := new(ImageDownload)
3544 if err := dec(in); err != nil {
3545 return nil, err
3546 }
3547 if interceptor == nil {
3548 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3549 }
3550 info := &grpc.UnaryServerInfo{
3551 Server: srv,
3552 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3553 }
3554 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3555 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3556 }
3557 return interceptor(ctx, in, info, handler)
3558}
3559
3560func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3561 in := new(ImageDownload)
3562 if err := dec(in); err != nil {
3563 return nil, err
3564 }
3565 if interceptor == nil {
3566 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3567 }
3568 info := &grpc.UnaryServerInfo{
3569 Server: srv,
3570 FullMethod: "/voltha.VolthaService/GetImageDownload",
3571 }
3572 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3573 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3574 }
3575 return interceptor(ctx, in, info, handler)
3576}
3577
3578func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3579 in := new(common.ID)
3580 if err := dec(in); err != nil {
3581 return nil, err
3582 }
3583 if interceptor == nil {
3584 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3585 }
3586 info := &grpc.UnaryServerInfo{
3587 Server: srv,
3588 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3589 }
3590 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3591 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3592 }
3593 return interceptor(ctx, in, info, handler)
3594}
3595
3596func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3597 in := new(ImageDownload)
3598 if err := dec(in); err != nil {
3599 return nil, err
3600 }
3601 if interceptor == nil {
3602 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3603 }
3604 info := &grpc.UnaryServerInfo{
3605 Server: srv,
3606 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3607 }
3608 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3609 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3610 }
3611 return interceptor(ctx, in, info, handler)
3612}
3613
3614func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3615 in := new(ImageDownload)
3616 if err := dec(in); err != nil {
3617 return nil, err
3618 }
3619 if interceptor == nil {
3620 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3621 }
3622 info := &grpc.UnaryServerInfo{
3623 Server: srv,
3624 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3625 }
3626 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3627 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3628 }
3629 return interceptor(ctx, in, info, handler)
3630}
3631
3632func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3633 in := new(ImageDownload)
3634 if err := dec(in); err != nil {
3635 return nil, err
3636 }
3637 if interceptor == nil {
3638 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3639 }
3640 info := &grpc.UnaryServerInfo{
3641 Server: srv,
3642 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3643 }
3644 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3645 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3646 }
3647 return interceptor(ctx, in, info, handler)
3648}
3649
3650func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3651 in := new(common.ID)
3652 if err := dec(in); err != nil {
3653 return nil, err
3654 }
3655 if interceptor == nil {
3656 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3657 }
3658 info := &grpc.UnaryServerInfo{
3659 Server: srv,
3660 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3661 }
3662 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3663 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3664 }
3665 return interceptor(ctx, in, info, handler)
3666}
3667
3668func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3669 in := new(common.ID)
3670 if err := dec(in); err != nil {
3671 return nil, err
3672 }
3673 if interceptor == nil {
3674 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3675 }
3676 info := &grpc.UnaryServerInfo{
3677 Server: srv,
3678 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3679 }
3680 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3681 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3682 }
3683 return interceptor(ctx, in, info, handler)
3684}
3685
3686func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3687 in := new(PmConfigs)
3688 if err := dec(in); err != nil {
3689 return nil, err
3690 }
3691 if interceptor == nil {
3692 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3693 }
3694 info := &grpc.UnaryServerInfo{
3695 Server: srv,
3696 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3697 }
3698 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3699 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3700 }
3701 return interceptor(ctx, in, info, handler)
3702}
3703
3704func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3705 in := new(common.ID)
3706 if err := dec(in); err != nil {
3707 return nil, err
3708 }
3709 if interceptor == nil {
3710 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3711 }
3712 info := &grpc.UnaryServerInfo{
3713 Server: srv,
3714 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3715 }
3716 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3717 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3718 }
3719 return interceptor(ctx, in, info, handler)
3720}
3721
3722func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3723 in := new(common.ID)
3724 if err := dec(in); err != nil {
3725 return nil, err
3726 }
3727 if interceptor == nil {
3728 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3729 }
3730 info := &grpc.UnaryServerInfo{
3731 Server: srv,
3732 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3733 }
3734 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3735 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3736 }
3737 return interceptor(ctx, in, info, handler)
3738}
3739
3740func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3741 in := new(empty.Empty)
3742 if err := dec(in); err != nil {
3743 return nil, err
3744 }
3745 if interceptor == nil {
3746 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3747 }
3748 info := &grpc.UnaryServerInfo{
3749 Server: srv,
3750 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3751 }
3752 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3753 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
3754 }
3755 return interceptor(ctx, in, info, handler)
3756}
3757
3758func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3759 in := new(common.ID)
3760 if err := dec(in); err != nil {
3761 return nil, err
3762 }
3763 if interceptor == nil {
3764 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
3765 }
3766 info := &grpc.UnaryServerInfo{
3767 Server: srv,
3768 FullMethod: "/voltha.VolthaService/GetDeviceType",
3769 }
3770 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3771 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
3772 }
3773 return interceptor(ctx, in, info, handler)
3774}
3775
3776func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3777 in := new(empty.Empty)
3778 if err := dec(in); err != nil {
3779 return nil, err
3780 }
3781 if interceptor == nil {
3782 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
3783 }
3784 info := &grpc.UnaryServerInfo{
3785 Server: srv,
3786 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
3787 }
3788 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3789 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
3790 }
3791 return interceptor(ctx, in, info, handler)
3792}
3793
3794func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
3795 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
3796}
3797
3798type VolthaService_StreamPacketsOutServer interface {
3799 SendAndClose(*empty.Empty) error
3800 Recv() (*openflow_13.PacketOut, error)
3801 grpc.ServerStream
3802}
3803
3804type volthaServiceStreamPacketsOutServer struct {
3805 grpc.ServerStream
3806}
3807
3808func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
3809 return x.ServerStream.SendMsg(m)
3810}
3811
3812func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
3813 m := new(openflow_13.PacketOut)
3814 if err := x.ServerStream.RecvMsg(m); err != nil {
3815 return nil, err
3816 }
3817 return m, nil
3818}
3819
3820func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
3821 m := new(empty.Empty)
3822 if err := stream.RecvMsg(m); err != nil {
3823 return err
3824 }
3825 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
3826}
3827
3828type VolthaService_ReceivePacketsInServer interface {
3829 Send(*openflow_13.PacketIn) error
3830 grpc.ServerStream
3831}
3832
3833type volthaServiceReceivePacketsInServer struct {
3834 grpc.ServerStream
3835}
3836
3837func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
3838 return x.ServerStream.SendMsg(m)
3839}
3840
3841func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
3842 m := new(empty.Empty)
3843 if err := stream.RecvMsg(m); err != nil {
3844 return err
3845 }
3846 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
3847}
3848
3849type VolthaService_ReceiveChangeEventsServer interface {
3850 Send(*openflow_13.ChangeEvent) error
3851 grpc.ServerStream
3852}
3853
3854type volthaServiceReceiveChangeEventsServer struct {
3855 grpc.ServerStream
3856}
3857
3858func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
3859 return x.ServerStream.SendMsg(m)
3860}
3861
3862func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3863 in := new(common.ID)
3864 if err := dec(in); err != nil {
3865 return nil, err
3866 }
3867 if interceptor == nil {
3868 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
3869 }
3870 info := &grpc.UnaryServerInfo{
3871 Server: srv,
3872 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
3873 }
3874 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3875 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
3876 }
3877 return interceptor(ctx, in, info, handler)
3878}
3879
3880func _VolthaService_CreateAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3881 in := new(AlarmFilter)
3882 if err := dec(in); err != nil {
3883 return nil, err
3884 }
3885 if interceptor == nil {
3886 return srv.(VolthaServiceServer).CreateAlarmFilter(ctx, in)
3887 }
3888 info := &grpc.UnaryServerInfo{
3889 Server: srv,
3890 FullMethod: "/voltha.VolthaService/CreateAlarmFilter",
3891 }
3892 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3893 return srv.(VolthaServiceServer).CreateAlarmFilter(ctx, req.(*AlarmFilter))
3894 }
3895 return interceptor(ctx, in, info, handler)
3896}
3897
3898func _VolthaService_GetAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3899 in := new(common.ID)
3900 if err := dec(in); err != nil {
3901 return nil, err
3902 }
3903 if interceptor == nil {
3904 return srv.(VolthaServiceServer).GetAlarmFilter(ctx, in)
3905 }
3906 info := &grpc.UnaryServerInfo{
3907 Server: srv,
3908 FullMethod: "/voltha.VolthaService/GetAlarmFilter",
3909 }
3910 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3911 return srv.(VolthaServiceServer).GetAlarmFilter(ctx, req.(*common.ID))
3912 }
3913 return interceptor(ctx, in, info, handler)
3914}
3915
3916func _VolthaService_UpdateAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3917 in := new(AlarmFilter)
3918 if err := dec(in); err != nil {
3919 return nil, err
3920 }
3921 if interceptor == nil {
3922 return srv.(VolthaServiceServer).UpdateAlarmFilter(ctx, in)
3923 }
3924 info := &grpc.UnaryServerInfo{
3925 Server: srv,
3926 FullMethod: "/voltha.VolthaService/UpdateAlarmFilter",
3927 }
3928 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3929 return srv.(VolthaServiceServer).UpdateAlarmFilter(ctx, req.(*AlarmFilter))
3930 }
3931 return interceptor(ctx, in, info, handler)
3932}
3933
3934func _VolthaService_DeleteAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3935 in := new(common.ID)
3936 if err := dec(in); err != nil {
3937 return nil, err
3938 }
3939 if interceptor == nil {
3940 return srv.(VolthaServiceServer).DeleteAlarmFilter(ctx, in)
3941 }
3942 info := &grpc.UnaryServerInfo{
3943 Server: srv,
3944 FullMethod: "/voltha.VolthaService/DeleteAlarmFilter",
3945 }
3946 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3947 return srv.(VolthaServiceServer).DeleteAlarmFilter(ctx, req.(*common.ID))
3948 }
3949 return interceptor(ctx, in, info, handler)
3950}
3951
3952func _VolthaService_ListAlarmFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3953 in := new(empty.Empty)
3954 if err := dec(in); err != nil {
3955 return nil, err
3956 }
3957 if interceptor == nil {
3958 return srv.(VolthaServiceServer).ListAlarmFilters(ctx, in)
3959 }
3960 info := &grpc.UnaryServerInfo{
3961 Server: srv,
3962 FullMethod: "/voltha.VolthaService/ListAlarmFilters",
3963 }
3964 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3965 return srv.(VolthaServiceServer).ListAlarmFilters(ctx, req.(*empty.Empty))
3966 }
3967 return interceptor(ctx, in, info, handler)
3968}
3969
3970func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3971 in := new(common.ID)
3972 if err := dec(in); err != nil {
3973 return nil, err
3974 }
3975 if interceptor == nil {
3976 return srv.(VolthaServiceServer).GetImages(ctx, in)
3977 }
3978 info := &grpc.UnaryServerInfo{
3979 Server: srv,
3980 FullMethod: "/voltha.VolthaService/GetImages",
3981 }
3982 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3983 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
3984 }
3985 return interceptor(ctx, in, info, handler)
3986}
3987
3988func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3989 in := new(common.ID)
3990 if err := dec(in); err != nil {
3991 return nil, err
3992 }
3993 if interceptor == nil {
3994 return srv.(VolthaServiceServer).SelfTest(ctx, in)
3995 }
3996 info := &grpc.UnaryServerInfo{
3997 Server: srv,
3998 FullMethod: "/voltha.VolthaService/SelfTest",
3999 }
4000 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4001 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4002 }
4003 return interceptor(ctx, in, info, handler)
4004}
4005
4006func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4007 in := new(common.ID)
4008 if err := dec(in); err != nil {
4009 return nil, err
4010 }
4011 if interceptor == nil {
4012 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4013 }
4014 info := &grpc.UnaryServerInfo{
4015 Server: srv,
4016 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4017 }
4018 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4019 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4020 }
4021 return interceptor(ctx, in, info, handler)
4022}
4023
4024func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4025 in := new(common.ID)
4026 if err := dec(in); err != nil {
4027 return nil, err
4028 }
4029 if interceptor == nil {
4030 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4031 }
4032 info := &grpc.UnaryServerInfo{
4033 Server: srv,
4034 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4035 }
4036 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4037 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4038 }
4039 return interceptor(ctx, in, info, handler)
4040}
4041
4042func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4043 in := new(SimulateAlarmRequest)
4044 if err := dec(in); err != nil {
4045 return nil, err
4046 }
4047 if interceptor == nil {
4048 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4049 }
4050 info := &grpc.UnaryServerInfo{
4051 Server: srv,
4052 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4053 }
4054 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4055 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4056 }
4057 return interceptor(ctx, in, info, handler)
4058}
4059
4060func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4061 in := new(OfAgentSubscriber)
4062 if err := dec(in); err != nil {
4063 return nil, err
4064 }
4065 if interceptor == nil {
4066 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4067 }
4068 info := &grpc.UnaryServerInfo{
4069 Server: srv,
4070 FullMethod: "/voltha.VolthaService/Subscribe",
4071 }
4072 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4073 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4074 }
4075 return interceptor(ctx, in, info, handler)
4076}
4077
4078var _VolthaService_serviceDesc = grpc.ServiceDesc{
4079 ServiceName: "voltha.VolthaService",
4080 HandlerType: (*VolthaServiceServer)(nil),
4081 Methods: []grpc.MethodDesc{
4082 {
4083 MethodName: "UpdateLogLevel",
4084 Handler: _VolthaService_UpdateLogLevel_Handler,
4085 },
4086 {
4087 MethodName: "GetMembership",
4088 Handler: _VolthaService_GetMembership_Handler,
4089 },
4090 {
4091 MethodName: "UpdateMembership",
4092 Handler: _VolthaService_UpdateMembership_Handler,
4093 },
4094 {
4095 MethodName: "GetVoltha",
4096 Handler: _VolthaService_GetVoltha_Handler,
4097 },
4098 {
4099 MethodName: "ListCoreInstances",
4100 Handler: _VolthaService_ListCoreInstances_Handler,
4101 },
4102 {
4103 MethodName: "GetCoreInstance",
4104 Handler: _VolthaService_GetCoreInstance_Handler,
4105 },
4106 {
4107 MethodName: "ListAdapters",
4108 Handler: _VolthaService_ListAdapters_Handler,
4109 },
4110 {
4111 MethodName: "ListLogicalDevices",
4112 Handler: _VolthaService_ListLogicalDevices_Handler,
4113 },
4114 {
4115 MethodName: "GetLogicalDevice",
4116 Handler: _VolthaService_GetLogicalDevice_Handler,
4117 },
4118 {
4119 MethodName: "ListLogicalDevicePorts",
4120 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4121 },
4122 {
4123 MethodName: "GetLogicalDevicePort",
4124 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4125 },
4126 {
4127 MethodName: "EnableLogicalDevicePort",
4128 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4129 },
4130 {
4131 MethodName: "DisableLogicalDevicePort",
4132 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4133 },
4134 {
4135 MethodName: "ListLogicalDeviceFlows",
4136 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4137 },
4138 {
4139 MethodName: "UpdateLogicalDeviceFlowTable",
4140 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4141 },
4142 {
4143 MethodName: "UpdateLogicalDeviceMeterTable",
4144 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4145 },
4146 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004147 MethodName: "ListLogicalDeviceMeters",
4148 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004149 },
4150 {
4151 MethodName: "ListLogicalDeviceFlowGroups",
4152 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4153 },
4154 {
4155 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4156 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4157 },
4158 {
4159 MethodName: "ListDevices",
4160 Handler: _VolthaService_ListDevices_Handler,
4161 },
4162 {
4163 MethodName: "ListDeviceIds",
4164 Handler: _VolthaService_ListDeviceIds_Handler,
4165 },
4166 {
4167 MethodName: "ReconcileDevices",
4168 Handler: _VolthaService_ReconcileDevices_Handler,
4169 },
4170 {
4171 MethodName: "GetDevice",
4172 Handler: _VolthaService_GetDevice_Handler,
4173 },
4174 {
4175 MethodName: "CreateDevice",
4176 Handler: _VolthaService_CreateDevice_Handler,
4177 },
4178 {
4179 MethodName: "EnableDevice",
4180 Handler: _VolthaService_EnableDevice_Handler,
4181 },
4182 {
4183 MethodName: "DisableDevice",
4184 Handler: _VolthaService_DisableDevice_Handler,
4185 },
4186 {
4187 MethodName: "RebootDevice",
4188 Handler: _VolthaService_RebootDevice_Handler,
4189 },
4190 {
4191 MethodName: "DeleteDevice",
4192 Handler: _VolthaService_DeleteDevice_Handler,
4193 },
4194 {
4195 MethodName: "DownloadImage",
4196 Handler: _VolthaService_DownloadImage_Handler,
4197 },
4198 {
4199 MethodName: "GetImageDownloadStatus",
4200 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4201 },
4202 {
4203 MethodName: "GetImageDownload",
4204 Handler: _VolthaService_GetImageDownload_Handler,
4205 },
4206 {
4207 MethodName: "ListImageDownloads",
4208 Handler: _VolthaService_ListImageDownloads_Handler,
4209 },
4210 {
4211 MethodName: "CancelImageDownload",
4212 Handler: _VolthaService_CancelImageDownload_Handler,
4213 },
4214 {
4215 MethodName: "ActivateImageUpdate",
4216 Handler: _VolthaService_ActivateImageUpdate_Handler,
4217 },
4218 {
4219 MethodName: "RevertImageUpdate",
4220 Handler: _VolthaService_RevertImageUpdate_Handler,
4221 },
4222 {
4223 MethodName: "ListDevicePorts",
4224 Handler: _VolthaService_ListDevicePorts_Handler,
4225 },
4226 {
4227 MethodName: "ListDevicePmConfigs",
4228 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4229 },
4230 {
4231 MethodName: "UpdateDevicePmConfigs",
4232 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4233 },
4234 {
4235 MethodName: "ListDeviceFlows",
4236 Handler: _VolthaService_ListDeviceFlows_Handler,
4237 },
4238 {
4239 MethodName: "ListDeviceFlowGroups",
4240 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4241 },
4242 {
4243 MethodName: "ListDeviceTypes",
4244 Handler: _VolthaService_ListDeviceTypes_Handler,
4245 },
4246 {
4247 MethodName: "GetDeviceType",
4248 Handler: _VolthaService_GetDeviceType_Handler,
4249 },
4250 {
4251 MethodName: "ListDeviceGroups",
4252 Handler: _VolthaService_ListDeviceGroups_Handler,
4253 },
4254 {
4255 MethodName: "GetDeviceGroup",
4256 Handler: _VolthaService_GetDeviceGroup_Handler,
4257 },
4258 {
4259 MethodName: "CreateAlarmFilter",
4260 Handler: _VolthaService_CreateAlarmFilter_Handler,
4261 },
4262 {
4263 MethodName: "GetAlarmFilter",
4264 Handler: _VolthaService_GetAlarmFilter_Handler,
4265 },
4266 {
4267 MethodName: "UpdateAlarmFilter",
4268 Handler: _VolthaService_UpdateAlarmFilter_Handler,
4269 },
4270 {
4271 MethodName: "DeleteAlarmFilter",
4272 Handler: _VolthaService_DeleteAlarmFilter_Handler,
4273 },
4274 {
4275 MethodName: "ListAlarmFilters",
4276 Handler: _VolthaService_ListAlarmFilters_Handler,
4277 },
4278 {
4279 MethodName: "GetImages",
4280 Handler: _VolthaService_GetImages_Handler,
4281 },
4282 {
4283 MethodName: "SelfTest",
4284 Handler: _VolthaService_SelfTest_Handler,
4285 },
4286 {
4287 MethodName: "GetMibDeviceData",
4288 Handler: _VolthaService_GetMibDeviceData_Handler,
4289 },
4290 {
4291 MethodName: "GetAlarmDeviceData",
4292 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4293 },
4294 {
4295 MethodName: "SimulateAlarm",
4296 Handler: _VolthaService_SimulateAlarm_Handler,
4297 },
4298 {
4299 MethodName: "Subscribe",
4300 Handler: _VolthaService_Subscribe_Handler,
4301 },
4302 },
4303 Streams: []grpc.StreamDesc{
4304 {
4305 StreamName: "StreamPacketsOut",
4306 Handler: _VolthaService_StreamPacketsOut_Handler,
4307 ClientStreams: true,
4308 },
4309 {
4310 StreamName: "ReceivePacketsIn",
4311 Handler: _VolthaService_ReceivePacketsIn_Handler,
4312 ServerStreams: true,
4313 },
4314 {
4315 StreamName: "ReceiveChangeEvents",
4316 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4317 ServerStreams: true,
4318 },
4319 },
4320 Metadata: "voltha_protos/voltha.proto",
4321}