blob: c2edc2d84df23804212c8e2297390a4e84c1955f [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"
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030011 common "github.com/opencord/voltha-protos/v3/go/common"
12 omci "github.com/opencord/voltha-protos/v3/go/omci"
13 openflow_13 "github.com/opencord/voltha-protos/v3/go/openflow_13"
William Kurkianad745652019-03-20 08:45:51 -040014 _ "google.golang.org/genproto/googleapis/api/annotations"
William Kurkian1b363f42019-03-12 15:28:12 -040015 grpc "google.golang.org/grpc"
William Kurkianad745652019-03-20 08:45:51 -040016 math "math"
William Kurkian1b363f42019-03-12 15:28:12 -040017)
18
19// Reference imports to suppress errors if they are not otherwise used.
20var _ = proto.Marshal
21var _ = fmt.Errorf
22var _ = math.Inf
23
24// This is a compile-time assertion to ensure that this generated file
25// is compatible with the proto package it is being compiled against.
26// A compilation error at this line likely means your copy of the
27// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040028const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040029
30// ChildNode from public import voltha_protos/meta.proto
31type ChildNode = common.ChildNode
32
33// Access from public import voltha_protos/meta.proto
34type Access = common.Access
35
36var Access_name = common.Access_name
37var Access_value = common.Access_value
38
39const Access_CONFIG = Access(common.Access_CONFIG)
40const Access_READ_ONLY = Access(common.Access_READ_ONLY)
41const Access_REAL_TIME = Access(common.Access_REAL_TIME)
42
William Kurkian1b363f42019-03-12 15:28:12 -040043var E_ChildNode = common.E_ChildNode
44
William Kurkian1b363f42019-03-12 15:28:12 -040045var E_Access = common.E_Access
46
47// ID from public import voltha_protos/common.proto
48type ID = common.ID
49
50// IDs from public import voltha_protos/common.proto
51type IDs = common.IDs
52
53// LogLevel from public import voltha_protos/common.proto
54type LogLevel = common.LogLevel
55
Scott Baker99af94e2019-08-20 10:45:06 -070056// Logging from public import voltha_protos/common.proto
57type Logging = common.Logging
58
59// LoggingComponent from public import voltha_protos/common.proto
60type LoggingComponent = common.LoggingComponent
61
62// Loggings from public import voltha_protos/common.proto
63type Loggings = common.Loggings
64
William Kurkian1b363f42019-03-12 15:28:12 -040065// AdminState from public import voltha_protos/common.proto
66type AdminState = common.AdminState
67
68// OperStatus from public import voltha_protos/common.proto
69type OperStatus = common.OperStatus
70
71// ConnectStatus from public import voltha_protos/common.proto
72type ConnectStatus = common.ConnectStatus
73
74// OperationResp from public import voltha_protos/common.proto
75type OperationResp = common.OperationResp
76
77// TestModeKeys from public import voltha_protos/common.proto
78type TestModeKeys = common.TestModeKeys
79
80var TestModeKeys_name = common.TestModeKeys_name
81var TestModeKeys_value = common.TestModeKeys_value
82
83const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
84
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030085// LogLevel_Types from public import voltha_protos/common.proto
86type LogLevel_Types = common.LogLevel_Types
William Kurkian1b363f42019-03-12 15:28:12 -040087
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030088var LogLevel_Types_name = common.LogLevel_Types_name
89var LogLevel_Types_value = common.LogLevel_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -040090
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030091const LogLevel_DEBUG = LogLevel_Types(common.LogLevel_DEBUG)
92const LogLevel_INFO = LogLevel_Types(common.LogLevel_INFO)
93const LogLevel_WARNING = LogLevel_Types(common.LogLevel_WARNING)
94const LogLevel_ERROR = LogLevel_Types(common.LogLevel_ERROR)
95const LogLevel_CRITICAL = LogLevel_Types(common.LogLevel_CRITICAL)
96const LogLevel_FATAL = LogLevel_Types(common.LogLevel_FATAL)
William Kurkian1b363f42019-03-12 15:28:12 -040097
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030098// AdminState_Types from public import voltha_protos/common.proto
99type AdminState_Types = common.AdminState_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400100
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300101var AdminState_Types_name = common.AdminState_Types_name
102var AdminState_Types_value = common.AdminState_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400103
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300104const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
105const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
106const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
107const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
108const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
109const AdminState_DELETED = AdminState_Types(common.AdminState_DELETED)
William Kurkian1b363f42019-03-12 15:28:12 -0400110
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300111// OperStatus_Types from public import voltha_protos/common.proto
112type OperStatus_Types = common.OperStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400113
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300114var OperStatus_Types_name = common.OperStatus_Types_name
115var OperStatus_Types_value = common.OperStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400116
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300117const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
118const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
119const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
120const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
121const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
122const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
William Kurkian1b363f42019-03-12 15:28:12 -0400123
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300124// ConnectStatus_Types from public import voltha_protos/common.proto
125type ConnectStatus_Types = common.ConnectStatus_Types
William Kurkian1b363f42019-03-12 15:28:12 -0400126
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300127var ConnectStatus_Types_name = common.ConnectStatus_Types_name
128var ConnectStatus_Types_value = common.ConnectStatus_Types_value
William Kurkian1b363f42019-03-12 15:28:12 -0400129
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300130const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
131const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
132const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
William Kurkian1b363f42019-03-12 15:28:12 -0400133
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)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03001159const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL)
William Kurkian1b363f42019-03-12 15:28:12 -04001160const 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
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001273type EventFilterRuleKey_EventFilterRuleType int32
William Kurkian1b363f42019-03-12 15:28:12 -04001274
1275const (
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001276 EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0
1277 EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1
1278 EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2
1279 EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3
1280 EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4
1281 EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5
William Kurkian1b363f42019-03-12 15:28:12 -04001282)
1283
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001284var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{
1285 0: "filter_all",
1286 1: "category",
1287 2: "sub_category",
1288 3: "kpi_event_type",
1289 4: "config_event_type",
1290 5: "device_event_type",
William Kurkian1b363f42019-03-12 15:28:12 -04001291}
William Kurkianad745652019-03-20 08:45:51 -04001292
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001293var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{
1294 "filter_all": 0,
1295 "category": 1,
1296 "sub_category": 2,
1297 "kpi_event_type": 3,
1298 "config_event_type": 4,
1299 "device_event_type": 5,
William Kurkian1b363f42019-03-12 15:28:12 -04001300}
1301
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001302func (x EventFilterRuleKey_EventFilterRuleType) String() string {
1303 return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -04001304}
William Kurkianad745652019-03-20 08:45:51 -04001305
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001306func (EventFilterRuleKey_EventFilterRuleType) 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
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001435type EventFilterRuleKey struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001436 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1437 XXX_unrecognized []byte `json:"-"`
1438 XXX_sizecache int32 `json:"-"`
1439}
1440
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001441func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} }
1442func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) }
1443func (*EventFilterRuleKey) ProtoMessage() {}
1444func (*EventFilterRuleKey) 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
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001448func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error {
1449 return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001450}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001451func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1452 return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001453}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001454func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) {
1455 xxx_messageInfo_EventFilterRuleKey.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001456}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001457func (m *EventFilterRuleKey) XXX_Size() int {
1458 return xxx_messageInfo_EventFilterRuleKey.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001459}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001460func (m *EventFilterRuleKey) XXX_DiscardUnknown() {
1461 xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001462}
1463
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001464var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001465
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001466type EventFilterRule struct {
1467 Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" 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:"-"`
William Kurkian1b363f42019-03-12 15:28:12 -04001472}
1473
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001474func (m *EventFilterRule) Reset() { *m = EventFilterRule{} }
1475func (m *EventFilterRule) String() string { return proto.CompactTextString(m) }
1476func (*EventFilterRule) ProtoMessage() {}
1477func (*EventFilterRule) 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
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001481func (m *EventFilterRule) XXX_Unmarshal(b []byte) error {
1482 return xxx_messageInfo_EventFilterRule.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001483}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001484func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1485 return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001486}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001487func (m *EventFilterRule) XXX_Merge(src proto.Message) {
1488 xxx_messageInfo_EventFilterRule.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001489}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001490func (m *EventFilterRule) XXX_Size() int {
1491 return xxx_messageInfo_EventFilterRule.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001492}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001493func (m *EventFilterRule) XXX_DiscardUnknown() {
1494 xxx_messageInfo_EventFilterRule.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001495}
1496
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001497var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001498
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001499func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType {
William Kurkian1b363f42019-03-12 15:28:12 -04001500 if m != nil {
1501 return m.Key
1502 }
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001503 return EventFilterRuleKey_filter_all
William Kurkian1b363f42019-03-12 15:28:12 -04001504}
1505
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001506func (m *EventFilterRule) GetValue() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001507 if m != nil {
1508 return m.Value
1509 }
1510 return ""
1511}
1512
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001513type EventFilter struct {
William Kurkian1b363f42019-03-12 15:28:12 -04001514 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001515 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
1516 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1517 EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
1518 Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001519 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1520 XXX_unrecognized []byte `json:"-"`
1521 XXX_sizecache int32 `json:"-"`
1522}
1523
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001524func (m *EventFilter) Reset() { *m = EventFilter{} }
1525func (m *EventFilter) String() string { return proto.CompactTextString(m) }
1526func (*EventFilter) ProtoMessage() {}
1527func (*EventFilter) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001528 return fileDescriptor_e084f1a60ce7016c, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -04001529}
William Kurkianad745652019-03-20 08:45:51 -04001530
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001531func (m *EventFilter) XXX_Unmarshal(b []byte) error {
1532 return xxx_messageInfo_EventFilter.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001533}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001534func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1535 return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001536}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001537func (m *EventFilter) XXX_Merge(src proto.Message) {
1538 xxx_messageInfo_EventFilter.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001539}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001540func (m *EventFilter) XXX_Size() int {
1541 return xxx_messageInfo_EventFilter.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001542}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001543func (m *EventFilter) XXX_DiscardUnknown() {
1544 xxx_messageInfo_EventFilter.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001545}
1546
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001547var xxx_messageInfo_EventFilter proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001548
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001549func (m *EventFilter) GetId() string {
William Kurkian1b363f42019-03-12 15:28:12 -04001550 if m != nil {
1551 return m.Id
1552 }
1553 return ""
1554}
1555
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001556func (m *EventFilter) GetEnable() bool {
1557 if m != nil {
1558 return m.Enable
1559 }
1560 return false
1561}
1562
1563func (m *EventFilter) GetDeviceId() string {
1564 if m != nil {
1565 return m.DeviceId
1566 }
1567 return ""
1568}
1569
1570func (m *EventFilter) GetEventType() string {
1571 if m != nil {
1572 return m.EventType
1573 }
1574 return ""
1575}
1576
1577func (m *EventFilter) GetRules() []*EventFilterRule {
William Kurkian1b363f42019-03-12 15:28:12 -04001578 if m != nil {
1579 return m.Rules
1580 }
1581 return nil
1582}
1583
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001584type EventFilters struct {
1585 Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001586 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1587 XXX_unrecognized []byte `json:"-"`
1588 XXX_sizecache int32 `json:"-"`
1589}
1590
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001591func (m *EventFilters) Reset() { *m = EventFilters{} }
1592func (m *EventFilters) String() string { return proto.CompactTextString(m) }
1593func (*EventFilters) ProtoMessage() {}
1594func (*EventFilters) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001595 return fileDescriptor_e084f1a60ce7016c, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -04001596}
William Kurkianad745652019-03-20 08:45:51 -04001597
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001598func (m *EventFilters) XXX_Unmarshal(b []byte) error {
1599 return xxx_messageInfo_EventFilters.Unmarshal(m, b)
William Kurkian1b363f42019-03-12 15:28:12 -04001600}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001601func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1602 return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic)
William Kurkian1b363f42019-03-12 15:28:12 -04001603}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001604func (m *EventFilters) XXX_Merge(src proto.Message) {
1605 xxx_messageInfo_EventFilters.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001606}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001607func (m *EventFilters) XXX_Size() int {
1608 return xxx_messageInfo_EventFilters.Size(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001609}
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001610func (m *EventFilters) XXX_DiscardUnknown() {
1611 xxx_messageInfo_EventFilters.DiscardUnknown(m)
William Kurkian1b363f42019-03-12 15:28:12 -04001612}
1613
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001614var xxx_messageInfo_EventFilters proto.InternalMessageInfo
William Kurkian1b363f42019-03-12 15:28:12 -04001615
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001616func (m *EventFilters) GetFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001617 if m != nil {
1618 return m.Filters
1619 }
1620 return nil
1621}
1622
William Kurkian1b363f42019-03-12 15:28:12 -04001623// CoreInstance represents a core instance. It is data held in memory when a core
1624// is running. This data is not persistent.
1625type CoreInstance struct {
1626 InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
1627 Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
1628 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1629 XXX_unrecognized []byte `json:"-"`
1630 XXX_sizecache int32 `json:"-"`
1631}
1632
1633func (m *CoreInstance) Reset() { *m = CoreInstance{} }
1634func (m *CoreInstance) String() string { return proto.CompactTextString(m) }
1635func (*CoreInstance) ProtoMessage() {}
1636func (*CoreInstance) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001637 return fileDescriptor_e084f1a60ce7016c, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -04001638}
William Kurkianad745652019-03-20 08:45:51 -04001639
William Kurkian1b363f42019-03-12 15:28:12 -04001640func (m *CoreInstance) XXX_Unmarshal(b []byte) error {
1641 return xxx_messageInfo_CoreInstance.Unmarshal(m, b)
1642}
1643func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1644 return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic)
1645}
William Kurkianad745652019-03-20 08:45:51 -04001646func (m *CoreInstance) XXX_Merge(src proto.Message) {
1647 xxx_messageInfo_CoreInstance.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001648}
1649func (m *CoreInstance) XXX_Size() int {
1650 return xxx_messageInfo_CoreInstance.Size(m)
1651}
1652func (m *CoreInstance) XXX_DiscardUnknown() {
1653 xxx_messageInfo_CoreInstance.DiscardUnknown(m)
1654}
1655
1656var xxx_messageInfo_CoreInstance proto.InternalMessageInfo
1657
1658func (m *CoreInstance) GetInstanceId() string {
1659 if m != nil {
1660 return m.InstanceId
1661 }
1662 return ""
1663}
1664
1665func (m *CoreInstance) GetHealth() *HealthStatus {
1666 if m != nil {
1667 return m.Health
1668 }
1669 return nil
1670}
1671
1672type CoreInstances struct {
1673 Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1674 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1675 XXX_unrecognized []byte `json:"-"`
1676 XXX_sizecache int32 `json:"-"`
1677}
1678
1679func (m *CoreInstances) Reset() { *m = CoreInstances{} }
1680func (m *CoreInstances) String() string { return proto.CompactTextString(m) }
1681func (*CoreInstances) ProtoMessage() {}
1682func (*CoreInstances) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001683 return fileDescriptor_e084f1a60ce7016c, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -04001684}
William Kurkianad745652019-03-20 08:45:51 -04001685
William Kurkian1b363f42019-03-12 15:28:12 -04001686func (m *CoreInstances) XXX_Unmarshal(b []byte) error {
1687 return xxx_messageInfo_CoreInstances.Unmarshal(m, b)
1688}
1689func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1690 return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic)
1691}
William Kurkianad745652019-03-20 08:45:51 -04001692func (m *CoreInstances) XXX_Merge(src proto.Message) {
1693 xxx_messageInfo_CoreInstances.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001694}
1695func (m *CoreInstances) XXX_Size() int {
1696 return xxx_messageInfo_CoreInstances.Size(m)
1697}
1698func (m *CoreInstances) XXX_DiscardUnknown() {
1699 xxx_messageInfo_CoreInstances.DiscardUnknown(m)
1700}
1701
1702var xxx_messageInfo_CoreInstances proto.InternalMessageInfo
1703
1704func (m *CoreInstances) GetItems() []*CoreInstance {
1705 if m != nil {
1706 return m.Items
1707 }
1708 return nil
1709}
1710
1711// Voltha represents the Voltha cluster data. Each Core instance will hold a subset of
1712// the entire cluster. However, some items (e.g. adapters) will be held by all cores
1713// for better performance
1714type Voltha struct {
1715 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1716 Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"`
1717 LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"`
1718 Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"`
1719 DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"`
1720 DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"`
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001721 EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -04001722 OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"`
1723 OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"`
1724 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1725 XXX_unrecognized []byte `json:"-"`
1726 XXX_sizecache int32 `json:"-"`
1727}
1728
1729func (m *Voltha) Reset() { *m = Voltha{} }
1730func (m *Voltha) String() string { return proto.CompactTextString(m) }
1731func (*Voltha) ProtoMessage() {}
1732func (*Voltha) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001733 return fileDescriptor_e084f1a60ce7016c, []int{8}
William Kurkian1b363f42019-03-12 15:28:12 -04001734}
William Kurkianad745652019-03-20 08:45:51 -04001735
William Kurkian1b363f42019-03-12 15:28:12 -04001736func (m *Voltha) XXX_Unmarshal(b []byte) error {
1737 return xxx_messageInfo_Voltha.Unmarshal(m, b)
1738}
1739func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1740 return xxx_messageInfo_Voltha.Marshal(b, m, deterministic)
1741}
William Kurkianad745652019-03-20 08:45:51 -04001742func (m *Voltha) XXX_Merge(src proto.Message) {
1743 xxx_messageInfo_Voltha.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001744}
1745func (m *Voltha) XXX_Size() int {
1746 return xxx_messageInfo_Voltha.Size(m)
1747}
1748func (m *Voltha) XXX_DiscardUnknown() {
1749 xxx_messageInfo_Voltha.DiscardUnknown(m)
1750}
1751
1752var xxx_messageInfo_Voltha proto.InternalMessageInfo
1753
1754func (m *Voltha) GetVersion() string {
1755 if m != nil {
1756 return m.Version
1757 }
1758 return ""
1759}
1760
1761func (m *Voltha) GetAdapters() []*Adapter {
1762 if m != nil {
1763 return m.Adapters
1764 }
1765 return nil
1766}
1767
1768func (m *Voltha) GetLogicalDevices() []*LogicalDevice {
1769 if m != nil {
1770 return m.LogicalDevices
1771 }
1772 return nil
1773}
1774
1775func (m *Voltha) GetDevices() []*Device {
1776 if m != nil {
1777 return m.Devices
1778 }
1779 return nil
1780}
1781
1782func (m *Voltha) GetDeviceTypes() []*DeviceType {
1783 if m != nil {
1784 return m.DeviceTypes
1785 }
1786 return nil
1787}
1788
1789func (m *Voltha) GetDeviceGroups() []*DeviceGroup {
1790 if m != nil {
1791 return m.DeviceGroups
1792 }
1793 return nil
1794}
1795
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001796func (m *Voltha) GetEventFilters() []*EventFilter {
William Kurkian1b363f42019-03-12 15:28:12 -04001797 if m != nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001798 return m.EventFilters
William Kurkian1b363f42019-03-12 15:28:12 -04001799 }
1800 return nil
1801}
1802
1803func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData {
1804 if m != nil {
1805 return m.OmciMibDatabase
1806 }
1807 return nil
1808}
1809
1810func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData {
1811 if m != nil {
1812 return m.OmciAlarmDatabase
1813 }
1814 return nil
1815}
1816
1817// Device Self Test Response
1818type SelfTestResponse struct {
1819 Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"`
1820 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1821 XXX_unrecognized []byte `json:"-"`
1822 XXX_sizecache int32 `json:"-"`
1823}
1824
1825func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} }
1826func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) }
1827func (*SelfTestResponse) ProtoMessage() {}
1828func (*SelfTestResponse) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001829 return fileDescriptor_e084f1a60ce7016c, []int{9}
William Kurkian1b363f42019-03-12 15:28:12 -04001830}
William Kurkianad745652019-03-20 08:45:51 -04001831
William Kurkian1b363f42019-03-12 15:28:12 -04001832func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error {
1833 return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b)
1834}
1835func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1836 return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic)
1837}
William Kurkianad745652019-03-20 08:45:51 -04001838func (m *SelfTestResponse) XXX_Merge(src proto.Message) {
1839 xxx_messageInfo_SelfTestResponse.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001840}
1841func (m *SelfTestResponse) XXX_Size() int {
1842 return xxx_messageInfo_SelfTestResponse.Size(m)
1843}
1844func (m *SelfTestResponse) XXX_DiscardUnknown() {
1845 xxx_messageInfo_SelfTestResponse.DiscardUnknown(m)
1846}
1847
1848var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo
1849
1850func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult {
1851 if m != nil {
1852 return m.Result
1853 }
1854 return SelfTestResponse_SUCCESS
1855}
1856
1857type OfAgentSubscriber struct {
1858 // ID of ofagent instance
1859 OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"`
1860 // ID of voltha instance to which the ofagent is subscribed
1861 VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"`
1862 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1863 XXX_unrecognized []byte `json:"-"`
1864 XXX_sizecache int32 `json:"-"`
1865}
1866
1867func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} }
1868func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) }
1869func (*OfAgentSubscriber) ProtoMessage() {}
1870func (*OfAgentSubscriber) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001871 return fileDescriptor_e084f1a60ce7016c, []int{10}
William Kurkian1b363f42019-03-12 15:28:12 -04001872}
William Kurkianad745652019-03-20 08:45:51 -04001873
William Kurkian1b363f42019-03-12 15:28:12 -04001874func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error {
1875 return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b)
1876}
1877func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1878 return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic)
1879}
William Kurkianad745652019-03-20 08:45:51 -04001880func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) {
1881 xxx_messageInfo_OfAgentSubscriber.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001882}
1883func (m *OfAgentSubscriber) XXX_Size() int {
1884 return xxx_messageInfo_OfAgentSubscriber.Size(m)
1885}
1886func (m *OfAgentSubscriber) XXX_DiscardUnknown() {
1887 xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m)
1888}
1889
1890var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo
1891
1892func (m *OfAgentSubscriber) GetOfagentId() string {
1893 if m != nil {
1894 return m.OfagentId
1895 }
1896 return ""
1897}
1898
1899func (m *OfAgentSubscriber) GetVolthaId() string {
1900 if m != nil {
1901 return m.VolthaId
1902 }
1903 return ""
1904}
1905
1906// Identifies a membership group a Core belongs to
1907type Membership struct {
1908 // Group name
1909 GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
1910 // Unique ID of a container within that group
1911 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
1912 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1913 XXX_unrecognized []byte `json:"-"`
1914 XXX_sizecache int32 `json:"-"`
1915}
1916
1917func (m *Membership) Reset() { *m = Membership{} }
1918func (m *Membership) String() string { return proto.CompactTextString(m) }
1919func (*Membership) ProtoMessage() {}
1920func (*Membership) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001921 return fileDescriptor_e084f1a60ce7016c, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -04001922}
William Kurkianad745652019-03-20 08:45:51 -04001923
William Kurkian1b363f42019-03-12 15:28:12 -04001924func (m *Membership) XXX_Unmarshal(b []byte) error {
1925 return xxx_messageInfo_Membership.Unmarshal(m, b)
1926}
1927func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1928 return xxx_messageInfo_Membership.Marshal(b, m, deterministic)
1929}
William Kurkianad745652019-03-20 08:45:51 -04001930func (m *Membership) XXX_Merge(src proto.Message) {
1931 xxx_messageInfo_Membership.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001932}
1933func (m *Membership) XXX_Size() int {
1934 return xxx_messageInfo_Membership.Size(m)
1935}
1936func (m *Membership) XXX_DiscardUnknown() {
1937 xxx_messageInfo_Membership.DiscardUnknown(m)
1938}
1939
1940var xxx_messageInfo_Membership proto.InternalMessageInfo
1941
1942func (m *Membership) GetGroupName() string {
1943 if m != nil {
1944 return m.GroupName
1945 }
1946 return ""
1947}
1948
1949func (m *Membership) GetId() string {
1950 if m != nil {
1951 return m.Id
1952 }
1953 return ""
1954}
1955
manikkaraj k166cb202019-07-28 13:05:56 -04001956// Additional information required to process flow at device adapters
1957type FlowMetadata struct {
1958 // Meters associated with flow-update to adapter
1959 Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"`
1960 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1961 XXX_unrecognized []byte `json:"-"`
1962 XXX_sizecache int32 `json:"-"`
1963}
1964
1965func (m *FlowMetadata) Reset() { *m = FlowMetadata{} }
1966func (m *FlowMetadata) String() string { return proto.CompactTextString(m) }
1967func (*FlowMetadata) ProtoMessage() {}
1968func (*FlowMetadata) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -07001969 return fileDescriptor_e084f1a60ce7016c, []int{12}
manikkaraj k166cb202019-07-28 13:05:56 -04001970}
1971
1972func (m *FlowMetadata) XXX_Unmarshal(b []byte) error {
1973 return xxx_messageInfo_FlowMetadata.Unmarshal(m, b)
1974}
1975func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1976 return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic)
1977}
1978func (m *FlowMetadata) XXX_Merge(src proto.Message) {
1979 xxx_messageInfo_FlowMetadata.Merge(m, src)
1980}
1981func (m *FlowMetadata) XXX_Size() int {
1982 return xxx_messageInfo_FlowMetadata.Size(m)
1983}
1984func (m *FlowMetadata) XXX_DiscardUnknown() {
1985 xxx_messageInfo_FlowMetadata.DiscardUnknown(m)
1986}
1987
1988var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo
1989
1990func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig {
1991 if m != nil {
1992 return m.Meters
1993 }
1994 return nil
1995}
1996
William Kurkian1b363f42019-03-12 15:28:12 -04001997func init() {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00001998 proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value)
William Kurkianad745652019-03-20 08:45:51 -04001999 proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value)
William Kurkian1b363f42019-03-12 15:28:12 -04002000 proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup")
2001 proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups")
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002002 proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey")
2003 proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule")
2004 proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter")
2005 proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters")
William Kurkian1b363f42019-03-12 15:28:12 -04002006 proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance")
2007 proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances")
2008 proto.RegisterType((*Voltha)(nil), "voltha.Voltha")
2009 proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse")
2010 proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber")
2011 proto.RegisterType((*Membership)(nil), "voltha.Membership")
manikkaraj k166cb202019-07-28 13:05:56 -04002012 proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata")
William Kurkianad745652019-03-20 08:45:51 -04002013}
2014
2015func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) }
2016
2017var fileDescriptor_e084f1a60ce7016c = []byte{
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03002018 // 2423 bytes of a gzipped FileDescriptorProto
2019 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x99, 0xcb, 0x73, 0xdb, 0xc6,
2020 0x19, 0xc0, 0x05, 0xea, 0xfd, 0x89, 0x94, 0xc8, 0xa5, 0x1e, 0x34, 0x25, 0xc5, 0xf6, 0xe6, 0x61,
2021 0x55, 0x89, 0x48, 0xc7, 0x72, 0x3c, 0x6d, 0xdc, 0x4c, 0x23, 0x51, 0xb2, 0xca, 0x5a, 0x36, 0x59,
2022 0xd0, 0xb2, 0xfb, 0x88, 0x87, 0x03, 0x12, 0x4b, 0x0a, 0x63, 0x10, 0x60, 0xb1, 0x4b, 0x39, 0x1a,
2023 0x4f, 0x2e, 0xe9, 0x23, 0xbd, 0xe7, 0xde, 0x53, 0x3b, 0x9d, 0xe9, 0xff, 0x92, 0x53, 0x4f, 0xb9,
2024 0x76, 0x7a, 0xe8, 0x5f, 0x90, 0x73, 0x67, 0x1f, 0x20, 0x01, 0x02, 0xd0, 0x23, 0xcd, 0x4c, 0x4f,
2025 0x12, 0xf6, 0xfb, 0xf0, 0xfb, 0x1e, 0xbb, 0xfb, 0xed, 0x87, 0x25, 0x14, 0xcf, 0x5c, 0x9b, 0x9d,
2026 0x1a, 0xcd, 0xbe, 0xe7, 0x32, 0x97, 0x96, 0xe5, 0x53, 0x49, 0x3c, 0xa1, 0x19, 0xf9, 0x54, 0xdc,
2027 0xe8, 0xba, 0x6e, 0xd7, 0x26, 0x65, 0xa3, 0x6f, 0x95, 0x0d, 0xc7, 0x71, 0x99, 0xc1, 0x2c, 0xd7,
2028 0xa1, 0x52, 0xab, 0xb8, 0xae, 0xa4, 0xe2, 0xa9, 0x35, 0xe8, 0x94, 0x49, 0xaf, 0xcf, 0xce, 0x95,
2029 0xb0, 0x10, 0xc6, 0xf7, 0x08, 0x53, 0xf0, 0xe2, 0x98, 0xe1, 0xb6, 0xdb, 0xeb, 0xb9, 0x4e, 0xbc,
2030 0xec, 0x94, 0x18, 0x36, 0x3b, 0x55, 0x32, 0x1c, 0x96, 0xd9, 0x6e, 0xd7, 0x6a, 0x1b, 0x76, 0xd3,
2031 0x24, 0x67, 0x56, 0x9b, 0xc4, 0xbf, 0x1f, 0x92, 0xad, 0x87, 0x65, 0x86, 0x69, 0xf4, 0x19, 0xf1,
2032 0x94, 0xf0, 0x66, 0x58, 0xe8, 0xf6, 0x89, 0xd3, 0xb1, 0xdd, 0xd7, 0xcd, 0x0f, 0x77, 0x13, 0x14,
2033 0x7a, 0x6d, 0xab, 0xd9, 0xb3, 0x5a, 0x4d, 0xb3, 0xa5, 0x14, 0x6e, 0xc7, 0x28, 0x18, 0xb6, 0xe1,
2034 0xf5, 0x86, 0x2a, 0xf8, 0xaf, 0x1a, 0x2c, 0x1c, 0x08, 0x97, 0x8e, 0x3c, 0x77, 0xd0, 0x47, 0x2b,
2035 0x90, 0xb2, 0xcc, 0x82, 0x76, 0x4b, 0xdb, 0x9a, 0xdf, 0x9f, 0xfe, 0xcf, 0x77, 0xdf, 0x6c, 0x6a,
2036 0x7a, 0xca, 0x32, 0x51, 0x15, 0x96, 0xc2, 0xc1, 0xd1, 0x42, 0xea, 0xd6, 0xe4, 0xd6, 0xc2, 0xbd,
2037 0x95, 0x92, 0x9a, 0xa5, 0x63, 0x29, 0x96, 0xac, 0xfd, 0xf9, 0x7f, 0x7d, 0xf7, 0xcd, 0xe6, 0x14,
2038 0x67, 0xe9, 0x8b, 0x76, 0x50, 0x42, 0xd1, 0x2e, 0xcc, 0xfa, 0x88, 0x49, 0x81, 0x58, 0xf4, 0x11,
2039 0xd1, 0x77, 0x7d, 0x4d, 0xfc, 0x13, 0x48, 0x07, 0xbc, 0xa4, 0xe8, 0x47, 0x30, 0x6d, 0x31, 0xd2,
2040 0xa3, 0x05, 0x4d, 0x20, 0xf2, 0x61, 0x84, 0x50, 0xd2, 0xa5, 0x06, 0xfe, 0x8b, 0x06, 0xe8, 0xf0,
2041 0x8c, 0x38, 0xec, 0x91, 0x65, 0x33, 0xe2, 0xe9, 0x03, 0x9b, 0x3c, 0x26, 0xe7, 0xf8, 0x2b, 0x0d,
2042 0xf2, 0x63, 0xc3, 0xcf, 0xce, 0xfb, 0x04, 0x2d, 0x02, 0x74, 0xc4, 0x48, 0xd3, 0xb0, 0xed, 0xec,
2043 0x04, 0x4a, 0xc3, 0x5c, 0xdb, 0x60, 0xa4, 0xeb, 0x7a, 0xe7, 0x59, 0x0d, 0x65, 0x21, 0x4d, 0x07,
2044 0xad, 0xe6, 0x70, 0x24, 0x85, 0x10, 0x2c, 0xbe, 0xea, 0x5b, 0x4d, 0xc2, 0x51, 0x4d, 0x76, 0xde,
2045 0x27, 0xd9, 0x49, 0xb4, 0x02, 0xb9, 0xb6, 0xeb, 0x74, 0xac, 0x6e, 0x70, 0x78, 0x8a, 0x0f, 0xcb,
2046 0x78, 0x82, 0xc3, 0xd3, 0xd8, 0x82, 0xa5, 0x31, 0x47, 0xd0, 0xa7, 0x30, 0xf9, 0x8a, 0x9c, 0x8b,
2047 0x69, 0x58, 0xbc, 0x57, 0xf2, 0x83, 0x8b, 0x46, 0x51, 0x8a, 0x89, 0x40, 0xe7, 0xaf, 0xa2, 0x65,
2048 0x98, 0x3e, 0x33, 0xec, 0x01, 0x29, 0xa4, 0xf8, 0x54, 0xea, 0xf2, 0x01, 0xff, 0x5d, 0x83, 0x85,
2049 0xc0, 0x2b, 0x49, 0xb3, 0xbd, 0x0a, 0x33, 0xc4, 0x31, 0x5a, 0xb6, 0x7c, 0x7b, 0x4e, 0x57, 0x4f,
2050 0x68, 0x1d, 0xe6, 0x55, 0x00, 0x96, 0x59, 0x98, 0x14, 0xe0, 0x39, 0x39, 0x50, 0x35, 0xd1, 0x26,
2051 0xc0, 0x28, 0xac, 0xc2, 0x94, 0x90, 0xce, 0x8b, 0x11, 0x91, 0xd7, 0x1d, 0x98, 0xf6, 0x06, 0x36,
2052 0xa1, 0x85, 0x69, 0x31, 0x63, 0x6b, 0x09, 0x41, 0xe9, 0x52, 0x0b, 0x7f, 0x02, 0xe9, 0x80, 0x84,
2053 0xa2, 0x1d, 0x98, 0x95, 0xd3, 0x12, 0x99, 0xf2, 0x20, 0xc0, 0xd7, 0xc1, 0xaf, 0x20, 0x5d, 0x71,
2054 0x3d, 0x52, 0x75, 0x28, 0x33, 0x9c, 0x36, 0x41, 0xef, 0xc1, 0x82, 0xa5, 0xfe, 0x6f, 0x8e, 0x47,
2055 0x0c, 0xbe, 0xa4, 0x6a, 0xa2, 0x5d, 0x98, 0x91, 0x1b, 0x5c, 0x44, 0xbe, 0x70, 0x6f, 0xd9, 0xb7,
2056 0xf2, 0x73, 0x31, 0xda, 0x60, 0x06, 0x1b, 0xd0, 0xfd, 0x69, 0xbe, 0x42, 0x27, 0x74, 0xa5, 0x8a,
2057 0x1f, 0x42, 0x26, 0x68, 0x8c, 0xa2, 0xed, 0xf0, 0xea, 0x1c, 0x42, 0x82, 0x5a, 0xfe, 0xf2, 0xfc,
2058 0x76, 0x0a, 0x66, 0x9e, 0x0b, 0x31, 0xba, 0x09, 0xb3, 0x67, 0xc4, 0xa3, 0x96, 0xeb, 0x84, 0x1d,
2059 0xf4, 0x47, 0xd1, 0x03, 0x98, 0x53, 0x25, 0xc2, 0xdf, 0x7e, 0x4b, 0x3e, 0x7a, 0x4f, 0x8e, 0x07,
2060 0x37, 0xcf, 0x50, 0x37, 0x6e, 0xf7, 0x4e, 0xfe, 0xef, 0xbb, 0x77, 0xea, 0xaa, 0xbb, 0x17, 0x7d,
2061 0x0a, 0x69, 0xb5, 0x6e, 0xf8, 0xda, 0xf0, 0x97, 0x00, 0x0a, 0xbf, 0xc9, 0x57, 0x49, 0xf0, 0xed,
2062 0x05, 0x73, 0x38, 0x4c, 0x51, 0x05, 0x32, 0x8a, 0xd0, 0x15, 0x05, 0xa0, 0x30, 0x93, 0xb8, 0xef,
2063 0x83, 0x0c, 0x65, 0x56, 0x15, 0x8d, 0x0a, 0x64, 0xe4, 0x0a, 0xf5, 0x57, 0xd2, 0x6c, 0xe2, 0x4a,
2064 0x0a, 0x41, 0x48, 0x70, 0x21, 0xfe, 0x12, 0x72, 0xa3, 0x42, 0x6b, 0x30, 0xa3, 0x65, 0x50, 0x52,
2065 0xd8, 0x50, 0x20, 0x2e, 0x29, 0x3d, 0xb1, 0x5a, 0xd2, 0x9d, 0x03, 0x83, 0x19, 0xfb, 0x59, 0x0e,
2066 0x5a, 0x08, 0x6c, 0x1c, 0x7d, 0x89, 0x6b, 0x71, 0x25, 0xf5, 0x36, 0x7a, 0x01, 0xf9, 0x60, 0x69,
2067 0xf6, 0xa1, 0x9b, 0x6a, 0x8a, 0x04, 0x74, 0x8f, 0xcb, 0x2e, 0xc4, 0x0a, 0xb7, 0xa4, 0x9a, 0x22,
2068 0xe0, 0xbf, 0x69, 0x90, 0x6d, 0x10, 0xbb, 0xf3, 0x8c, 0x50, 0xa6, 0x13, 0xda, 0x77, 0x1d, 0x4a,
2069 0xd0, 0xcf, 0x60, 0xc6, 0x23, 0x74, 0x60, 0x33, 0x55, 0x5e, 0xee, 0xf8, 0xe1, 0x8f, 0x6b, 0x06,
2070 0x07, 0x06, 0x36, 0xd3, 0xd5, 0x6b, 0xb8, 0x0e, 0x8b, 0x61, 0x09, 0x5a, 0x80, 0xd9, 0xc6, 0x49,
2071 0xa5, 0x72, 0xd8, 0x68, 0x64, 0x27, 0xf8, 0xc3, 0xa3, 0xbd, 0xea, 0xf1, 0x89, 0x7e, 0x98, 0xd5,
2072 0x50, 0x0e, 0x32, 0x4f, 0x6b, 0xcf, 0x9a, 0x8d, 0x93, 0x7a, 0xbd, 0xa6, 0x3f, 0x3b, 0x3c, 0xc8,
2073 0xa6, 0xf8, 0xd0, 0xc9, 0xd3, 0xc7, 0x4f, 0x6b, 0x2f, 0x9e, 0x36, 0x0f, 0x75, 0xbd, 0xa6, 0x67,
2074 0x27, 0x71, 0x0d, 0x72, 0xb5, 0xce, 0x5e, 0x97, 0x38, 0xac, 0x31, 0x68, 0xd1, 0xb6, 0x67, 0xb5,
2075 0x88, 0xc7, 0xeb, 0x89, 0xdb, 0x31, 0xf8, 0xe0, 0x70, 0xc7, 0xea, 0xf3, 0x6a, 0xa4, 0x6a, 0xf2,
2076 0x5a, 0xa4, 0x4e, 0x37, 0xcb, 0x54, 0x45, 0x6e, 0x4e, 0x0e, 0x54, 0x4d, 0xfc, 0x10, 0xe0, 0x09,
2077 0xe9, 0xb5, 0x88, 0x47, 0x4f, 0xad, 0x3e, 0x27, 0x89, 0x55, 0xd3, 0x74, 0x8c, 0x1e, 0xf1, 0x49,
2078 0x62, 0xe4, 0xa9, 0xd1, 0xe3, 0x15, 0x3f, 0x35, 0x44, 0xa4, 0x2c, 0x13, 0x1f, 0x42, 0xfa, 0x91,
2079 0xed, 0xbe, 0x7e, 0x42, 0x98, 0xc1, 0xe7, 0x02, 0x7d, 0x04, 0x33, 0x3d, 0x12, 0xa8, 0x3c, 0x9b,
2080 0xa5, 0xe0, 0x51, 0xec, 0x76, 0xfa, 0x4d, 0x21, 0x6e, 0xca, 0x92, 0xaf, 0x2b, 0xe5, 0x7b, 0xdf,
2081 0xee, 0x40, 0x46, 0x6e, 0xec, 0x06, 0xf1, 0xf8, 0x24, 0x21, 0x1d, 0x16, 0x4f, 0xfa, 0xa6, 0xc1,
2082 0xc8, 0xb1, 0xdb, 0x3d, 0x26, 0x67, 0xc4, 0x46, 0x4b, 0x25, 0xd5, 0x6a, 0x1c, 0xbb, 0xdd, 0xae,
2083 0xe5, 0x74, 0x8b, 0xab, 0x25, 0xd9, 0xc0, 0x94, 0xfc, 0x06, 0xa6, 0x74, 0xc8, 0x1b, 0x18, 0xbc,
2084 0xf6, 0xe5, 0x3f, 0xff, 0xfd, 0x75, 0x2a, 0x87, 0xd3, 0xa2, 0xef, 0x39, 0xfb, 0x90, 0xb7, 0x1a,
2085 0xf4, 0x63, 0x6d, 0x1b, 0xd5, 0x21, 0x7d, 0x44, 0x98, 0x0f, 0xa4, 0xa8, 0x30, 0x46, 0xac, 0xb8,
2086 0xbd, 0xbe, 0xeb, 0x10, 0x87, 0x15, 0xb3, 0x63, 0x12, 0x8a, 0x97, 0x05, 0x74, 0x11, 0x85, 0xa0,
2087 0xe8, 0x05, 0x64, 0x8e, 0x08, 0x0b, 0xa4, 0x2f, 0xc1, 0xa7, 0xe2, 0x70, 0xff, 0x8e, 0x74, 0x71,
2088 0x51, 0x20, 0x97, 0x11, 0xf2, 0x91, 0xbd, 0x11, 0xe7, 0x25, 0x64, 0x65, 0xf8, 0x01, 0x76, 0x0c,
2089 0x23, 0x31, 0x07, 0x9b, 0x82, 0xbd, 0x86, 0x63, 0xd8, 0x3c, 0x13, 0x07, 0x30, 0x7f, 0x44, 0x98,
2090 0x2a, 0xa5, 0x49, 0x3e, 0x0f, 0xab, 0x95, 0xd4, 0xc3, 0x4b, 0x82, 0x39, 0x8f, 0x66, 0x15, 0x13,
2091 0xbd, 0x84, 0xdc, 0xb1, 0x45, 0x59, 0xb8, 0x9e, 0x27, 0xd1, 0x56, 0xe2, 0x0a, 0x3b, 0xc5, 0x37,
2092 0x04, 0x34, 0x8f, 0x72, 0xbe, 0xa3, 0xd6, 0x90, 0xd4, 0x80, 0xa5, 0x23, 0x12, 0xa2, 0x23, 0xf0,
2093 0xe7, 0xa5, 0x7a, 0x50, 0x8c, 0x3d, 0x29, 0xf0, 0x5b, 0x82, 0x57, 0x40, 0xab, 0x11, 0x5e, 0xf9,
2094 0x8d, 0x65, 0x7e, 0x81, 0x74, 0x48, 0x73, 0x9f, 0xf7, 0xfc, 0x72, 0x9f, 0xe4, 0x6e, 0x76, 0xec,
2095 0xb0, 0xa0, 0xb8, 0x20, 0xc8, 0x08, 0x65, 0x7d, 0xf2, 0xf0, 0xc8, 0x20, 0x80, 0x38, 0xf3, 0x38,
2096 0x5c, 0xfd, 0x93, 0xc8, 0xab, 0xb1, 0xe7, 0x08, 0xc5, 0x37, 0x05, 0xff, 0x06, 0x5a, 0x0b, 0xac,
2097 0xb0, 0xe0, 0x31, 0x84, 0x7e, 0x0b, 0x59, 0xb9, 0x7c, 0x47, 0x6f, 0x85, 0x12, 0x12, 0x7f, 0x40,
2098 0xe1, 0x77, 0x04, 0xf7, 0x2d, 0xb4, 0x91, 0xc0, 0x95, 0x79, 0xe9, 0xc0, 0x6a, 0x24, 0x86, 0xba,
2099 0xeb, 0x31, 0x1a, 0x9f, 0x73, 0xa5, 0x27, 0x34, 0xf0, 0xb6, 0xb0, 0xf0, 0x0e, 0xc2, 0x17, 0x59,
2100 0x28, 0xf7, 0x05, 0xed, 0x73, 0x58, 0x1e, 0x0f, 0x82, 0x43, 0xd0, 0x4a, 0x0c, 0xb9, 0x6a, 0x16,
2101 0xf3, 0x31, 0xc3, 0xf8, 0xbe, 0xb0, 0x57, 0x42, 0x1f, 0x5c, 0x6e, 0xaf, 0xfc, 0x86, 0xff, 0x69,
2102 0xf2, 0x08, 0xff, 0xa8, 0xc1, 0xda, 0xa1, 0xe8, 0xcd, 0xae, 0x6c, 0x3d, 0x69, 0x77, 0x3d, 0x14,
2103 0x0e, 0x7c, 0x84, 0x77, 0xaf, 0xe3, 0x40, 0x59, 0x35, 0x86, 0x5f, 0x69, 0x50, 0x38, 0xb0, 0xe8,
2104 0x0f, 0xe2, 0xc8, 0x4f, 0x85, 0x23, 0x0f, 0xf0, 0xfd, 0x6b, 0x39, 0x62, 0x4a, 0xeb, 0xc8, 0x8c,
2105 0x99, 0x73, 0x5e, 0xcd, 0xc3, 0x73, 0x8e, 0x42, 0x25, 0x5c, 0xc8, 0xaf, 0x38, 0xe3, 0x1d, 0xc1,
2106 0xfa, 0xbd, 0x06, 0x1b, 0xc3, 0x52, 0x1e, 0x36, 0xf4, 0x4c, 0xb8, 0xb1, 0x11, 0x31, 0x20, 0xc6,
2107 0xe5, 0x3b, 0x89, 0xa1, 0xef, 0x08, 0x17, 0xee, 0xe0, 0x2b, 0xb8, 0xc0, 0x2b, 0xde, 0x1f, 0x34,
2108 0xd8, 0x8c, 0xf1, 0xe2, 0x09, 0x3f, 0x7f, 0xa4, 0x1b, 0xeb, 0x21, 0x37, 0x84, 0xe0, 0x89, 0x6b,
2109 0x5e, 0xe2, 0x45, 0x49, 0x78, 0xb1, 0x85, 0xdf, 0xbe, 0xd0, 0x0b, 0x79, 0xca, 0x71, 0x37, 0xba,
2110 0xb0, 0x16, 0x49, 0xb9, 0x30, 0x15, 0xce, 0x79, 0x3e, 0xea, 0x0b, 0xc5, 0xef, 0x0b, 0x5b, 0xef,
2111 0xa2, 0xab, 0xd8, 0x42, 0x0c, 0xd6, 0x63, 0xe7, 0x56, 0xb5, 0x77, 0x41, 0x63, 0x6b, 0x91, 0xfc,
2112 0x4b, 0x25, 0x7c, 0x57, 0x18, 0xdc, 0x46, 0x5b, 0x97, 0xa6, 0x58, 0x75, 0x9a, 0xe8, 0x6b, 0x0d,
2113 0x6e, 0x27, 0xcc, 0xb5, 0x60, 0xca, 0x4c, 0xdf, 0x8e, 0x37, 0x78, 0x95, 0x59, 0xdf, 0x15, 0x2e,
2114 0xed, 0xe0, 0x2b, 0xbb, 0xc4, 0x93, 0x5e, 0x83, 0x05, 0x9e, 0x8b, 0xcb, 0x0a, 0xf3, 0x52, 0xb8,
2115 0x41, 0xa6, 0x7e, 0x23, 0x81, 0x96, 0x7c, 0x63, 0x7e, 0x25, 0xae, 0x41, 0x66, 0x04, 0xac, 0x9a,
2116 0xc9, 0xc8, 0x85, 0x51, 0x9a, 0x63, 0x8e, 0x3a, 0x89, 0xb3, 0x4c, 0x8a, 0x4e, 0x20, 0xab, 0x93,
2117 0xb6, 0xeb, 0xb4, 0x2d, 0x9b, 0xf8, 0x6e, 0x06, 0xdf, 0x4d, 0xcc, 0xc7, 0x86, 0x60, 0xae, 0xe2,
2118 0x28, 0x93, 0x07, 0x7e, 0x28, 0x8e, 0xf9, 0x98, 0xa3, 0x62, 0xec, 0x43, 0xc4, 0xc7, 0xa0, 0xe5,
2119 0xb1, 0x48, 0xe5, 0xd9, 0xf0, 0x0b, 0x48, 0x57, 0x3c, 0x62, 0x30, 0xe5, 0x1a, 0x1a, 0x7b, 0x3b,
2120 0x42, 0x53, 0x8d, 0x0d, 0x1e, 0xcf, 0x1b, 0x77, 0xe9, 0x05, 0xa4, 0x65, 0x11, 0x8e, 0xf1, 0x2a,
2121 0x29, 0xc8, 0xb7, 0x05, 0x6f, 0x13, 0xaf, 0xc7, 0x79, 0xe7, 0x97, 0xd5, 0x5f, 0x43, 0x46, 0x55,
2122 0xd5, 0x6b, 0x90, 0xd5, 0xd9, 0x88, 0x37, 0x62, 0xc9, 0x7e, 0x9d, 0x7c, 0x01, 0x69, 0x9d, 0xb4,
2123 0x5c, 0x97, 0xfd, 0x60, 0x3e, 0x7b, 0x02, 0xc7, 0xc1, 0x07, 0xc4, 0x26, 0xec, 0x7b, 0x24, 0x63,
2124 0x3b, 0x1e, 0x6c, 0x0a, 0x1c, 0x1a, 0x40, 0xe6, 0xc0, 0x7d, 0xed, 0xd8, 0xae, 0x61, 0x56, 0x7b,
2125 0x46, 0x97, 0x8c, 0xce, 0x15, 0xf1, 0xe8, 0xcb, 0x8a, 0x2b, 0xbe, 0xc1, 0x5a, 0x9f, 0x78, 0xe2,
2126 0x72, 0x90, 0x7f, 0xd0, 0xe0, 0x07, 0xc2, 0xc6, 0x5d, 0xfc, 0x7e, 0xac, 0x0d, 0x8b, 0x23, 0x9a,
2127 0xa6, 0x62, 0xd0, 0xf2, 0x1b, 0xfe, 0xa9, 0xf0, 0x05, 0x9f, 0xdc, 0x2f, 0x35, 0x58, 0x3d, 0x22,
2128 0x2c, 0x64, 0x43, 0x5e, 0x03, 0x24, 0x3b, 0x10, 0x37, 0x8c, 0x3f, 0x16, 0x0e, 0xdc, 0x47, 0xf7,
2129 0xae, 0xe1, 0x40, 0x99, 0x4a, 0x4b, 0x03, 0xd1, 0x26, 0x85, 0x78, 0xd7, 0xb4, 0xae, 0x8a, 0x0c,
2130 0xba, 0x4e, 0xf8, 0xa8, 0x23, 0x9b, 0xc0, 0x10, 0x89, 0x8e, 0xcd, 0x68, 0x9c, 0x35, 0x8a, 0x3f,
2131 0x10, 0xe6, 0xde, 0x43, 0xef, 0x5c, 0xc5, 0x1c, 0xfa, 0x1c, 0xf2, 0x15, 0xde, 0xcf, 0xda, 0x57,
2132 0x8c, 0x30, 0x76, 0x82, 0x55, 0x84, 0xdb, 0xd7, 0x8a, 0xf0, 0xcf, 0x1a, 0xe4, 0xf7, 0xda, 0xcc,
2133 0x3a, 0x33, 0x18, 0x11, 0x56, 0x64, 0xad, 0xbe, 0xa6, 0xe9, 0x8a, 0x30, 0xfd, 0x09, 0xfe, 0xf1,
2134 0x75, 0xa6, 0x56, 0x0e, 0x0f, 0x84, 0x3d, 0xbe, 0xd0, 0xfe, 0xa4, 0x41, 0x4e, 0x27, 0x67, 0xc4,
2135 0x63, 0xff, 0x17, 0x47, 0x3c, 0x61, 0x5a, 0x7e, 0x52, 0x2e, 0x8d, 0x4e, 0x82, 0x68, 0xbf, 0x9c,
2136 0xf1, 0x3d, 0x92, 0x8d, 0x32, 0x16, 0x26, 0x37, 0x50, 0x31, 0xd6, 0xa4, 0x6c, 0x90, 0x5f, 0x42,
2137 0x3e, 0x40, 0xec, 0x55, 0xc4, 0x87, 0x72, 0x98, 0x9a, 0x1b, 0x52, 0x7d, 0x31, 0xbe, 0x23, 0xc8,
2138 0xb7, 0xd1, 0xcd, 0x78, 0x72, 0x4f, 0x7d, 0x70, 0x53, 0xe4, 0xc0, 0x8a, 0xcc, 0xd6, 0xb8, 0x81,
2139 0x28, 0x34, 0xb1, 0x04, 0xa9, 0xee, 0x0f, 0x5f, 0x66, 0x8c, 0x27, 0xe8, 0x24, 0x98, 0xa0, 0xab,
2140 0x35, 0x97, 0x17, 0x67, 0x49, 0x36, 0x95, 0x04, 0x96, 0xc3, 0xd8, 0xeb, 0xf4, 0x35, 0x5b, 0xc2,
2141 0x00, 0x46, 0xb7, 0x12, 0x0d, 0xf8, 0xfd, 0xcc, 0x67, 0x41, 0xef, 0xe5, 0xed, 0x5a, 0xd2, 0x51,
2142 0x9f, 0x8f, 0xde, 0xd0, 0xd1, 0xa4, 0x73, 0x55, 0x5e, 0xed, 0x21, 0x5d, 0xdc, 0x1e, 0x8c, 0xf4,
2143 0xc7, 0x32, 0x13, 0xe1, 0xe1, 0xdb, 0x02, 0xb7, 0x8e, 0x6e, 0xc4, 0xe1, 0xe4, 0x59, 0xdd, 0x84,
2144 0xec, 0xc8, 0x63, 0x95, 0x94, 0x24, 0x97, 0x97, 0x63, 0x6e, 0x04, 0xa9, 0x7f, 0x75, 0x80, 0x56,
2145 0xc6, 0x8c, 0xa8, 0x94, 0x3c, 0x82, 0x6c, 0x83, 0x79, 0xc4, 0xe8, 0xd5, 0x8d, 0xf6, 0x2b, 0xc2,
2146 0x68, 0x6d, 0xc0, 0xd0, 0x6a, 0x28, 0xd3, 0x52, 0x50, 0x1b, 0xb0, 0xc4, 0x05, 0x34, 0xb1, 0xa5,
2147 0xa1, 0x43, 0xd1, 0xf2, 0x10, 0xeb, 0x8c, 0x28, 0x50, 0xd5, 0xb9, 0xe0, 0xee, 0x20, 0xca, 0xaf,
2148 0x3a, 0x78, 0xe2, 0xae, 0x86, 0x1e, 0x43, 0x5e, 0x61, 0x2a, 0xa7, 0x86, 0xd3, 0x25, 0xe2, 0x5e,
2149 0x32, 0x39, 0xe4, 0x42, 0x88, 0x14, 0x78, 0x45, 0xc0, 0x4e, 0x60, 0x71, 0x38, 0x21, 0xf2, 0x27,
2150 0x9e, 0x70, 0x53, 0x1e, 0x4d, 0x57, 0xd2, 0x62, 0x55, 0xd9, 0xf2, 0xe7, 0x24, 0x27, 0xfb, 0xa7,
2151 0xe0, 0xcf, 0x09, 0x71, 0x37, 0xa9, 0xc5, 0xb8, 0x41, 0x7c, 0x4b, 0x98, 0x28, 0xe2, 0xe1, 0x84,
2152 0x84, 0x2e, 0x66, 0xf9, 0x26, 0x7b, 0x2e, 0xfc, 0x0e, 0xd2, 0x63, 0x3f, 0xda, 0x83, 0x3f, 0x12,
2153 0x44, 0x1d, 0x0f, 0x51, 0xa5, 0xe3, 0x26, 0xe4, 0x64, 0xb1, 0xf8, 0x7e, 0x8e, 0xbf, 0x2b, 0x4c,
2154 0xdc, 0x2c, 0x5e, 0x60, 0x82, 0x7b, 0x6f, 0x42, 0x4e, 0x76, 0x41, 0x97, 0x5a, 0x49, 0x5a, 0x4f,
2155 0x2a, 0x96, 0xed, 0x8b, 0x62, 0x51, 0x1b, 0x23, 0xf4, 0x43, 0xc9, 0xa5, 0x1b, 0x23, 0x94, 0xb1,
2156 0xc8, 0xc6, 0x08, 0x59, 0x41, 0xc7, 0xa2, 0xd9, 0x16, 0x47, 0x0f, 0x8d, 0x6f, 0xb6, 0xa5, 0xcc,
2157 0xef, 0xe0, 0xd0, 0x7a, 0xf2, 0xc1, 0x43, 0xd1, 0xaf, 0x60, 0xce, 0xbf, 0x38, 0x0e, 0xc1, 0x0a,
2158 0x49, 0x37, 0xd0, 0xf8, 0x3d, 0x81, 0xbd, 0x85, 0xdf, 0x8a, 0xc5, 0x52, 0x62, 0x77, 0x9a, 0x8c,
2159 0xd3, 0x9e, 0x8b, 0xfe, 0x28, 0x74, 0xf1, 0x3e, 0xfe, 0xed, 0x19, 0xb9, 0x99, 0x8f, 0x56, 0x1e,
2160 0xbe, 0x8d, 0xb8, 0x9e, 0xfa, 0xe8, 0xb4, 0x5a, 0xe8, 0x33, 0x40, 0x47, 0x84, 0x8d, 0xdd, 0xbd,
2161 0x8f, 0x5d, 0x50, 0xc5, 0x5d, 0xcf, 0x47, 0xf3, 0x11, 0x66, 0x8b, 0x9b, 0x7e, 0x44, 0x21, 0xd3,
2162 0xb0, 0x7a, 0x03, 0xdb, 0x60, 0x44, 0xbc, 0x8f, 0x36, 0x86, 0x89, 0x08, 0x0e, 0xeb, 0xe4, 0x77,
2163 0x03, 0x42, 0x59, 0xd2, 0x99, 0x1f, 0xb9, 0x34, 0x08, 0xe7, 0x48, 0x91, 0x9a, 0x9c, 0xc4, 0x57,
2164 0x66, 0x05, 0xe6, 0x87, 0x97, 0xec, 0xe8, 0x86, 0x6f, 0x30, 0x72, 0xfd, 0x5e, 0x4c, 0x16, 0xe1,
2165 0x89, 0x7d, 0x1b, 0xf2, 0xae, 0xd7, 0x15, 0x75, 0xa7, 0xed, 0x7a, 0xa6, 0x52, 0xdd, 0x4f, 0xcb,
2166 0x5b, 0xd5, 0xba, 0xf8, 0xb9, 0xf9, 0x37, 0xa5, 0xae, 0xc5, 0x4e, 0x07, 0x2d, 0xee, 0x75, 0xd9,
2167 0xd7, 0x54, 0xbf, 0xe9, 0xef, 0xf8, 0xbf, 0xf0, 0xef, 0x96, 0xbb, 0xae, 0x1a, 0xfb, 0x47, 0x6a,
2168 0xb5, 0xe6, 0xf3, 0x9e, 0x07, 0x2f, 0x69, 0xeb, 0xa9, 0xfa, 0x64, 0x7d, 0xaa, 0x3e, 0x5d, 0x9f,
2169 0xa9, 0xcf, 0xd6, 0xe7, 0x5a, 0x33, 0xe2, 0xdd, 0xdd, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x47,
2170 0x9e, 0x76, 0x38, 0x2d, 0x20, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04002171}
2172
2173// Reference imports to suppress errors if they are not otherwise used.
2174var _ context.Context
2175var _ grpc.ClientConn
2176
2177// This is a compile-time assertion to ensure that this generated file
2178// is compatible with the grpc package it is being compiled against.
2179const _ = grpc.SupportPackageIsVersion4
2180
2181// VolthaServiceClient is the client API for VolthaService service.
2182//
2183// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2184type VolthaServiceClient interface {
2185 // Get more information on a given physical device
Scott Baker99af94e2019-08-20 10:45:06 -07002186 UpdateLogLevel(ctx context.Context, in *common.Logging, opts ...grpc.CallOption) (*empty.Empty, error)
2187 GetLogLevels(ctx context.Context, in *common.LoggingComponent, opts ...grpc.CallOption) (*common.Loggings, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002188 // Get the membership group of a Voltha Core
2189 GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error)
2190 // Set the membership group of a Voltha Core
2191 UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error)
2192 // Get high level information on the Voltha cluster
2193 GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error)
2194 // List all Voltha cluster core instances
2195 ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error)
2196 // Get details on a Voltha cluster instance
2197 GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error)
2198 // List all active adapters (plugins) in the Voltha cluster
2199 ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error)
2200 // List all logical devices managed by the Voltha cluster
2201 ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error)
2202 // Get additional information on a given logical device
2203 GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error)
2204 // List ports of a logical device
2205 ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error)
2206 // Gets a logical device port
2207 GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error)
2208 // Enables a logical device port
2209 EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2210 // Disables a logical device port
2211 DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error)
2212 // List all flows of a logical device
2213 ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2214 // Update flow table for logical device
2215 UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2216 // Update meter table for logical device
2217 UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002218 // List all meters of a logical device
2219 ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002220 // List all flow groups of a logical device
2221 ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2222 // Update group table for device
2223 UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error)
2224 // List all physical devices controlled by the Voltha cluster
2225 ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error)
2226 // List all physical devices IDs controlled by the Voltha cluster
2227 ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error)
2228 // Request to a voltha Core to reconcile a set of devices based on their IDs
2229 ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error)
2230 // Get more information on a given physical device
2231 GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error)
2232 // Pre-provision a new physical device
2233 CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
2234 // Enable a device. If the device was in pre-provisioned state then it
2235 // will transition to ENABLED state. If it was is DISABLED state then it
2236 // will transition to ENABLED state as well.
2237 EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2238 // Disable a device
2239 DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2240 // Reboot a device
2241 RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2242 // Delete a device
2243 DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error)
2244 // Request an image download to the standby partition
2245 // of a device.
2246 // Note that the call is expected to be non-blocking.
2247 DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2248 // Get image download status on a device
2249 // The request retrieves progress on device and updates db record
2250 GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2251 // Get image download db record
2252 GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error)
2253 // List image download db records for a given device
2254 ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error)
2255 // Cancel an existing image download process on a device
2256 CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2257 // Activate the specified image at a standby partition
2258 // to active partition.
2259 // Depending on the device implementation, this call
2260 // may or may not cause device reboot.
2261 // If no reboot, then a reboot is required to make the
2262 // activated image running on device
2263 // Note that the call is expected to be non-blocking.
2264 ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2265 // Revert the specified image at standby partition
2266 // to active partition, and revert to previous image
2267 // Depending on the device implementation, this call
2268 // may or may not cause device reboot.
2269 // If no reboot, then a reboot is required to make the
2270 // previous image running on device
2271 // Note that the call is expected to be non-blocking.
2272 RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error)
2273 // List ports of a device
2274 ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error)
2275 // List pm config of a device
2276 ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error)
2277 // Update the pm config of a device
2278 UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error)
2279 // List all flows of a device
2280 ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error)
2281 // List all flow groups of a device
2282 ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error)
2283 // List device types known to Voltha
2284 ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error)
2285 // Get additional information on a device type
2286 GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error)
2287 // List all device sharding groups
2288 ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error)
2289 // Stream control packets to the dataplane
2290 StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error)
2291 // Receive control packet stream
2292 ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error)
2293 ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error)
2294 // Get additional information on a device group
2295 GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002296 CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2297 // Get all filters present for a device
2298 GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error)
2299 UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error)
2300 DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error)
2301 // Get all the filters present
2302 ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002303 GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error)
2304 SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error)
2305 // OpenOMCI MIB information
2306 GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error)
2307 // OpenOMCI ALARM information
2308 GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error)
2309 // Simulate an Alarm
2310 SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error)
2311 Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error)
2312}
2313
2314type volthaServiceClient struct {
2315 cc *grpc.ClientConn
2316}
2317
2318func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient {
2319 return &volthaServiceClient{cc}
2320}
2321
Scott Baker99af94e2019-08-20 10:45:06 -07002322func (c *volthaServiceClient) UpdateLogLevel(ctx context.Context, in *common.Logging, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002323 out := new(empty.Empty)
2324 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogLevel", in, out, opts...)
2325 if err != nil {
2326 return nil, err
2327 }
2328 return out, nil
2329}
2330
Scott Baker99af94e2019-08-20 10:45:06 -07002331func (c *volthaServiceClient) GetLogLevels(ctx context.Context, in *common.LoggingComponent, opts ...grpc.CallOption) (*common.Loggings, error) {
2332 out := new(common.Loggings)
2333 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogLevels", in, out, opts...)
2334 if err != nil {
2335 return nil, err
2336 }
2337 return out, nil
2338}
2339
William Kurkian1b363f42019-03-12 15:28:12 -04002340func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) {
2341 out := new(Membership)
2342 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...)
2343 if err != nil {
2344 return nil, err
2345 }
2346 return out, nil
2347}
2348
2349func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) {
2350 out := new(empty.Empty)
2351 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...)
2352 if err != nil {
2353 return nil, err
2354 }
2355 return out, nil
2356}
2357
2358func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) {
2359 out := new(Voltha)
2360 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...)
2361 if err != nil {
2362 return nil, err
2363 }
2364 return out, nil
2365}
2366
2367func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) {
2368 out := new(CoreInstances)
2369 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...)
2370 if err != nil {
2371 return nil, err
2372 }
2373 return out, nil
2374}
2375
2376func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) {
2377 out := new(CoreInstance)
2378 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...)
2379 if err != nil {
2380 return nil, err
2381 }
2382 return out, nil
2383}
2384
2385func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) {
2386 out := new(Adapters)
2387 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...)
2388 if err != nil {
2389 return nil, err
2390 }
2391 return out, nil
2392}
2393
2394func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) {
2395 out := new(LogicalDevices)
2396 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...)
2397 if err != nil {
2398 return nil, err
2399 }
2400 return out, nil
2401}
2402
2403func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) {
2404 out := new(LogicalDevice)
2405 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...)
2406 if err != nil {
2407 return nil, err
2408 }
2409 return out, nil
2410}
2411
2412func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) {
2413 out := new(LogicalPorts)
2414 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...)
2415 if err != nil {
2416 return nil, err
2417 }
2418 return out, nil
2419}
2420
2421func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) {
2422 out := new(LogicalPort)
2423 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...)
2424 if err != nil {
2425 return nil, err
2426 }
2427 return out, nil
2428}
2429
2430func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2431 out := new(empty.Empty)
2432 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...)
2433 if err != nil {
2434 return nil, err
2435 }
2436 return out, nil
2437}
2438
2439func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) {
2440 out := new(empty.Empty)
2441 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...)
2442 if err != nil {
2443 return nil, err
2444 }
2445 return out, nil
2446}
2447
2448func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2449 out := new(openflow_13.Flows)
2450 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...)
2451 if err != nil {
2452 return nil, err
2453 }
2454 return out, nil
2455}
2456
2457func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2458 out := new(empty.Empty)
2459 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...)
2460 if err != nil {
2461 return nil, err
2462 }
2463 return out, nil
2464}
2465
2466func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2467 out := new(empty.Empty)
2468 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...)
2469 if err != nil {
2470 return nil, err
2471 }
2472 return out, nil
2473}
2474
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002475func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
2476 out := new(openflow_13.Meters)
2477 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002478 if err != nil {
2479 return nil, err
2480 }
2481 return out, nil
2482}
2483
2484func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2485 out := new(openflow_13.FlowGroups)
2486 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...)
2487 if err != nil {
2488 return nil, err
2489 }
2490 return out, nil
2491}
2492
2493func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) {
2494 out := new(empty.Empty)
2495 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...)
2496 if err != nil {
2497 return nil, err
2498 }
2499 return out, nil
2500}
2501
2502func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) {
2503 out := new(Devices)
2504 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...)
2505 if err != nil {
2506 return nil, err
2507 }
2508 return out, nil
2509}
2510
2511func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
2512 out := new(common.IDs)
2513 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...)
2514 if err != nil {
2515 return nil, err
2516 }
2517 return out, nil
2518}
2519
2520func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) {
2521 out := new(empty.Empty)
2522 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...)
2523 if err != nil {
2524 return nil, err
2525 }
2526 return out, nil
2527}
2528
2529func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) {
2530 out := new(Device)
2531 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...)
2532 if err != nil {
2533 return nil, err
2534 }
2535 return out, nil
2536}
2537
2538func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) {
2539 out := new(Device)
2540 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...)
2541 if err != nil {
2542 return nil, err
2543 }
2544 return out, nil
2545}
2546
2547func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2548 out := new(empty.Empty)
2549 err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...)
2550 if err != nil {
2551 return nil, err
2552 }
2553 return out, nil
2554}
2555
2556func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2557 out := new(empty.Empty)
2558 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...)
2559 if err != nil {
2560 return nil, err
2561 }
2562 return out, nil
2563}
2564
2565func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2566 out := new(empty.Empty)
2567 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...)
2568 if err != nil {
2569 return nil, err
2570 }
2571 return out, nil
2572}
2573
2574func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) {
2575 out := new(empty.Empty)
2576 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...)
2577 if err != nil {
2578 return nil, err
2579 }
2580 return out, nil
2581}
2582
2583func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2584 out := new(common.OperationResp)
2585 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...)
2586 if err != nil {
2587 return nil, err
2588 }
2589 return out, nil
2590}
2591
2592func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2593 out := new(ImageDownload)
2594 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...)
2595 if err != nil {
2596 return nil, err
2597 }
2598 return out, nil
2599}
2600
2601func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) {
2602 out := new(ImageDownload)
2603 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...)
2604 if err != nil {
2605 return nil, err
2606 }
2607 return out, nil
2608}
2609
2610func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) {
2611 out := new(ImageDownloads)
2612 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...)
2613 if err != nil {
2614 return nil, err
2615 }
2616 return out, nil
2617}
2618
2619func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2620 out := new(common.OperationResp)
2621 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...)
2622 if err != nil {
2623 return nil, err
2624 }
2625 return out, nil
2626}
2627
2628func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2629 out := new(common.OperationResp)
2630 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...)
2631 if err != nil {
2632 return nil, err
2633 }
2634 return out, nil
2635}
2636
2637func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
2638 out := new(common.OperationResp)
2639 err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...)
2640 if err != nil {
2641 return nil, err
2642 }
2643 return out, nil
2644}
2645
2646func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) {
2647 out := new(Ports)
2648 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...)
2649 if err != nil {
2650 return nil, err
2651 }
2652 return out, nil
2653}
2654
2655func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) {
2656 out := new(PmConfigs)
2657 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...)
2658 if err != nil {
2659 return nil, err
2660 }
2661 return out, nil
2662}
2663
2664func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) {
2665 out := new(empty.Empty)
2666 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...)
2667 if err != nil {
2668 return nil, err
2669 }
2670 return out, nil
2671}
2672
2673func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
2674 out := new(openflow_13.Flows)
2675 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...)
2676 if err != nil {
2677 return nil, err
2678 }
2679 return out, nil
2680}
2681
2682func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
2683 out := new(openflow_13.FlowGroups)
2684 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...)
2685 if err != nil {
2686 return nil, err
2687 }
2688 return out, nil
2689}
2690
2691func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) {
2692 out := new(DeviceTypes)
2693 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...)
2694 if err != nil {
2695 return nil, err
2696 }
2697 return out, nil
2698}
2699
2700func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) {
2701 out := new(DeviceType)
2702 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...)
2703 if err != nil {
2704 return nil, err
2705 }
2706 return out, nil
2707}
2708
2709func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) {
2710 out := new(DeviceGroups)
2711 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...)
2712 if err != nil {
2713 return nil, err
2714 }
2715 return out, nil
2716}
2717
2718func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) {
2719 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...)
2720 if err != nil {
2721 return nil, err
2722 }
2723 x := &volthaServiceStreamPacketsOutClient{stream}
2724 return x, nil
2725}
2726
2727type VolthaService_StreamPacketsOutClient interface {
2728 Send(*openflow_13.PacketOut) error
2729 CloseAndRecv() (*empty.Empty, error)
2730 grpc.ClientStream
2731}
2732
2733type volthaServiceStreamPacketsOutClient struct {
2734 grpc.ClientStream
2735}
2736
2737func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error {
2738 return x.ClientStream.SendMsg(m)
2739}
2740
2741func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) {
2742 if err := x.ClientStream.CloseSend(); err != nil {
2743 return nil, err
2744 }
2745 m := new(empty.Empty)
2746 if err := x.ClientStream.RecvMsg(m); err != nil {
2747 return nil, err
2748 }
2749 return m, nil
2750}
2751
2752func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) {
2753 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...)
2754 if err != nil {
2755 return nil, err
2756 }
2757 x := &volthaServiceReceivePacketsInClient{stream}
2758 if err := x.ClientStream.SendMsg(in); err != nil {
2759 return nil, err
2760 }
2761 if err := x.ClientStream.CloseSend(); err != nil {
2762 return nil, err
2763 }
2764 return x, nil
2765}
2766
2767type VolthaService_ReceivePacketsInClient interface {
2768 Recv() (*openflow_13.PacketIn, error)
2769 grpc.ClientStream
2770}
2771
2772type volthaServiceReceivePacketsInClient struct {
2773 grpc.ClientStream
2774}
2775
2776func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) {
2777 m := new(openflow_13.PacketIn)
2778 if err := x.ClientStream.RecvMsg(m); err != nil {
2779 return nil, err
2780 }
2781 return m, nil
2782}
2783
2784func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) {
2785 stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...)
2786 if err != nil {
2787 return nil, err
2788 }
2789 x := &volthaServiceReceiveChangeEventsClient{stream}
2790 if err := x.ClientStream.SendMsg(in); err != nil {
2791 return nil, err
2792 }
2793 if err := x.ClientStream.CloseSend(); err != nil {
2794 return nil, err
2795 }
2796 return x, nil
2797}
2798
2799type VolthaService_ReceiveChangeEventsClient interface {
2800 Recv() (*openflow_13.ChangeEvent, error)
2801 grpc.ClientStream
2802}
2803
2804type volthaServiceReceiveChangeEventsClient struct {
2805 grpc.ClientStream
2806}
2807
2808func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) {
2809 m := new(openflow_13.ChangeEvent)
2810 if err := x.ClientStream.RecvMsg(m); err != nil {
2811 return nil, err
2812 }
2813 return m, nil
2814}
2815
2816func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) {
2817 out := new(DeviceGroup)
2818 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...)
2819 if err != nil {
2820 return nil, err
2821 }
2822 return out, nil
2823}
2824
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002825func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2826 out := new(EventFilter)
2827 err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002828 if err != nil {
2829 return nil, err
2830 }
2831 return out, nil
2832}
2833
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002834func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) {
2835 out := new(EventFilters)
2836 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002837 if err != nil {
2838 return nil, err
2839 }
2840 return out, nil
2841}
2842
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002843func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) {
2844 out := new(EventFilter)
2845 err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002846 if err != nil {
2847 return nil, err
2848 }
2849 return out, nil
2850}
2851
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002852func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04002853 out := new(empty.Empty)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002854 err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002855 if err != nil {
2856 return nil, err
2857 }
2858 return out, nil
2859}
2860
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00002861func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) {
2862 out := new(EventFilters)
2863 err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...)
William Kurkian1b363f42019-03-12 15:28:12 -04002864 if err != nil {
2865 return nil, err
2866 }
2867 return out, nil
2868}
2869
2870func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) {
2871 out := new(Images)
2872 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...)
2873 if err != nil {
2874 return nil, err
2875 }
2876 return out, nil
2877}
2878
2879func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) {
2880 out := new(SelfTestResponse)
2881 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...)
2882 if err != nil {
2883 return nil, err
2884 }
2885 return out, nil
2886}
2887
2888func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
2889 out := new(omci.MibDeviceData)
2890 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...)
2891 if err != nil {
2892 return nil, err
2893 }
2894 return out, nil
2895}
2896
2897func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
2898 out := new(omci.AlarmDeviceData)
2899 err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...)
2900 if err != nil {
2901 return nil, err
2902 }
2903 return out, nil
2904}
2905
2906func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
2907 out := new(common.OperationResp)
2908 err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...)
2909 if err != nil {
2910 return nil, err
2911 }
2912 return out, nil
2913}
2914
2915func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) {
2916 out := new(OfAgentSubscriber)
2917 err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...)
2918 if err != nil {
2919 return nil, err
2920 }
2921 return out, nil
2922}
2923
2924// VolthaServiceServer is the server API for VolthaService service.
2925type VolthaServiceServer interface {
2926 // Get more information on a given physical device
Scott Baker99af94e2019-08-20 10:45:06 -07002927 UpdateLogLevel(context.Context, *common.Logging) (*empty.Empty, error)
2928 GetLogLevels(context.Context, *common.LoggingComponent) (*common.Loggings, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002929 // Get the membership group of a Voltha Core
2930 GetMembership(context.Context, *empty.Empty) (*Membership, error)
2931 // Set the membership group of a Voltha Core
2932 UpdateMembership(context.Context, *Membership) (*empty.Empty, error)
2933 // Get high level information on the Voltha cluster
2934 GetVoltha(context.Context, *empty.Empty) (*Voltha, error)
2935 // List all Voltha cluster core instances
2936 ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error)
2937 // Get details on a Voltha cluster instance
2938 GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error)
2939 // List all active adapters (plugins) in the Voltha cluster
2940 ListAdapters(context.Context, *empty.Empty) (*Adapters, error)
2941 // List all logical devices managed by the Voltha cluster
2942 ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error)
2943 // Get additional information on a given logical device
2944 GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error)
2945 // List ports of a logical device
2946 ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error)
2947 // Gets a logical device port
2948 GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error)
2949 // Enables a logical device port
2950 EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2951 // Disables a logical device port
2952 DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error)
2953 // List all flows of a logical device
2954 ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
2955 // Update flow table for logical device
2956 UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error)
2957 // Update meter table for logical device
2958 UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error)
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04002959 // List all meters of a logical device
2960 ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04002961 // List all flow groups of a logical device
2962 ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
2963 // Update group table for device
2964 UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error)
2965 // List all physical devices controlled by the Voltha cluster
2966 ListDevices(context.Context, *empty.Empty) (*Devices, error)
2967 // List all physical devices IDs controlled by the Voltha cluster
2968 ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error)
2969 // Request to a voltha Core to reconcile a set of devices based on their IDs
2970 ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error)
2971 // Get more information on a given physical device
2972 GetDevice(context.Context, *common.ID) (*Device, error)
2973 // Pre-provision a new physical device
2974 CreateDevice(context.Context, *Device) (*Device, error)
2975 // Enable a device. If the device was in pre-provisioned state then it
2976 // will transition to ENABLED state. If it was is DISABLED state then it
2977 // will transition to ENABLED state as well.
2978 EnableDevice(context.Context, *common.ID) (*empty.Empty, error)
2979 // Disable a device
2980 DisableDevice(context.Context, *common.ID) (*empty.Empty, error)
2981 // Reboot a device
2982 RebootDevice(context.Context, *common.ID) (*empty.Empty, error)
2983 // Delete a device
2984 DeleteDevice(context.Context, *common.ID) (*empty.Empty, error)
2985 // Request an image download to the standby partition
2986 // of a device.
2987 // Note that the call is expected to be non-blocking.
2988 DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error)
2989 // Get image download status on a device
2990 // The request retrieves progress on device and updates db record
2991 GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error)
2992 // Get image download db record
2993 GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error)
2994 // List image download db records for a given device
2995 ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error)
2996 // Cancel an existing image download process on a device
2997 CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error)
2998 // Activate the specified image at a standby partition
2999 // to active partition.
3000 // Depending on the device implementation, this call
3001 // may or may not cause device reboot.
3002 // If no reboot, then a reboot is required to make the
3003 // activated image running on device
3004 // Note that the call is expected to be non-blocking.
3005 ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3006 // Revert the specified image at standby partition
3007 // to active partition, and revert to previous image
3008 // Depending on the device implementation, this call
3009 // may or may not cause device reboot.
3010 // If no reboot, then a reboot is required to make the
3011 // previous image running on device
3012 // Note that the call is expected to be non-blocking.
3013 RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error)
3014 // List ports of a device
3015 ListDevicePorts(context.Context, *common.ID) (*Ports, error)
3016 // List pm config of a device
3017 ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error)
3018 // Update the pm config of a device
3019 UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error)
3020 // List all flows of a device
3021 ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error)
3022 // List all flow groups of a device
3023 ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error)
3024 // List device types known to Voltha
3025 ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error)
3026 // Get additional information on a device type
3027 GetDeviceType(context.Context, *common.ID) (*DeviceType, error)
3028 // List all device sharding groups
3029 ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error)
3030 // Stream control packets to the dataplane
3031 StreamPacketsOut(VolthaService_StreamPacketsOutServer) error
3032 // Receive control packet stream
3033 ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error
3034 ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error
3035 // Get additional information on a device group
3036 GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error)
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003037 CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3038 // Get all filters present for a device
3039 GetEventFilter(context.Context, *common.ID) (*EventFilters, error)
3040 UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error)
3041 DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error)
3042 // Get all the filters present
3043 ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error)
William Kurkian1b363f42019-03-12 15:28:12 -04003044 GetImages(context.Context, *common.ID) (*Images, error)
3045 SelfTest(context.Context, *common.ID) (*SelfTestResponse, error)
3046 // OpenOMCI MIB information
3047 GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error)
3048 // OpenOMCI ALARM information
3049 GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error)
3050 // Simulate an Alarm
3051 SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error)
3052 Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error)
3053}
3054
3055func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) {
3056 s.RegisterService(&_VolthaService_serviceDesc, srv)
3057}
3058
3059func _VolthaService_UpdateLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Scott Baker99af94e2019-08-20 10:45:06 -07003060 in := new(common.Logging)
William Kurkian1b363f42019-03-12 15:28:12 -04003061 if err := dec(in); err != nil {
3062 return nil, err
3063 }
3064 if interceptor == nil {
3065 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, in)
3066 }
3067 info := &grpc.UnaryServerInfo{
3068 Server: srv,
3069 FullMethod: "/voltha.VolthaService/UpdateLogLevel",
3070 }
3071 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Scott Baker99af94e2019-08-20 10:45:06 -07003072 return srv.(VolthaServiceServer).UpdateLogLevel(ctx, req.(*common.Logging))
3073 }
3074 return interceptor(ctx, in, info, handler)
3075}
3076
3077func _VolthaService_GetLogLevels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3078 in := new(common.LoggingComponent)
3079 if err := dec(in); err != nil {
3080 return nil, err
3081 }
3082 if interceptor == nil {
3083 return srv.(VolthaServiceServer).GetLogLevels(ctx, in)
3084 }
3085 info := &grpc.UnaryServerInfo{
3086 Server: srv,
3087 FullMethod: "/voltha.VolthaService/GetLogLevels",
3088 }
3089 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3090 return srv.(VolthaServiceServer).GetLogLevels(ctx, req.(*common.LoggingComponent))
William Kurkian1b363f42019-03-12 15:28:12 -04003091 }
3092 return interceptor(ctx, in, info, handler)
3093}
3094
3095func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3096 in := new(empty.Empty)
3097 if err := dec(in); err != nil {
3098 return nil, err
3099 }
3100 if interceptor == nil {
3101 return srv.(VolthaServiceServer).GetMembership(ctx, in)
3102 }
3103 info := &grpc.UnaryServerInfo{
3104 Server: srv,
3105 FullMethod: "/voltha.VolthaService/GetMembership",
3106 }
3107 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3108 return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty))
3109 }
3110 return interceptor(ctx, in, info, handler)
3111}
3112
3113func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3114 in := new(Membership)
3115 if err := dec(in); err != nil {
3116 return nil, err
3117 }
3118 if interceptor == nil {
3119 return srv.(VolthaServiceServer).UpdateMembership(ctx, in)
3120 }
3121 info := &grpc.UnaryServerInfo{
3122 Server: srv,
3123 FullMethod: "/voltha.VolthaService/UpdateMembership",
3124 }
3125 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3126 return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership))
3127 }
3128 return interceptor(ctx, in, info, handler)
3129}
3130
3131func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3132 in := new(empty.Empty)
3133 if err := dec(in); err != nil {
3134 return nil, err
3135 }
3136 if interceptor == nil {
3137 return srv.(VolthaServiceServer).GetVoltha(ctx, in)
3138 }
3139 info := &grpc.UnaryServerInfo{
3140 Server: srv,
3141 FullMethod: "/voltha.VolthaService/GetVoltha",
3142 }
3143 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3144 return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty))
3145 }
3146 return interceptor(ctx, in, info, handler)
3147}
3148
3149func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3150 in := new(empty.Empty)
3151 if err := dec(in); err != nil {
3152 return nil, err
3153 }
3154 if interceptor == nil {
3155 return srv.(VolthaServiceServer).ListCoreInstances(ctx, in)
3156 }
3157 info := &grpc.UnaryServerInfo{
3158 Server: srv,
3159 FullMethod: "/voltha.VolthaService/ListCoreInstances",
3160 }
3161 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3162 return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty))
3163 }
3164 return interceptor(ctx, in, info, handler)
3165}
3166
3167func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3168 in := new(common.ID)
3169 if err := dec(in); err != nil {
3170 return nil, err
3171 }
3172 if interceptor == nil {
3173 return srv.(VolthaServiceServer).GetCoreInstance(ctx, in)
3174 }
3175 info := &grpc.UnaryServerInfo{
3176 Server: srv,
3177 FullMethod: "/voltha.VolthaService/GetCoreInstance",
3178 }
3179 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3180 return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID))
3181 }
3182 return interceptor(ctx, in, info, handler)
3183}
3184
3185func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3186 in := new(empty.Empty)
3187 if err := dec(in); err != nil {
3188 return nil, err
3189 }
3190 if interceptor == nil {
3191 return srv.(VolthaServiceServer).ListAdapters(ctx, in)
3192 }
3193 info := &grpc.UnaryServerInfo{
3194 Server: srv,
3195 FullMethod: "/voltha.VolthaService/ListAdapters",
3196 }
3197 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3198 return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty))
3199 }
3200 return interceptor(ctx, in, info, handler)
3201}
3202
3203func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3204 in := new(empty.Empty)
3205 if err := dec(in); err != nil {
3206 return nil, err
3207 }
3208 if interceptor == nil {
3209 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in)
3210 }
3211 info := &grpc.UnaryServerInfo{
3212 Server: srv,
3213 FullMethod: "/voltha.VolthaService/ListLogicalDevices",
3214 }
3215 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3216 return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty))
3217 }
3218 return interceptor(ctx, in, info, handler)
3219}
3220
3221func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3222 in := new(common.ID)
3223 if err := dec(in); err != nil {
3224 return nil, err
3225 }
3226 if interceptor == nil {
3227 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in)
3228 }
3229 info := &grpc.UnaryServerInfo{
3230 Server: srv,
3231 FullMethod: "/voltha.VolthaService/GetLogicalDevice",
3232 }
3233 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3234 return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID))
3235 }
3236 return interceptor(ctx, in, info, handler)
3237}
3238
3239func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3240 in := new(common.ID)
3241 if err := dec(in); err != nil {
3242 return nil, err
3243 }
3244 if interceptor == nil {
3245 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in)
3246 }
3247 info := &grpc.UnaryServerInfo{
3248 Server: srv,
3249 FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts",
3250 }
3251 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3252 return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID))
3253 }
3254 return interceptor(ctx, in, info, handler)
3255}
3256
3257func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3258 in := new(LogicalPortId)
3259 if err := dec(in); err != nil {
3260 return nil, err
3261 }
3262 if interceptor == nil {
3263 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in)
3264 }
3265 info := &grpc.UnaryServerInfo{
3266 Server: srv,
3267 FullMethod: "/voltha.VolthaService/GetLogicalDevicePort",
3268 }
3269 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3270 return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId))
3271 }
3272 return interceptor(ctx, in, info, handler)
3273}
3274
3275func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3276 in := new(LogicalPortId)
3277 if err := dec(in); err != nil {
3278 return nil, err
3279 }
3280 if interceptor == nil {
3281 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in)
3282 }
3283 info := &grpc.UnaryServerInfo{
3284 Server: srv,
3285 FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort",
3286 }
3287 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3288 return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId))
3289 }
3290 return interceptor(ctx, in, info, handler)
3291}
3292
3293func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3294 in := new(LogicalPortId)
3295 if err := dec(in); err != nil {
3296 return nil, err
3297 }
3298 if interceptor == nil {
3299 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in)
3300 }
3301 info := &grpc.UnaryServerInfo{
3302 Server: srv,
3303 FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort",
3304 }
3305 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3306 return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId))
3307 }
3308 return interceptor(ctx, in, info, handler)
3309}
3310
3311func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3312 in := new(common.ID)
3313 if err := dec(in); err != nil {
3314 return nil, err
3315 }
3316 if interceptor == nil {
3317 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in)
3318 }
3319 info := &grpc.UnaryServerInfo{
3320 Server: srv,
3321 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows",
3322 }
3323 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3324 return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID))
3325 }
3326 return interceptor(ctx, in, info, handler)
3327}
3328
3329func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3330 in := new(openflow_13.FlowTableUpdate)
3331 if err := dec(in); err != nil {
3332 return nil, err
3333 }
3334 if interceptor == nil {
3335 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in)
3336 }
3337 info := &grpc.UnaryServerInfo{
3338 Server: srv,
3339 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable",
3340 }
3341 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3342 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate))
3343 }
3344 return interceptor(ctx, in, info, handler)
3345}
3346
3347func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3348 in := new(openflow_13.MeterModUpdate)
3349 if err := dec(in); err != nil {
3350 return nil, err
3351 }
3352 if interceptor == nil {
3353 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in)
3354 }
3355 info := &grpc.UnaryServerInfo{
3356 Server: srv,
3357 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable",
3358 }
3359 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3360 return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate))
3361 }
3362 return interceptor(ctx, in, info, handler)
3363}
3364
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003365func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003366 in := new(common.ID)
3367 if err := dec(in); err != nil {
3368 return nil, err
3369 }
3370 if interceptor == nil {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003371 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003372 }
3373 info := &grpc.UnaryServerInfo{
3374 Server: srv,
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003375 FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters",
William Kurkian1b363f42019-03-12 15:28:12 -04003376 }
3377 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04003378 return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003379 }
3380 return interceptor(ctx, in, info, handler)
3381}
3382
3383func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3384 in := new(common.ID)
3385 if err := dec(in); err != nil {
3386 return nil, err
3387 }
3388 if interceptor == nil {
3389 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in)
3390 }
3391 info := &grpc.UnaryServerInfo{
3392 Server: srv,
3393 FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups",
3394 }
3395 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3396 return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID))
3397 }
3398 return interceptor(ctx, in, info, handler)
3399}
3400
3401func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3402 in := new(openflow_13.FlowGroupTableUpdate)
3403 if err := dec(in); err != nil {
3404 return nil, err
3405 }
3406 if interceptor == nil {
3407 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in)
3408 }
3409 info := &grpc.UnaryServerInfo{
3410 Server: srv,
3411 FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable",
3412 }
3413 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3414 return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate))
3415 }
3416 return interceptor(ctx, in, info, handler)
3417}
3418
3419func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3420 in := new(empty.Empty)
3421 if err := dec(in); err != nil {
3422 return nil, err
3423 }
3424 if interceptor == nil {
3425 return srv.(VolthaServiceServer).ListDevices(ctx, in)
3426 }
3427 info := &grpc.UnaryServerInfo{
3428 Server: srv,
3429 FullMethod: "/voltha.VolthaService/ListDevices",
3430 }
3431 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3432 return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty))
3433 }
3434 return interceptor(ctx, in, info, handler)
3435}
3436
3437func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3438 in := new(empty.Empty)
3439 if err := dec(in); err != nil {
3440 return nil, err
3441 }
3442 if interceptor == nil {
3443 return srv.(VolthaServiceServer).ListDeviceIds(ctx, in)
3444 }
3445 info := &grpc.UnaryServerInfo{
3446 Server: srv,
3447 FullMethod: "/voltha.VolthaService/ListDeviceIds",
3448 }
3449 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3450 return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty))
3451 }
3452 return interceptor(ctx, in, info, handler)
3453}
3454
3455func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3456 in := new(common.IDs)
3457 if err := dec(in); err != nil {
3458 return nil, err
3459 }
3460 if interceptor == nil {
3461 return srv.(VolthaServiceServer).ReconcileDevices(ctx, in)
3462 }
3463 info := &grpc.UnaryServerInfo{
3464 Server: srv,
3465 FullMethod: "/voltha.VolthaService/ReconcileDevices",
3466 }
3467 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3468 return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs))
3469 }
3470 return interceptor(ctx, in, info, handler)
3471}
3472
3473func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3474 in := new(common.ID)
3475 if err := dec(in); err != nil {
3476 return nil, err
3477 }
3478 if interceptor == nil {
3479 return srv.(VolthaServiceServer).GetDevice(ctx, in)
3480 }
3481 info := &grpc.UnaryServerInfo{
3482 Server: srv,
3483 FullMethod: "/voltha.VolthaService/GetDevice",
3484 }
3485 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3486 return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID))
3487 }
3488 return interceptor(ctx, in, info, handler)
3489}
3490
3491func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3492 in := new(Device)
3493 if err := dec(in); err != nil {
3494 return nil, err
3495 }
3496 if interceptor == nil {
3497 return srv.(VolthaServiceServer).CreateDevice(ctx, in)
3498 }
3499 info := &grpc.UnaryServerInfo{
3500 Server: srv,
3501 FullMethod: "/voltha.VolthaService/CreateDevice",
3502 }
3503 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3504 return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device))
3505 }
3506 return interceptor(ctx, in, info, handler)
3507}
3508
3509func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3510 in := new(common.ID)
3511 if err := dec(in); err != nil {
3512 return nil, err
3513 }
3514 if interceptor == nil {
3515 return srv.(VolthaServiceServer).EnableDevice(ctx, in)
3516 }
3517 info := &grpc.UnaryServerInfo{
3518 Server: srv,
3519 FullMethod: "/voltha.VolthaService/EnableDevice",
3520 }
3521 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3522 return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID))
3523 }
3524 return interceptor(ctx, in, info, handler)
3525}
3526
3527func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3528 in := new(common.ID)
3529 if err := dec(in); err != nil {
3530 return nil, err
3531 }
3532 if interceptor == nil {
3533 return srv.(VolthaServiceServer).DisableDevice(ctx, in)
3534 }
3535 info := &grpc.UnaryServerInfo{
3536 Server: srv,
3537 FullMethod: "/voltha.VolthaService/DisableDevice",
3538 }
3539 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3540 return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID))
3541 }
3542 return interceptor(ctx, in, info, handler)
3543}
3544
3545func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3546 in := new(common.ID)
3547 if err := dec(in); err != nil {
3548 return nil, err
3549 }
3550 if interceptor == nil {
3551 return srv.(VolthaServiceServer).RebootDevice(ctx, in)
3552 }
3553 info := &grpc.UnaryServerInfo{
3554 Server: srv,
3555 FullMethod: "/voltha.VolthaService/RebootDevice",
3556 }
3557 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3558 return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID))
3559 }
3560 return interceptor(ctx, in, info, handler)
3561}
3562
3563func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3564 in := new(common.ID)
3565 if err := dec(in); err != nil {
3566 return nil, err
3567 }
3568 if interceptor == nil {
3569 return srv.(VolthaServiceServer).DeleteDevice(ctx, in)
3570 }
3571 info := &grpc.UnaryServerInfo{
3572 Server: srv,
3573 FullMethod: "/voltha.VolthaService/DeleteDevice",
3574 }
3575 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3576 return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID))
3577 }
3578 return interceptor(ctx, in, info, handler)
3579}
3580
3581func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3582 in := new(ImageDownload)
3583 if err := dec(in); err != nil {
3584 return nil, err
3585 }
3586 if interceptor == nil {
3587 return srv.(VolthaServiceServer).DownloadImage(ctx, in)
3588 }
3589 info := &grpc.UnaryServerInfo{
3590 Server: srv,
3591 FullMethod: "/voltha.VolthaService/DownloadImage",
3592 }
3593 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3594 return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload))
3595 }
3596 return interceptor(ctx, in, info, handler)
3597}
3598
3599func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3600 in := new(ImageDownload)
3601 if err := dec(in); err != nil {
3602 return nil, err
3603 }
3604 if interceptor == nil {
3605 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in)
3606 }
3607 info := &grpc.UnaryServerInfo{
3608 Server: srv,
3609 FullMethod: "/voltha.VolthaService/GetImageDownloadStatus",
3610 }
3611 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3612 return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload))
3613 }
3614 return interceptor(ctx, in, info, handler)
3615}
3616
3617func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3618 in := new(ImageDownload)
3619 if err := dec(in); err != nil {
3620 return nil, err
3621 }
3622 if interceptor == nil {
3623 return srv.(VolthaServiceServer).GetImageDownload(ctx, in)
3624 }
3625 info := &grpc.UnaryServerInfo{
3626 Server: srv,
3627 FullMethod: "/voltha.VolthaService/GetImageDownload",
3628 }
3629 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3630 return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload))
3631 }
3632 return interceptor(ctx, in, info, handler)
3633}
3634
3635func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3636 in := new(common.ID)
3637 if err := dec(in); err != nil {
3638 return nil, err
3639 }
3640 if interceptor == nil {
3641 return srv.(VolthaServiceServer).ListImageDownloads(ctx, in)
3642 }
3643 info := &grpc.UnaryServerInfo{
3644 Server: srv,
3645 FullMethod: "/voltha.VolthaService/ListImageDownloads",
3646 }
3647 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3648 return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID))
3649 }
3650 return interceptor(ctx, in, info, handler)
3651}
3652
3653func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3654 in := new(ImageDownload)
3655 if err := dec(in); err != nil {
3656 return nil, err
3657 }
3658 if interceptor == nil {
3659 return srv.(VolthaServiceServer).CancelImageDownload(ctx, in)
3660 }
3661 info := &grpc.UnaryServerInfo{
3662 Server: srv,
3663 FullMethod: "/voltha.VolthaService/CancelImageDownload",
3664 }
3665 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3666 return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload))
3667 }
3668 return interceptor(ctx, in, info, handler)
3669}
3670
3671func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3672 in := new(ImageDownload)
3673 if err := dec(in); err != nil {
3674 return nil, err
3675 }
3676 if interceptor == nil {
3677 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in)
3678 }
3679 info := &grpc.UnaryServerInfo{
3680 Server: srv,
3681 FullMethod: "/voltha.VolthaService/ActivateImageUpdate",
3682 }
3683 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3684 return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload))
3685 }
3686 return interceptor(ctx, in, info, handler)
3687}
3688
3689func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3690 in := new(ImageDownload)
3691 if err := dec(in); err != nil {
3692 return nil, err
3693 }
3694 if interceptor == nil {
3695 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in)
3696 }
3697 info := &grpc.UnaryServerInfo{
3698 Server: srv,
3699 FullMethod: "/voltha.VolthaService/RevertImageUpdate",
3700 }
3701 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3702 return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload))
3703 }
3704 return interceptor(ctx, in, info, handler)
3705}
3706
3707func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3708 in := new(common.ID)
3709 if err := dec(in); err != nil {
3710 return nil, err
3711 }
3712 if interceptor == nil {
3713 return srv.(VolthaServiceServer).ListDevicePorts(ctx, in)
3714 }
3715 info := &grpc.UnaryServerInfo{
3716 Server: srv,
3717 FullMethod: "/voltha.VolthaService/ListDevicePorts",
3718 }
3719 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3720 return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID))
3721 }
3722 return interceptor(ctx, in, info, handler)
3723}
3724
3725func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3726 in := new(common.ID)
3727 if err := dec(in); err != nil {
3728 return nil, err
3729 }
3730 if interceptor == nil {
3731 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in)
3732 }
3733 info := &grpc.UnaryServerInfo{
3734 Server: srv,
3735 FullMethod: "/voltha.VolthaService/ListDevicePmConfigs",
3736 }
3737 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3738 return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID))
3739 }
3740 return interceptor(ctx, in, info, handler)
3741}
3742
3743func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3744 in := new(PmConfigs)
3745 if err := dec(in); err != nil {
3746 return nil, err
3747 }
3748 if interceptor == nil {
3749 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in)
3750 }
3751 info := &grpc.UnaryServerInfo{
3752 Server: srv,
3753 FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs",
3754 }
3755 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3756 return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs))
3757 }
3758 return interceptor(ctx, in, info, handler)
3759}
3760
3761func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3762 in := new(common.ID)
3763 if err := dec(in); err != nil {
3764 return nil, err
3765 }
3766 if interceptor == nil {
3767 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in)
3768 }
3769 info := &grpc.UnaryServerInfo{
3770 Server: srv,
3771 FullMethod: "/voltha.VolthaService/ListDeviceFlows",
3772 }
3773 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3774 return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID))
3775 }
3776 return interceptor(ctx, in, info, handler)
3777}
3778
3779func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3780 in := new(common.ID)
3781 if err := dec(in); err != nil {
3782 return nil, err
3783 }
3784 if interceptor == nil {
3785 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in)
3786 }
3787 info := &grpc.UnaryServerInfo{
3788 Server: srv,
3789 FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups",
3790 }
3791 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3792 return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID))
3793 }
3794 return interceptor(ctx, in, info, handler)
3795}
3796
3797func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3798 in := new(empty.Empty)
3799 if err := dec(in); err != nil {
3800 return nil, err
3801 }
3802 if interceptor == nil {
3803 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in)
3804 }
3805 info := &grpc.UnaryServerInfo{
3806 Server: srv,
3807 FullMethod: "/voltha.VolthaService/ListDeviceTypes",
3808 }
3809 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3810 return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty))
3811 }
3812 return interceptor(ctx, in, info, handler)
3813}
3814
3815func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3816 in := new(common.ID)
3817 if err := dec(in); err != nil {
3818 return nil, err
3819 }
3820 if interceptor == nil {
3821 return srv.(VolthaServiceServer).GetDeviceType(ctx, in)
3822 }
3823 info := &grpc.UnaryServerInfo{
3824 Server: srv,
3825 FullMethod: "/voltha.VolthaService/GetDeviceType",
3826 }
3827 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3828 return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID))
3829 }
3830 return interceptor(ctx, in, info, handler)
3831}
3832
3833func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3834 in := new(empty.Empty)
3835 if err := dec(in); err != nil {
3836 return nil, err
3837 }
3838 if interceptor == nil {
3839 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in)
3840 }
3841 info := &grpc.UnaryServerInfo{
3842 Server: srv,
3843 FullMethod: "/voltha.VolthaService/ListDeviceGroups",
3844 }
3845 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3846 return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty))
3847 }
3848 return interceptor(ctx, in, info, handler)
3849}
3850
3851func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error {
3852 return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream})
3853}
3854
3855type VolthaService_StreamPacketsOutServer interface {
3856 SendAndClose(*empty.Empty) error
3857 Recv() (*openflow_13.PacketOut, error)
3858 grpc.ServerStream
3859}
3860
3861type volthaServiceStreamPacketsOutServer struct {
3862 grpc.ServerStream
3863}
3864
3865func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error {
3866 return x.ServerStream.SendMsg(m)
3867}
3868
3869func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) {
3870 m := new(openflow_13.PacketOut)
3871 if err := x.ServerStream.RecvMsg(m); err != nil {
3872 return nil, err
3873 }
3874 return m, nil
3875}
3876
3877func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error {
3878 m := new(empty.Empty)
3879 if err := stream.RecvMsg(m); err != nil {
3880 return err
3881 }
3882 return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream})
3883}
3884
3885type VolthaService_ReceivePacketsInServer interface {
3886 Send(*openflow_13.PacketIn) error
3887 grpc.ServerStream
3888}
3889
3890type volthaServiceReceivePacketsInServer struct {
3891 grpc.ServerStream
3892}
3893
3894func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error {
3895 return x.ServerStream.SendMsg(m)
3896}
3897
3898func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
3899 m := new(empty.Empty)
3900 if err := stream.RecvMsg(m); err != nil {
3901 return err
3902 }
3903 return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream})
3904}
3905
3906type VolthaService_ReceiveChangeEventsServer interface {
3907 Send(*openflow_13.ChangeEvent) error
3908 grpc.ServerStream
3909}
3910
3911type volthaServiceReceiveChangeEventsServer struct {
3912 grpc.ServerStream
3913}
3914
3915func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error {
3916 return x.ServerStream.SendMsg(m)
3917}
3918
3919func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3920 in := new(common.ID)
3921 if err := dec(in); err != nil {
3922 return nil, err
3923 }
3924 if interceptor == nil {
3925 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in)
3926 }
3927 info := &grpc.UnaryServerInfo{
3928 Server: srv,
3929 FullMethod: "/voltha.VolthaService/GetDeviceGroup",
3930 }
3931 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3932 return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID))
3933 }
3934 return interceptor(ctx, in, info, handler)
3935}
3936
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003937func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3938 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04003939 if err := dec(in); err != nil {
3940 return nil, err
3941 }
3942 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003943 return srv.(VolthaServiceServer).CreateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003944 }
3945 info := &grpc.UnaryServerInfo{
3946 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003947 FullMethod: "/voltha.VolthaService/CreateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04003948 }
3949 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003950 return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04003951 }
3952 return interceptor(ctx, in, info, handler)
3953}
3954
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003955func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04003956 in := new(common.ID)
3957 if err := dec(in); err != nil {
3958 return nil, err
3959 }
3960 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003961 return srv.(VolthaServiceServer).GetEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003962 }
3963 info := &grpc.UnaryServerInfo{
3964 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003965 FullMethod: "/voltha.VolthaService/GetEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04003966 }
3967 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003968 return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID))
William Kurkian1b363f42019-03-12 15:28:12 -04003969 }
3970 return interceptor(ctx, in, info, handler)
3971}
3972
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003973func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3974 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04003975 if err := dec(in); err != nil {
3976 return nil, err
3977 }
3978 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003979 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003980 }
3981 info := &grpc.UnaryServerInfo{
3982 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003983 FullMethod: "/voltha.VolthaService/UpdateEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04003984 }
3985 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003986 return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04003987 }
3988 return interceptor(ctx, in, info, handler)
3989}
3990
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003991func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3992 in := new(EventFilter)
William Kurkian1b363f42019-03-12 15:28:12 -04003993 if err := dec(in); err != nil {
3994 return nil, err
3995 }
3996 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00003997 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04003998 }
3999 info := &grpc.UnaryServerInfo{
4000 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004001 FullMethod: "/voltha.VolthaService/DeleteEventFilter",
William Kurkian1b363f42019-03-12 15:28:12 -04004002 }
4003 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004004 return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter))
William Kurkian1b363f42019-03-12 15:28:12 -04004005 }
4006 return interceptor(ctx, in, info, handler)
4007}
4008
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004009func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
William Kurkian1b363f42019-03-12 15:28:12 -04004010 in := new(empty.Empty)
4011 if err := dec(in); err != nil {
4012 return nil, err
4013 }
4014 if interceptor == nil {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004015 return srv.(VolthaServiceServer).ListEventFilters(ctx, in)
William Kurkian1b363f42019-03-12 15:28:12 -04004016 }
4017 info := &grpc.UnaryServerInfo{
4018 Server: srv,
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004019 FullMethod: "/voltha.VolthaService/ListEventFilters",
William Kurkian1b363f42019-03-12 15:28:12 -04004020 }
4021 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004022 return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty))
William Kurkian1b363f42019-03-12 15:28:12 -04004023 }
4024 return interceptor(ctx, in, info, handler)
4025}
4026
4027func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4028 in := new(common.ID)
4029 if err := dec(in); err != nil {
4030 return nil, err
4031 }
4032 if interceptor == nil {
4033 return srv.(VolthaServiceServer).GetImages(ctx, in)
4034 }
4035 info := &grpc.UnaryServerInfo{
4036 Server: srv,
4037 FullMethod: "/voltha.VolthaService/GetImages",
4038 }
4039 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4040 return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID))
4041 }
4042 return interceptor(ctx, in, info, handler)
4043}
4044
4045func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4046 in := new(common.ID)
4047 if err := dec(in); err != nil {
4048 return nil, err
4049 }
4050 if interceptor == nil {
4051 return srv.(VolthaServiceServer).SelfTest(ctx, in)
4052 }
4053 info := &grpc.UnaryServerInfo{
4054 Server: srv,
4055 FullMethod: "/voltha.VolthaService/SelfTest",
4056 }
4057 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4058 return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID))
4059 }
4060 return interceptor(ctx, in, info, handler)
4061}
4062
4063func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4064 in := new(common.ID)
4065 if err := dec(in); err != nil {
4066 return nil, err
4067 }
4068 if interceptor == nil {
4069 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in)
4070 }
4071 info := &grpc.UnaryServerInfo{
4072 Server: srv,
4073 FullMethod: "/voltha.VolthaService/GetMibDeviceData",
4074 }
4075 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4076 return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID))
4077 }
4078 return interceptor(ctx, in, info, handler)
4079}
4080
4081func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4082 in := new(common.ID)
4083 if err := dec(in); err != nil {
4084 return nil, err
4085 }
4086 if interceptor == nil {
4087 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in)
4088 }
4089 info := &grpc.UnaryServerInfo{
4090 Server: srv,
4091 FullMethod: "/voltha.VolthaService/GetAlarmDeviceData",
4092 }
4093 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4094 return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID))
4095 }
4096 return interceptor(ctx, in, info, handler)
4097}
4098
4099func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4100 in := new(SimulateAlarmRequest)
4101 if err := dec(in); err != nil {
4102 return nil, err
4103 }
4104 if interceptor == nil {
4105 return srv.(VolthaServiceServer).SimulateAlarm(ctx, in)
4106 }
4107 info := &grpc.UnaryServerInfo{
4108 Server: srv,
4109 FullMethod: "/voltha.VolthaService/SimulateAlarm",
4110 }
4111 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4112 return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest))
4113 }
4114 return interceptor(ctx, in, info, handler)
4115}
4116
4117func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4118 in := new(OfAgentSubscriber)
4119 if err := dec(in); err != nil {
4120 return nil, err
4121 }
4122 if interceptor == nil {
4123 return srv.(VolthaServiceServer).Subscribe(ctx, in)
4124 }
4125 info := &grpc.UnaryServerInfo{
4126 Server: srv,
4127 FullMethod: "/voltha.VolthaService/Subscribe",
4128 }
4129 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4130 return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber))
4131 }
4132 return interceptor(ctx, in, info, handler)
4133}
4134
4135var _VolthaService_serviceDesc = grpc.ServiceDesc{
4136 ServiceName: "voltha.VolthaService",
4137 HandlerType: (*VolthaServiceServer)(nil),
4138 Methods: []grpc.MethodDesc{
4139 {
4140 MethodName: "UpdateLogLevel",
4141 Handler: _VolthaService_UpdateLogLevel_Handler,
4142 },
4143 {
Scott Baker99af94e2019-08-20 10:45:06 -07004144 MethodName: "GetLogLevels",
4145 Handler: _VolthaService_GetLogLevels_Handler,
4146 },
4147 {
William Kurkian1b363f42019-03-12 15:28:12 -04004148 MethodName: "GetMembership",
4149 Handler: _VolthaService_GetMembership_Handler,
4150 },
4151 {
4152 MethodName: "UpdateMembership",
4153 Handler: _VolthaService_UpdateMembership_Handler,
4154 },
4155 {
4156 MethodName: "GetVoltha",
4157 Handler: _VolthaService_GetVoltha_Handler,
4158 },
4159 {
4160 MethodName: "ListCoreInstances",
4161 Handler: _VolthaService_ListCoreInstances_Handler,
4162 },
4163 {
4164 MethodName: "GetCoreInstance",
4165 Handler: _VolthaService_GetCoreInstance_Handler,
4166 },
4167 {
4168 MethodName: "ListAdapters",
4169 Handler: _VolthaService_ListAdapters_Handler,
4170 },
4171 {
4172 MethodName: "ListLogicalDevices",
4173 Handler: _VolthaService_ListLogicalDevices_Handler,
4174 },
4175 {
4176 MethodName: "GetLogicalDevice",
4177 Handler: _VolthaService_GetLogicalDevice_Handler,
4178 },
4179 {
4180 MethodName: "ListLogicalDevicePorts",
4181 Handler: _VolthaService_ListLogicalDevicePorts_Handler,
4182 },
4183 {
4184 MethodName: "GetLogicalDevicePort",
4185 Handler: _VolthaService_GetLogicalDevicePort_Handler,
4186 },
4187 {
4188 MethodName: "EnableLogicalDevicePort",
4189 Handler: _VolthaService_EnableLogicalDevicePort_Handler,
4190 },
4191 {
4192 MethodName: "DisableLogicalDevicePort",
4193 Handler: _VolthaService_DisableLogicalDevicePort_Handler,
4194 },
4195 {
4196 MethodName: "ListLogicalDeviceFlows",
4197 Handler: _VolthaService_ListLogicalDeviceFlows_Handler,
4198 },
4199 {
4200 MethodName: "UpdateLogicalDeviceFlowTable",
4201 Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler,
4202 },
4203 {
4204 MethodName: "UpdateLogicalDeviceMeterTable",
4205 Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler,
4206 },
4207 {
Abhilash Laxmeshwardfbb74d2019-07-23 08:03:08 -04004208 MethodName: "ListLogicalDeviceMeters",
4209 Handler: _VolthaService_ListLogicalDeviceMeters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004210 },
4211 {
4212 MethodName: "ListLogicalDeviceFlowGroups",
4213 Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler,
4214 },
4215 {
4216 MethodName: "UpdateLogicalDeviceFlowGroupTable",
4217 Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler,
4218 },
4219 {
4220 MethodName: "ListDevices",
4221 Handler: _VolthaService_ListDevices_Handler,
4222 },
4223 {
4224 MethodName: "ListDeviceIds",
4225 Handler: _VolthaService_ListDeviceIds_Handler,
4226 },
4227 {
4228 MethodName: "ReconcileDevices",
4229 Handler: _VolthaService_ReconcileDevices_Handler,
4230 },
4231 {
4232 MethodName: "GetDevice",
4233 Handler: _VolthaService_GetDevice_Handler,
4234 },
4235 {
4236 MethodName: "CreateDevice",
4237 Handler: _VolthaService_CreateDevice_Handler,
4238 },
4239 {
4240 MethodName: "EnableDevice",
4241 Handler: _VolthaService_EnableDevice_Handler,
4242 },
4243 {
4244 MethodName: "DisableDevice",
4245 Handler: _VolthaService_DisableDevice_Handler,
4246 },
4247 {
4248 MethodName: "RebootDevice",
4249 Handler: _VolthaService_RebootDevice_Handler,
4250 },
4251 {
4252 MethodName: "DeleteDevice",
4253 Handler: _VolthaService_DeleteDevice_Handler,
4254 },
4255 {
4256 MethodName: "DownloadImage",
4257 Handler: _VolthaService_DownloadImage_Handler,
4258 },
4259 {
4260 MethodName: "GetImageDownloadStatus",
4261 Handler: _VolthaService_GetImageDownloadStatus_Handler,
4262 },
4263 {
4264 MethodName: "GetImageDownload",
4265 Handler: _VolthaService_GetImageDownload_Handler,
4266 },
4267 {
4268 MethodName: "ListImageDownloads",
4269 Handler: _VolthaService_ListImageDownloads_Handler,
4270 },
4271 {
4272 MethodName: "CancelImageDownload",
4273 Handler: _VolthaService_CancelImageDownload_Handler,
4274 },
4275 {
4276 MethodName: "ActivateImageUpdate",
4277 Handler: _VolthaService_ActivateImageUpdate_Handler,
4278 },
4279 {
4280 MethodName: "RevertImageUpdate",
4281 Handler: _VolthaService_RevertImageUpdate_Handler,
4282 },
4283 {
4284 MethodName: "ListDevicePorts",
4285 Handler: _VolthaService_ListDevicePorts_Handler,
4286 },
4287 {
4288 MethodName: "ListDevicePmConfigs",
4289 Handler: _VolthaService_ListDevicePmConfigs_Handler,
4290 },
4291 {
4292 MethodName: "UpdateDevicePmConfigs",
4293 Handler: _VolthaService_UpdateDevicePmConfigs_Handler,
4294 },
4295 {
4296 MethodName: "ListDeviceFlows",
4297 Handler: _VolthaService_ListDeviceFlows_Handler,
4298 },
4299 {
4300 MethodName: "ListDeviceFlowGroups",
4301 Handler: _VolthaService_ListDeviceFlowGroups_Handler,
4302 },
4303 {
4304 MethodName: "ListDeviceTypes",
4305 Handler: _VolthaService_ListDeviceTypes_Handler,
4306 },
4307 {
4308 MethodName: "GetDeviceType",
4309 Handler: _VolthaService_GetDeviceType_Handler,
4310 },
4311 {
4312 MethodName: "ListDeviceGroups",
4313 Handler: _VolthaService_ListDeviceGroups_Handler,
4314 },
4315 {
4316 MethodName: "GetDeviceGroup",
4317 Handler: _VolthaService_GetDeviceGroup_Handler,
4318 },
4319 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004320 MethodName: "CreateEventFilter",
4321 Handler: _VolthaService_CreateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004322 },
4323 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004324 MethodName: "GetEventFilter",
4325 Handler: _VolthaService_GetEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004326 },
4327 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004328 MethodName: "UpdateEventFilter",
4329 Handler: _VolthaService_UpdateEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004330 },
4331 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004332 MethodName: "DeleteEventFilter",
4333 Handler: _VolthaService_DeleteEventFilter_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004334 },
4335 {
Devmalya Paul96a2c9e2019-11-06 07:17:44 +00004336 MethodName: "ListEventFilters",
4337 Handler: _VolthaService_ListEventFilters_Handler,
William Kurkian1b363f42019-03-12 15:28:12 -04004338 },
4339 {
4340 MethodName: "GetImages",
4341 Handler: _VolthaService_GetImages_Handler,
4342 },
4343 {
4344 MethodName: "SelfTest",
4345 Handler: _VolthaService_SelfTest_Handler,
4346 },
4347 {
4348 MethodName: "GetMibDeviceData",
4349 Handler: _VolthaService_GetMibDeviceData_Handler,
4350 },
4351 {
4352 MethodName: "GetAlarmDeviceData",
4353 Handler: _VolthaService_GetAlarmDeviceData_Handler,
4354 },
4355 {
4356 MethodName: "SimulateAlarm",
4357 Handler: _VolthaService_SimulateAlarm_Handler,
4358 },
4359 {
4360 MethodName: "Subscribe",
4361 Handler: _VolthaService_Subscribe_Handler,
4362 },
4363 },
4364 Streams: []grpc.StreamDesc{
4365 {
4366 StreamName: "StreamPacketsOut",
4367 Handler: _VolthaService_StreamPacketsOut_Handler,
4368 ClientStreams: true,
4369 },
4370 {
4371 StreamName: "ReceivePacketsIn",
4372 Handler: _VolthaService_ReceivePacketsIn_Handler,
4373 ServerStreams: true,
4374 },
4375 {
4376 StreamName: "ReceiveChangeEvents",
4377 Handler: _VolthaService_ReceiveChangeEvents_Handler,
4378 ServerStreams: true,
4379 },
4380 },
4381 Metadata: "voltha_protos/voltha.proto",
4382}