blob: cfd58332515b87dbb2e77bd902f12532be08746b [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
William Kurkianad745652019-03-20 08:45:51 -0400423// OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400424type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader
425
William Kurkianad745652019-03-20 08:45:51 -0400426// OfpExperimenterHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400427type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader
428
William Kurkianad745652019-03-20 08:45:51 -0400429// OfpQueuePropHeader from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400430type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader
431
William Kurkianad745652019-03-20 08:45:51 -0400432// OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400433type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate
434
William Kurkianad745652019-03-20 08:45:51 -0400435// OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400436type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate
437
William Kurkianad745652019-03-20 08:45:51 -0400438// OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400439type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter
440
William Kurkianad745652019-03-20 08:45:51 -0400441// OfpPacketQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400442type OfpPacketQueue = openflow_13.OfpPacketQueue
443
William Kurkianad745652019-03-20 08:45:51 -0400444// OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400445type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest
446
William Kurkianad745652019-03-20 08:45:51 -0400447// OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400448type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply
449
William Kurkianad745652019-03-20 08:45:51 -0400450// OfpActionSetQueue from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400451type OfpActionSetQueue = openflow_13.OfpActionSetQueue
452
William Kurkianad745652019-03-20 08:45:51 -0400453// OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400454type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest
455
William Kurkianad745652019-03-20 08:45:51 -0400456// OfpQueueStats from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400457type OfpQueueStats = openflow_13.OfpQueueStats
458
William Kurkianad745652019-03-20 08:45:51 -0400459// OfpRoleRequest from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400460type OfpRoleRequest = openflow_13.OfpRoleRequest
461
William Kurkianad745652019-03-20 08:45:51 -0400462// OfpAsyncConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400463type OfpAsyncConfig = openflow_13.OfpAsyncConfig
464
465// MeterModUpdate from public import voltha_protos/openflow_13.proto
466type MeterModUpdate = openflow_13.MeterModUpdate
467
468// MeterStatsReply from public import voltha_protos/openflow_13.proto
469type MeterStatsReply = openflow_13.MeterStatsReply
470
471// FlowTableUpdate from public import voltha_protos/openflow_13.proto
472type FlowTableUpdate = openflow_13.FlowTableUpdate
473
474// FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto
475type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate
476
477// Flows from public import voltha_protos/openflow_13.proto
478type Flows = openflow_13.Flows
479
480// Meters from public import voltha_protos/openflow_13.proto
481type Meters = openflow_13.Meters
482
483// FlowGroups from public import voltha_protos/openflow_13.proto
484type FlowGroups = openflow_13.FlowGroups
485
486// FlowChanges from public import voltha_protos/openflow_13.proto
487type FlowChanges = openflow_13.FlowChanges
488
489// FlowGroupChanges from public import voltha_protos/openflow_13.proto
490type FlowGroupChanges = openflow_13.FlowGroupChanges
491
492// PacketIn from public import voltha_protos/openflow_13.proto
493type PacketIn = openflow_13.PacketIn
494
495// PacketOut from public import voltha_protos/openflow_13.proto
496type PacketOut = openflow_13.PacketOut
497
498// ChangeEvent from public import voltha_protos/openflow_13.proto
499type ChangeEvent = openflow_13.ChangeEvent
500type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus
501
William Kurkianad745652019-03-20 08:45:51 -0400502// OfpPortNo from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400503type OfpPortNo = openflow_13.OfpPortNo
504
505var OfpPortNo_name = openflow_13.OfpPortNo_name
506var OfpPortNo_value = openflow_13.OfpPortNo_value
507
508const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID)
509const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX)
510const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT)
511const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE)
512const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL)
513const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD)
514const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL)
515const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER)
516const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL)
517const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY)
518
William Kurkianad745652019-03-20 08:45:51 -0400519// OfpType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400520type OfpType = openflow_13.OfpType
521
522var OfpType_name = openflow_13.OfpType_name
523var OfpType_value = openflow_13.OfpType_value
524
525const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO)
526const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR)
527const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST)
528const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY)
529const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER)
530const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST)
531const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY)
532const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST)
533const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY)
534const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG)
535const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN)
536const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED)
537const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS)
538const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT)
539const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD)
540const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD)
541const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD)
542const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD)
543const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST)
544const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY)
545const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST)
546const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY)
547const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST)
548const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY)
549const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST)
550const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY)
551const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST)
552const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY)
553const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC)
554const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD)
555
William Kurkianad745652019-03-20 08:45:51 -0400556// OfpHelloElemType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400557type OfpHelloElemType = openflow_13.OfpHelloElemType
558
559var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name
560var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value
561
562const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID)
563const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP)
564
William Kurkianad745652019-03-20 08:45:51 -0400565// OfpConfigFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400566type OfpConfigFlags = openflow_13.OfpConfigFlags
567
568var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name
569var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value
570
571const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL)
572const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP)
573const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM)
574const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK)
575
William Kurkianad745652019-03-20 08:45:51 -0400576// OfpTableConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400577type OfpTableConfig = openflow_13.OfpTableConfig
578
579var OfpTableConfig_name = openflow_13.OfpTableConfig_name
580var OfpTableConfig_value = openflow_13.OfpTableConfig_value
581
582const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID)
583const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK)
584
William Kurkianad745652019-03-20 08:45:51 -0400585// OfpTable from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400586type OfpTable = openflow_13.OfpTable
587
588var OfpTable_name = openflow_13.OfpTable_name
589var OfpTable_value = openflow_13.OfpTable_value
590
591const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID)
592const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX)
593const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL)
594
William Kurkianad745652019-03-20 08:45:51 -0400595// OfpCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400596type OfpCapabilities = openflow_13.OfpCapabilities
597
598var OfpCapabilities_name = openflow_13.OfpCapabilities_name
599var OfpCapabilities_value = openflow_13.OfpCapabilities_value
600
601const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID)
602const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS)
603const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS)
604const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS)
605const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS)
606const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM)
607const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS)
608const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED)
609
William Kurkianad745652019-03-20 08:45:51 -0400610// OfpPortConfig from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400611type OfpPortConfig = openflow_13.OfpPortConfig
612
613var OfpPortConfig_name = openflow_13.OfpPortConfig_name
614var OfpPortConfig_value = openflow_13.OfpPortConfig_value
615
616const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID)
617const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN)
618const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV)
619const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD)
620const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN)
621
William Kurkianad745652019-03-20 08:45:51 -0400622// OfpPortState from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400623type OfpPortState = openflow_13.OfpPortState
624
625var OfpPortState_name = openflow_13.OfpPortState_name
626var OfpPortState_value = openflow_13.OfpPortState_value
627
628const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID)
629const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN)
630const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED)
631const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE)
632
William Kurkianad745652019-03-20 08:45:51 -0400633// OfpPortFeatures from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400634type OfpPortFeatures = openflow_13.OfpPortFeatures
635
636var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name
637var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value
638
639const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID)
640const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD)
641const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD)
642const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD)
643const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD)
644const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD)
645const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD)
646const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD)
647const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD)
648const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD)
649const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD)
650const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER)
651const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER)
652const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER)
653const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG)
654const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE)
655const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM)
656
William Kurkianad745652019-03-20 08:45:51 -0400657// OfpPortReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400658type OfpPortReason = openflow_13.OfpPortReason
659
660var OfpPortReason_name = openflow_13.OfpPortReason_name
661var OfpPortReason_value = openflow_13.OfpPortReason_value
662
663const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD)
664const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE)
665const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY)
666
William Kurkianad745652019-03-20 08:45:51 -0400667// OfpMatchType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400668type OfpMatchType = openflow_13.OfpMatchType
669
670var OfpMatchType_name = openflow_13.OfpMatchType_name
671var OfpMatchType_value = openflow_13.OfpMatchType_value
672
673const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD)
674const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM)
675
William Kurkianad745652019-03-20 08:45:51 -0400676// OfpOxmClass from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400677type OfpOxmClass = openflow_13.OfpOxmClass
678
679var OfpOxmClass_name = openflow_13.OfpOxmClass_name
680var OfpOxmClass_value = openflow_13.OfpOxmClass_value
681
682const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0)
683const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1)
684const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC)
685const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER)
686
William Kurkianad745652019-03-20 08:45:51 -0400687// OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400688type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes
689
690var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name
691var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value
692
693const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT)
694const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT)
695const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA)
696const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST)
697const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC)
698const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE)
699const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID)
700const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP)
701const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP)
702const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN)
703const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO)
704const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC)
705const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST)
706const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC)
707const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST)
708const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC)
709const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST)
710const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC)
711const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST)
712const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE)
713const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE)
714const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP)
715const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA)
716const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA)
717const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA)
718const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA)
719const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC)
720const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST)
721const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL)
722const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE)
723const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE)
724const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET)
725const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL)
726const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL)
727const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL)
728const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC)
729const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS)
730const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID)
731const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID)
732const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR)
733
William Kurkianad745652019-03-20 08:45:51 -0400734// OfpVlanId from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400735type OfpVlanId = openflow_13.OfpVlanId
736
737var OfpVlanId_name = openflow_13.OfpVlanId_name
738var OfpVlanId_value = openflow_13.OfpVlanId_value
739
740const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE)
741const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT)
742
William Kurkianad745652019-03-20 08:45:51 -0400743// OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400744type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags
745
746var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name
747var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value
748
749const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID)
750const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT)
751const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP)
752const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH)
753const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST)
754const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG)
755const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER)
756const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP)
757const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP)
758const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ)
759
William Kurkianad745652019-03-20 08:45:51 -0400760// OfpActionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400761type OfpActionType = openflow_13.OfpActionType
762
763var OfpActionType_name = openflow_13.OfpActionType_name
764var OfpActionType_value = openflow_13.OfpActionType_value
765
766const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT)
767const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT)
768const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN)
769const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL)
770const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL)
771const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN)
772const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN)
773const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS)
774const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS)
775const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE)
776const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP)
777const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL)
778const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL)
779const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD)
780const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB)
781const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB)
782const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER)
783
William Kurkianad745652019-03-20 08:45:51 -0400784// OfpControllerMaxLen from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400785type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen
786
787var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name
788var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value
789
790const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID)
791const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX)
792const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER)
793
William Kurkianad745652019-03-20 08:45:51 -0400794// OfpInstructionType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400795type OfpInstructionType = openflow_13.OfpInstructionType
796
797var OfpInstructionType_name = openflow_13.OfpInstructionType_name
798var OfpInstructionType_value = openflow_13.OfpInstructionType_value
799
800const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID)
801const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE)
802const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA)
803const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS)
804const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS)
805const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS)
806const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER)
807const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER)
808
William Kurkianad745652019-03-20 08:45:51 -0400809// OfpFlowModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400810type OfpFlowModCommand = openflow_13.OfpFlowModCommand
811
812var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name
813var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value
814
815const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD)
816const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY)
817const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT)
818const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE)
819const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT)
820
William Kurkianad745652019-03-20 08:45:51 -0400821// OfpFlowModFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400822type OfpFlowModFlags = openflow_13.OfpFlowModFlags
823
824var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name
825var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value
826
827const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID)
828const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM)
829const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP)
830const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS)
831const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS)
832const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS)
833
William Kurkianad745652019-03-20 08:45:51 -0400834// OfpGroup from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400835type OfpGroup = openflow_13.OfpGroup
836
837var OfpGroup_name = openflow_13.OfpGroup_name
838var OfpGroup_value = openflow_13.OfpGroup_value
839
840const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID)
841const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX)
842const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL)
843const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY)
844
William Kurkianad745652019-03-20 08:45:51 -0400845// OfpGroupModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400846type OfpGroupModCommand = openflow_13.OfpGroupModCommand
847
848var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name
849var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value
850
851const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD)
852const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY)
853const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE)
854
William Kurkianad745652019-03-20 08:45:51 -0400855// OfpGroupType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400856type OfpGroupType = openflow_13.OfpGroupType
857
858var OfpGroupType_name = openflow_13.OfpGroupType_name
859var OfpGroupType_value = openflow_13.OfpGroupType_value
860
861const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL)
862const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT)
863const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT)
864const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF)
865
William Kurkianad745652019-03-20 08:45:51 -0400866// OfpPacketInReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400867type OfpPacketInReason = openflow_13.OfpPacketInReason
868
869var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name
870var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value
871
872const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH)
873const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION)
874const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL)
875
William Kurkianad745652019-03-20 08:45:51 -0400876// OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400877type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason
878
879var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name
880var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value
881
882const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT)
883const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT)
884const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE)
885const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE)
886const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE)
887
William Kurkianad745652019-03-20 08:45:51 -0400888// OfpMeter from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400889type OfpMeter = openflow_13.OfpMeter
890
891var OfpMeter_name = openflow_13.OfpMeter_name
892var OfpMeter_value = openflow_13.OfpMeter_value
893
894const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO)
895const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX)
896const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH)
897const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER)
898const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL)
899
William Kurkianad745652019-03-20 08:45:51 -0400900// OfpMeterBandType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400901type OfpMeterBandType = openflow_13.OfpMeterBandType
902
903var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name
904var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value
905
906const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID)
907const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP)
908const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK)
909const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER)
910
William Kurkianad745652019-03-20 08:45:51 -0400911// OfpMeterModCommand from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400912type OfpMeterModCommand = openflow_13.OfpMeterModCommand
913
914var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name
915var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value
916
917const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD)
918const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY)
919const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE)
920
William Kurkianad745652019-03-20 08:45:51 -0400921// OfpMeterFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400922type OfpMeterFlags = openflow_13.OfpMeterFlags
923
924var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name
925var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value
926
927const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID)
928const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS)
929const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS)
930const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST)
931const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS)
932
William Kurkianad745652019-03-20 08:45:51 -0400933// OfpErrorType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400934type OfpErrorType = openflow_13.OfpErrorType
935
936var OfpErrorType_name = openflow_13.OfpErrorType_name
937var OfpErrorType_value = openflow_13.OfpErrorType_value
938
939const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED)
940const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST)
941const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION)
942const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION)
943const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH)
944const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED)
945const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED)
946const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED)
947const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED)
948const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED)
949const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED)
950const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED)
951const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED)
952const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED)
953const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER)
954
William Kurkianad745652019-03-20 08:45:51 -0400955// OfpHelloFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400956type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode
957
958var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name
959var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value
960
961const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE)
962const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM)
963
William Kurkianad745652019-03-20 08:45:51 -0400964// OfpBadRequestCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400965type OfpBadRequestCode = openflow_13.OfpBadRequestCode
966
967var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name
968var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value
969
970const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION)
971const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE)
972const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART)
973const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER)
974const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE)
975const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM)
976const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN)
977const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY)
978const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN)
979const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID)
980const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE)
981const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT)
982const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET)
983const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW)
984
William Kurkianad745652019-03-20 08:45:51 -0400985// OfpBadActionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -0400986type OfpBadActionCode = openflow_13.OfpBadActionCode
987
988var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name
989var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value
990
991const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE)
992const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN)
993const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER)
994const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE)
995const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT)
996const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT)
997const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM)
998const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY)
999const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE)
1000const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP)
1001const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT)
1002const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER)
1003const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG)
1004const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE)
1005const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN)
1006const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT)
1007
William Kurkianad745652019-03-20 08:45:51 -04001008// OfpBadInstructionCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001009type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode
1010
1011var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name
1012var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value
1013
1014const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST)
1015const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST)
1016const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID)
1017const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA)
1018const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK)
1019const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER)
1020const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE)
1021const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN)
1022const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM)
1023
William Kurkianad745652019-03-20 08:45:51 -04001024// OfpBadMatchCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001025type OfpBadMatchCode = openflow_13.OfpBadMatchCode
1026
1027var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name
1028var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value
1029
1030const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE)
1031const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN)
1032const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG)
1033const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK)
1034const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK)
1035const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS)
1036const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD)
1037const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE)
1038const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK)
1039const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ)
1040const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD)
1041const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM)
1042
William Kurkianad745652019-03-20 08:45:51 -04001043// OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001044type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode
1045
1046var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name
1047var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value
1048
1049const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN)
1050const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL)
1051const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID)
1052const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP)
1053const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM)
1054const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT)
1055const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND)
1056const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS)
1057
William Kurkianad745652019-03-20 08:45:51 -04001058// OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001059type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode
1060
1061var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name
1062var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value
1063
1064const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS)
1065const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP)
1066const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED)
1067const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS)
1068const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS)
1069const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED)
1070const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED)
1071const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP)
1072const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP)
1073const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP)
1074const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE)
1075const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND)
1076const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET)
1077const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH)
1078const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM)
1079
William Kurkianad745652019-03-20 08:45:51 -04001080// OfpPortModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001081type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode
1082
1083var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name
1084var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value
1085
1086const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT)
1087const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR)
1088const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG)
1089const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE)
1090const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM)
1091
William Kurkianad745652019-03-20 08:45:51 -04001092// OfpTableModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001093type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode
1094
1095var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name
1096var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value
1097
1098const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE)
1099const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG)
1100const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM)
1101
William Kurkianad745652019-03-20 08:45:51 -04001102// OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001103type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode
1104
1105var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name
1106var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value
1107
1108const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT)
1109const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE)
1110const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM)
1111
William Kurkianad745652019-03-20 08:45:51 -04001112// OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001113type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode
1114
1115var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name
1116var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value
1117
1118const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS)
1119const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN)
1120const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM)
1121
William Kurkianad745652019-03-20 08:45:51 -04001122// OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001123type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode
1124
1125var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name
1126var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value
1127
1128const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE)
1129const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP)
1130const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE)
1131
William Kurkianad745652019-03-20 08:45:51 -04001132// OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001133type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode
1134
1135var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name
1136var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value
1137
1138const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN)
1139const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS)
1140const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER)
1141const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER)
1142const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND)
1143const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS)
1144const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE)
1145const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST)
1146const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND)
1147const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_VALUE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_VALUE)
1148const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS)
1149const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS)
1150
William Kurkianad745652019-03-20 08:45:51 -04001151// OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001152type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode
1153
1154var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name
1155var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value
1156
1157const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE)
1158const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA)
1159const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE)
1160const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN)
1161const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT)
1162const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM)
1163
William Kurkianad745652019-03-20 08:45:51 -04001164// OfpMultipartType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001165type OfpMultipartType = openflow_13.OfpMultipartType
1166
1167var OfpMultipartType_name = openflow_13.OfpMultipartType_name
1168var OfpMultipartType_value = openflow_13.OfpMultipartType_value
1169
1170const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC)
1171const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW)
1172const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE)
1173const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE)
1174const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS)
1175const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE)
1176const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP)
1177const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC)
1178const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES)
1179const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER)
1180const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG)
1181const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES)
1182const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES)
1183const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC)
1184const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER)
1185
William Kurkianad745652019-03-20 08:45:51 -04001186// OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001187type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags
1188
1189var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name
1190var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value
1191
1192const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID)
1193const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE)
1194
William Kurkianad745652019-03-20 08:45:51 -04001195// OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001196type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags
1197
1198var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name
1199var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value
1200
1201const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID)
1202const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE)
1203
William Kurkianad745652019-03-20 08:45:51 -04001204// OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001205type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType
1206
1207var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name
1208var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value
1209
1210const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS)
1211const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS)
1212const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES)
1213const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS)
1214const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS)
1215const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS)
1216const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS)
1217const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS)
1218const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH)
1219const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS)
1220const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD)
1221const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS)
1222const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD)
1223const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS)
1224const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER)
1225const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS)
1226
William Kurkianad745652019-03-20 08:45:51 -04001227// OfpGroupCapabilities from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001228type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities
1229
1230var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name
1231var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value
1232
1233const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID)
1234const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT)
1235const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS)
1236const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING)
1237const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS)
1238
William Kurkianad745652019-03-20 08:45:51 -04001239// OfpQueueProperties from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001240type OfpQueueProperties = openflow_13.OfpQueueProperties
1241
1242var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name
1243var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value
1244
1245const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID)
1246const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE)
1247const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE)
1248const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER)
1249
William Kurkianad745652019-03-20 08:45:51 -04001250// OfpControllerRole from public import voltha_protos/openflow_13.proto
William Kurkian1b363f42019-03-12 15:28:12 -04001251type OfpControllerRole = openflow_13.OfpControllerRole
1252
1253var OfpControllerRole_name = openflow_13.OfpControllerRole_name
1254var OfpControllerRole_value = openflow_13.OfpControllerRole_value
1255
1256const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE)
1257const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL)
1258const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER)
1259const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE)
1260
1261type AlarmFilterRuleKey_AlarmFilterRuleKey int32
1262
1263const (
1264 AlarmFilterRuleKey_id AlarmFilterRuleKey_AlarmFilterRuleKey = 0
1265 AlarmFilterRuleKey_type AlarmFilterRuleKey_AlarmFilterRuleKey = 1
1266 AlarmFilterRuleKey_severity AlarmFilterRuleKey_AlarmFilterRuleKey = 2
1267 AlarmFilterRuleKey_resource_id AlarmFilterRuleKey_AlarmFilterRuleKey = 3
1268 AlarmFilterRuleKey_category AlarmFilterRuleKey_AlarmFilterRuleKey = 4
1269 AlarmFilterRuleKey_device_id AlarmFilterRuleKey_AlarmFilterRuleKey = 5
1270)
1271
1272var AlarmFilterRuleKey_AlarmFilterRuleKey_name = map[int32]string{
1273 0: "id",
1274 1: "type",
1275 2: "severity",
1276 3: "resource_id",
1277 4: "category",
1278 5: "device_id",
1279}
William Kurkianad745652019-03-20 08:45:51 -04001280
William Kurkian1b363f42019-03-12 15:28:12 -04001281var AlarmFilterRuleKey_AlarmFilterRuleKey_value = map[string]int32{
1282 "id": 0,
1283 "type": 1,
1284 "severity": 2,
1285 "resource_id": 3,
1286 "category": 4,
1287 "device_id": 5,
1288}
1289
1290func (x AlarmFilterRuleKey_AlarmFilterRuleKey) String() string {
1291 return proto.EnumName(AlarmFilterRuleKey_AlarmFilterRuleKey_name, int32(x))
1292}
William Kurkianad745652019-03-20 08:45:51 -04001293
William Kurkian1b363f42019-03-12 15:28:12 -04001294func (AlarmFilterRuleKey_AlarmFilterRuleKey) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001295 return fileDescriptor_e084f1a60ce7016c, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001296}
1297
1298type SelfTestResponse_SelfTestResult int32
1299
1300const (
1301 SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0
1302 SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1
1303 SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2
1304 SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3
1305)
1306
1307var SelfTestResponse_SelfTestResult_name = map[int32]string{
1308 0: "SUCCESS",
1309 1: "FAILURE",
1310 2: "NOT_SUPPORTED",
1311 3: "UNKNOWN_ERROR",
1312}
William Kurkianad745652019-03-20 08:45:51 -04001313
William Kurkian1b363f42019-03-12 15:28:12 -04001314var SelfTestResponse_SelfTestResult_value = map[string]int32{
1315 "SUCCESS": 0,
1316 "FAILURE": 1,
1317 "NOT_SUPPORTED": 2,
1318 "UNKNOWN_ERROR": 3,
1319}
1320
1321func (x SelfTestResponse_SelfTestResult) String() string {
1322 return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x))
1323}
William Kurkianad745652019-03-20 08:45:51 -04001324
William Kurkian1b363f42019-03-12 15:28:12 -04001325func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001326 return fileDescriptor_e084f1a60ce7016c, []int{10, 0}
William Kurkian1b363f42019-03-12 15:28:12 -04001327}
1328
1329type DeviceGroup struct {
1330 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1331 LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1332 Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
1333 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1334 XXX_unrecognized []byte `json:"-"`
1335 XXX_sizecache int32 `json:"-"`
1336}
1337
1338func (m *DeviceGroup) Reset() { *m = DeviceGroup{} }
1339func (m *DeviceGroup) String() string { return proto.CompactTextString(m) }
1340func (*DeviceGroup) ProtoMessage() {}
1341func (*DeviceGroup) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001342 return fileDescriptor_e084f1a60ce7016c, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -04001343}
William Kurkianad745652019-03-20 08:45:51 -04001344
William Kurkian1b363f42019-03-12 15:28:12 -04001345func (m *DeviceGroup) XXX_Unmarshal(b []byte) error {
1346 return xxx_messageInfo_DeviceGroup.Unmarshal(m, b)
1347}
1348func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1349 return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic)
1350}
William Kurkianad745652019-03-20 08:45:51 -04001351func (m *DeviceGroup) XXX_Merge(src proto.Message) {
1352 xxx_messageInfo_DeviceGroup.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001353}
1354func (m *DeviceGroup) XXX_Size() int {
1355 return xxx_messageInfo_DeviceGroup.Size(m)
1356}
1357func (m *DeviceGroup) XXX_DiscardUnknown() {
1358 xxx_messageInfo_DeviceGroup.DiscardUnknown(m)
1359}
1360
1361var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo
1362
1363func (m *DeviceGroup) GetId() string {
1364 if m != nil {
1365 return m.Id
1366 }
1367 return ""
1368}
1369
1370func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice {
1371 if m != nil {
1372 return m.LogicalDevices
1373 }
1374 return nil
1375}
1376
1377func (m *DeviceGroup) GetDevices() []*Device {
1378 if m != nil {
1379 return m.Devices
1380 }
1381 return nil
1382}
1383
1384type DeviceGroups struct {
1385 Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1386 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1387 XXX_unrecognized []byte `json:"-"`
1388 XXX_sizecache int32 `json:"-"`
1389}
1390
1391func (m *DeviceGroups) Reset() { *m = DeviceGroups{} }
1392func (m *DeviceGroups) String() string { return proto.CompactTextString(m) }
1393func (*DeviceGroups) ProtoMessage() {}
1394func (*DeviceGroups) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001395 return fileDescriptor_e084f1a60ce7016c, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -04001396}
William Kurkianad745652019-03-20 08:45:51 -04001397
William Kurkian1b363f42019-03-12 15:28:12 -04001398func (m *DeviceGroups) XXX_Unmarshal(b []byte) error {
1399 return xxx_messageInfo_DeviceGroups.Unmarshal(m, b)
1400}
1401func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1402 return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic)
1403}
William Kurkianad745652019-03-20 08:45:51 -04001404func (m *DeviceGroups) XXX_Merge(src proto.Message) {
1405 xxx_messageInfo_DeviceGroups.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001406}
1407func (m *DeviceGroups) XXX_Size() int {
1408 return xxx_messageInfo_DeviceGroups.Size(m)
1409}
1410func (m *DeviceGroups) XXX_DiscardUnknown() {
1411 xxx_messageInfo_DeviceGroups.DiscardUnknown(m)
1412}
1413
1414var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo
1415
1416func (m *DeviceGroups) GetItems() []*DeviceGroup {
1417 if m != nil {
1418 return m.Items
1419 }
1420 return nil
1421}
1422
1423type AlarmFilterRuleKey struct {
1424 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1425 XXX_unrecognized []byte `json:"-"`
1426 XXX_sizecache int32 `json:"-"`
1427}
1428
1429func (m *AlarmFilterRuleKey) Reset() { *m = AlarmFilterRuleKey{} }
1430func (m *AlarmFilterRuleKey) String() string { return proto.CompactTextString(m) }
1431func (*AlarmFilterRuleKey) ProtoMessage() {}
1432func (*AlarmFilterRuleKey) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001433 return fileDescriptor_e084f1a60ce7016c, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -04001434}
William Kurkianad745652019-03-20 08:45:51 -04001435
William Kurkian1b363f42019-03-12 15:28:12 -04001436func (m *AlarmFilterRuleKey) XXX_Unmarshal(b []byte) error {
1437 return xxx_messageInfo_AlarmFilterRuleKey.Unmarshal(m, b)
1438}
1439func (m *AlarmFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1440 return xxx_messageInfo_AlarmFilterRuleKey.Marshal(b, m, deterministic)
1441}
William Kurkianad745652019-03-20 08:45:51 -04001442func (m *AlarmFilterRuleKey) XXX_Merge(src proto.Message) {
1443 xxx_messageInfo_AlarmFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001444}
1445func (m *AlarmFilterRuleKey) XXX_Size() int {
1446 return xxx_messageInfo_AlarmFilterRuleKey.Size(m)
1447}
1448func (m *AlarmFilterRuleKey) XXX_DiscardUnknown() {
1449 xxx_messageInfo_AlarmFilterRuleKey.DiscardUnknown(m)
1450}
1451
1452var xxx_messageInfo_AlarmFilterRuleKey proto.InternalMessageInfo
1453
1454type AlarmFilterRule struct {
1455 Key AlarmFilterRuleKey_AlarmFilterRuleKey `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.AlarmFilterRuleKey_AlarmFilterRuleKey" json:"key,omitempty"`
1456 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1457 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1458 XXX_unrecognized []byte `json:"-"`
1459 XXX_sizecache int32 `json:"-"`
1460}
1461
1462func (m *AlarmFilterRule) Reset() { *m = AlarmFilterRule{} }
1463func (m *AlarmFilterRule) String() string { return proto.CompactTextString(m) }
1464func (*AlarmFilterRule) ProtoMessage() {}
1465func (*AlarmFilterRule) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001466 return fileDescriptor_e084f1a60ce7016c, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -04001467}
William Kurkianad745652019-03-20 08:45:51 -04001468
William Kurkian1b363f42019-03-12 15:28:12 -04001469func (m *AlarmFilterRule) XXX_Unmarshal(b []byte) error {
1470 return xxx_messageInfo_AlarmFilterRule.Unmarshal(m, b)
1471}
1472func (m *AlarmFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1473 return xxx_messageInfo_AlarmFilterRule.Marshal(b, m, deterministic)
1474}
William Kurkianad745652019-03-20 08:45:51 -04001475func (m *AlarmFilterRule) XXX_Merge(src proto.Message) {
1476 xxx_messageInfo_AlarmFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001477}
1478func (m *AlarmFilterRule) XXX_Size() int {
1479 return xxx_messageInfo_AlarmFilterRule.Size(m)
1480}
1481func (m *AlarmFilterRule) XXX_DiscardUnknown() {
1482 xxx_messageInfo_AlarmFilterRule.DiscardUnknown(m)
1483}
1484
1485var xxx_messageInfo_AlarmFilterRule proto.InternalMessageInfo
1486
1487func (m *AlarmFilterRule) GetKey() AlarmFilterRuleKey_AlarmFilterRuleKey {
1488 if m != nil {
1489 return m.Key
1490 }
1491 return AlarmFilterRuleKey_id
1492}
1493
1494func (m *AlarmFilterRule) GetValue() string {
1495 if m != nil {
1496 return m.Value
1497 }
1498 return ""
1499}
1500
1501type AlarmFilter struct {
1502 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1503 Rules []*AlarmFilterRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
1504 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1505 XXX_unrecognized []byte `json:"-"`
1506 XXX_sizecache int32 `json:"-"`
1507}
1508
1509func (m *AlarmFilter) Reset() { *m = AlarmFilter{} }
1510func (m *AlarmFilter) String() string { return proto.CompactTextString(m) }
1511func (*AlarmFilter) ProtoMessage() {}
1512func (*AlarmFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001513 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001514}
William Kurkianad745652019-03-20 08:45:51 -04001515
William Kurkian1b363f42019-03-12 15:28:12 -04001516func (m *AlarmFilter) XXX_Unmarshal(b []byte) error {
1517 return xxx_messageInfo_AlarmFilter.Unmarshal(m, b)
1518}
1519func (m *AlarmFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1520 return xxx_messageInfo_AlarmFilter.Marshal(b, m, deterministic)
1521}
William Kurkianad745652019-03-20 08:45:51 -04001522func (m *AlarmFilter) XXX_Merge(src proto.Message) {
1523 xxx_messageInfo_AlarmFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001524}
1525func (m *AlarmFilter) XXX_Size() int {
1526 return xxx_messageInfo_AlarmFilter.Size(m)
1527}
1528func (m *AlarmFilter) XXX_DiscardUnknown() {
1529 xxx_messageInfo_AlarmFilter.DiscardUnknown(m)
1530}
1531
1532var xxx_messageInfo_AlarmFilter proto.InternalMessageInfo
1533
1534func (m *AlarmFilter) GetId() string {
1535 if m != nil {
1536 return m.Id
1537 }
1538 return ""
1539}
1540
1541func (m *AlarmFilter) GetRules() []*AlarmFilterRule {
1542 if m != nil {
1543 return m.Rules
1544 }
1545 return nil
1546}
1547
1548type AlarmFilters struct {
1549 Filters []*AlarmFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
1550 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1551 XXX_unrecognized []byte `json:"-"`
1552 XXX_sizecache int32 `json:"-"`
1553}
1554
1555func (m *AlarmFilters) Reset() { *m = AlarmFilters{} }
1556func (m *AlarmFilters) String() string { return proto.CompactTextString(m) }
1557func (*AlarmFilters) ProtoMessage() {}
1558func (*AlarmFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001559 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001560}
William Kurkianad745652019-03-20 08:45:51 -04001561
William Kurkian1b363f42019-03-12 15:28:12 -04001562func (m *AlarmFilters) XXX_Unmarshal(b []byte) error {
1563 return xxx_messageInfo_AlarmFilters.Unmarshal(m, b)
1564}
1565func (m *AlarmFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1566 return xxx_messageInfo_AlarmFilters.Marshal(b, m, deterministic)
1567}
William Kurkianad745652019-03-20 08:45:51 -04001568func (m *AlarmFilters) XXX_Merge(src proto.Message) {
1569 xxx_messageInfo_AlarmFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001570}
1571func (m *AlarmFilters) XXX_Size() int {
1572 return xxx_messageInfo_AlarmFilters.Size(m)
1573}
1574func (m *AlarmFilters) XXX_DiscardUnknown() {
1575 xxx_messageInfo_AlarmFilters.DiscardUnknown(m)
1576}
1577
1578var xxx_messageInfo_AlarmFilters proto.InternalMessageInfo
1579
1580func (m *AlarmFilters) GetFilters() []*AlarmFilter {
1581 if m != nil {
1582 return m.Filters
1583 }
1584 return nil
1585}
1586
1587type Logging struct {
William Kurkian12fc0af2019-04-18 14:27:45 -04001588 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 -04001589 PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
1590 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1591 XXX_unrecognized []byte `json:"-"`
1592 XXX_sizecache int32 `json:"-"`
1593}
1594
1595func (m *Logging) Reset() { *m = Logging{} }
1596func (m *Logging) String() string { return proto.CompactTextString(m) }
1597func (*Logging) ProtoMessage() {}
1598func (*Logging) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001599 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001600}
William Kurkianad745652019-03-20 08:45:51 -04001601
William Kurkian1b363f42019-03-12 15:28:12 -04001602func (m *Logging) XXX_Unmarshal(b []byte) error {
1603 return xxx_messageInfo_Logging.Unmarshal(m, b)
1604}
1605func (m *Logging) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1606 return xxx_messageInfo_Logging.Marshal(b, m, deterministic)
1607}
William Kurkianad745652019-03-20 08:45:51 -04001608func (m *Logging) XXX_Merge(src proto.Message) {
1609 xxx_messageInfo_Logging.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001610}
1611func (m *Logging) XXX_Size() int {
1612 return xxx_messageInfo_Logging.Size(m)
1613}
1614func (m *Logging) XXX_DiscardUnknown() {
1615 xxx_messageInfo_Logging.DiscardUnknown(m)
1616}
1617
1618var xxx_messageInfo_Logging proto.InternalMessageInfo
1619
1620func (m *Logging) GetLevel() common.LogLevel_LogLevel {
1621 if m != nil {
1622 return m.Level
1623 }
1624 return common.LogLevel_DEBUG
1625}
1626
1627func (m *Logging) GetPackageName() string {
1628 if m != nil {
1629 return m.PackageName
1630 }
1631 return ""
1632}
1633
1634// CoreInstance represents a core instance. It is data held in memory when a core
1635// is running. This data is not persistent.
1636type CoreInstance struct {
1637 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1638 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1639 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1640 XXX_unrecognized []byte `json:"-"`
1641 XXX_sizecache int32 `json:"-"`
1642}
1643
1644func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1645func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1646func (*CoreInstance) ProtoMessage() {}
1647func (*CoreInstance) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001648 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001649}
William Kurkianad745652019-03-20 08:45:51 -04001650
William Kurkian1b363f42019-03-12 15:28:12 -04001651func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1652 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1653}
1654func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1655 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1656}
William Kurkianad745652019-03-20 08:45:51 -04001657func (m *CoreInstance) XXX_Merge(src proto.Message) {
1658 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001659}
1660func (m *CoreInstance) XXX_Size() int {
1661 return xxx_messageInfo_CoreInstance.Size(m)
1662}
1663func (m *CoreInstance) XXX_DiscardUnknown() {
1664 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1665}
1666
1667var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1668
1669func (m *CoreInstance) GetInstanceId() string {
1670 if m != nil {
1671 return m.InstanceId
1672 }
1673 return ""
1674}
1675
1676func (m *CoreInstance) GetHealth() *HealthStatus {
1677 if m != nil {
1678 return m.Health
1679 }
1680 return nil
1681}
1682
1683type CoreInstances struct {
1684 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1685 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1686 XXX_unrecognized []byte `json:"-"`
1687 XXX_sizecache int32 `json:"-"`
1688}
1689
1690func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1691func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1692func (*CoreInstances) ProtoMessage() {}
1693func (*CoreInstances) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001694 return fileDescriptor_e084f1a60ce7016c, []int{8}
William Kurkian1b363f42019-03-12 15:28:12 -04001695}
William Kurkianad745652019-03-20 08:45:51 -04001696
William Kurkian1b363f42019-03-12 15:28:12 -04001697func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1698 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1699}
1700func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1701 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1702}
William Kurkianad745652019-03-20 08:45:51 -04001703func (m *CoreInstances) XXX_Merge(src proto.Message) {
1704 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001705}
1706func (m *CoreInstances) XXX_Size() int {
1707 return xxx_messageInfo_CoreInstances.Size(m)
1708}
1709func (m *CoreInstances) XXX_DiscardUnknown() {
1710 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1711}
1712
1713var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1714
1715func (m *CoreInstances) GetItems() []*CoreInstance {
1716 if m != nil {
1717 return m.Items
1718 }
1719 return nil
1720}
1721
1722// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1723// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1724// for better performance
1725type Voltha struct {
1726 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1727 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1728 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1729 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1730 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1731 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
1732 AlarmFilters []*AlarmFilter `protobuf:"bytes,7,rep,name=alarm_filters,json=alarmFilters,proto3" json:"alarm_filters,omitempty"`
1733 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1734 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1735 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1736 XXX_unrecognized []byte `json:"-"`
1737 XXX_sizecache int32 `json:"-"`
1738}
1739
1740func (m *Voltha) Reset() { *m = Voltha{} }
1741func (m *Voltha) String() string { return proto.CompactTextString(m) }
1742func (*Voltha) ProtoMessage() {}
1743func (*Voltha) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001744 return fileDescriptor_e084f1a60ce7016c, []int{9}
William Kurkian1b363f42019-03-12 15:28:12 -04001745}
William Kurkianad745652019-03-20 08:45:51 -04001746
William Kurkian1b363f42019-03-12 15:28:12 -04001747func (m *Voltha) XXX_Unmarshal(b []byte) error {
1748 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1749}
1750func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1751 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1752}
William Kurkianad745652019-03-20 08:45:51 -04001753func (m *Voltha) XXX_Merge(src proto.Message) {
1754 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001755}
1756func (m *Voltha) XXX_Size() int {
1757 return xxx_messageInfo_Voltha.Size(m)
1758}
1759func (m *Voltha) XXX_DiscardUnknown() {
1760 xxx_messageInfo_Voltha.DiscardUnknown(m)
1761}
1762
1763var xxx_messageInfo_Voltha proto.InternalMessageInfo
1764
1765func (m *Voltha) GetVersion() string {
1766 if m != nil {
1767 return m.Version
1768 }
1769 return ""
1770}
1771
1772func (m *Voltha) GetAdapters() []*Adapter {
1773 if m != nil {
1774 return m.Adapters
1775 }
1776 return nil
1777}
1778
1779func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1780 if m != nil {
1781 return m.LogicalDevices
1782 }
1783 return nil
1784}
1785
1786func (m *Voltha) GetDevices() []*Device {
1787 if m != nil {
1788 return m.Devices
1789 }
1790 return nil
1791}
1792
1793func (m *Voltha) GetDeviceTypes() []*DeviceType {
1794 if m != nil {
1795 return m.DeviceTypes
1796 }
1797 return nil
1798}
1799
1800func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1801 if m != nil {
1802 return m.DeviceGroups
1803 }
1804 return nil
1805}
1806
1807func (m *Voltha) GetAlarmFilters() []*AlarmFilter {
1808 if m != nil {
1809 return m.AlarmFilters
1810 }
1811 return nil
1812}
1813
1814func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1815 if m != nil {
1816 return m.OmciMibDatabase
1817 }
1818 return nil
1819}
1820
1821func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1822 if m != nil {
1823 return m.OmciAlarmDatabase
1824 }
1825 return nil
1826}
1827
1828// Device Self Test Response
1829type SelfTestResponse struct {
1830 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1831 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1832 XXX_unrecognized []byte `json:"-"`
1833 XXX_sizecache int32 `json:"-"`
1834}
1835
1836func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
1837func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
1838func (*SelfTestResponse) ProtoMessage() {}
1839func (*SelfTestResponse) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001840 return fileDescriptor_e084f1a60ce7016c, []int{10}
William Kurkian1b363f42019-03-12 15:28:12 -04001841}
William Kurkianad745652019-03-20 08:45:51 -04001842
William Kurkian1b363f42019-03-12 15:28:12 -04001843func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
1844 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
1845}
1846func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1847 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
1848}
William Kurkianad745652019-03-20 08:45:51 -04001849func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
1850 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001851}
1852func (m *SelfTestResponse) XXX_Size() int {
1853 return xxx_messageInfo_SelfTestResponse.Size(m)
1854}
1855func (m *SelfTestResponse) XXX_DiscardUnknown() {
1856 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
1857}
1858
1859var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
1860
1861func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
1862 if m != nil {
1863 return m.Result
1864 }
1865 return SelfTestResponse_SUCCESS
1866}
1867
1868type OfAgentSubscriber struct {
1869 // ID of ofagent instance
1870 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
1871 // ID of voltha instance to which the ofagent is subscribed
1872 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
1873 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1874 XXX_unrecognized []byte `json:"-"`
1875 XXX_sizecache int32 `json:"-"`
1876}
1877
1878func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
1879func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
1880func (*OfAgentSubscriber) ProtoMessage() {}
1881func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001882 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001883}
William Kurkianad745652019-03-20 08:45:51 -04001884
William Kurkian1b363f42019-03-12 15:28:12 -04001885func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
1886 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
1887}
1888func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1889 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
1890}
William Kurkianad745652019-03-20 08:45:51 -04001891func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
1892 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001893}
1894func (m *OfAgentSubscriber) XXX_Size() int {
1895 return xxx_messageInfo_OfAgentSubscriber.Size(m)
1896}
1897func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
1898 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
1899}
1900
1901var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
1902
1903func (m *OfAgentSubscriber) GetOfagentId() string {
1904 if m != nil {
1905 return m.OfagentId
1906 }
1907 return ""
1908}
1909
1910func (m *OfAgentSubscriber) GetVolthaId() string {
1911 if m != nil {
1912 return m.VolthaId
1913 }
1914 return ""
1915}
1916
1917// Identifies a membership group a Core belongs to
1918type Membership struct {
1919 // Group name
1920 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
1921 // Unique ID of a container within that group
1922 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
1923 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1924 XXX_unrecognized []byte `json:"-"`
1925 XXX_sizecache int32 `json:"-"`
1926}
1927
1928func (m *Membership) Reset() { *m = Membership{} }
1929func (m *Membership) String() string { return proto.CompactTextString(m) }
1930func (*Membership) ProtoMessage() {}
1931func (*Membership) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001932 return fileDescriptor_e084f1a60ce7016c, []int{12}
William Kurkian1b363f42019-03-12 15:28:12 -04001933}
William Kurkianad745652019-03-20 08:45:51 -04001934
William Kurkian1b363f42019-03-12 15:28:12 -04001935func (m *Membership) XXX_Unmarshal(b []byte) error {
1936 return xxx_messageInfo_Membership.Unmarshal(m, b)
1937}
1938func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1939 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
1940}
William Kurkianad745652019-03-20 08:45:51 -04001941func (m *Membership) XXX_Merge(src proto.Message) {
1942 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001943}
1944func (m *Membership) XXX_Size() int {
1945 return xxx_messageInfo_Membership.Size(m)
1946}
1947func (m *Membership) XXX_DiscardUnknown() {
1948 xxx_messageInfo_Membership.DiscardUnknown(m)
1949}
1950
1951var xxx_messageInfo_Membership proto.InternalMessageInfo
1952
1953func (m *Membership) GetGroupName() string {
1954 if m != nil {
1955 return m.GroupName
1956 }
1957 return ""
1958}
1959
1960func (m *Membership) GetId() string {
1961 if m != nil {
1962 return m.Id
1963 }
1964 return ""
1965}
1966
1967func init() {
William Kurkianad745652019-03-20 08:45:51 -04001968 proto.RegisterEnum("voltha.AlarmFilterRuleKey_AlarmFilterRuleKey", AlarmFilterRuleKey_AlarmFilterRuleKey_name, AlarmFilterRuleKey_AlarmFilterRuleKey_value)
1969 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04001970 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
1971 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
1972 proto.RegisterType((*AlarmFilterRuleKey)(nil), "voltha.AlarmFilterRuleKey")
1973 proto.RegisterType((*AlarmFilterRule)(nil), "voltha.AlarmFilterRule")
1974 proto.RegisterType((*AlarmFilter)(nil), "voltha.AlarmFilter")
1975 proto.RegisterType((*AlarmFilters)(nil), "voltha.AlarmFilters")
1976 proto.RegisterType((*Logging)(nil), "voltha.Logging")
1977 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
1978 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
1979 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
1980 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
1981 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
1982 proto.RegisterType((*Membership)(nil), "voltha.Membership")
William Kurkianad745652019-03-20 08:45:51 -04001983}
1984
1985func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
1986
1987var fileDescriptor_e084f1a60ce7016c = []byte{
William Kurkian12fc0af2019-04-18 14:27:45 -04001988 // 2478 bytes of a gzipped FileDescriptorProto
1989 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x5b, 0x6f, 0x1b, 0xc7,
1990 0x15, 0x16, 0x75, 0xd7, 0x21, 0x29, 0x92, 0x47, 0x17, 0xd3, 0x94, 0x64, 0x4b, 0x13, 0xc7, 0x76,
1991 0xe4, 0x88, 0x8c, 0xad, 0xc4, 0x68, 0x9d, 0x06, 0xa9, 0x75, 0xb1, 0xca, 0x5a, 0x16, 0xd9, 0xa5,
1992 0x65, 0xb7, 0x4d, 0x0c, 0x62, 0xc9, 0x1d, 0x51, 0x0b, 0x2f, 0xb9, 0xec, 0xce, 0x52, 0xae, 0xe0,
1993 0x06, 0x05, 0xd2, 0x2b, 0xfa, 0xd8, 0xfc, 0x85, 0x02, 0x05, 0x8a, 0xfe, 0x15, 0x3f, 0xf5, 0x0f,
1994 0x14, 0x45, 0x1f, 0xfa, 0xd8, 0x27, 0xb7, 0x8f, 0xc5, 0x5c, 0x96, 0xdc, 0xe5, 0xee, 0xea, 0x92,
1995 0x06, 0xc8, 0x93, 0xb5, 0x73, 0xce, 0x7c, 0xdf, 0x37, 0x67, 0xce, 0x9c, 0x3d, 0x9c, 0x35, 0x14,
1996 0x4e, 0x6c, 0xcb, 0x3d, 0xd6, 0xeb, 0x5d, 0xc7, 0x76, 0x6d, 0x56, 0x92, 0x4f, 0x45, 0xf1, 0x84,
1997 0x93, 0xf2, 0xa9, 0xb0, 0xdc, 0xb2, 0xed, 0x96, 0x45, 0x4b, 0x7a, 0xd7, 0x2c, 0xe9, 0x9d, 0x8e,
1998 0xed, 0xea, 0xae, 0x69, 0x77, 0x98, 0xf4, 0x2a, 0x2c, 0x29, 0xab, 0x78, 0x6a, 0xf4, 0x8e, 0x4a,
1999 0xb4, 0xdd, 0x75, 0x4f, 0x95, 0x31, 0x1f, 0x84, 0x6f, 0x53, 0x57, 0x81, 0x17, 0x86, 0x88, 0x9b,
2000 0x76, 0xbb, 0x6d, 0x77, 0xa2, 0x6d, 0xc7, 0x54, 0xb7, 0xdc, 0x63, 0x65, 0x23, 0x41, 0x9b, 0x65,
2001 0xb7, 0xcc, 0xa6, 0x6e, 0xd5, 0x0d, 0x7a, 0x62, 0x36, 0x69, 0xf4, 0xfc, 0x80, 0x6d, 0x29, 0x68,
2002 0xd3, 0x0d, 0xbd, 0xeb, 0x52, 0x47, 0x19, 0xaf, 0x07, 0x8d, 0x76, 0x97, 0x76, 0x8e, 0x2c, 0xfb,
2003 0x55, 0xfd, 0xee, 0x66, 0x8c, 0x43, 0xbb, 0x69, 0xd6, 0xdb, 0x66, 0xa3, 0x6e, 0x34, 0x94, 0xc3,
2004 0x5a, 0x84, 0x83, 0x6e, 0xe9, 0x4e, 0x7b, 0xe0, 0xb2, 0x1a, 0x74, 0x39, 0xd5, 0x3b, 0xad, 0xba,
2005 0xdd, 0xf5, 0x85, 0x94, 0xfc, 0x29, 0x01, 0xc9, 0x1d, 0x21, 0x7a, 0xcf, 0xb1, 0x7b, 0x5d, 0x5c,
2006 0x80, 0x51, 0xd3, 0xc8, 0x27, 0x56, 0x13, 0xb7, 0x67, 0xb6, 0x26, 0xfe, 0xf5, 0xf6, 0xcd, 0x4a,
2007 0x42, 0x1b, 0x35, 0x0d, 0x2c, 0x43, 0x26, 0xb8, 0x7c, 0x96, 0x1f, 0x5d, 0x1d, 0xbb, 0x9d, 0xbc,
2008 0xb7, 0x50, 0x54, 0xfb, 0xb8, 0x2f, 0xcd, 0x12, 0x6b, 0x6b, 0xe6, 0x1f, 0x6f, 0xdf, 0xac, 0x8c,
2009 0x73, 0x2c, 0x6d, 0xd6, 0xf2, 0x5b, 0x18, 0x6e, 0xc2, 0x94, 0x07, 0x31, 0x26, 0x20, 0x66, 0x3d,
2010 0x88, 0xf0, 0x5c, 0xcf, 0x93, 0x7c, 0x17, 0x52, 0x3e, 0x95, 0x0c, 0xdf, 0x83, 0x09, 0xd3, 0xa5,
2011 0x6d, 0x96, 0x4f, 0x08, 0x88, 0xb9, 0x20, 0x84, 0x70, 0xd2, 0xa4, 0x07, 0xf9, 0x25, 0xe0, 0x43,
2012 0x1e, 0x95, 0x47, 0xa6, 0xe5, 0x52, 0x47, 0xeb, 0x59, 0xf4, 0x31, 0x3d, 0x25, 0x8d, 0xa8, 0x51,
2013 0x9c, 0xe4, 0xac, 0xd9, 0x11, 0x9c, 0x86, 0x71, 0xf7, 0xb4, 0x4b, 0xb3, 0x09, 0x4c, 0xc1, 0x34,
2014 0xa3, 0x27, 0xd4, 0x31, 0xdd, 0xd3, 0xec, 0x28, 0x66, 0x20, 0xe9, 0x50, 0x66, 0xf7, 0x9c, 0x26,
2015 0xad, 0x9b, 0x46, 0x76, 0x8c, 0x9b, 0x9b, 0xba, 0x4b, 0x5b, 0xb6, 0x73, 0x9a, 0x1d, 0xc7, 0x34,
2016 0xcc, 0x48, 0xc1, 0xdc, 0x38, 0xf1, 0x60, 0xe2, 0xdf, 0x6f, 0xdf, 0xac, 0x8c, 0x90, 0x63, 0xc8,
2017 0x0c, 0x51, 0xe1, 0xa7, 0x30, 0xf6, 0x92, 0x9e, 0x8a, 0x30, 0xcf, 0xde, 0xdb, 0xf0, 0xc4, 0x87,
2018 0x05, 0x45, 0x0c, 0x69, 0x7c, 0x26, 0xce, 0xc3, 0xc4, 0x89, 0x6e, 0xf5, 0x68, 0x7e, 0x94, 0xef,
2019 0x94, 0x26, 0x1f, 0x48, 0x0d, 0x92, 0xbe, 0x09, 0x71, 0x7b, 0xb9, 0x01, 0x13, 0x4e, 0xcf, 0xea,
2020 0xef, 0xe0, 0x95, 0x18, 0x7a, 0x4d, 0x7a, 0x91, 0x4f, 0x20, 0xe5, 0xb3, 0x30, 0xdc, 0x80, 0xa9,
2021 0x23, 0xf9, 0xe7, 0x70, 0xf0, 0xfd, 0x00, 0x9e, 0x0f, 0x79, 0x01, 0x53, 0xfb, 0x76, 0xab, 0x65,
2022 0x76, 0x5a, 0x58, 0x82, 0x09, 0x8b, 0x9e, 0x50, 0x4b, 0xad, 0xfb, 0x6a, 0x51, 0x9d, 0xc4, 0x7d,
2023 0xbb, 0xb5, 0xcf, 0xc7, 0xfb, 0x7f, 0x68, 0xd2, 0x0f, 0xd7, 0x20, 0xd5, 0xd5, 0x9b, 0x2f, 0xf5,
2024 0x16, 0xad, 0x77, 0xf4, 0xb6, 0xb7, 0xd8, 0xa4, 0x1a, 0x3b, 0xd0, 0xdb, 0x94, 0x38, 0x90, 0xda,
2025 0xb6, 0x1d, 0x5a, 0xee, 0x30, 0x57, 0xef, 0x34, 0x29, 0xde, 0x84, 0xa4, 0xa9, 0xfe, 0xae, 0x0f,
2026 0x2f, 0x1e, 0x3c, 0x4b, 0xd9, 0xc0, 0x4d, 0x98, 0x94, 0x67, 0x5d, 0x80, 0x26, 0xef, 0xcd, 0x7b,
2027 0x8b, 0xf8, 0x81, 0x18, 0xad, 0xb9, 0xba, 0xdb, 0x63, 0x5b, 0x13, 0x3c, 0x15, 0x47, 0x34, 0xe5,
2028 0xfa, 0x60, 0xe2, 0xbf, 0x1c, 0x87, 0x6c, 0x41, 0xda, 0xcf, 0xc9, 0x70, 0x3d, 0x98, 0x8d, 0x7d,
2029 0x2c, 0xbf, 0x97, 0x4a, 0x47, 0x0f, 0xe3, 0xef, 0xe3, 0x30, 0xf9, 0x4c, 0x78, 0xe1, 0x75, 0x98,
2030 0x3a, 0xa1, 0x0e, 0x33, 0xed, 0x4e, 0x50, 0xae, 0x37, 0x8a, 0xf7, 0x61, 0x5a, 0xd5, 0x0e, 0x6f,
2031 0xcf, 0x32, 0xfd, 0x90, 0xcb, 0x71, 0xff, 0x99, 0xe9, 0xfb, 0x46, 0x1d, 0xda, 0xb1, 0xff, 0xff,
2032 0xd0, 0x8e, 0x5f, 0xf4, 0xd0, 0xe2, 0xf7, 0x21, 0xa5, 0x8e, 0x03, 0x3f, 0x4c, 0x2c, 0x3f, 0x21,
2033 0x66, 0x62, 0x70, 0xe6, 0xd3, 0xd3, 0x6e, 0x60, 0x76, 0xd2, 0xe8, 0x0f, 0x33, 0xdc, 0x86, 0xb4,
2034 0x42, 0x68, 0x89, 0x73, 0x9f, 0x9f, 0x8c, 0x3d, 0xee, 0x7e, 0x0c, 0x45, 0xab, 0x6a, 0xc5, 0x36,
2035 0xa4, 0x65, 0x59, 0xf4, 0xd2, 0x76, 0x2a, 0x36, 0x6d, 0x03, 0x20, 0xba, 0x3f, 0xeb, 0x7f, 0x04,
2036 0xb9, 0x41, 0x05, 0xd6, 0x5d, 0xbd, 0xa1, 0x33, 0x9a, 0x5f, 0x56, 0x40, 0xdc, 0x52, 0x7c, 0x62,
2037 0x36, 0xa4, 0x9c, 0x1d, 0xdd, 0xd5, 0xb7, 0xb2, 0x1c, 0x28, 0xe9, 0xab, 0x07, 0x5a, 0x86, 0x7b,
2038 0x71, 0x27, 0x35, 0x1b, 0x9f, 0xc3, 0x9c, 0xbf, 0x66, 0x7b, 0xa0, 0x2b, 0x6a, 0x8b, 0x04, 0xa8,
2039 0xd0, 0x76, 0x26, 0xac, 0x90, 0x25, 0xdd, 0x14, 0x82, 0x97, 0x62, 0x7f, 0x4d, 0x40, 0xb6, 0x46,
2040 0xad, 0xa3, 0xa7, 0x94, 0xb9, 0x1a, 0x65, 0x5d, 0xbb, 0xc3, 0x78, 0xe5, 0x99, 0x74, 0x28, 0xeb,
2041 0x59, 0xae, 0x3a, 0x84, 0xb7, 0xbc, 0x28, 0x0c, 0x7b, 0xfa, 0x07, 0x7a, 0x96, 0xab, 0xa9, 0x69,
2042 0xa4, 0x0a, 0xb3, 0x41, 0x0b, 0x26, 0x61, 0xaa, 0x76, 0xb8, 0xbd, 0xbd, 0x5b, 0xab, 0x65, 0x47,
2043 0xf8, 0xc3, 0xa3, 0x87, 0xe5, 0xfd, 0x43, 0x6d, 0x37, 0x9b, 0xc0, 0x1c, 0xa4, 0x0f, 0x2a, 0x4f,
2044 0xeb, 0xb5, 0xc3, 0x6a, 0xb5, 0xa2, 0x3d, 0xdd, 0xdd, 0xc9, 0x8e, 0xf2, 0xa1, 0xc3, 0x83, 0xc7,
2045 0x07, 0x95, 0xe7, 0x07, 0xf5, 0x5d, 0x4d, 0xab, 0x68, 0xd9, 0x31, 0xaf, 0x4c, 0x56, 0x20, 0x57,
2046 0x39, 0x7a, 0xd8, 0xa2, 0x1d, 0xb7, 0xd6, 0x6b, 0xb0, 0xa6, 0x63, 0x36, 0xa8, 0x83, 0x2b, 0x00,
2047 0xf6, 0x91, 0xce, 0x07, 0xfb, 0xa7, 0x59, 0x9b, 0x51, 0x23, 0x65, 0x03, 0x97, 0x60, 0x46, 0xbd,
2048 0xe1, 0x4c, 0x43, 0x55, 0x87, 0x69, 0x39, 0x50, 0x36, 0xc8, 0xc7, 0x00, 0x4f, 0x68, 0xbb, 0x41,
2049 0x1d, 0x76, 0x6c, 0x76, 0x39, 0x92, 0xc8, 0x21, 0x59, 0x49, 0x14, 0x92, 0x18, 0xe1, 0x75, 0x04,
2050 0x67, 0x45, 0xad, 0x94, 0x10, 0xa3, 0xa6, 0x71, 0xef, 0xcf, 0x25, 0x48, 0xcb, 0xf3, 0x59, 0xa3,
2051 0x0e, 0x8f, 0x35, 0x56, 0x60, 0xf6, 0xb0, 0x6b, 0xe8, 0x2e, 0xf5, 0xaa, 0x14, 0x66, 0x7c, 0xc7,
2052 0x88, 0x17, 0xb8, 0xc2, 0x62, 0x51, 0x36, 0x28, 0x45, 0xaf, 0x41, 0x29, 0xee, 0xf2, 0x06, 0x85,
2053 0xcc, 0x7f, 0xf9, 0xb7, 0x7f, 0x7e, 0x35, 0x3a, 0x8b, 0x29, 0xd1, 0xd7, 0x9c, 0xdc, 0xe5, 0xad,
2054 0x04, 0xc3, 0xe7, 0x90, 0xde, 0xa3, 0xae, 0x4f, 0x62, 0xcc, 0xf4, 0x42, 0xff, 0xc4, 0x0c, 0x7c,
2055 0x49, 0x41, 0x40, 0xce, 0x23, 0x7a, 0x90, 0xed, 0x01, 0xce, 0x0b, 0xc8, 0x4a, 0xa5, 0x3e, 0xec,
2056 0x08, 0x8c, 0x58, 0xb9, 0x2b, 0x02, 0xfb, 0x0a, 0x89, 0xc0, 0x7e, 0x90, 0x58, 0xc7, 0x1d, 0x98,
2057 0xd9, 0xa3, 0xae, 0x2a, 0x5e, 0x71, 0x9a, 0xfb, 0xf5, 0x41, 0xfa, 0x91, 0x8c, 0xc0, 0x9c, 0xc1,
2058 0x29, 0x85, 0x89, 0x3d, 0xc8, 0xed, 0x9b, 0xcc, 0x0d, 0x16, 0xd2, 0x38, 0xb4, 0x85, 0xa8, 0x8a,
2059 0xca, 0xc8, 0xdd, 0x3f, 0xfc, 0xe7, 0xcd, 0xca, 0x94, 0x2a, 0xbe, 0xe2, 0x6f, 0x94, 0x7f, 0x0b,
2060 0xb2, 0x39, 0xcc, 0x79, 0x0b, 0x30, 0xfb, 0x0c, 0x35, 0xc8, 0xec, 0xd1, 0x00, 0x2b, 0x82, 0xf7,
2061 0x1e, 0x2a, 0xef, 0x14, 0x22, 0x4b, 0x37, 0xb9, 0x26, 0xf0, 0xf2, 0xb8, 0x18, 0xc2, 0x2b, 0xbd,
2062 0x36, 0x8d, 0x2f, 0x50, 0x87, 0x14, 0x5f, 0xcb, 0x43, 0xaf, 0xf0, 0xc6, 0x2d, 0x23, 0x3b, 0x54,
2063 0xb6, 0x19, 0xb9, 0xc5, 0x55, 0xc3, 0xa0, 0xbe, 0x0b, 0x22, 0xc4, 0xac, 0x47, 0xd4, 0xaf, 0xe5,
2064 0xaf, 0x01, 0x39, 0xc5, 0x7e, 0xb0, 0x2c, 0xc7, 0x11, 0x2d, 0x46, 0x16, 0x78, 0x46, 0x3e, 0xe2,
2065 0x74, 0xb9, 0xd0, 0x6b, 0x41, 0xb0, 0x5e, 0xc5, 0x2b, 0xbe, 0xf4, 0xf4, 0x9b, 0xf1, 0x33, 0xc8,
2066 0xee, 0xd1, 0x20, 0x77, 0x20, 0x6a, 0xd1, 0xef, 0x13, 0x72, 0x43, 0xe0, 0x5e, 0xc3, 0xe5, 0x18,
2067 0x5c, 0x19, 0x3c, 0x07, 0x16, 0x43, 0x2b, 0xab, 0xda, 0x8e, 0xcb, 0xa2, 0x37, 0x46, 0xf9, 0x09,
2068 0x0f, 0x72, 0x5f, 0x25, 0x40, 0x97, 0x3f, 0x09, 0xb6, 0x1b, 0x48, 0xce, 0x62, 0x2b, 0x09, 0x4f,
2069 0xfc, 0x55, 0x02, 0xe6, 0x87, 0x57, 0xc4, 0x11, 0x71, 0x21, 0x82, 0xa6, 0x6c, 0x14, 0xe6, 0x22,
2070 0x86, 0xc9, 0xa7, 0x9c, 0x7c, 0x12, 0xc6, 0x39, 0xa4, 0xe0, 0x2e, 0xe2, 0xfb, 0xe7, 0x73, 0x97,
2071 0x5e, 0xf3, 0x7f, 0xea, 0x7c, 0xe5, 0xbf, 0x49, 0xc0, 0x95, 0xdd, 0x8e, 0xde, 0xb0, 0xe8, 0x85,
2072 0x85, 0xc4, 0x1d, 0xd9, 0x8f, 0x85, 0x80, 0x8f, 0xc8, 0xe6, 0x65, 0x04, 0x94, 0xa8, 0x20, 0xc7,
2073 0xdf, 0x25, 0x20, 0xbf, 0x63, 0xb2, 0x6f, 0x44, 0xc8, 0xf7, 0x84, 0x90, 0xfb, 0xe4, 0xc3, 0x4b,
2074 0x09, 0x31, 0x24, 0x3b, 0xfe, 0x22, 0x22, 0x17, 0x1e, 0x59, 0xf6, 0xab, 0x60, 0x2e, 0x60, 0xd1,
2075 0xff, 0x6b, 0x49, 0xd8, 0xc9, 0x96, 0xca, 0x04, 0x3e, 0x1a, 0x2e, 0x05, 0xe7, 0x65, 0x85, 0x98,
2076 0xc5, 0xb3, 0x62, 0xb9, 0x5f, 0xe2, 0x83, 0x02, 0x9e, 0x0a, 0x79, 0xcb, 0x21, 0x62, 0x31, 0x2e,
2077 0xe7, 0xc4, 0x86, 0x64, 0x43, 0x48, 0xb8, 0x45, 0x2e, 0x20, 0x81, 0x97, 0xd7, 0x5f, 0x27, 0x60,
2078 0x25, 0x42, 0xc5, 0x13, 0xea, 0x52, 0x47, 0xca, 0x58, 0x0a, 0xc8, 0x10, 0x86, 0x27, 0xb6, 0x71,
2079 0x8e, 0x8a, 0xa2, 0x50, 0x71, 0x9b, 0xbc, 0x73, 0xa6, 0x8a, 0x36, 0x07, 0x13, 0x32, 0x5e, 0xc3,
2080 0xb2, 0x78, 0x3b, 0xb9, 0xd4, 0xe1, 0xcd, 0x30, 0xab, 0x1c, 0xc5, 0x9f, 0xff, 0xe5, 0xb0, 0x20,
2081 0x31, 0x47, 0xa3, 0x5d, 0xeb, 0x94, 0xdc, 0x15, 0xcc, 0x77, 0xf0, 0xbd, 0x0b, 0x30, 0xd7, 0x19,
2082 0x9f, 0x87, 0x7f, 0x4c, 0xc0, 0x52, 0x64, 0x22, 0xa8, 0x96, 0xce, 0x4f, 0x7e, 0x25, 0xb4, 0x29,
2083 0xd2, 0x89, 0x1c, 0xf0, 0x34, 0x48, 0x43, 0x52, 0x98, 0x64, 0xff, 0x18, 0x4a, 0x8c, 0x75, 0xbc,
2084 0x7d, 0xee, 0xae, 0xa8, 0xb9, 0xf8, 0x55, 0x02, 0xd6, 0x62, 0xd2, 0x43, 0x30, 0xca, 0xcd, 0x59,
2085 0x8b, 0x96, 0x73, 0x91, 0x44, 0xd9, 0x14, 0x92, 0x36, 0xc8, 0x85, 0x25, 0xf1, 0x7d, 0x7a, 0x01,
2086 0x49, 0x1e, 0xa9, 0xf3, 0xde, 0x08, 0x99, 0x60, 0xcb, 0xcc, 0xc8, 0xbb, 0x3c, 0x16, 0x33, 0xfd,
2087 0xb6, 0x5e, 0x50, 0xe7, 0x30, 0xe3, 0x51, 0x7b, 0xa5, 0xdf, 0x80, 0xf4, 0x00, 0xbe, 0x6c, 0xc4,
2088 0x13, 0x24, 0x07, 0x5b, 0xc2, 0x48, 0x91, 0x83, 0x8b, 0x36, 0xfa, 0xac, 0xb7, 0xb2, 0xe4, 0x30,
2089 0x0d, 0x86, 0x87, 0x90, 0xd5, 0x68, 0xd3, 0xee, 0x34, 0x4d, 0x8b, 0x7a, 0x2b, 0xf1, 0x03, 0xc6,
2090 0x86, 0x6c, 0x59, 0x60, 0x2e, 0x92, 0x30, 0x26, 0x8f, 0xcd, 0xae, 0xe8, 0x54, 0x22, 0x12, 0x76,
2091 0xe8, 0xd7, 0x8b, 0x07, 0x83, 0xf3, 0x43, 0xcb, 0x97, 0x6f, 0xa8, 0x1f, 0x42, 0x6a, 0xdb, 0xa1,
2092 0xba, 0xab, 0xa4, 0xe1, 0xd0, 0xec, 0x10, 0x9a, 0xea, 0xcd, 0xc8, 0x70, 0x30, 0xb9, 0xa4, 0xe7,
2093 0x90, 0x92, 0x25, 0x3f, 0x42, 0x55, 0xdc, 0x22, 0xdf, 0x11, 0x78, 0x2b, 0x64, 0x29, 0x4a, 0x9d,
2094 0x57, 0xc4, 0x7f, 0x02, 0x69, 0x55, 0xc3, 0x2f, 0x81, 0xac, 0xde, 0xd0, 0x64, 0x39, 0x12, 0xd9,
2095 0xab, 0xca, 0xcf, 0x21, 0xa5, 0xd1, 0x86, 0x6d, 0xbb, 0xdf, 0x98, 0x66, 0x47, 0xc0, 0x71, 0xe0,
2096 0x1d, 0x6a, 0x51, 0xf7, 0x6b, 0x04, 0x63, 0x3d, 0x1a, 0xd8, 0x10, 0x70, 0xd8, 0x83, 0xf4, 0x8e,
2097 0xfd, 0xaa, 0x63, 0xd9, 0xba, 0x51, 0x6e, 0xeb, 0x2d, 0x3a, 0x78, 0x8b, 0x89, 0x47, 0xcf, 0x56,
2098 0x58, 0xf0, 0x08, 0x2b, 0x5d, 0xea, 0x88, 0xab, 0x46, 0xfe, 0xf3, 0x87, 0xdc, 0x17, 0x1c, 0x1f,
2099 0x90, 0x3b, 0x91, 0x1c, 0x26, 0x87, 0xa8, 0x1b, 0x0a, 0x83, 0x95, 0x5e, 0xf3, 0x5f, 0x14, 0x5f,
2100 0xf0, 0xcd, 0xfd, 0x32, 0x01, 0x8b, 0x7b, 0xd4, 0x0d, 0x70, 0xc8, 0x9b, 0x84, 0x78, 0x01, 0x51,
2101 0xc3, 0xe4, 0x81, 0x10, 0xf0, 0x21, 0xde, 0xbb, 0x84, 0x80, 0x12, 0x93, 0x4c, 0x3d, 0xd1, 0xac,
2102 0x05, 0xf0, 0x2e, 0xc9, 0xae, 0xea, 0x10, 0x5e, 0x66, 0xf9, 0x78, 0x24, 0x1b, 0xd4, 0x00, 0x12,
2103 0x1b, 0xda, 0xd1, 0x28, 0x36, 0x46, 0xde, 0x17, 0x74, 0x37, 0xf1, 0xc6, 0x45, 0xe8, 0xf0, 0xe7,
2104 0x30, 0xb7, 0xcd, 0x5b, 0x6f, 0xeb, 0x82, 0x2b, 0x8c, 0xdc, 0x60, 0xb5, 0xc2, 0xf5, 0x4b, 0xad,
2105 0xf0, 0xf7, 0x09, 0x98, 0x7b, 0xd8, 0x74, 0xcd, 0x13, 0xdd, 0xa5, 0x82, 0x45, 0x96, 0xf3, 0x4b,
2106 0x52, 0x6f, 0x0b, 0xea, 0x4f, 0xc8, 0x77, 0x2e, 0xb3, 0xb5, 0x72, 0xb8, 0x27, 0xf8, 0x78, 0xa2,
2107 0xfd, 0x36, 0x01, 0x39, 0x8d, 0x9e, 0x50, 0xc7, 0xfd, 0x56, 0x84, 0x38, 0x82, 0x9a, 0x0b, 0xf9,
2108 0x1c, 0x32, 0x83, 0xd7, 0x43, 0xb8, 0x6b, 0x4f, 0x7b, 0x8a, 0x64, 0xbb, 0x5e, 0x0c, 0xb5, 0xeb,
2109 0xcb, 0x58, 0x88, 0xa4, 0x97, 0x6d, 0xfa, 0x0b, 0x98, 0xf3, 0xa1, 0xb7, 0xb7, 0xed, 0xce, 0x91,
2110 0xd9, 0x0a, 0x32, 0xe4, 0xfa, 0x0c, 0x9e, 0x99, 0xdc, 0x12, 0xc8, 0x6b, 0x78, 0x3d, 0x1a, 0xb9,
2111 0x5d, 0x6f, 0x2a, 0x9c, 0x0e, 0x2c, 0xc8, 0xc8, 0x0d, 0x13, 0x84, 0x41, 0x63, 0xcb, 0xd1, 0xba,
2112 0xec, 0x2f, 0xc9, 0x79, 0x64, 0x3c, 0x58, 0x6d, 0x7f, 0xb0, 0x2e, 0xd6, 0xd6, 0x3e, 0x38, 0xb3,
2113 0xad, 0x8d, 0x8b, 0x5e, 0xbf, 0x9d, 0x9d, 0x0f, 0xf2, 0x5d, 0xa6, 0x7b, 0x7a, 0x74, 0x81, 0xee,
2114 0x89, 0xe0, 0x6a, 0x2c, 0xbf, 0xd7, 0x35, 0xd9, 0xfe, 0x45, 0xcb, 0x5b, 0xbd, 0xb8, 0x16, 0x62,
2115 0x2e, 0x7c, 0x33, 0xc8, 0x48, 0x89, 0xb3, 0xce, 0x06, 0x6f, 0x12, 0xa3, 0xdf, 0xd6, 0xd2, 0x86,
2116 0x9a, 0xb8, 0x56, 0x19, 0x40, 0x0c, 0xc5, 0x38, 0x44, 0x41, 0xd6, 0x04, 0xdc, 0x12, 0x5e, 0x8d,
2117 0x82, 0x93, 0x1d, 0x00, 0x83, 0xec, 0x60, 0x11, 0x2a, 0x8a, 0x71, 0xab, 0x98, 0x8f, 0xb8, 0x9c,
2118 0x54, 0x57, 0x15, 0x99, 0xa1, 0xeb, 0x4c, 0x79, 0xcf, 0x82, 0x0b, 0x43, 0xc4, 0x2a, 0x72, 0x8f,
2119 0x20, 0x5b, 0x73, 0x1d, 0xaa, 0xb7, 0xab, 0x7a, 0xf3, 0x25, 0x75, 0x59, 0xa5, 0xe7, 0xe2, 0x62,
2120 0x60, 0xbb, 0xa4, 0xa1, 0xd2, 0x73, 0x63, 0xd3, 0x73, 0xe4, 0x76, 0x02, 0x77, 0x45, 0x73, 0x45,
2121 0xcd, 0x13, 0xaa, 0x80, 0xca, 0x9d, 0x33, 0x2e, 0x5a, 0xc2, 0xf8, 0xe5, 0x0e, 0x19, 0xf9, 0x20,
2122 0x81, 0x8f, 0x61, 0x4e, 0xc1, 0x6c, 0x1f, 0xeb, 0x9d, 0x16, 0xdd, 0x3d, 0xa1, 0x1d, 0x37, 0x3e,
2123 0x0c, 0xf9, 0x00, 0x92, 0x6f, 0x8a, 0x00, 0x3b, 0x84, 0xd9, 0xfe, 0x26, 0xc9, 0x0f, 0x4f, 0xfe,
2124 0x5d, 0x8a, 0xba, 0xdf, 0x25, 0x24, 0x3a, 0xe5, 0x55, 0xb4, 0xe4, 0x3e, 0xd5, 0x21, 0x27, 0x3b,
2125 0x35, 0xff, 0x67, 0x90, 0xa8, 0x8b, 0xde, 0x42, 0xd4, 0x20, 0x59, 0x15, 0x14, 0x05, 0xd2, 0xdf,
2126 0x90, 0xc0, 0xbd, 0x31, 0x3f, 0xc2, 0x52, 0xb7, 0x1f, 0x3d, 0x52, 0xb7, 0x1f, 0x34, 0xa4, 0x3b,
2127 0x00, 0x2a, 0x75, 0x1b, 0x90, 0x93, 0x95, 0xe8, 0xeb, 0xe9, 0x7e, 0x57, 0x50, 0x5c, 0x2f, 0x9c,
2128 0x41, 0xc1, 0xc5, 0x7f, 0x06, 0x39, 0xd9, 0x6e, 0xc5, 0xe9, 0x8f, 0xcb, 0x22, 0xb5, 0x84, 0xf5,
2129 0xb3, 0x96, 0x50, 0x97, 0x47, 0x24, 0xf0, 0xa9, 0xe8, 0xdc, 0x23, 0xe2, 0xf7, 0xf6, 0xae, 0x1d,
2130 0x31, 0x3a, 0xfa, 0xb8, 0x2f, 0x9a, 0x79, 0xf1, 0x6a, 0x63, 0xd1, 0xcd, 0xbc, 0xb4, 0x79, 0x1d,
2131 0x22, 0x2e, 0xc5, 0xbf, 0xd8, 0x18, 0xfe, 0x18, 0xa6, 0xbd, 0x6b, 0xec, 0x00, 0x58, 0x3e, 0xee,
2132 0x3e, 0x9c, 0xdc, 0x14, 0xb0, 0xab, 0xe4, 0x5a, 0x24, 0x2c, 0xa3, 0xd6, 0x51, 0xdd, 0xe5, 0x68,
2133 0xcf, 0x44, 0xff, 0x15, 0xf8, 0x1a, 0x30, 0x94, 0x24, 0xe1, 0xcf, 0x05, 0xe1, 0x1a, 0xc4, 0x0f,
2134 0x0f, 0xf7, 0x53, 0x3f, 0x8e, 0xcd, 0x06, 0x7e, 0x0e, 0xe8, 0xa5, 0x5e, 0x0c, 0x72, 0xf4, 0x37,
2135 0x83, 0x70, 0x3c, 0x82, 0xd8, 0x22, 0xca, 0xc8, 0x20, 0x5d, 0x33, 0xdb, 0x3d, 0xcb, 0xcb, 0x41,
2136 0x5c, 0xee, 0x07, 0xc2, 0x3f, 0xac, 0xd1, 0x9f, 0xf5, 0x28, 0x73, 0xe3, 0x7a, 0x8a, 0xd0, 0x55,
2137 0x47, 0x30, 0x46, 0x0a, 0xa9, 0xce, 0x91, 0x78, 0x42, 0x6e, 0xc3, 0x4c, 0xff, 0xae, 0x1f, 0xaf,
2138 0x7a, 0x84, 0xa1, 0xaf, 0x00, 0x85, 0x78, 0x13, 0x19, 0xd9, 0x32, 0x61, 0xce, 0x76, 0x5a, 0xa2,
2139 0xda, 0x34, 0x6d, 0xc7, 0x50, 0xae, 0x5b, 0x29, 0x79, 0xf1, 0x5c, 0x15, 0x5f, 0xbe, 0x7f, 0x7a,
2140 0xa7, 0x65, 0xba, 0xc7, 0xbd, 0x06, 0x57, 0x5d, 0xf2, 0x3c, 0xd5, 0xff, 0x40, 0xd8, 0x50, 0x1f,
2141 0xc7, 0x5b, 0xb6, 0x1a, 0xf8, 0xcb, 0xe8, 0x62, 0xc5, 0x03, 0x7b, 0xe6, 0xbf, 0xc4, 0xae, 0x8e,
2142 0x56, 0xc7, 0xaa, 0xe3, 0xd5, 0x89, 0xea, 0x64, 0x75, 0xaa, 0x3a, 0xdd, 0x98, 0x14, 0x13, 0x37,
2143 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x83, 0xb9, 0x38, 0xd8, 0x20, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002144}
2145
2146// Reference imports to suppress errors if they are not otherwise used.
2147var _ context.Context
2148var _ grpc.ClientConn
2149
2150// This is a compile-time assertion to ensure that this generated file
2151// is compatible with the grpc package it is being compiled against.
2152const _ = grpc.SupportPackageIsVersion4
2153
2154// VolthaServiceClient is the client API for VolthaService service.
2155//
2156// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2157type VolthaServiceClient interface {
2158 // Get more information on a given physical device
2159 UpdateLogLevel(ctx context.Context, in *Logging, opts ...grpc.CallOption) (*empty.Empty, error)
2160 // Get the membership group of a Voltha Core
2161 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2162 // Set the membership group of a Voltha Core
2163 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2164 // Get high level information on the Voltha cluster
2165 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2166 // List all Voltha cluster core instances
2167 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2168 // Get details on a Voltha cluster instance
2169 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2170 // List all active adapters (plugins) in the Voltha cluster
2171 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2172 // List all logical devices managed by the Voltha cluster
2173 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2174 // Get additional information on a given logical device
2175 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2176 // List ports of a logical device
2177 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2178 // Gets a logical device port
2179 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2180 // Enables a logical device port
2181 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2182 // Disables a logical device port
2183 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2184 // List all flows of a logical device
2185 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2186 // Update flow table for logical device
2187 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2188 // Update meter table for logical device
2189 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2190 // Get all meter stats for logical device
2191 GetMeterStatsOfLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.MeterStatsReply, error)
2192 // List all flow groups of a logical device
2193 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2194 // Update group table for device
2195 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2196 // List all physical devices controlled by the Voltha cluster
2197 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2198 // List all physical devices IDs controlled by the Voltha cluster
2199 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2200 // Request to a voltha Core to reconcile a set of devices based on their IDs
2201 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2202 // Get more information on a given physical device
2203 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2204 // Pre-provision a new physical device
2205 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2206 // Enable a device. If the device was in pre-provisioned state then it
2207 // will transition to ENABLED state. If it was is DISABLED state then it
2208 // will transition to ENABLED state as well.
2209 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2210 // Disable a device
2211 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2212 // Reboot a device
2213 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2214 // Delete a device
2215 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2216 // Request an image download to the standby partition
2217 // of a device.
2218 // Note that the call is expected to be non-blocking.
2219 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2220 // Get image download status on a device
2221 // The request retrieves progress on device and updates db record
2222 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2223 // Get image download db record
2224 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2225 // List image download db records for a given device
2226 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2227 // Cancel an existing image download process on a device
2228 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2229 // Activate the specified image at a standby partition
2230 // to active partition.
2231 // Depending on the device implementation, this call
2232 // may or may not cause device reboot.
2233 // If no reboot, then a reboot is required to make the
2234 // activated image running on device
2235 // Note that the call is expected to be non-blocking.
2236 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2237 // Revert the specified image at standby partition
2238 // to active partition, and revert to previous image
2239 // Depending on the device implementation, this call
2240 // may or may not cause device reboot.
2241 // If no reboot, then a reboot is required to make the
2242 // previous image running on device
2243 // Note that the call is expected to be non-blocking.
2244 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2245 // List ports of a device
2246 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2247 // List pm config of a device
2248 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2249 // Update the pm config of a device
2250 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2251 // List all flows of a device
2252 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2253 // List all flow groups of a device
2254 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2255 // List device types known to Voltha
2256 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2257 // Get additional information on a device type
2258 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2259 // List all device sharding groups
2260 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2261 // Stream control packets to the dataplane
2262 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2263 // Receive control packet stream
2264 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2265 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2266 // Get additional information on a device group
2267 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
2268 CreateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error)
2269 GetAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*AlarmFilter, error)
2270 UpdateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error)
2271 DeleteAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2272 ListAlarmFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AlarmFilters, error)
2273 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2274 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2275 // OpenOMCI MIB information
2276 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2277 // OpenOMCI ALARM information
2278 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2279 // Simulate an Alarm
2280 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2281 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
2282}
2283
2284type volthaServiceClient struct {
2285 cc *grpc.ClientConn
2286}
2287
2288func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2289 return &volthaServiceClient{cc}
2290}
2291
2292func (c *volthaServiceClient) UpdateLogLevel(ctx context.Context, in *Logging, opts ...grpc.CallOption) (*empty.Empty, error) {
2293 out := new(empty.Empty)
2294 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogLevel", in, out, opts...)
2295 if err != nil {
2296 return nil, err
2297 }
2298 return out, nil
2299}
2300
2301func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2302 out := new(Membership)
2303 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2304 if err != nil {
2305 return nil, err
2306 }
2307 return out, nil
2308}
2309
2310func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2311 out := new(empty.Empty)
2312 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2313 if err != nil {
2314 return nil, err
2315 }
2316 return out, nil
2317}
2318
2319func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2320 out := new(Voltha)
2321 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2322 if err != nil {
2323 return nil, err
2324 }
2325 return out, nil
2326}
2327
2328func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2329 out := new(CoreInstances)
2330 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2331 if err != nil {
2332 return nil, err
2333 }
2334 return out, nil
2335}
2336
2337func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2338 out := new(CoreInstance)
2339 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2340 if err != nil {
2341 return nil, err
2342 }
2343 return out, nil
2344}
2345
2346func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2347 out := new(Adapters)
2348 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2349 if err != nil {
2350 return nil, err
2351 }
2352 return out, nil
2353}
2354
2355func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2356 out := new(LogicalDevices)
2357 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2358 if err != nil {
2359 return nil, err
2360 }
2361 return out, nil
2362}
2363
2364func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2365 out := new(LogicalDevice)
2366 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2367 if err != nil {
2368 return nil, err
2369 }
2370 return out, nil
2371}
2372
2373func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2374 out := new(LogicalPorts)
2375 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2376 if err != nil {
2377 return nil, err
2378 }
2379 return out, nil
2380}
2381
2382func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2383 out := new(LogicalPort)
2384 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2385 if err != nil {
2386 return nil, err
2387 }
2388 return out, nil
2389}
2390
2391func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2392 out := new(empty.Empty)
2393 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2394 if err != nil {
2395 return nil, err
2396 }
2397 return out, nil
2398}
2399
2400func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2401 out := new(empty.Empty)
2402 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2403 if err != nil {
2404 return nil, err
2405 }
2406 return out, nil
2407}
2408
2409func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2410 out := new(openflow_13.Flows)
2411 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2412 if err != nil {
2413 return nil, err
2414 }
2415 return out, nil
2416}
2417
2418func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2419 out := new(empty.Empty)
2420 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2421 if err != nil {
2422 return nil, err
2423 }
2424 return out, nil
2425}
2426
2427func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2428 out := new(empty.Empty)
2429 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2430 if err != nil {
2431 return nil, err
2432 }
2433 return out, nil
2434}
2435
2436func (c *volthaServiceClient) GetMeterStatsOfLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.MeterStatsReply, error) {
2437 out := new(openflow_13.MeterStatsReply)
2438 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMeterStatsOfLogicalDevice", in, out, opts...)
2439 if err != nil {
2440 return nil, err
2441 }
2442 return out, nil
2443}
2444
2445func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2446 out := new(openflow_13.FlowGroups)
2447 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2448 if err != nil {
2449 return nil, err
2450 }
2451 return out, nil
2452}
2453
2454func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2455 out := new(empty.Empty)
2456 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2457 if err != nil {
2458 return nil, err
2459 }
2460 return out, nil
2461}
2462
2463func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2464 out := new(Devices)
2465 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2466 if err != nil {
2467 return nil, err
2468 }
2469 return out, nil
2470}
2471
2472func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2473 out := new(common.IDs)
2474 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2475 if err != nil {
2476 return nil, err
2477 }
2478 return out, nil
2479}
2480
2481func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2482 out := new(empty.Empty)
2483 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2484 if err != nil {
2485 return nil, err
2486 }
2487 return out, nil
2488}
2489
2490func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2491 out := new(Device)
2492 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2493 if err != nil {
2494 return nil, err
2495 }
2496 return out, nil
2497}
2498
2499func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2500 out := new(Device)
2501 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2502 if err != nil {
2503 return nil, err
2504 }
2505 return out, nil
2506}
2507
2508func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2509 out := new(empty.Empty)
2510 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2511 if err != nil {
2512 return nil, err
2513 }
2514 return out, nil
2515}
2516
2517func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2518 out := new(empty.Empty)
2519 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2520 if err != nil {
2521 return nil, err
2522 }
2523 return out, nil
2524}
2525
2526func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2527 out := new(empty.Empty)
2528 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2529 if err != nil {
2530 return nil, err
2531 }
2532 return out, nil
2533}
2534
2535func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2536 out := new(empty.Empty)
2537 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2538 if err != nil {
2539 return nil, err
2540 }
2541 return out, nil
2542}
2543
2544func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2545 out := new(common.OperationResp)
2546 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2547 if err != nil {
2548 return nil, err
2549 }
2550 return out, nil
2551}
2552
2553func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2554 out := new(ImageDownload)
2555 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2556 if err != nil {
2557 return nil, err
2558 }
2559 return out, nil
2560}
2561
2562func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2563 out := new(ImageDownload)
2564 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2565 if err != nil {
2566 return nil, err
2567 }
2568 return out, nil
2569}
2570
2571func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2572 out := new(ImageDownloads)
2573 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2574 if err != nil {
2575 return nil, err
2576 }
2577 return out, nil
2578}
2579
2580func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2581 out := new(common.OperationResp)
2582 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2583 if err != nil {
2584 return nil, err
2585 }
2586 return out, nil
2587}
2588
2589func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2590 out := new(common.OperationResp)
2591 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2592 if err != nil {
2593 return nil, err
2594 }
2595 return out, nil
2596}
2597
2598func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2599 out := new(common.OperationResp)
2600 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2601 if err != nil {
2602 return nil, err
2603 }
2604 return out, nil
2605}
2606
2607func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2608 out := new(Ports)
2609 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2610 if err != nil {
2611 return nil, err
2612 }
2613 return out, nil
2614}
2615
2616func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2617 out := new(PmConfigs)
2618 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2619 if err != nil {
2620 return nil, err
2621 }
2622 return out, nil
2623}
2624
2625func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2626 out := new(empty.Empty)
2627 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2628 if err != nil {
2629 return nil, err
2630 }
2631 return out, nil
2632}
2633
2634func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2635 out := new(openflow_13.Flows)
2636 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2637 if err != nil {
2638 return nil, err
2639 }
2640 return out, nil
2641}
2642
2643func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2644 out := new(openflow_13.FlowGroups)
2645 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2646 if err != nil {
2647 return nil, err
2648 }
2649 return out, nil
2650}
2651
2652func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2653 out := new(DeviceTypes)
2654 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2655 if err != nil {
2656 return nil, err
2657 }
2658 return out, nil
2659}
2660
2661func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2662 out := new(DeviceType)
2663 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2664 if err != nil {
2665 return nil, err
2666 }
2667 return out, nil
2668}
2669
2670func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2671 out := new(DeviceGroups)
2672 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2673 if err != nil {
2674 return nil, err
2675 }
2676 return out, nil
2677}
2678
2679func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2680 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2681 if err != nil {
2682 return nil, err
2683 }
2684 x := &volthaServiceStreamPacketsOutClient{stream}
2685 return x, nil
2686}
2687
2688type VolthaService_StreamPacketsOutClient interface {
2689 Send(*openflow_13.PacketOut) error
2690 CloseAndRecv() (*empty.Empty, error)
2691 grpc.ClientStream
2692}
2693
2694type volthaServiceStreamPacketsOutClient struct {
2695 grpc.ClientStream
2696}
2697
2698func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2699 return x.ClientStream.SendMsg(m)
2700}
2701
2702func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2703 if err := x.ClientStream.CloseSend(); err != nil {
2704 return nil, err
2705 }
2706 m := new(empty.Empty)
2707 if err := x.ClientStream.RecvMsg(m); err != nil {
2708 return nil, err
2709 }
2710 return m, nil
2711}
2712
2713func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2714 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2715 if err != nil {
2716 return nil, err
2717 }
2718 x := &volthaServiceReceivePacketsInClient{stream}
2719 if err := x.ClientStream.SendMsg(in); err != nil {
2720 return nil, err
2721 }
2722 if err := x.ClientStream.CloseSend(); err != nil {
2723 return nil, err
2724 }
2725 return x, nil
2726}
2727
2728type VolthaService_ReceivePacketsInClient interface {
2729 Recv() (*openflow_13.PacketIn, error)
2730 grpc.ClientStream
2731}
2732
2733type volthaServiceReceivePacketsInClient struct {
2734 grpc.ClientStream
2735}
2736
2737func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2738 m := new(openflow_13.PacketIn)
2739 if err := x.ClientStream.RecvMsg(m); err != nil {
2740 return nil, err
2741 }
2742 return m, nil
2743}
2744
2745func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2746 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2747 if err != nil {
2748 return nil, err
2749 }
2750 x := &volthaServiceReceiveChangeEventsClient{stream}
2751 if err := x.ClientStream.SendMsg(in); err != nil {
2752 return nil, err
2753 }
2754 if err := x.ClientStream.CloseSend(); err != nil {
2755 return nil, err
2756 }
2757 return x, nil
2758}
2759
2760type VolthaService_ReceiveChangeEventsClient interface {
2761 Recv() (*openflow_13.ChangeEvent, error)
2762 grpc.ClientStream
2763}
2764
2765type volthaServiceReceiveChangeEventsClient struct {
2766 grpc.ClientStream
2767}
2768
2769func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2770 m := new(openflow_13.ChangeEvent)
2771 if err := x.ClientStream.RecvMsg(m); err != nil {
2772 return nil, err
2773 }
2774 return m, nil
2775}
2776
2777func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2778 out := new(DeviceGroup)
2779 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2780 if err != nil {
2781 return nil, err
2782 }
2783 return out, nil
2784}
2785
2786func (c *volthaServiceClient) CreateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error) {
2787 out := new(AlarmFilter)
2788 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateAlarmFilter", in, out, opts...)
2789 if err != nil {
2790 return nil, err
2791 }
2792 return out, nil
2793}
2794
2795func (c *volthaServiceClient) GetAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*AlarmFilter, error) {
2796 out := new(AlarmFilter)
2797 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmFilter", in, out, opts...)
2798 if err != nil {
2799 return nil, err
2800 }
2801 return out, nil
2802}
2803
2804func (c *volthaServiceClient) UpdateAlarmFilter(ctx context.Context, in *AlarmFilter, opts ...grpc.CallOption) (*AlarmFilter, error) {
2805 out := new(AlarmFilter)
2806 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateAlarmFilter", in, out, opts...)
2807 if err != nil {
2808 return nil, err
2809 }
2810 return out, nil
2811}
2812
2813func (c *volthaServiceClient) DeleteAlarmFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2814 out := new(empty.Empty)
2815 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteAlarmFilter", in, out, opts...)
2816 if err != nil {
2817 return nil, err
2818 }
2819 return out, nil
2820}
2821
2822func (c *volthaServiceClient) ListAlarmFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AlarmFilters, error) {
2823 out := new(AlarmFilters)
2824 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAlarmFilters", in, out, opts...)
2825 if err != nil {
2826 return nil, err
2827 }
2828 return out, nil
2829}
2830
2831func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
2832 out := new(Images)
2833 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
2834 if err != nil {
2835 return nil, err
2836 }
2837 return out, nil
2838}
2839
2840func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
2841 out := new(SelfTestResponse)
2842 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
2843 if err != nil {
2844 return nil, err
2845 }
2846 return out, nil
2847}
2848
2849func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
2850 out := new(omci.MibDeviceData)
2851 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
2852 if err != nil {
2853 return nil, err
2854 }
2855 return out, nil
2856}
2857
2858func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
2859 out := new(omci.AlarmDeviceData)
2860 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
2861 if err != nil {
2862 return nil, err
2863 }
2864 return out, nil
2865}
2866
2867func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
2868 out := new(common.OperationResp)
2869 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
2870 if err != nil {
2871 return nil, err
2872 }
2873 return out, nil
2874}
2875
2876func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
2877 out := new(OfAgentSubscriber)
2878 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
2879 if err != nil {
2880 return nil, err
2881 }
2882 return out, nil
2883}
2884
2885// VolthaServiceServer is the server API for VolthaService service.
2886type VolthaServiceServer interface {
2887 // Get more information on a given physical device
2888 UpdateLogLevel(context.Context, *Logging) (*empty.Empty, error)
2889 // Get the membership group of a Voltha Core
2890 GetMembership(context.Context, *empty.Empty) (*Membership, error)
2891 // Set the membership group of a Voltha Core
2892 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
2893 // Get high level information on the Voltha cluster
2894 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
2895 // List all Voltha cluster core instances
2896 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
2897 // Get details on a Voltha cluster instance
2898 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
2899 // List all active adapters (plugins) in the Voltha cluster
2900 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
2901 // List all logical devices managed by the Voltha cluster
2902 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
2903 // Get additional information on a given logical device
2904 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
2905 // List ports of a logical device
2906 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
2907 // Gets a logical device port
2908 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
2909 // Enables a logical device port
2910 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2911 // Disables a logical device port
2912 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2913 // List all flows of a logical device
2914 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2915 // Update flow table for logical device
2916 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
2917 // Update meter table for logical device
2918 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
2919 // Get all meter stats for logical device
2920 GetMeterStatsOfLogicalDevice(context.Context, *common.ID) (*openflow_13.MeterStatsReply, error)
2921 // List all flow groups of a logical device
2922 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2923 // Update group table for device
2924 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
2925 // List all physical devices controlled by the Voltha cluster
2926 ListDevices(context.Context, *empty.Empty) (*Devices, error)
2927 // List all physical devices IDs controlled by the Voltha cluster
2928 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
2929 // Request to a voltha Core to reconcile a set of devices based on their IDs
2930 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
2931 // Get more information on a given physical device
2932 GetDevice(context.Context, *common.ID) (*Device, error)
2933 // Pre-provision a new physical device
2934 CreateDevice(context.Context, *Device) (*Device, error)
2935 // Enable a device. If the device was in pre-provisioned state then it
2936 // will transition to ENABLED state. If it was is DISABLED state then it
2937 // will transition to ENABLED state as well.
2938 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
2939 // Disable a device
2940 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
2941 // Reboot a device
2942 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
2943 // Delete a device
2944 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
2945 // Request an image download to the standby partition
2946 // of a device.
2947 // Note that the call is expected to be non-blocking.
2948 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
2949 // Get image download status on a device
2950 // The request retrieves progress on device and updates db record
2951 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
2952 // Get image download db record
2953 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
2954 // List image download db records for a given device
2955 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
2956 // Cancel an existing image download process on a device
2957 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
2958 // Activate the specified image at a standby partition
2959 // to active partition.
2960 // Depending on the device implementation, this call
2961 // may or may not cause device reboot.
2962 // If no reboot, then a reboot is required to make the
2963 // activated image running on device
2964 // Note that the call is expected to be non-blocking.
2965 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
2966 // Revert the specified image at standby partition
2967 // to active partition, and revert to previous image
2968 // Depending on the device implementation, this call
2969 // may or may not cause device reboot.
2970 // If no reboot, then a reboot is required to make the
2971 // previous image running on device
2972 // Note that the call is expected to be non-blocking.
2973 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
2974 // List ports of a device
2975 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
2976 // List pm config of a device
2977 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
2978 // Update the pm config of a device
2979 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
2980 // List all flows of a device
2981 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2982 // List all flow groups of a device
2983 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2984 // List device types known to Voltha
2985 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
2986 // Get additional information on a device type
2987 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
2988 // List all device sharding groups
2989 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
2990 // Stream control packets to the dataplane
2991 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
2992 // Receive control packet stream
2993 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
2994 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
2995 // Get additional information on a device group
2996 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
2997 CreateAlarmFilter(context.Context, *AlarmFilter) (*AlarmFilter, error)
2998 GetAlarmFilter(context.Context, *common.ID) (*AlarmFilter, error)
2999 UpdateAlarmFilter(context.Context, *AlarmFilter) (*AlarmFilter, error)
3000 DeleteAlarmFilter(context.Context, *common.ID) (*empty.Empty, error)
3001 ListAlarmFilters(context.Context, *empty.Empty) (*AlarmFilters, error)
3002 GetImages(context.Context, *common.ID) (*Images, error)
3003 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3004 // OpenOMCI MIB information
3005 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3006 // OpenOMCI ALARM information
3007 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3008 // Simulate an Alarm
3009 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3010 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
3011}
3012
3013func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3014 s.RegisterService(&_VolthaService_serviceDesc, srv)
3015}
3016
3017func _VolthaService_UpdateLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3018 in := new(Logging)
3019 if err := dec(in); err != nil {
3020 return nil, err
3021 }
3022 if interceptor == nil {
3023 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, in)
3024 }
3025 info := &grpc.UnaryServerInfo{
3026 Server: srv,
3027 FullMethod: "/voltha.VolthaService/UpdateLogLevel",
3028 }
3029 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3030 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, req.(*Logging))
3031 }
3032 return interceptor(ctx, in, info, handler)
3033}
3034
3035func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3036 in := new(empty.Empty)
3037 if err := dec(in); err != nil {
3038 return nil, err
3039 }
3040 if interceptor == nil {
3041 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3042 }
3043 info := &grpc.UnaryServerInfo{
3044 Server: srv,
3045 FullMethod: "/voltha.VolthaService/GetMembership",
3046 }
3047 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3048 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3049 }
3050 return interceptor(ctx, in, info, handler)
3051}
3052
3053func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3054 in := new(Membership)
3055 if err := dec(in); err != nil {
3056 return nil, err
3057 }
3058 if interceptor == nil {
3059 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3060 }
3061 info := &grpc.UnaryServerInfo{
3062 Server: srv,
3063 FullMethod: "/voltha.VolthaService/UpdateMembership",
3064 }
3065 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3066 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3067 }
3068 return interceptor(ctx, in, info, handler)
3069}
3070
3071func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3072 in := new(empty.Empty)
3073 if err := dec(in); err != nil {
3074 return nil, err
3075 }
3076 if interceptor == nil {
3077 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3078 }
3079 info := &grpc.UnaryServerInfo{
3080 Server: srv,
3081 FullMethod: "/voltha.VolthaService/GetVoltha",
3082 }
3083 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3084 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3085 }
3086 return interceptor(ctx, in, info, handler)
3087}
3088
3089func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3090 in := new(empty.Empty)
3091 if err := dec(in); err != nil {
3092 return nil, err
3093 }
3094 if interceptor == nil {
3095 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3096 }
3097 info := &grpc.UnaryServerInfo{
3098 Server: srv,
3099 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3100 }
3101 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3102 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3103 }
3104 return interceptor(ctx, in, info, handler)
3105}
3106
3107func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3108 in := new(common.ID)
3109 if err := dec(in); err != nil {
3110 return nil, err
3111 }
3112 if interceptor == nil {
3113 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3114 }
3115 info := &grpc.UnaryServerInfo{
3116 Server: srv,
3117 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3118 }
3119 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3120 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3121 }
3122 return interceptor(ctx, in, info, handler)
3123}
3124
3125func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3126 in := new(empty.Empty)
3127 if err := dec(in); err != nil {
3128 return nil, err
3129 }
3130 if interceptor == nil {
3131 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3132 }
3133 info := &grpc.UnaryServerInfo{
3134 Server: srv,
3135 FullMethod: "/voltha.VolthaService/ListAdapters",
3136 }
3137 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3138 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3139 }
3140 return interceptor(ctx, in, info, handler)
3141}
3142
3143func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3144 in := new(empty.Empty)
3145 if err := dec(in); err != nil {
3146 return nil, err
3147 }
3148 if interceptor == nil {
3149 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3150 }
3151 info := &grpc.UnaryServerInfo{
3152 Server: srv,
3153 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3154 }
3155 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3156 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3157 }
3158 return interceptor(ctx, in, info, handler)
3159}
3160
3161func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3162 in := new(common.ID)
3163 if err := dec(in); err != nil {
3164 return nil, err
3165 }
3166 if interceptor == nil {
3167 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3168 }
3169 info := &grpc.UnaryServerInfo{
3170 Server: srv,
3171 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3172 }
3173 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3174 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3175 }
3176 return interceptor(ctx, in, info, handler)
3177}
3178
3179func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3180 in := new(common.ID)
3181 if err := dec(in); err != nil {
3182 return nil, err
3183 }
3184 if interceptor == nil {
3185 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3186 }
3187 info := &grpc.UnaryServerInfo{
3188 Server: srv,
3189 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3190 }
3191 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3192 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3193 }
3194 return interceptor(ctx, in, info, handler)
3195}
3196
3197func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3198 in := new(LogicalPortId)
3199 if err := dec(in); err != nil {
3200 return nil, err
3201 }
3202 if interceptor == nil {
3203 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3204 }
3205 info := &grpc.UnaryServerInfo{
3206 Server: srv,
3207 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3208 }
3209 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3210 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3211 }
3212 return interceptor(ctx, in, info, handler)
3213}
3214
3215func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3216 in := new(LogicalPortId)
3217 if err := dec(in); err != nil {
3218 return nil, err
3219 }
3220 if interceptor == nil {
3221 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3222 }
3223 info := &grpc.UnaryServerInfo{
3224 Server: srv,
3225 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3226 }
3227 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3228 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3229 }
3230 return interceptor(ctx, in, info, handler)
3231}
3232
3233func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3234 in := new(LogicalPortId)
3235 if err := dec(in); err != nil {
3236 return nil, err
3237 }
3238 if interceptor == nil {
3239 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3240 }
3241 info := &grpc.UnaryServerInfo{
3242 Server: srv,
3243 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3244 }
3245 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3246 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3247 }
3248 return interceptor(ctx, in, info, handler)
3249}
3250
3251func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3252 in := new(common.ID)
3253 if err := dec(in); err != nil {
3254 return nil, err
3255 }
3256 if interceptor == nil {
3257 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3258 }
3259 info := &grpc.UnaryServerInfo{
3260 Server: srv,
3261 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3262 }
3263 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3264 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3265 }
3266 return interceptor(ctx, in, info, handler)
3267}
3268
3269func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3270 in := new(openflow_13.FlowTableUpdate)
3271 if err := dec(in); err != nil {
3272 return nil, err
3273 }
3274 if interceptor == nil {
3275 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3276 }
3277 info := &grpc.UnaryServerInfo{
3278 Server: srv,
3279 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3280 }
3281 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3282 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3283 }
3284 return interceptor(ctx, in, info, handler)
3285}
3286
3287func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3288 in := new(openflow_13.MeterModUpdate)
3289 if err := dec(in); err != nil {
3290 return nil, err
3291 }
3292 if interceptor == nil {
3293 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3294 }
3295 info := &grpc.UnaryServerInfo{
3296 Server: srv,
3297 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3298 }
3299 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3300 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3301 }
3302 return interceptor(ctx, in, info, handler)
3303}
3304
3305func _VolthaService_GetMeterStatsOfLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3306 in := new(common.ID)
3307 if err := dec(in); err != nil {
3308 return nil, err
3309 }
3310 if interceptor == nil {
3311 return srv.(VolthaServiceServer).GetMeterStatsOfLogicalDevice(ctx, in)
3312 }
3313 info := &grpc.UnaryServerInfo{
3314 Server: srv,
3315 FullMethod: "/voltha.VolthaService/GetMeterStatsOfLogicalDevice",
3316 }
3317 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3318 return srv.(VolthaServiceServer).GetMeterStatsOfLogicalDevice(ctx, req.(*common.ID))
3319 }
3320 return interceptor(ctx, in, info, handler)
3321}
3322
3323func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3324 in := new(common.ID)
3325 if err := dec(in); err != nil {
3326 return nil, err
3327 }
3328 if interceptor == nil {
3329 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3330 }
3331 info := &grpc.UnaryServerInfo{
3332 Server: srv,
3333 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3334 }
3335 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3336 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3337 }
3338 return interceptor(ctx, in, info, handler)
3339}
3340
3341func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3342 in := new(openflow_13.FlowGroupTableUpdate)
3343 if err := dec(in); err != nil {
3344 return nil, err
3345 }
3346 if interceptor == nil {
3347 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3348 }
3349 info := &grpc.UnaryServerInfo{
3350 Server: srv,
3351 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3352 }
3353 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3354 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3355 }
3356 return interceptor(ctx, in, info, handler)
3357}
3358
3359func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3360 in := new(empty.Empty)
3361 if err := dec(in); err != nil {
3362 return nil, err
3363 }
3364 if interceptor == nil {
3365 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3366 }
3367 info := &grpc.UnaryServerInfo{
3368 Server: srv,
3369 FullMethod: "/voltha.VolthaService/ListDevices",
3370 }
3371 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3372 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3373 }
3374 return interceptor(ctx, in, info, handler)
3375}
3376
3377func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3378 in := new(empty.Empty)
3379 if err := dec(in); err != nil {
3380 return nil, err
3381 }
3382 if interceptor == nil {
3383 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3384 }
3385 info := &grpc.UnaryServerInfo{
3386 Server: srv,
3387 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3388 }
3389 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3390 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3391 }
3392 return interceptor(ctx, in, info, handler)
3393}
3394
3395func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3396 in := new(common.IDs)
3397 if err := dec(in); err != nil {
3398 return nil, err
3399 }
3400 if interceptor == nil {
3401 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3402 }
3403 info := &grpc.UnaryServerInfo{
3404 Server: srv,
3405 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3406 }
3407 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3408 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3409 }
3410 return interceptor(ctx, in, info, handler)
3411}
3412
3413func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3414 in := new(common.ID)
3415 if err := dec(in); err != nil {
3416 return nil, err
3417 }
3418 if interceptor == nil {
3419 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3420 }
3421 info := &grpc.UnaryServerInfo{
3422 Server: srv,
3423 FullMethod: "/voltha.VolthaService/GetDevice",
3424 }
3425 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3426 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3427 }
3428 return interceptor(ctx, in, info, handler)
3429}
3430
3431func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3432 in := new(Device)
3433 if err := dec(in); err != nil {
3434 return nil, err
3435 }
3436 if interceptor == nil {
3437 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3438 }
3439 info := &grpc.UnaryServerInfo{
3440 Server: srv,
3441 FullMethod: "/voltha.VolthaService/CreateDevice",
3442 }
3443 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3444 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3445 }
3446 return interceptor(ctx, in, info, handler)
3447}
3448
3449func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3450 in := new(common.ID)
3451 if err := dec(in); err != nil {
3452 return nil, err
3453 }
3454 if interceptor == nil {
3455 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3456 }
3457 info := &grpc.UnaryServerInfo{
3458 Server: srv,
3459 FullMethod: "/voltha.VolthaService/EnableDevice",
3460 }
3461 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3462 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3463 }
3464 return interceptor(ctx, in, info, handler)
3465}
3466
3467func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3468 in := new(common.ID)
3469 if err := dec(in); err != nil {
3470 return nil, err
3471 }
3472 if interceptor == nil {
3473 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3474 }
3475 info := &grpc.UnaryServerInfo{
3476 Server: srv,
3477 FullMethod: "/voltha.VolthaService/DisableDevice",
3478 }
3479 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3480 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3481 }
3482 return interceptor(ctx, in, info, handler)
3483}
3484
3485func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3486 in := new(common.ID)
3487 if err := dec(in); err != nil {
3488 return nil, err
3489 }
3490 if interceptor == nil {
3491 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3492 }
3493 info := &grpc.UnaryServerInfo{
3494 Server: srv,
3495 FullMethod: "/voltha.VolthaService/RebootDevice",
3496 }
3497 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3498 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3499 }
3500 return interceptor(ctx, in, info, handler)
3501}
3502
3503func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3504 in := new(common.ID)
3505 if err := dec(in); err != nil {
3506 return nil, err
3507 }
3508 if interceptor == nil {
3509 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3510 }
3511 info := &grpc.UnaryServerInfo{
3512 Server: srv,
3513 FullMethod: "/voltha.VolthaService/DeleteDevice",
3514 }
3515 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3516 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3517 }
3518 return interceptor(ctx, in, info, handler)
3519}
3520
3521func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3522 in := new(ImageDownload)
3523 if err := dec(in); err != nil {
3524 return nil, err
3525 }
3526 if interceptor == nil {
3527 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3528 }
3529 info := &grpc.UnaryServerInfo{
3530 Server: srv,
3531 FullMethod: "/voltha.VolthaService/DownloadImage",
3532 }
3533 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3534 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3535 }
3536 return interceptor(ctx, in, info, handler)
3537}
3538
3539func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3540 in := new(ImageDownload)
3541 if err := dec(in); err != nil {
3542 return nil, err
3543 }
3544 if interceptor == nil {
3545 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3546 }
3547 info := &grpc.UnaryServerInfo{
3548 Server: srv,
3549 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3550 }
3551 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3552 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3553 }
3554 return interceptor(ctx, in, info, handler)
3555}
3556
3557func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3558 in := new(ImageDownload)
3559 if err := dec(in); err != nil {
3560 return nil, err
3561 }
3562 if interceptor == nil {
3563 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3564 }
3565 info := &grpc.UnaryServerInfo{
3566 Server: srv,
3567 FullMethod: "/voltha.VolthaService/GetImageDownload",
3568 }
3569 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3570 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3571 }
3572 return interceptor(ctx, in, info, handler)
3573}
3574
3575func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3576 in := new(common.ID)
3577 if err := dec(in); err != nil {
3578 return nil, err
3579 }
3580 if interceptor == nil {
3581 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3582 }
3583 info := &grpc.UnaryServerInfo{
3584 Server: srv,
3585 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3586 }
3587 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3588 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3589 }
3590 return interceptor(ctx, in, info, handler)
3591}
3592
3593func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3594 in := new(ImageDownload)
3595 if err := dec(in); err != nil {
3596 return nil, err
3597 }
3598 if interceptor == nil {
3599 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3600 }
3601 info := &grpc.UnaryServerInfo{
3602 Server: srv,
3603 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3604 }
3605 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3606 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3607 }
3608 return interceptor(ctx, in, info, handler)
3609}
3610
3611func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3612 in := new(ImageDownload)
3613 if err := dec(in); err != nil {
3614 return nil, err
3615 }
3616 if interceptor == nil {
3617 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3618 }
3619 info := &grpc.UnaryServerInfo{
3620 Server: srv,
3621 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3622 }
3623 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3624 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3625 }
3626 return interceptor(ctx, in, info, handler)
3627}
3628
3629func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3630 in := new(ImageDownload)
3631 if err := dec(in); err != nil {
3632 return nil, err
3633 }
3634 if interceptor == nil {
3635 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3636 }
3637 info := &grpc.UnaryServerInfo{
3638 Server: srv,
3639 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3640 }
3641 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3642 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3643 }
3644 return interceptor(ctx, in, info, handler)
3645}
3646
3647func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3648 in := new(common.ID)
3649 if err := dec(in); err != nil {
3650 return nil, err
3651 }
3652 if interceptor == nil {
3653 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3654 }
3655 info := &grpc.UnaryServerInfo{
3656 Server: srv,
3657 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3658 }
3659 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3660 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3661 }
3662 return interceptor(ctx, in, info, handler)
3663}
3664
3665func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3666 in := new(common.ID)
3667 if err := dec(in); err != nil {
3668 return nil, err
3669 }
3670 if interceptor == nil {
3671 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3672 }
3673 info := &grpc.UnaryServerInfo{
3674 Server: srv,
3675 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3676 }
3677 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3678 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3679 }
3680 return interceptor(ctx, in, info, handler)
3681}
3682
3683func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3684 in := new(PmConfigs)
3685 if err := dec(in); err != nil {
3686 return nil, err
3687 }
3688 if interceptor == nil {
3689 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3690 }
3691 info := &grpc.UnaryServerInfo{
3692 Server: srv,
3693 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3694 }
3695 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3696 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3697 }
3698 return interceptor(ctx, in, info, handler)
3699}
3700
3701func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3702 in := new(common.ID)
3703 if err := dec(in); err != nil {
3704 return nil, err
3705 }
3706 if interceptor == nil {
3707 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3708 }
3709 info := &grpc.UnaryServerInfo{
3710 Server: srv,
3711 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3712 }
3713 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3714 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3715 }
3716 return interceptor(ctx, in, info, handler)
3717}
3718
3719func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3720 in := new(common.ID)
3721 if err := dec(in); err != nil {
3722 return nil, err
3723 }
3724 if interceptor == nil {
3725 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3726 }
3727 info := &grpc.UnaryServerInfo{
3728 Server: srv,
3729 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3730 }
3731 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3732 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3733 }
3734 return interceptor(ctx, in, info, handler)
3735}
3736
3737func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3738 in := new(empty.Empty)
3739 if err := dec(in); err != nil {
3740 return nil, err
3741 }
3742 if interceptor == nil {
3743 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3744 }
3745 info := &grpc.UnaryServerInfo{
3746 Server: srv,
3747 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3748 }
3749 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3750 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
3751 }
3752 return interceptor(ctx, in, info, handler)
3753}
3754
3755func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3756 in := new(common.ID)
3757 if err := dec(in); err != nil {
3758 return nil, err
3759 }
3760 if interceptor == nil {
3761 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
3762 }
3763 info := &grpc.UnaryServerInfo{
3764 Server: srv,
3765 FullMethod: "/voltha.VolthaService/GetDeviceType",
3766 }
3767 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3768 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
3769 }
3770 return interceptor(ctx, in, info, handler)
3771}
3772
3773func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3774 in := new(empty.Empty)
3775 if err := dec(in); err != nil {
3776 return nil, err
3777 }
3778 if interceptor == nil {
3779 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
3780 }
3781 info := &grpc.UnaryServerInfo{
3782 Server: srv,
3783 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
3784 }
3785 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3786 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
3787 }
3788 return interceptor(ctx, in, info, handler)
3789}
3790
3791func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
3792 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
3793}
3794
3795type VolthaService_StreamPacketsOutServer interface {
3796 SendAndClose(*empty.Empty) error
3797 Recv() (*openflow_13.PacketOut, error)
3798 grpc.ServerStream
3799}
3800
3801type volthaServiceStreamPacketsOutServer struct {
3802 grpc.ServerStream
3803}
3804
3805func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
3806 return x.ServerStream.SendMsg(m)
3807}
3808
3809func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
3810 m := new(openflow_13.PacketOut)
3811 if err := x.ServerStream.RecvMsg(m); err != nil {
3812 return nil, err
3813 }
3814 return m, nil
3815}
3816
3817func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
3818 m := new(empty.Empty)
3819 if err := stream.RecvMsg(m); err != nil {
3820 return err
3821 }
3822 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
3823}
3824
3825type VolthaService_ReceivePacketsInServer interface {
3826 Send(*openflow_13.PacketIn) error
3827 grpc.ServerStream
3828}
3829
3830type volthaServiceReceivePacketsInServer struct {
3831 grpc.ServerStream
3832}
3833
3834func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
3835 return x.ServerStream.SendMsg(m)
3836}
3837
3838func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
3839 m := new(empty.Empty)
3840 if err := stream.RecvMsg(m); err != nil {
3841 return err
3842 }
3843 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
3844}
3845
3846type VolthaService_ReceiveChangeEventsServer interface {
3847 Send(*openflow_13.ChangeEvent) error
3848 grpc.ServerStream
3849}
3850
3851type volthaServiceReceiveChangeEventsServer struct {
3852 grpc.ServerStream
3853}
3854
3855func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
3856 return x.ServerStream.SendMsg(m)
3857}
3858
3859func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3860 in := new(common.ID)
3861 if err := dec(in); err != nil {
3862 return nil, err
3863 }
3864 if interceptor == nil {
3865 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
3866 }
3867 info := &grpc.UnaryServerInfo{
3868 Server: srv,
3869 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
3870 }
3871 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3872 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
3873 }
3874 return interceptor(ctx, in, info, handler)
3875}
3876
3877func _VolthaService_CreateAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3878 in := new(AlarmFilter)
3879 if err := dec(in); err != nil {
3880 return nil, err
3881 }
3882 if interceptor == nil {
3883 return srv.(VolthaServiceServer).CreateAlarmFilter(ctx, in)
3884 }
3885 info := &grpc.UnaryServerInfo{
3886 Server: srv,
3887 FullMethod: "/voltha.VolthaService/CreateAlarmFilter",
3888 }
3889 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3890 return srv.(VolthaServiceServer).CreateAlarmFilter(ctx, req.(*AlarmFilter))
3891 }
3892 return interceptor(ctx, in, info, handler)
3893}
3894
3895func _VolthaService_GetAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3896 in := new(common.ID)
3897 if err := dec(in); err != nil {
3898 return nil, err
3899 }
3900 if interceptor == nil {
3901 return srv.(VolthaServiceServer).GetAlarmFilter(ctx, in)
3902 }
3903 info := &grpc.UnaryServerInfo{
3904 Server: srv,
3905 FullMethod: "/voltha.VolthaService/GetAlarmFilter",
3906 }
3907 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3908 return srv.(VolthaServiceServer).GetAlarmFilter(ctx, req.(*common.ID))
3909 }
3910 return interceptor(ctx, in, info, handler)
3911}
3912
3913func _VolthaService_UpdateAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3914 in := new(AlarmFilter)
3915 if err := dec(in); err != nil {
3916 return nil, err
3917 }
3918 if interceptor == nil {
3919 return srv.(VolthaServiceServer).UpdateAlarmFilter(ctx, in)
3920 }
3921 info := &grpc.UnaryServerInfo{
3922 Server: srv,
3923 FullMethod: "/voltha.VolthaService/UpdateAlarmFilter",
3924 }
3925 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3926 return srv.(VolthaServiceServer).UpdateAlarmFilter(ctx, req.(*AlarmFilter))
3927 }
3928 return interceptor(ctx, in, info, handler)
3929}
3930
3931func _VolthaService_DeleteAlarmFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3932 in := new(common.ID)
3933 if err := dec(in); err != nil {
3934 return nil, err
3935 }
3936 if interceptor == nil {
3937 return srv.(VolthaServiceServer).DeleteAlarmFilter(ctx, in)
3938 }
3939 info := &grpc.UnaryServerInfo{
3940 Server: srv,
3941 FullMethod: "/voltha.VolthaService/DeleteAlarmFilter",
3942 }
3943 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3944 return srv.(VolthaServiceServer).DeleteAlarmFilter(ctx, req.(*common.ID))
3945 }
3946 return interceptor(ctx, in, info, handler)
3947}
3948
3949func _VolthaService_ListAlarmFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3950 in := new(empty.Empty)
3951 if err := dec(in); err != nil {
3952 return nil, err
3953 }
3954 if interceptor == nil {
3955 return srv.(VolthaServiceServer).ListAlarmFilters(ctx, in)
3956 }
3957 info := &grpc.UnaryServerInfo{
3958 Server: srv,
3959 FullMethod: "/voltha.VolthaService/ListAlarmFilters",
3960 }
3961 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3962 return srv.(VolthaServiceServer).ListAlarmFilters(ctx, req.(*empty.Empty))
3963 }
3964 return interceptor(ctx, in, info, handler)
3965}
3966
3967func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3968 in := new(common.ID)
3969 if err := dec(in); err != nil {
3970 return nil, err
3971 }
3972 if interceptor == nil {
3973 return srv.(VolthaServiceServer).GetImages(ctx, in)
3974 }
3975 info := &grpc.UnaryServerInfo{
3976 Server: srv,
3977 FullMethod: "/voltha.VolthaService/GetImages",
3978 }
3979 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3980 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
3981 }
3982 return interceptor(ctx, in, info, handler)
3983}
3984
3985func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3986 in := new(common.ID)
3987 if err := dec(in); err != nil {
3988 return nil, err
3989 }
3990 if interceptor == nil {
3991 return srv.(VolthaServiceServer).SelfTest(ctx, in)
3992 }
3993 info := &grpc.UnaryServerInfo{
3994 Server: srv,
3995 FullMethod: "/voltha.VolthaService/SelfTest",
3996 }
3997 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3998 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
3999 }
4000 return interceptor(ctx, in, info, handler)
4001}
4002
4003func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4004 in := new(common.ID)
4005 if err := dec(in); err != nil {
4006 return nil, err
4007 }
4008 if interceptor == nil {
4009 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4010 }
4011 info := &grpc.UnaryServerInfo{
4012 Server: srv,
4013 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4014 }
4015 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4016 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4017 }
4018 return interceptor(ctx, in, info, handler)
4019}
4020
4021func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4022 in := new(common.ID)
4023 if err := dec(in); err != nil {
4024 return nil, err
4025 }
4026 if interceptor == nil {
4027 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4028 }
4029 info := &grpc.UnaryServerInfo{
4030 Server: srv,
4031 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4032 }
4033 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4034 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4035 }
4036 return interceptor(ctx, in, info, handler)
4037}
4038
4039func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4040 in := new(SimulateAlarmRequest)
4041 if err := dec(in); err != nil {
4042 return nil, err
4043 }
4044 if interceptor == nil {
4045 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4046 }
4047 info := &grpc.UnaryServerInfo{
4048 Server: srv,
4049 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4050 }
4051 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4052 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4053 }
4054 return interceptor(ctx, in, info, handler)
4055}
4056
4057func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4058 in := new(OfAgentSubscriber)
4059 if err := dec(in); err != nil {
4060 return nil, err
4061 }
4062 if interceptor == nil {
4063 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4064 }
4065 info := &grpc.UnaryServerInfo{
4066 Server: srv,
4067 FullMethod: "/voltha.VolthaService/Subscribe",
4068 }
4069 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4070 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4071 }
4072 return interceptor(ctx, in, info, handler)
4073}
4074
4075var _VolthaService_serviceDesc = grpc.ServiceDesc{
4076 ServiceName: "voltha.VolthaService",
4077 HandlerType: (*VolthaServiceServer)(nil),
4078 Methods: []grpc.MethodDesc{
4079 {
4080 MethodName: "UpdateLogLevel",
4081 Handler: _VolthaService_UpdateLogLevel_Handler,
4082 },
4083 {
4084 MethodName: "GetMembership",
4085 Handler: _VolthaService_GetMembership_Handler,
4086 },
4087 {
4088 MethodName: "UpdateMembership",
4089 Handler: _VolthaService_UpdateMembership_Handler,
4090 },
4091 {
4092 MethodName: "GetVoltha",
4093 Handler: _VolthaService_GetVoltha_Handler,
4094 },
4095 {
4096 MethodName: "ListCoreInstances",
4097 Handler: _VolthaService_ListCoreInstances_Handler,
4098 },
4099 {
4100 MethodName: "GetCoreInstance",
4101 Handler: _VolthaService_GetCoreInstance_Handler,
4102 },
4103 {
4104 MethodName: "ListAdapters",
4105 Handler: _VolthaService_ListAdapters_Handler,
4106 },
4107 {
4108 MethodName: "ListLogicalDevices",
4109 Handler: _VolthaService_ListLogicalDevices_Handler,
4110 },
4111 {
4112 MethodName: "GetLogicalDevice",
4113 Handler: _VolthaService_GetLogicalDevice_Handler,
4114 },
4115 {
4116 MethodName: "ListLogicalDevicePorts",
4117 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4118 },
4119 {
4120 MethodName: "GetLogicalDevicePort",
4121 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4122 },
4123 {
4124 MethodName: "EnableLogicalDevicePort",
4125 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4126 },
4127 {
4128 MethodName: "DisableLogicalDevicePort",
4129 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4130 },
4131 {
4132 MethodName: "ListLogicalDeviceFlows",
4133 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4134 },
4135 {
4136 MethodName: "UpdateLogicalDeviceFlowTable",
4137 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4138 },
4139 {
4140 MethodName: "UpdateLogicalDeviceMeterTable",
4141 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4142 },
4143 {
4144 MethodName: "GetMeterStatsOfLogicalDevice",
4145 Handler: _VolthaService_GetMeterStatsOfLogicalDevice_Handler,
4146 },
4147 {
4148 MethodName: "ListLogicalDeviceFlowGroups",
4149 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4150 },
4151 {
4152 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4153 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4154 },
4155 {
4156 MethodName: "ListDevices",
4157 Handler: _VolthaService_ListDevices_Handler,
4158 },
4159 {
4160 MethodName: "ListDeviceIds",
4161 Handler: _VolthaService_ListDeviceIds_Handler,
4162 },
4163 {
4164 MethodName: "ReconcileDevices",
4165 Handler: _VolthaService_ReconcileDevices_Handler,
4166 },
4167 {
4168 MethodName: "GetDevice",
4169 Handler: _VolthaService_GetDevice_Handler,
4170 },
4171 {
4172 MethodName: "CreateDevice",
4173 Handler: _VolthaService_CreateDevice_Handler,
4174 },
4175 {
4176 MethodName: "EnableDevice",
4177 Handler: _VolthaService_EnableDevice_Handler,
4178 },
4179 {
4180 MethodName: "DisableDevice",
4181 Handler: _VolthaService_DisableDevice_Handler,
4182 },
4183 {
4184 MethodName: "RebootDevice",
4185 Handler: _VolthaService_RebootDevice_Handler,
4186 },
4187 {
4188 MethodName: "DeleteDevice",
4189 Handler: _VolthaService_DeleteDevice_Handler,
4190 },
4191 {
4192 MethodName: "DownloadImage",
4193 Handler: _VolthaService_DownloadImage_Handler,
4194 },
4195 {
4196 MethodName: "GetImageDownloadStatus",
4197 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4198 },
4199 {
4200 MethodName: "GetImageDownload",
4201 Handler: _VolthaService_GetImageDownload_Handler,
4202 },
4203 {
4204 MethodName: "ListImageDownloads",
4205 Handler: _VolthaService_ListImageDownloads_Handler,
4206 },
4207 {
4208 MethodName: "CancelImageDownload",
4209 Handler: _VolthaService_CancelImageDownload_Handler,
4210 },
4211 {
4212 MethodName: "ActivateImageUpdate",
4213 Handler: _VolthaService_ActivateImageUpdate_Handler,
4214 },
4215 {
4216 MethodName: "RevertImageUpdate",
4217 Handler: _VolthaService_RevertImageUpdate_Handler,
4218 },
4219 {
4220 MethodName: "ListDevicePorts",
4221 Handler: _VolthaService_ListDevicePorts_Handler,
4222 },
4223 {
4224 MethodName: "ListDevicePmConfigs",
4225 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4226 },
4227 {
4228 MethodName: "UpdateDevicePmConfigs",
4229 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4230 },
4231 {
4232 MethodName: "ListDeviceFlows",
4233 Handler: _VolthaService_ListDeviceFlows_Handler,
4234 },
4235 {
4236 MethodName: "ListDeviceFlowGroups",
4237 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4238 },
4239 {
4240 MethodName: "ListDeviceTypes",
4241 Handler: _VolthaService_ListDeviceTypes_Handler,
4242 },
4243 {
4244 MethodName: "GetDeviceType",
4245 Handler: _VolthaService_GetDeviceType_Handler,
4246 },
4247 {
4248 MethodName: "ListDeviceGroups",
4249 Handler: _VolthaService_ListDeviceGroups_Handler,
4250 },
4251 {
4252 MethodName: "GetDeviceGroup",
4253 Handler: _VolthaService_GetDeviceGroup_Handler,
4254 },
4255 {
4256 MethodName: "CreateAlarmFilter",
4257 Handler: _VolthaService_CreateAlarmFilter_Handler,
4258 },
4259 {
4260 MethodName: "GetAlarmFilter",
4261 Handler: _VolthaService_GetAlarmFilter_Handler,
4262 },
4263 {
4264 MethodName: "UpdateAlarmFilter",
4265 Handler: _VolthaService_UpdateAlarmFilter_Handler,
4266 },
4267 {
4268 MethodName: "DeleteAlarmFilter",
4269 Handler: _VolthaService_DeleteAlarmFilter_Handler,
4270 },
4271 {
4272 MethodName: "ListAlarmFilters",
4273 Handler: _VolthaService_ListAlarmFilters_Handler,
4274 },
4275 {
4276 MethodName: "GetImages",
4277 Handler: _VolthaService_GetImages_Handler,
4278 },
4279 {
4280 MethodName: "SelfTest",
4281 Handler: _VolthaService_SelfTest_Handler,
4282 },
4283 {
4284 MethodName: "GetMibDeviceData",
4285 Handler: _VolthaService_GetMibDeviceData_Handler,
4286 },
4287 {
4288 MethodName: "GetAlarmDeviceData",
4289 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4290 },
4291 {
4292 MethodName: "SimulateAlarm",
4293 Handler: _VolthaService_SimulateAlarm_Handler,
4294 },
4295 {
4296 MethodName: "Subscribe",
4297 Handler: _VolthaService_Subscribe_Handler,
4298 },
4299 },
4300 Streams: []grpc.StreamDesc{
4301 {
4302 StreamName: "StreamPacketsOut",
4303 Handler: _VolthaService_StreamPacketsOut_Handler,
4304 ClientStreams: true,
4305 },
4306 {
4307 StreamName: "ReceivePacketsIn",
4308 Handler: _VolthaService_ReceivePacketsIn_Handler,
4309 ServerStreams: true,
4310 },
4311 {
4312 StreamName: "ReceiveChangeEvents",
4313 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4314 ServerStreams: true,
4315 },
4316 },
4317 Metadata: "voltha_protos/voltha.proto",
4318}