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