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