Takahiro Suzuki | d7bf820 | 2020-12-17 20:21:59 +0900 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/voltha.proto |
| 3 | |
| 4 | package voltha |
| 5 | |
| 6 | import ( |
| 7 | context "context" |
| 8 | fmt "fmt" |
| 9 | proto "github.com/golang/protobuf/proto" |
| 10 | empty "github.com/golang/protobuf/ptypes/empty" |
| 11 | common "github.com/opencord/voltha-protos/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" |
| 14 | _ "google.golang.org/genproto/googleapis/api/annotations" |
| 15 | grpc "google.golang.org/grpc" |
| 16 | math "math" |
| 17 | ) |
| 18 | |
| 19 | // Reference imports to suppress errors if they are not otherwise used. |
| 20 | var _ = proto.Marshal |
| 21 | var _ = fmt.Errorf |
| 22 | var _ = 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. |
| 28 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 29 | |
| 30 | // ChildNode from public import voltha_protos/meta.proto |
| 31 | type ChildNode = common.ChildNode |
| 32 | |
| 33 | // Access from public import voltha_protos/meta.proto |
| 34 | type Access = common.Access |
| 35 | |
| 36 | var Access_name = common.Access_name |
| 37 | var Access_value = common.Access_value |
| 38 | |
| 39 | const Access_CONFIG = Access(common.Access_CONFIG) |
| 40 | const Access_READ_ONLY = Access(common.Access_READ_ONLY) |
| 41 | const Access_REAL_TIME = Access(common.Access_REAL_TIME) |
| 42 | |
| 43 | var E_ChildNode = common.E_ChildNode |
| 44 | |
| 45 | var E_Access = common.E_Access |
| 46 | |
| 47 | // ID from public import voltha_protos/common.proto |
| 48 | type ID = common.ID |
| 49 | |
| 50 | // IDs from public import voltha_protos/common.proto |
| 51 | type IDs = common.IDs |
| 52 | |
| 53 | // AdminState from public import voltha_protos/common.proto |
| 54 | type AdminState = common.AdminState |
| 55 | |
| 56 | // OperStatus from public import voltha_protos/common.proto |
| 57 | type OperStatus = common.OperStatus |
| 58 | |
| 59 | // ConnectStatus from public import voltha_protos/common.proto |
| 60 | type ConnectStatus = common.ConnectStatus |
| 61 | |
| 62 | // OperationResp from public import voltha_protos/common.proto |
| 63 | type OperationResp = common.OperationResp |
| 64 | |
| 65 | // ValueType from public import voltha_protos/common.proto |
| 66 | type ValueType = common.ValueType |
| 67 | |
| 68 | // ValueSpecifier from public import voltha_protos/common.proto |
| 69 | type ValueSpecifier = common.ValueSpecifier |
| 70 | |
| 71 | // ReturnValues from public import voltha_protos/common.proto |
| 72 | type ReturnValues = common.ReturnValues |
| 73 | |
| 74 | // TestModeKeys from public import voltha_protos/common.proto |
| 75 | type TestModeKeys = common.TestModeKeys |
| 76 | |
| 77 | var TestModeKeys_name = common.TestModeKeys_name |
| 78 | var TestModeKeys_value = common.TestModeKeys_value |
| 79 | |
| 80 | const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test) |
| 81 | |
| 82 | // AdminState_Types from public import voltha_protos/common.proto |
| 83 | type AdminState_Types = common.AdminState_Types |
| 84 | |
| 85 | var AdminState_Types_name = common.AdminState_Types_name |
| 86 | var AdminState_Types_value = common.AdminState_Types_value |
| 87 | |
| 88 | const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN) |
| 89 | const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED) |
| 90 | const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED) |
| 91 | const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED) |
| 92 | const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE) |
| 93 | const AdminState_DELETED = AdminState_Types(common.AdminState_DELETED) |
| 94 | |
| 95 | // OperStatus_Types from public import voltha_protos/common.proto |
| 96 | type OperStatus_Types = common.OperStatus_Types |
| 97 | |
| 98 | var OperStatus_Types_name = common.OperStatus_Types_name |
| 99 | var OperStatus_Types_value = common.OperStatus_Types_value |
| 100 | |
| 101 | const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN) |
| 102 | const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED) |
| 103 | const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING) |
| 104 | const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING) |
| 105 | const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE) |
| 106 | const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED) |
| 107 | |
| 108 | // ConnectStatus_Types from public import voltha_protos/common.proto |
| 109 | type ConnectStatus_Types = common.ConnectStatus_Types |
| 110 | |
| 111 | var ConnectStatus_Types_name = common.ConnectStatus_Types_name |
| 112 | var ConnectStatus_Types_value = common.ConnectStatus_Types_value |
| 113 | |
| 114 | const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN) |
| 115 | const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE) |
| 116 | const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE) |
| 117 | |
| 118 | // OperationResp_OperationReturnCode from public import voltha_protos/common.proto |
| 119 | type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode |
| 120 | |
| 121 | var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name |
| 122 | var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value |
| 123 | |
| 124 | const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS) |
| 125 | const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE) |
| 126 | const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED) |
| 127 | |
| 128 | // ValueType_Type from public import voltha_protos/common.proto |
| 129 | type ValueType_Type = common.ValueType_Type |
| 130 | |
| 131 | var ValueType_Type_name = common.ValueType_Type_name |
| 132 | var ValueType_Type_value = common.ValueType_Type_value |
| 133 | |
| 134 | const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY) |
| 135 | const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE) |
| 136 | |
| 137 | // OfpHeader from public import voltha_protos/openflow_13.proto |
| 138 | type OfpHeader = openflow_13.OfpHeader |
| 139 | |
| 140 | // OfpHelloElemHeader from public import voltha_protos/openflow_13.proto |
| 141 | type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader |
| 142 | type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap |
| 143 | |
| 144 | // OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto |
| 145 | type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap |
| 146 | |
| 147 | // OfpHello from public import voltha_protos/openflow_13.proto |
| 148 | type OfpHello = openflow_13.OfpHello |
| 149 | |
| 150 | // OfpSwitchConfig from public import voltha_protos/openflow_13.proto |
| 151 | type OfpSwitchConfig = openflow_13.OfpSwitchConfig |
| 152 | |
| 153 | // OfpTableMod from public import voltha_protos/openflow_13.proto |
| 154 | type OfpTableMod = openflow_13.OfpTableMod |
| 155 | |
| 156 | // OfpPort from public import voltha_protos/openflow_13.proto |
| 157 | type OfpPort = openflow_13.OfpPort |
| 158 | |
| 159 | // OfpSwitchFeatures from public import voltha_protos/openflow_13.proto |
| 160 | type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures |
| 161 | |
| 162 | // OfpPortStatus from public import voltha_protos/openflow_13.proto |
| 163 | type OfpPortStatus = openflow_13.OfpPortStatus |
| 164 | |
| 165 | // OfpPortMod from public import voltha_protos/openflow_13.proto |
| 166 | type OfpPortMod = openflow_13.OfpPortMod |
| 167 | |
| 168 | // OfpMatch from public import voltha_protos/openflow_13.proto |
| 169 | type OfpMatch = openflow_13.OfpMatch |
| 170 | |
| 171 | // OfpOxmField from public import voltha_protos/openflow_13.proto |
| 172 | type OfpOxmField = openflow_13.OfpOxmField |
| 173 | type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField |
| 174 | type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField |
| 175 | |
| 176 | // OfpOxmOfbField from public import voltha_protos/openflow_13.proto |
| 177 | type OfpOxmOfbField = openflow_13.OfpOxmOfbField |
| 178 | type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port |
| 179 | type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort |
| 180 | type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata |
| 181 | type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst |
| 182 | type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc |
| 183 | type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType |
| 184 | type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid |
| 185 | type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp |
| 186 | type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp |
| 187 | type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn |
| 188 | type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto |
| 189 | type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src |
| 190 | type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst |
| 191 | type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc |
| 192 | type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst |
| 193 | type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc |
| 194 | type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst |
| 195 | type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc |
| 196 | type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst |
| 197 | type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type |
| 198 | type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code |
| 199 | type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp |
| 200 | type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa |
| 201 | type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa |
| 202 | type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha |
| 203 | type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha |
| 204 | type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src |
| 205 | type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst |
| 206 | type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel |
| 207 | type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type |
| 208 | type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code |
| 209 | type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget |
| 210 | type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl |
| 211 | type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll |
| 212 | type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel |
| 213 | type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc |
| 214 | type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos |
| 215 | type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid |
| 216 | type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId |
| 217 | type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr |
| 218 | type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask |
| 219 | type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask |
| 220 | type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask |
| 221 | type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask |
| 222 | type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask |
| 223 | type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask |
| 224 | type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask |
| 225 | type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask |
| 226 | type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask |
| 227 | type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask |
| 228 | type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask |
| 229 | type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask |
| 230 | type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask |
| 231 | type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask |
| 232 | |
| 233 | // OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto |
| 234 | type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField |
| 235 | |
| 236 | // OfpAction from public import voltha_protos/openflow_13.proto |
| 237 | type OfpAction = openflow_13.OfpAction |
| 238 | type OfpAction_Output = openflow_13.OfpAction_Output |
| 239 | type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl |
| 240 | type OfpAction_Push = openflow_13.OfpAction_Push |
| 241 | type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls |
| 242 | type OfpAction_Group = openflow_13.OfpAction_Group |
| 243 | type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl |
| 244 | type OfpAction_SetField = openflow_13.OfpAction_SetField |
| 245 | type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter |
| 246 | |
| 247 | // OfpActionOutput from public import voltha_protos/openflow_13.proto |
| 248 | type OfpActionOutput = openflow_13.OfpActionOutput |
| 249 | |
| 250 | // OfpActionMplsTtl from public import voltha_protos/openflow_13.proto |
| 251 | type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl |
| 252 | |
| 253 | // OfpActionPush from public import voltha_protos/openflow_13.proto |
| 254 | type OfpActionPush = openflow_13.OfpActionPush |
| 255 | |
| 256 | // OfpActionPopMpls from public import voltha_protos/openflow_13.proto |
| 257 | type OfpActionPopMpls = openflow_13.OfpActionPopMpls |
| 258 | |
| 259 | // OfpActionGroup from public import voltha_protos/openflow_13.proto |
| 260 | type OfpActionGroup = openflow_13.OfpActionGroup |
| 261 | |
| 262 | // OfpActionNwTtl from public import voltha_protos/openflow_13.proto |
| 263 | type OfpActionNwTtl = openflow_13.OfpActionNwTtl |
| 264 | |
| 265 | // OfpActionSetField from public import voltha_protos/openflow_13.proto |
| 266 | type OfpActionSetField = openflow_13.OfpActionSetField |
| 267 | |
| 268 | // OfpActionExperimenter from public import voltha_protos/openflow_13.proto |
| 269 | type OfpActionExperimenter = openflow_13.OfpActionExperimenter |
| 270 | |
| 271 | // OfpInstruction from public import voltha_protos/openflow_13.proto |
| 272 | type OfpInstruction = openflow_13.OfpInstruction |
| 273 | type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable |
| 274 | type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata |
| 275 | type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions |
| 276 | type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter |
| 277 | type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter |
| 278 | |
| 279 | // OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto |
| 280 | type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable |
| 281 | |
| 282 | // OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto |
| 283 | type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata |
| 284 | |
| 285 | // OfpInstructionActions from public import voltha_protos/openflow_13.proto |
| 286 | type OfpInstructionActions = openflow_13.OfpInstructionActions |
| 287 | |
| 288 | // OfpInstructionMeter from public import voltha_protos/openflow_13.proto |
| 289 | type OfpInstructionMeter = openflow_13.OfpInstructionMeter |
| 290 | |
| 291 | // OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto |
| 292 | type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter |
| 293 | |
| 294 | // OfpFlowMod from public import voltha_protos/openflow_13.proto |
| 295 | type OfpFlowMod = openflow_13.OfpFlowMod |
| 296 | |
| 297 | // OfpBucket from public import voltha_protos/openflow_13.proto |
| 298 | type OfpBucket = openflow_13.OfpBucket |
| 299 | |
| 300 | // OfpGroupMod from public import voltha_protos/openflow_13.proto |
| 301 | type OfpGroupMod = openflow_13.OfpGroupMod |
| 302 | |
| 303 | // OfpPacketOut from public import voltha_protos/openflow_13.proto |
| 304 | type OfpPacketOut = openflow_13.OfpPacketOut |
| 305 | |
| 306 | // OfpPacketIn from public import voltha_protos/openflow_13.proto |
| 307 | type OfpPacketIn = openflow_13.OfpPacketIn |
| 308 | |
| 309 | // OfpFlowRemoved from public import voltha_protos/openflow_13.proto |
| 310 | type OfpFlowRemoved = openflow_13.OfpFlowRemoved |
| 311 | |
| 312 | // OfpMeterBandHeader from public import voltha_protos/openflow_13.proto |
| 313 | type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader |
| 314 | type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop |
| 315 | type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark |
| 316 | type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter |
| 317 | |
| 318 | // OfpMeterBandDrop from public import voltha_protos/openflow_13.proto |
| 319 | type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop |
| 320 | |
| 321 | // OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto |
| 322 | type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark |
| 323 | |
| 324 | // OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto |
| 325 | type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter |
| 326 | |
| 327 | // OfpMeterMod from public import voltha_protos/openflow_13.proto |
| 328 | type OfpMeterMod = openflow_13.OfpMeterMod |
| 329 | |
| 330 | // OfpErrorMsg from public import voltha_protos/openflow_13.proto |
| 331 | type OfpErrorMsg = openflow_13.OfpErrorMsg |
| 332 | |
| 333 | // OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto |
| 334 | type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg |
| 335 | |
| 336 | // OfpMultipartRequest from public import voltha_protos/openflow_13.proto |
| 337 | type OfpMultipartRequest = openflow_13.OfpMultipartRequest |
| 338 | |
| 339 | // OfpMultipartReply from public import voltha_protos/openflow_13.proto |
| 340 | type OfpMultipartReply = openflow_13.OfpMultipartReply |
| 341 | |
| 342 | // OfpDesc from public import voltha_protos/openflow_13.proto |
| 343 | type OfpDesc = openflow_13.OfpDesc |
| 344 | |
| 345 | // OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto |
| 346 | type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest |
| 347 | |
| 348 | // OfpFlowStats from public import voltha_protos/openflow_13.proto |
| 349 | type OfpFlowStats = openflow_13.OfpFlowStats |
| 350 | |
| 351 | // OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto |
| 352 | type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest |
| 353 | |
| 354 | // OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto |
| 355 | type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply |
| 356 | |
| 357 | // OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto |
| 358 | type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty |
| 359 | type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions |
| 360 | type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables |
| 361 | type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions |
| 362 | type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm |
| 363 | type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter |
| 364 | |
| 365 | // OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto |
| 366 | type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions |
| 367 | |
| 368 | // OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto |
| 369 | type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables |
| 370 | |
| 371 | // OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto |
| 372 | type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions |
| 373 | |
| 374 | // OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto |
| 375 | type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm |
| 376 | |
| 377 | // OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto |
| 378 | type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter |
| 379 | |
| 380 | // OfpTableFeatures from public import voltha_protos/openflow_13.proto |
| 381 | type OfpTableFeatures = openflow_13.OfpTableFeatures |
| 382 | |
| 383 | // OfpTableStats from public import voltha_protos/openflow_13.proto |
| 384 | type OfpTableStats = openflow_13.OfpTableStats |
| 385 | |
| 386 | // OfpPortStatsRequest from public import voltha_protos/openflow_13.proto |
| 387 | type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest |
| 388 | |
| 389 | // OfpPortStats from public import voltha_protos/openflow_13.proto |
| 390 | type OfpPortStats = openflow_13.OfpPortStats |
| 391 | |
| 392 | // OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto |
| 393 | type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest |
| 394 | |
| 395 | // OfpBucketCounter from public import voltha_protos/openflow_13.proto |
| 396 | type OfpBucketCounter = openflow_13.OfpBucketCounter |
| 397 | |
| 398 | // OfpGroupStats from public import voltha_protos/openflow_13.proto |
| 399 | type OfpGroupStats = openflow_13.OfpGroupStats |
| 400 | |
| 401 | // OfpGroupDesc from public import voltha_protos/openflow_13.proto |
| 402 | type OfpGroupDesc = openflow_13.OfpGroupDesc |
| 403 | |
| 404 | // OfpGroupEntry from public import voltha_protos/openflow_13.proto |
| 405 | type OfpGroupEntry = openflow_13.OfpGroupEntry |
| 406 | |
| 407 | // OfpGroupFeatures from public import voltha_protos/openflow_13.proto |
| 408 | type OfpGroupFeatures = openflow_13.OfpGroupFeatures |
| 409 | |
| 410 | // OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto |
| 411 | type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest |
| 412 | |
| 413 | // OfpMeterBandStats from public import voltha_protos/openflow_13.proto |
| 414 | type OfpMeterBandStats = openflow_13.OfpMeterBandStats |
| 415 | |
| 416 | // OfpMeterStats from public import voltha_protos/openflow_13.proto |
| 417 | type OfpMeterStats = openflow_13.OfpMeterStats |
| 418 | |
| 419 | // OfpMeterConfig from public import voltha_protos/openflow_13.proto |
| 420 | type OfpMeterConfig = openflow_13.OfpMeterConfig |
| 421 | |
| 422 | // OfpMeterFeatures from public import voltha_protos/openflow_13.proto |
| 423 | type OfpMeterFeatures = openflow_13.OfpMeterFeatures |
| 424 | |
| 425 | // OfpMeterEntry from public import voltha_protos/openflow_13.proto |
| 426 | type OfpMeterEntry = openflow_13.OfpMeterEntry |
| 427 | |
| 428 | // OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto |
| 429 | type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader |
| 430 | |
| 431 | // OfpExperimenterHeader from public import voltha_protos/openflow_13.proto |
| 432 | type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader |
| 433 | |
| 434 | // OfpQueuePropHeader from public import voltha_protos/openflow_13.proto |
| 435 | type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader |
| 436 | |
| 437 | // OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto |
| 438 | type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate |
| 439 | |
| 440 | // OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto |
| 441 | type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate |
| 442 | |
| 443 | // OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto |
| 444 | type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter |
| 445 | |
| 446 | // OfpPacketQueue from public import voltha_protos/openflow_13.proto |
| 447 | type OfpPacketQueue = openflow_13.OfpPacketQueue |
| 448 | |
| 449 | // OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto |
| 450 | type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest |
| 451 | |
| 452 | // OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto |
| 453 | type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply |
| 454 | |
| 455 | // OfpActionSetQueue from public import voltha_protos/openflow_13.proto |
| 456 | type OfpActionSetQueue = openflow_13.OfpActionSetQueue |
| 457 | |
| 458 | // OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto |
| 459 | type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest |
| 460 | |
| 461 | // OfpQueueStats from public import voltha_protos/openflow_13.proto |
| 462 | type OfpQueueStats = openflow_13.OfpQueueStats |
| 463 | |
| 464 | // OfpRoleRequest from public import voltha_protos/openflow_13.proto |
| 465 | type OfpRoleRequest = openflow_13.OfpRoleRequest |
| 466 | |
| 467 | // OfpAsyncConfig from public import voltha_protos/openflow_13.proto |
| 468 | type OfpAsyncConfig = openflow_13.OfpAsyncConfig |
| 469 | |
| 470 | // MeterModUpdate from public import voltha_protos/openflow_13.proto |
| 471 | type MeterModUpdate = openflow_13.MeterModUpdate |
| 472 | |
| 473 | // MeterStatsReply from public import voltha_protos/openflow_13.proto |
| 474 | type MeterStatsReply = openflow_13.MeterStatsReply |
| 475 | |
| 476 | // FlowTableUpdate from public import voltha_protos/openflow_13.proto |
| 477 | type FlowTableUpdate = openflow_13.FlowTableUpdate |
| 478 | |
| 479 | // FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto |
| 480 | type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate |
| 481 | |
| 482 | // Flows from public import voltha_protos/openflow_13.proto |
| 483 | type Flows = openflow_13.Flows |
| 484 | |
| 485 | // Meters from public import voltha_protos/openflow_13.proto |
| 486 | type Meters = openflow_13.Meters |
| 487 | |
| 488 | // FlowGroups from public import voltha_protos/openflow_13.proto |
| 489 | type FlowGroups = openflow_13.FlowGroups |
| 490 | |
| 491 | // FlowChanges from public import voltha_protos/openflow_13.proto |
| 492 | type FlowChanges = openflow_13.FlowChanges |
| 493 | |
| 494 | // FlowGroupChanges from public import voltha_protos/openflow_13.proto |
| 495 | type FlowGroupChanges = openflow_13.FlowGroupChanges |
| 496 | |
| 497 | // PacketIn from public import voltha_protos/openflow_13.proto |
| 498 | type PacketIn = openflow_13.PacketIn |
| 499 | |
| 500 | // PacketOut from public import voltha_protos/openflow_13.proto |
| 501 | type PacketOut = openflow_13.PacketOut |
| 502 | |
| 503 | // ChangeEvent from public import voltha_protos/openflow_13.proto |
| 504 | type ChangeEvent = openflow_13.ChangeEvent |
| 505 | type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus |
| 506 | |
| 507 | // OfpPortNo from public import voltha_protos/openflow_13.proto |
| 508 | type OfpPortNo = openflow_13.OfpPortNo |
| 509 | |
| 510 | var OfpPortNo_name = openflow_13.OfpPortNo_name |
| 511 | var OfpPortNo_value = openflow_13.OfpPortNo_value |
| 512 | |
| 513 | const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID) |
| 514 | const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX) |
| 515 | const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT) |
| 516 | const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE) |
| 517 | const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL) |
| 518 | const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD) |
| 519 | const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL) |
| 520 | const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER) |
| 521 | const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL) |
| 522 | const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY) |
| 523 | |
| 524 | // OfpType from public import voltha_protos/openflow_13.proto |
| 525 | type OfpType = openflow_13.OfpType |
| 526 | |
| 527 | var OfpType_name = openflow_13.OfpType_name |
| 528 | var OfpType_value = openflow_13.OfpType_value |
| 529 | |
| 530 | const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO) |
| 531 | const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR) |
| 532 | const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST) |
| 533 | const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY) |
| 534 | const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER) |
| 535 | const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST) |
| 536 | const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY) |
| 537 | const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST) |
| 538 | const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY) |
| 539 | const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG) |
| 540 | const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN) |
| 541 | const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED) |
| 542 | const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS) |
| 543 | const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT) |
| 544 | const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD) |
| 545 | const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD) |
| 546 | const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD) |
| 547 | const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD) |
| 548 | const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST) |
| 549 | const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY) |
| 550 | const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST) |
| 551 | const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY) |
| 552 | const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST) |
| 553 | const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY) |
| 554 | const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST) |
| 555 | const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY) |
| 556 | const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST) |
| 557 | const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY) |
| 558 | const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC) |
| 559 | const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD) |
| 560 | |
| 561 | // OfpHelloElemType from public import voltha_protos/openflow_13.proto |
| 562 | type OfpHelloElemType = openflow_13.OfpHelloElemType |
| 563 | |
| 564 | var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name |
| 565 | var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value |
| 566 | |
| 567 | const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID) |
| 568 | const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP) |
| 569 | |
| 570 | // OfpConfigFlags from public import voltha_protos/openflow_13.proto |
| 571 | type OfpConfigFlags = openflow_13.OfpConfigFlags |
| 572 | |
| 573 | var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name |
| 574 | var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value |
| 575 | |
| 576 | const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL) |
| 577 | const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP) |
| 578 | const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM) |
| 579 | const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK) |
| 580 | |
| 581 | // OfpTableConfig from public import voltha_protos/openflow_13.proto |
| 582 | type OfpTableConfig = openflow_13.OfpTableConfig |
| 583 | |
| 584 | var OfpTableConfig_name = openflow_13.OfpTableConfig_name |
| 585 | var OfpTableConfig_value = openflow_13.OfpTableConfig_value |
| 586 | |
| 587 | const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID) |
| 588 | const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK) |
| 589 | |
| 590 | // OfpTable from public import voltha_protos/openflow_13.proto |
| 591 | type OfpTable = openflow_13.OfpTable |
| 592 | |
| 593 | var OfpTable_name = openflow_13.OfpTable_name |
| 594 | var OfpTable_value = openflow_13.OfpTable_value |
| 595 | |
| 596 | const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID) |
| 597 | const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX) |
| 598 | const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL) |
| 599 | |
| 600 | // OfpCapabilities from public import voltha_protos/openflow_13.proto |
| 601 | type OfpCapabilities = openflow_13.OfpCapabilities |
| 602 | |
| 603 | var OfpCapabilities_name = openflow_13.OfpCapabilities_name |
| 604 | var OfpCapabilities_value = openflow_13.OfpCapabilities_value |
| 605 | |
| 606 | const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID) |
| 607 | const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS) |
| 608 | const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS) |
| 609 | const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS) |
| 610 | const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS) |
| 611 | const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM) |
| 612 | const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS) |
| 613 | const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED) |
| 614 | |
| 615 | // OfpPortConfig from public import voltha_protos/openflow_13.proto |
| 616 | type OfpPortConfig = openflow_13.OfpPortConfig |
| 617 | |
| 618 | var OfpPortConfig_name = openflow_13.OfpPortConfig_name |
| 619 | var OfpPortConfig_value = openflow_13.OfpPortConfig_value |
| 620 | |
| 621 | const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID) |
| 622 | const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN) |
| 623 | const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV) |
| 624 | const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD) |
| 625 | const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN) |
| 626 | |
| 627 | // OfpPortState from public import voltha_protos/openflow_13.proto |
| 628 | type OfpPortState = openflow_13.OfpPortState |
| 629 | |
| 630 | var OfpPortState_name = openflow_13.OfpPortState_name |
| 631 | var OfpPortState_value = openflow_13.OfpPortState_value |
| 632 | |
| 633 | const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID) |
| 634 | const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN) |
| 635 | const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED) |
| 636 | const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE) |
| 637 | |
| 638 | // OfpPortFeatures from public import voltha_protos/openflow_13.proto |
| 639 | type OfpPortFeatures = openflow_13.OfpPortFeatures |
| 640 | |
| 641 | var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name |
| 642 | var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value |
| 643 | |
| 644 | const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID) |
| 645 | const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD) |
| 646 | const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD) |
| 647 | const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD) |
| 648 | const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD) |
| 649 | const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD) |
| 650 | const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD) |
| 651 | const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD) |
| 652 | const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD) |
| 653 | const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD) |
| 654 | const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD) |
| 655 | const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER) |
| 656 | const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER) |
| 657 | const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER) |
| 658 | const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG) |
| 659 | const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE) |
| 660 | const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM) |
| 661 | |
| 662 | // OfpPortReason from public import voltha_protos/openflow_13.proto |
| 663 | type OfpPortReason = openflow_13.OfpPortReason |
| 664 | |
| 665 | var OfpPortReason_name = openflow_13.OfpPortReason_name |
| 666 | var OfpPortReason_value = openflow_13.OfpPortReason_value |
| 667 | |
| 668 | const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD) |
| 669 | const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE) |
| 670 | const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY) |
| 671 | |
| 672 | // OfpMatchType from public import voltha_protos/openflow_13.proto |
| 673 | type OfpMatchType = openflow_13.OfpMatchType |
| 674 | |
| 675 | var OfpMatchType_name = openflow_13.OfpMatchType_name |
| 676 | var OfpMatchType_value = openflow_13.OfpMatchType_value |
| 677 | |
| 678 | const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD) |
| 679 | const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM) |
| 680 | |
| 681 | // OfpOxmClass from public import voltha_protos/openflow_13.proto |
| 682 | type OfpOxmClass = openflow_13.OfpOxmClass |
| 683 | |
| 684 | var OfpOxmClass_name = openflow_13.OfpOxmClass_name |
| 685 | var OfpOxmClass_value = openflow_13.OfpOxmClass_value |
| 686 | |
| 687 | const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0) |
| 688 | const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1) |
| 689 | const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC) |
| 690 | const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER) |
| 691 | |
| 692 | // OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto |
| 693 | type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes |
| 694 | |
| 695 | var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name |
| 696 | var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value |
| 697 | |
| 698 | const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT) |
| 699 | const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT) |
| 700 | const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA) |
| 701 | const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST) |
| 702 | const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC) |
| 703 | const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE) |
| 704 | const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID) |
| 705 | const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP) |
| 706 | const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP) |
| 707 | const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN) |
| 708 | const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO) |
| 709 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC) |
| 710 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST) |
| 711 | const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC) |
| 712 | const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST) |
| 713 | const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC) |
| 714 | const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST) |
| 715 | const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC) |
| 716 | const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST) |
| 717 | const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE) |
| 718 | const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE) |
| 719 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP) |
| 720 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA) |
| 721 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA) |
| 722 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA) |
| 723 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA) |
| 724 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC) |
| 725 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST) |
| 726 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL) |
| 727 | const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE) |
| 728 | const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE) |
| 729 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET) |
| 730 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL) |
| 731 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL) |
| 732 | const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL) |
| 733 | const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC) |
| 734 | const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS) |
| 735 | const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID) |
| 736 | const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID) |
| 737 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR) |
| 738 | |
| 739 | // OfpVlanId from public import voltha_protos/openflow_13.proto |
| 740 | type OfpVlanId = openflow_13.OfpVlanId |
| 741 | |
| 742 | var OfpVlanId_name = openflow_13.OfpVlanId_name |
| 743 | var OfpVlanId_value = openflow_13.OfpVlanId_value |
| 744 | |
| 745 | const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE) |
| 746 | const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT) |
| 747 | |
| 748 | // OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto |
| 749 | type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags |
| 750 | |
| 751 | var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name |
| 752 | var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value |
| 753 | |
| 754 | const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID) |
| 755 | const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT) |
| 756 | const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP) |
| 757 | const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH) |
| 758 | const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST) |
| 759 | const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG) |
| 760 | const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER) |
| 761 | const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP) |
| 762 | const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP) |
| 763 | const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ) |
| 764 | |
| 765 | // OfpActionType from public import voltha_protos/openflow_13.proto |
| 766 | type OfpActionType = openflow_13.OfpActionType |
| 767 | |
| 768 | var OfpActionType_name = openflow_13.OfpActionType_name |
| 769 | var OfpActionType_value = openflow_13.OfpActionType_value |
| 770 | |
| 771 | const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT) |
| 772 | const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT) |
| 773 | const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN) |
| 774 | const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL) |
| 775 | const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL) |
| 776 | const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN) |
| 777 | const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN) |
| 778 | const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS) |
| 779 | const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS) |
| 780 | const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE) |
| 781 | const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP) |
| 782 | const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL) |
| 783 | const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL) |
| 784 | const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD) |
| 785 | const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB) |
| 786 | const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB) |
| 787 | const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER) |
| 788 | |
| 789 | // OfpControllerMaxLen from public import voltha_protos/openflow_13.proto |
| 790 | type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen |
| 791 | |
| 792 | var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name |
| 793 | var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value |
| 794 | |
| 795 | const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID) |
| 796 | const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX) |
| 797 | const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER) |
| 798 | |
| 799 | // OfpInstructionType from public import voltha_protos/openflow_13.proto |
| 800 | type OfpInstructionType = openflow_13.OfpInstructionType |
| 801 | |
| 802 | var OfpInstructionType_name = openflow_13.OfpInstructionType_name |
| 803 | var OfpInstructionType_value = openflow_13.OfpInstructionType_value |
| 804 | |
| 805 | const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID) |
| 806 | const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE) |
| 807 | const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA) |
| 808 | const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS) |
| 809 | const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS) |
| 810 | const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS) |
| 811 | const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER) |
| 812 | const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER) |
| 813 | |
| 814 | // OfpFlowModCommand from public import voltha_protos/openflow_13.proto |
| 815 | type OfpFlowModCommand = openflow_13.OfpFlowModCommand |
| 816 | |
| 817 | var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name |
| 818 | var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value |
| 819 | |
| 820 | const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD) |
| 821 | const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY) |
| 822 | const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT) |
| 823 | const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE) |
| 824 | const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT) |
| 825 | |
| 826 | // OfpFlowModFlags from public import voltha_protos/openflow_13.proto |
| 827 | type OfpFlowModFlags = openflow_13.OfpFlowModFlags |
| 828 | |
| 829 | var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name |
| 830 | var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value |
| 831 | |
| 832 | const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID) |
| 833 | const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM) |
| 834 | const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP) |
| 835 | const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS) |
| 836 | const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS) |
| 837 | const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS) |
| 838 | |
| 839 | // OfpGroup from public import voltha_protos/openflow_13.proto |
| 840 | type OfpGroup = openflow_13.OfpGroup |
| 841 | |
| 842 | var OfpGroup_name = openflow_13.OfpGroup_name |
| 843 | var OfpGroup_value = openflow_13.OfpGroup_value |
| 844 | |
| 845 | const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID) |
| 846 | const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX) |
| 847 | const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL) |
| 848 | const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY) |
| 849 | |
| 850 | // OfpGroupModCommand from public import voltha_protos/openflow_13.proto |
| 851 | type OfpGroupModCommand = openflow_13.OfpGroupModCommand |
| 852 | |
| 853 | var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name |
| 854 | var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value |
| 855 | |
| 856 | const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD) |
| 857 | const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY) |
| 858 | const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE) |
| 859 | |
| 860 | // OfpGroupType from public import voltha_protos/openflow_13.proto |
| 861 | type OfpGroupType = openflow_13.OfpGroupType |
| 862 | |
| 863 | var OfpGroupType_name = openflow_13.OfpGroupType_name |
| 864 | var OfpGroupType_value = openflow_13.OfpGroupType_value |
| 865 | |
| 866 | const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL) |
| 867 | const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT) |
| 868 | const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT) |
| 869 | const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF) |
| 870 | |
| 871 | // OfpPacketInReason from public import voltha_protos/openflow_13.proto |
| 872 | type OfpPacketInReason = openflow_13.OfpPacketInReason |
| 873 | |
| 874 | var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name |
| 875 | var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value |
| 876 | |
| 877 | const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH) |
| 878 | const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION) |
| 879 | const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL) |
| 880 | |
| 881 | // OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto |
| 882 | type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason |
| 883 | |
| 884 | var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name |
| 885 | var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value |
| 886 | |
| 887 | const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT) |
| 888 | const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT) |
| 889 | const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE) |
| 890 | const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE) |
| 891 | const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE) |
| 892 | |
| 893 | // OfpMeter from public import voltha_protos/openflow_13.proto |
| 894 | type OfpMeter = openflow_13.OfpMeter |
| 895 | |
| 896 | var OfpMeter_name = openflow_13.OfpMeter_name |
| 897 | var OfpMeter_value = openflow_13.OfpMeter_value |
| 898 | |
| 899 | const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO) |
| 900 | const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX) |
| 901 | const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH) |
| 902 | const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER) |
| 903 | const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL) |
| 904 | |
| 905 | // OfpMeterBandType from public import voltha_protos/openflow_13.proto |
| 906 | type OfpMeterBandType = openflow_13.OfpMeterBandType |
| 907 | |
| 908 | var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name |
| 909 | var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value |
| 910 | |
| 911 | const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID) |
| 912 | const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP) |
| 913 | const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK) |
| 914 | const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER) |
| 915 | |
| 916 | // OfpMeterModCommand from public import voltha_protos/openflow_13.proto |
| 917 | type OfpMeterModCommand = openflow_13.OfpMeterModCommand |
| 918 | |
| 919 | var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name |
| 920 | var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value |
| 921 | |
| 922 | const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD) |
| 923 | const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY) |
| 924 | const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE) |
| 925 | |
| 926 | // OfpMeterFlags from public import voltha_protos/openflow_13.proto |
| 927 | type OfpMeterFlags = openflow_13.OfpMeterFlags |
| 928 | |
| 929 | var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name |
| 930 | var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value |
| 931 | |
| 932 | const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID) |
| 933 | const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS) |
| 934 | const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS) |
| 935 | const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST) |
| 936 | const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS) |
| 937 | |
| 938 | // OfpErrorType from public import voltha_protos/openflow_13.proto |
| 939 | type OfpErrorType = openflow_13.OfpErrorType |
| 940 | |
| 941 | var OfpErrorType_name = openflow_13.OfpErrorType_name |
| 942 | var OfpErrorType_value = openflow_13.OfpErrorType_value |
| 943 | |
| 944 | const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED) |
| 945 | const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST) |
| 946 | const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION) |
| 947 | const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION) |
| 948 | const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH) |
| 949 | const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED) |
| 950 | const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED) |
| 951 | const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED) |
| 952 | const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED) |
| 953 | const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED) |
| 954 | const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED) |
| 955 | const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED) |
| 956 | const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED) |
| 957 | const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED) |
| 958 | const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER) |
| 959 | |
| 960 | // OfpHelloFailedCode from public import voltha_protos/openflow_13.proto |
| 961 | type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode |
| 962 | |
| 963 | var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name |
| 964 | var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value |
| 965 | |
| 966 | const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE) |
| 967 | const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM) |
| 968 | |
| 969 | // OfpBadRequestCode from public import voltha_protos/openflow_13.proto |
| 970 | type OfpBadRequestCode = openflow_13.OfpBadRequestCode |
| 971 | |
| 972 | var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name |
| 973 | var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value |
| 974 | |
| 975 | const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION) |
| 976 | const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE) |
| 977 | const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART) |
| 978 | const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER) |
| 979 | const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE) |
| 980 | const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM) |
| 981 | const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN) |
| 982 | const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY) |
| 983 | const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN) |
| 984 | const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID) |
| 985 | const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE) |
| 986 | const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT) |
| 987 | const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET) |
| 988 | const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW) |
| 989 | |
| 990 | // OfpBadActionCode from public import voltha_protos/openflow_13.proto |
| 991 | type OfpBadActionCode = openflow_13.OfpBadActionCode |
| 992 | |
| 993 | var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name |
| 994 | var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value |
| 995 | |
| 996 | const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE) |
| 997 | const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN) |
| 998 | const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER) |
| 999 | const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE) |
| 1000 | const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT) |
| 1001 | const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT) |
| 1002 | const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM) |
| 1003 | const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY) |
| 1004 | const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE) |
| 1005 | const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP) |
| 1006 | const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT) |
| 1007 | const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER) |
| 1008 | const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG) |
| 1009 | const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE) |
| 1010 | const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN) |
| 1011 | const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT) |
| 1012 | |
| 1013 | // OfpBadInstructionCode from public import voltha_protos/openflow_13.proto |
| 1014 | type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode |
| 1015 | |
| 1016 | var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name |
| 1017 | var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value |
| 1018 | |
| 1019 | const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST) |
| 1020 | const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST) |
| 1021 | const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID) |
| 1022 | const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA) |
| 1023 | const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK) |
| 1024 | const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER) |
| 1025 | const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE) |
| 1026 | const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN) |
| 1027 | const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM) |
| 1028 | |
| 1029 | // OfpBadMatchCode from public import voltha_protos/openflow_13.proto |
| 1030 | type OfpBadMatchCode = openflow_13.OfpBadMatchCode |
| 1031 | |
| 1032 | var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name |
| 1033 | var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value |
| 1034 | |
| 1035 | const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE) |
| 1036 | const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN) |
| 1037 | const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG) |
| 1038 | const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK) |
| 1039 | const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK) |
| 1040 | const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS) |
| 1041 | const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD) |
| 1042 | const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE) |
| 1043 | const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK) |
| 1044 | const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ) |
| 1045 | const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD) |
| 1046 | const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM) |
| 1047 | |
| 1048 | // OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto |
| 1049 | type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode |
| 1050 | |
| 1051 | var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name |
| 1052 | var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value |
| 1053 | |
| 1054 | const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN) |
| 1055 | const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL) |
| 1056 | const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID) |
| 1057 | const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP) |
| 1058 | const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM) |
| 1059 | const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT) |
| 1060 | const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND) |
| 1061 | const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS) |
| 1062 | |
| 1063 | // OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto |
| 1064 | type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode |
| 1065 | |
| 1066 | var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name |
| 1067 | var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value |
| 1068 | |
| 1069 | const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS) |
| 1070 | const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP) |
| 1071 | const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED) |
| 1072 | const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS) |
| 1073 | const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS) |
| 1074 | const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED) |
| 1075 | const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED) |
| 1076 | const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP) |
| 1077 | const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP) |
| 1078 | const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP) |
| 1079 | const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE) |
| 1080 | const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND) |
| 1081 | const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET) |
| 1082 | const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH) |
| 1083 | const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM) |
| 1084 | |
| 1085 | // OfpPortModFailedCode from public import voltha_protos/openflow_13.proto |
| 1086 | type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode |
| 1087 | |
| 1088 | var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name |
| 1089 | var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value |
| 1090 | |
| 1091 | const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT) |
| 1092 | const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR) |
| 1093 | const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG) |
| 1094 | const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE) |
| 1095 | const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM) |
| 1096 | |
| 1097 | // OfpTableModFailedCode from public import voltha_protos/openflow_13.proto |
| 1098 | type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode |
| 1099 | |
| 1100 | var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name |
| 1101 | var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value |
| 1102 | |
| 1103 | const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE) |
| 1104 | const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG) |
| 1105 | const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM) |
| 1106 | |
| 1107 | // OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto |
| 1108 | type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode |
| 1109 | |
| 1110 | var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name |
| 1111 | var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value |
| 1112 | |
| 1113 | const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT) |
| 1114 | const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE) |
| 1115 | const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM) |
| 1116 | |
| 1117 | // OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto |
| 1118 | type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode |
| 1119 | |
| 1120 | var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name |
| 1121 | var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value |
| 1122 | |
| 1123 | const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS) |
| 1124 | const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN) |
| 1125 | const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM) |
| 1126 | |
| 1127 | // OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto |
| 1128 | type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode |
| 1129 | |
| 1130 | var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name |
| 1131 | var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value |
| 1132 | |
| 1133 | const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE) |
| 1134 | const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP) |
| 1135 | const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE) |
| 1136 | |
| 1137 | // OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto |
| 1138 | type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode |
| 1139 | |
| 1140 | var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name |
| 1141 | var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value |
| 1142 | |
| 1143 | const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN) |
| 1144 | const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS) |
| 1145 | const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER) |
| 1146 | const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER) |
| 1147 | const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND) |
| 1148 | const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS) |
| 1149 | const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE) |
| 1150 | const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST) |
| 1151 | const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND) |
| 1152 | const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL) |
| 1153 | const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS) |
| 1154 | const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS) |
| 1155 | |
| 1156 | // OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto |
| 1157 | type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode |
| 1158 | |
| 1159 | var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name |
| 1160 | var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value |
| 1161 | |
| 1162 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE) |
| 1163 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA) |
| 1164 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE) |
| 1165 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN) |
| 1166 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT) |
| 1167 | const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM) |
| 1168 | |
| 1169 | // OfpMultipartType from public import voltha_protos/openflow_13.proto |
| 1170 | type OfpMultipartType = openflow_13.OfpMultipartType |
| 1171 | |
| 1172 | var OfpMultipartType_name = openflow_13.OfpMultipartType_name |
| 1173 | var OfpMultipartType_value = openflow_13.OfpMultipartType_value |
| 1174 | |
| 1175 | const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC) |
| 1176 | const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW) |
| 1177 | const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE) |
| 1178 | const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE) |
| 1179 | const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS) |
| 1180 | const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE) |
| 1181 | const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP) |
| 1182 | const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC) |
| 1183 | const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES) |
| 1184 | const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER) |
| 1185 | const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG) |
| 1186 | const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES) |
| 1187 | const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES) |
| 1188 | const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC) |
| 1189 | const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER) |
| 1190 | |
| 1191 | // OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto |
| 1192 | type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags |
| 1193 | |
| 1194 | var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name |
| 1195 | var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value |
| 1196 | |
| 1197 | const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID) |
| 1198 | const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE) |
| 1199 | |
| 1200 | // OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto |
| 1201 | type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags |
| 1202 | |
| 1203 | var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name |
| 1204 | var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value |
| 1205 | |
| 1206 | const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID) |
| 1207 | const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE) |
| 1208 | |
| 1209 | // OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto |
| 1210 | type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType |
| 1211 | |
| 1212 | var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name |
| 1213 | var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value |
| 1214 | |
| 1215 | const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS) |
| 1216 | const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS) |
| 1217 | const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES) |
| 1218 | const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS) |
| 1219 | const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS) |
| 1220 | const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS) |
| 1221 | const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS) |
| 1222 | const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS) |
| 1223 | const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH) |
| 1224 | const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS) |
| 1225 | const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD) |
| 1226 | const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS) |
| 1227 | const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD) |
| 1228 | const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS) |
| 1229 | const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER) |
| 1230 | const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS) |
| 1231 | |
| 1232 | // OfpGroupCapabilities from public import voltha_protos/openflow_13.proto |
| 1233 | type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities |
| 1234 | |
| 1235 | var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name |
| 1236 | var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value |
| 1237 | |
| 1238 | const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID) |
| 1239 | const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT) |
| 1240 | const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS) |
| 1241 | const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING) |
| 1242 | const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS) |
| 1243 | |
| 1244 | // OfpQueueProperties from public import voltha_protos/openflow_13.proto |
| 1245 | type OfpQueueProperties = openflow_13.OfpQueueProperties |
| 1246 | |
| 1247 | var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name |
| 1248 | var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value |
| 1249 | |
| 1250 | const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID) |
| 1251 | const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE) |
| 1252 | const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE) |
| 1253 | const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER) |
| 1254 | |
| 1255 | // OfpControllerRole from public import voltha_protos/openflow_13.proto |
| 1256 | type OfpControllerRole = openflow_13.OfpControllerRole |
| 1257 | |
| 1258 | var OfpControllerRole_name = openflow_13.OfpControllerRole_name |
| 1259 | var OfpControllerRole_value = openflow_13.OfpControllerRole_value |
| 1260 | |
| 1261 | const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE) |
| 1262 | const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL) |
| 1263 | const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER) |
| 1264 | const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE) |
| 1265 | |
| 1266 | type EventFilterRuleKey_EventFilterRuleType int32 |
| 1267 | |
| 1268 | const ( |
| 1269 | EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0 |
| 1270 | EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1 |
| 1271 | EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2 |
| 1272 | EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3 |
| 1273 | EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4 |
| 1274 | EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5 |
| 1275 | ) |
| 1276 | |
| 1277 | var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{ |
| 1278 | 0: "filter_all", |
| 1279 | 1: "category", |
| 1280 | 2: "sub_category", |
| 1281 | 3: "kpi_event_type", |
| 1282 | 4: "config_event_type", |
| 1283 | 5: "device_event_type", |
| 1284 | } |
| 1285 | |
| 1286 | var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{ |
| 1287 | "filter_all": 0, |
| 1288 | "category": 1, |
| 1289 | "sub_category": 2, |
| 1290 | "kpi_event_type": 3, |
| 1291 | "config_event_type": 4, |
| 1292 | "device_event_type": 5, |
| 1293 | } |
| 1294 | |
| 1295 | func (x EventFilterRuleKey_EventFilterRuleType) String() string { |
| 1296 | return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x)) |
| 1297 | } |
| 1298 | |
| 1299 | func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) { |
| 1300 | return fileDescriptor_e084f1a60ce7016c, []int{2, 0} |
| 1301 | } |
| 1302 | |
| 1303 | type TestResponse_TestResponseResult int32 |
| 1304 | |
| 1305 | const ( |
| 1306 | TestResponse_SUCCESS TestResponse_TestResponseResult = 0 |
| 1307 | TestResponse_FAILURE TestResponse_TestResponseResult = 1 |
| 1308 | ) |
| 1309 | |
| 1310 | var TestResponse_TestResponseResult_name = map[int32]string{ |
| 1311 | 0: "SUCCESS", |
| 1312 | 1: "FAILURE", |
| 1313 | } |
| 1314 | |
| 1315 | var TestResponse_TestResponseResult_value = map[string]int32{ |
| 1316 | "SUCCESS": 0, |
| 1317 | "FAILURE": 1, |
| 1318 | } |
| 1319 | |
| 1320 | func (x TestResponse_TestResponseResult) String() string { |
| 1321 | return proto.EnumName(TestResponse_TestResponseResult_name, int32(x)) |
| 1322 | } |
| 1323 | |
| 1324 | func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) { |
| 1325 | return fileDescriptor_e084f1a60ce7016c, []int{9, 0} |
| 1326 | } |
| 1327 | |
| 1328 | type SelfTestResponse_SelfTestResult int32 |
| 1329 | |
| 1330 | const ( |
| 1331 | SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0 |
| 1332 | SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1 |
| 1333 | SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2 |
| 1334 | SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3 |
| 1335 | ) |
| 1336 | |
| 1337 | var SelfTestResponse_SelfTestResult_name = map[int32]string{ |
| 1338 | 0: "SUCCESS", |
| 1339 | 1: "FAILURE", |
| 1340 | 2: "NOT_SUPPORTED", |
| 1341 | 3: "UNKNOWN_ERROR", |
| 1342 | } |
| 1343 | |
| 1344 | var SelfTestResponse_SelfTestResult_value = map[string]int32{ |
| 1345 | "SUCCESS": 0, |
| 1346 | "FAILURE": 1, |
| 1347 | "NOT_SUPPORTED": 2, |
| 1348 | "UNKNOWN_ERROR": 3, |
| 1349 | } |
| 1350 | |
| 1351 | func (x SelfTestResponse_SelfTestResult) String() string { |
| 1352 | return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x)) |
| 1353 | } |
| 1354 | |
| 1355 | func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) { |
| 1356 | return fileDescriptor_e084f1a60ce7016c, []int{11, 0} |
| 1357 | } |
| 1358 | |
| 1359 | type DeviceGroup struct { |
| 1360 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 1361 | LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"` |
| 1362 | Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"` |
| 1363 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1364 | XXX_unrecognized []byte `json:"-"` |
| 1365 | XXX_sizecache int32 `json:"-"` |
| 1366 | } |
| 1367 | |
| 1368 | func (m *DeviceGroup) Reset() { *m = DeviceGroup{} } |
| 1369 | func (m *DeviceGroup) String() string { return proto.CompactTextString(m) } |
| 1370 | func (*DeviceGroup) ProtoMessage() {} |
| 1371 | func (*DeviceGroup) Descriptor() ([]byte, []int) { |
| 1372 | return fileDescriptor_e084f1a60ce7016c, []int{0} |
| 1373 | } |
| 1374 | |
| 1375 | func (m *DeviceGroup) XXX_Unmarshal(b []byte) error { |
| 1376 | return xxx_messageInfo_DeviceGroup.Unmarshal(m, b) |
| 1377 | } |
| 1378 | func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1379 | return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic) |
| 1380 | } |
| 1381 | func (m *DeviceGroup) XXX_Merge(src proto.Message) { |
| 1382 | xxx_messageInfo_DeviceGroup.Merge(m, src) |
| 1383 | } |
| 1384 | func (m *DeviceGroup) XXX_Size() int { |
| 1385 | return xxx_messageInfo_DeviceGroup.Size(m) |
| 1386 | } |
| 1387 | func (m *DeviceGroup) XXX_DiscardUnknown() { |
| 1388 | xxx_messageInfo_DeviceGroup.DiscardUnknown(m) |
| 1389 | } |
| 1390 | |
| 1391 | var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo |
| 1392 | |
| 1393 | func (m *DeviceGroup) GetId() string { |
| 1394 | if m != nil { |
| 1395 | return m.Id |
| 1396 | } |
| 1397 | return "" |
| 1398 | } |
| 1399 | |
| 1400 | func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice { |
| 1401 | if m != nil { |
| 1402 | return m.LogicalDevices |
| 1403 | } |
| 1404 | return nil |
| 1405 | } |
| 1406 | |
| 1407 | func (m *DeviceGroup) GetDevices() []*Device { |
| 1408 | if m != nil { |
| 1409 | return m.Devices |
| 1410 | } |
| 1411 | return nil |
| 1412 | } |
| 1413 | |
| 1414 | type DeviceGroups struct { |
| 1415 | Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1416 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1417 | XXX_unrecognized []byte `json:"-"` |
| 1418 | XXX_sizecache int32 `json:"-"` |
| 1419 | } |
| 1420 | |
| 1421 | func (m *DeviceGroups) Reset() { *m = DeviceGroups{} } |
| 1422 | func (m *DeviceGroups) String() string { return proto.CompactTextString(m) } |
| 1423 | func (*DeviceGroups) ProtoMessage() {} |
| 1424 | func (*DeviceGroups) Descriptor() ([]byte, []int) { |
| 1425 | return fileDescriptor_e084f1a60ce7016c, []int{1} |
| 1426 | } |
| 1427 | |
| 1428 | func (m *DeviceGroups) XXX_Unmarshal(b []byte) error { |
| 1429 | return xxx_messageInfo_DeviceGroups.Unmarshal(m, b) |
| 1430 | } |
| 1431 | func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1432 | return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic) |
| 1433 | } |
| 1434 | func (m *DeviceGroups) XXX_Merge(src proto.Message) { |
| 1435 | xxx_messageInfo_DeviceGroups.Merge(m, src) |
| 1436 | } |
| 1437 | func (m *DeviceGroups) XXX_Size() int { |
| 1438 | return xxx_messageInfo_DeviceGroups.Size(m) |
| 1439 | } |
| 1440 | func (m *DeviceGroups) XXX_DiscardUnknown() { |
| 1441 | xxx_messageInfo_DeviceGroups.DiscardUnknown(m) |
| 1442 | } |
| 1443 | |
| 1444 | var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo |
| 1445 | |
| 1446 | func (m *DeviceGroups) GetItems() []*DeviceGroup { |
| 1447 | if m != nil { |
| 1448 | return m.Items |
| 1449 | } |
| 1450 | return nil |
| 1451 | } |
| 1452 | |
| 1453 | type EventFilterRuleKey struct { |
| 1454 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1455 | XXX_unrecognized []byte `json:"-"` |
| 1456 | XXX_sizecache int32 `json:"-"` |
| 1457 | } |
| 1458 | |
| 1459 | func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} } |
| 1460 | func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) } |
| 1461 | func (*EventFilterRuleKey) ProtoMessage() {} |
| 1462 | func (*EventFilterRuleKey) Descriptor() ([]byte, []int) { |
| 1463 | return fileDescriptor_e084f1a60ce7016c, []int{2} |
| 1464 | } |
| 1465 | |
| 1466 | func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error { |
| 1467 | return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b) |
| 1468 | } |
| 1469 | func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1470 | return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic) |
| 1471 | } |
| 1472 | func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) { |
| 1473 | xxx_messageInfo_EventFilterRuleKey.Merge(m, src) |
| 1474 | } |
| 1475 | func (m *EventFilterRuleKey) XXX_Size() int { |
| 1476 | return xxx_messageInfo_EventFilterRuleKey.Size(m) |
| 1477 | } |
| 1478 | func (m *EventFilterRuleKey) XXX_DiscardUnknown() { |
| 1479 | xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m) |
| 1480 | } |
| 1481 | |
| 1482 | var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo |
| 1483 | |
| 1484 | type EventFilterRule struct { |
| 1485 | Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"` |
| 1486 | Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 1487 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1488 | XXX_unrecognized []byte `json:"-"` |
| 1489 | XXX_sizecache int32 `json:"-"` |
| 1490 | } |
| 1491 | |
| 1492 | func (m *EventFilterRule) Reset() { *m = EventFilterRule{} } |
| 1493 | func (m *EventFilterRule) String() string { return proto.CompactTextString(m) } |
| 1494 | func (*EventFilterRule) ProtoMessage() {} |
| 1495 | func (*EventFilterRule) Descriptor() ([]byte, []int) { |
| 1496 | return fileDescriptor_e084f1a60ce7016c, []int{3} |
| 1497 | } |
| 1498 | |
| 1499 | func (m *EventFilterRule) XXX_Unmarshal(b []byte) error { |
| 1500 | return xxx_messageInfo_EventFilterRule.Unmarshal(m, b) |
| 1501 | } |
| 1502 | func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1503 | return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic) |
| 1504 | } |
| 1505 | func (m *EventFilterRule) XXX_Merge(src proto.Message) { |
| 1506 | xxx_messageInfo_EventFilterRule.Merge(m, src) |
| 1507 | } |
| 1508 | func (m *EventFilterRule) XXX_Size() int { |
| 1509 | return xxx_messageInfo_EventFilterRule.Size(m) |
| 1510 | } |
| 1511 | func (m *EventFilterRule) XXX_DiscardUnknown() { |
| 1512 | xxx_messageInfo_EventFilterRule.DiscardUnknown(m) |
| 1513 | } |
| 1514 | |
| 1515 | var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo |
| 1516 | |
| 1517 | func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType { |
| 1518 | if m != nil { |
| 1519 | return m.Key |
| 1520 | } |
| 1521 | return EventFilterRuleKey_filter_all |
| 1522 | } |
| 1523 | |
| 1524 | func (m *EventFilterRule) GetValue() string { |
| 1525 | if m != nil { |
| 1526 | return m.Value |
| 1527 | } |
| 1528 | return "" |
| 1529 | } |
| 1530 | |
| 1531 | type EventFilter struct { |
| 1532 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 1533 | Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"` |
| 1534 | DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 1535 | EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` |
| 1536 | Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"` |
| 1537 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1538 | XXX_unrecognized []byte `json:"-"` |
| 1539 | XXX_sizecache int32 `json:"-"` |
| 1540 | } |
| 1541 | |
| 1542 | func (m *EventFilter) Reset() { *m = EventFilter{} } |
| 1543 | func (m *EventFilter) String() string { return proto.CompactTextString(m) } |
| 1544 | func (*EventFilter) ProtoMessage() {} |
| 1545 | func (*EventFilter) Descriptor() ([]byte, []int) { |
| 1546 | return fileDescriptor_e084f1a60ce7016c, []int{4} |
| 1547 | } |
| 1548 | |
| 1549 | func (m *EventFilter) XXX_Unmarshal(b []byte) error { |
| 1550 | return xxx_messageInfo_EventFilter.Unmarshal(m, b) |
| 1551 | } |
| 1552 | func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1553 | return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic) |
| 1554 | } |
| 1555 | func (m *EventFilter) XXX_Merge(src proto.Message) { |
| 1556 | xxx_messageInfo_EventFilter.Merge(m, src) |
| 1557 | } |
| 1558 | func (m *EventFilter) XXX_Size() int { |
| 1559 | return xxx_messageInfo_EventFilter.Size(m) |
| 1560 | } |
| 1561 | func (m *EventFilter) XXX_DiscardUnknown() { |
| 1562 | xxx_messageInfo_EventFilter.DiscardUnknown(m) |
| 1563 | } |
| 1564 | |
| 1565 | var xxx_messageInfo_EventFilter proto.InternalMessageInfo |
| 1566 | |
| 1567 | func (m *EventFilter) GetId() string { |
| 1568 | if m != nil { |
| 1569 | return m.Id |
| 1570 | } |
| 1571 | return "" |
| 1572 | } |
| 1573 | |
| 1574 | func (m *EventFilter) GetEnable() bool { |
| 1575 | if m != nil { |
| 1576 | return m.Enable |
| 1577 | } |
| 1578 | return false |
| 1579 | } |
| 1580 | |
| 1581 | func (m *EventFilter) GetDeviceId() string { |
| 1582 | if m != nil { |
| 1583 | return m.DeviceId |
| 1584 | } |
| 1585 | return "" |
| 1586 | } |
| 1587 | |
| 1588 | func (m *EventFilter) GetEventType() string { |
| 1589 | if m != nil { |
| 1590 | return m.EventType |
| 1591 | } |
| 1592 | return "" |
| 1593 | } |
| 1594 | |
| 1595 | func (m *EventFilter) GetRules() []*EventFilterRule { |
| 1596 | if m != nil { |
| 1597 | return m.Rules |
| 1598 | } |
| 1599 | return nil |
| 1600 | } |
| 1601 | |
| 1602 | type EventFilters struct { |
| 1603 | Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` |
| 1604 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1605 | XXX_unrecognized []byte `json:"-"` |
| 1606 | XXX_sizecache int32 `json:"-"` |
| 1607 | } |
| 1608 | |
| 1609 | func (m *EventFilters) Reset() { *m = EventFilters{} } |
| 1610 | func (m *EventFilters) String() string { return proto.CompactTextString(m) } |
| 1611 | func (*EventFilters) ProtoMessage() {} |
| 1612 | func (*EventFilters) Descriptor() ([]byte, []int) { |
| 1613 | return fileDescriptor_e084f1a60ce7016c, []int{5} |
| 1614 | } |
| 1615 | |
| 1616 | func (m *EventFilters) XXX_Unmarshal(b []byte) error { |
| 1617 | return xxx_messageInfo_EventFilters.Unmarshal(m, b) |
| 1618 | } |
| 1619 | func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1620 | return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic) |
| 1621 | } |
| 1622 | func (m *EventFilters) XXX_Merge(src proto.Message) { |
| 1623 | xxx_messageInfo_EventFilters.Merge(m, src) |
| 1624 | } |
| 1625 | func (m *EventFilters) XXX_Size() int { |
| 1626 | return xxx_messageInfo_EventFilters.Size(m) |
| 1627 | } |
| 1628 | func (m *EventFilters) XXX_DiscardUnknown() { |
| 1629 | xxx_messageInfo_EventFilters.DiscardUnknown(m) |
| 1630 | } |
| 1631 | |
| 1632 | var xxx_messageInfo_EventFilters proto.InternalMessageInfo |
| 1633 | |
| 1634 | func (m *EventFilters) GetFilters() []*EventFilter { |
| 1635 | if m != nil { |
| 1636 | return m.Filters |
| 1637 | } |
| 1638 | return nil |
| 1639 | } |
| 1640 | |
| 1641 | // CoreInstance represents a core instance. It is data held in memory when a core |
| 1642 | // is running. This data is not persistent. |
| 1643 | type CoreInstance struct { |
| 1644 | InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` |
| 1645 | Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"` |
| 1646 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1647 | XXX_unrecognized []byte `json:"-"` |
| 1648 | XXX_sizecache int32 `json:"-"` |
| 1649 | } |
| 1650 | |
| 1651 | func (m *CoreInstance) Reset() { *m = CoreInstance{} } |
| 1652 | func (m *CoreInstance) String() string { return proto.CompactTextString(m) } |
| 1653 | func (*CoreInstance) ProtoMessage() {} |
| 1654 | func (*CoreInstance) Descriptor() ([]byte, []int) { |
| 1655 | return fileDescriptor_e084f1a60ce7016c, []int{6} |
| 1656 | } |
| 1657 | |
| 1658 | func (m *CoreInstance) XXX_Unmarshal(b []byte) error { |
| 1659 | return xxx_messageInfo_CoreInstance.Unmarshal(m, b) |
| 1660 | } |
| 1661 | func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1662 | return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic) |
| 1663 | } |
| 1664 | func (m *CoreInstance) XXX_Merge(src proto.Message) { |
| 1665 | xxx_messageInfo_CoreInstance.Merge(m, src) |
| 1666 | } |
| 1667 | func (m *CoreInstance) XXX_Size() int { |
| 1668 | return xxx_messageInfo_CoreInstance.Size(m) |
| 1669 | } |
| 1670 | func (m *CoreInstance) XXX_DiscardUnknown() { |
| 1671 | xxx_messageInfo_CoreInstance.DiscardUnknown(m) |
| 1672 | } |
| 1673 | |
| 1674 | var xxx_messageInfo_CoreInstance proto.InternalMessageInfo |
| 1675 | |
| 1676 | func (m *CoreInstance) GetInstanceId() string { |
| 1677 | if m != nil { |
| 1678 | return m.InstanceId |
| 1679 | } |
| 1680 | return "" |
| 1681 | } |
| 1682 | |
| 1683 | func (m *CoreInstance) GetHealth() *HealthStatus { |
| 1684 | if m != nil { |
| 1685 | return m.Health |
| 1686 | } |
| 1687 | return nil |
| 1688 | } |
| 1689 | |
| 1690 | type CoreInstances struct { |
| 1691 | Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1692 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1693 | XXX_unrecognized []byte `json:"-"` |
| 1694 | XXX_sizecache int32 `json:"-"` |
| 1695 | } |
| 1696 | |
| 1697 | func (m *CoreInstances) Reset() { *m = CoreInstances{} } |
| 1698 | func (m *CoreInstances) String() string { return proto.CompactTextString(m) } |
| 1699 | func (*CoreInstances) ProtoMessage() {} |
| 1700 | func (*CoreInstances) Descriptor() ([]byte, []int) { |
| 1701 | return fileDescriptor_e084f1a60ce7016c, []int{7} |
| 1702 | } |
| 1703 | |
| 1704 | func (m *CoreInstances) XXX_Unmarshal(b []byte) error { |
| 1705 | return xxx_messageInfo_CoreInstances.Unmarshal(m, b) |
| 1706 | } |
| 1707 | func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1708 | return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic) |
| 1709 | } |
| 1710 | func (m *CoreInstances) XXX_Merge(src proto.Message) { |
| 1711 | xxx_messageInfo_CoreInstances.Merge(m, src) |
| 1712 | } |
| 1713 | func (m *CoreInstances) XXX_Size() int { |
| 1714 | return xxx_messageInfo_CoreInstances.Size(m) |
| 1715 | } |
| 1716 | func (m *CoreInstances) XXX_DiscardUnknown() { |
| 1717 | xxx_messageInfo_CoreInstances.DiscardUnknown(m) |
| 1718 | } |
| 1719 | |
| 1720 | var xxx_messageInfo_CoreInstances proto.InternalMessageInfo |
| 1721 | |
| 1722 | func (m *CoreInstances) GetItems() []*CoreInstance { |
| 1723 | if m != nil { |
| 1724 | return m.Items |
| 1725 | } |
| 1726 | return nil |
| 1727 | } |
| 1728 | |
| 1729 | type OmciTestRequest struct { |
| 1730 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 1731 | Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` |
| 1732 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1733 | XXX_unrecognized []byte `json:"-"` |
| 1734 | XXX_sizecache int32 `json:"-"` |
| 1735 | } |
| 1736 | |
| 1737 | func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} } |
| 1738 | func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) } |
| 1739 | func (*OmciTestRequest) ProtoMessage() {} |
| 1740 | func (*OmciTestRequest) Descriptor() ([]byte, []int) { |
| 1741 | return fileDescriptor_e084f1a60ce7016c, []int{8} |
| 1742 | } |
| 1743 | |
| 1744 | func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error { |
| 1745 | return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b) |
| 1746 | } |
| 1747 | func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1748 | return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic) |
| 1749 | } |
| 1750 | func (m *OmciTestRequest) XXX_Merge(src proto.Message) { |
| 1751 | xxx_messageInfo_OmciTestRequest.Merge(m, src) |
| 1752 | } |
| 1753 | func (m *OmciTestRequest) XXX_Size() int { |
| 1754 | return xxx_messageInfo_OmciTestRequest.Size(m) |
| 1755 | } |
| 1756 | func (m *OmciTestRequest) XXX_DiscardUnknown() { |
| 1757 | xxx_messageInfo_OmciTestRequest.DiscardUnknown(m) |
| 1758 | } |
| 1759 | |
| 1760 | var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo |
| 1761 | |
| 1762 | func (m *OmciTestRequest) GetId() string { |
| 1763 | if m != nil { |
| 1764 | return m.Id |
| 1765 | } |
| 1766 | return "" |
| 1767 | } |
| 1768 | |
| 1769 | func (m *OmciTestRequest) GetUuid() string { |
| 1770 | if m != nil { |
| 1771 | return m.Uuid |
| 1772 | } |
| 1773 | return "" |
| 1774 | } |
| 1775 | |
| 1776 | type TestResponse struct { |
| 1777 | Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.TestResponse_TestResponseResult" json:"result,omitempty"` |
| 1778 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1779 | XXX_unrecognized []byte `json:"-"` |
| 1780 | XXX_sizecache int32 `json:"-"` |
| 1781 | } |
| 1782 | |
| 1783 | func (m *TestResponse) Reset() { *m = TestResponse{} } |
| 1784 | func (m *TestResponse) String() string { return proto.CompactTextString(m) } |
| 1785 | func (*TestResponse) ProtoMessage() {} |
| 1786 | func (*TestResponse) Descriptor() ([]byte, []int) { |
| 1787 | return fileDescriptor_e084f1a60ce7016c, []int{9} |
| 1788 | } |
| 1789 | |
| 1790 | func (m *TestResponse) XXX_Unmarshal(b []byte) error { |
| 1791 | return xxx_messageInfo_TestResponse.Unmarshal(m, b) |
| 1792 | } |
| 1793 | func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1794 | return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic) |
| 1795 | } |
| 1796 | func (m *TestResponse) XXX_Merge(src proto.Message) { |
| 1797 | xxx_messageInfo_TestResponse.Merge(m, src) |
| 1798 | } |
| 1799 | func (m *TestResponse) XXX_Size() int { |
| 1800 | return xxx_messageInfo_TestResponse.Size(m) |
| 1801 | } |
| 1802 | func (m *TestResponse) XXX_DiscardUnknown() { |
| 1803 | xxx_messageInfo_TestResponse.DiscardUnknown(m) |
| 1804 | } |
| 1805 | |
| 1806 | var xxx_messageInfo_TestResponse proto.InternalMessageInfo |
| 1807 | |
| 1808 | func (m *TestResponse) GetResult() TestResponse_TestResponseResult { |
| 1809 | if m != nil { |
| 1810 | return m.Result |
| 1811 | } |
| 1812 | return TestResponse_SUCCESS |
| 1813 | } |
| 1814 | |
| 1815 | // Voltha represents the Voltha cluster data. Each Core instance will hold a subset of |
| 1816 | // the entire cluster. However, some items (e.g. adapters) will be held by all cores |
| 1817 | // for better performance |
| 1818 | type Voltha struct { |
| 1819 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 1820 | Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"` |
| 1821 | LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"` |
| 1822 | Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"` |
| 1823 | DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"` |
| 1824 | DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"` |
| 1825 | EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"` |
| 1826 | OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"` |
| 1827 | OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"` |
| 1828 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1829 | XXX_unrecognized []byte `json:"-"` |
| 1830 | XXX_sizecache int32 `json:"-"` |
| 1831 | } |
| 1832 | |
| 1833 | func (m *Voltha) Reset() { *m = Voltha{} } |
| 1834 | func (m *Voltha) String() string { return proto.CompactTextString(m) } |
| 1835 | func (*Voltha) ProtoMessage() {} |
| 1836 | func (*Voltha) Descriptor() ([]byte, []int) { |
| 1837 | return fileDescriptor_e084f1a60ce7016c, []int{10} |
| 1838 | } |
| 1839 | |
| 1840 | func (m *Voltha) XXX_Unmarshal(b []byte) error { |
| 1841 | return xxx_messageInfo_Voltha.Unmarshal(m, b) |
| 1842 | } |
| 1843 | func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1844 | return xxx_messageInfo_Voltha.Marshal(b, m, deterministic) |
| 1845 | } |
| 1846 | func (m *Voltha) XXX_Merge(src proto.Message) { |
| 1847 | xxx_messageInfo_Voltha.Merge(m, src) |
| 1848 | } |
| 1849 | func (m *Voltha) XXX_Size() int { |
| 1850 | return xxx_messageInfo_Voltha.Size(m) |
| 1851 | } |
| 1852 | func (m *Voltha) XXX_DiscardUnknown() { |
| 1853 | xxx_messageInfo_Voltha.DiscardUnknown(m) |
| 1854 | } |
| 1855 | |
| 1856 | var xxx_messageInfo_Voltha proto.InternalMessageInfo |
| 1857 | |
| 1858 | func (m *Voltha) GetVersion() string { |
| 1859 | if m != nil { |
| 1860 | return m.Version |
| 1861 | } |
| 1862 | return "" |
| 1863 | } |
| 1864 | |
| 1865 | func (m *Voltha) GetAdapters() []*Adapter { |
| 1866 | if m != nil { |
| 1867 | return m.Adapters |
| 1868 | } |
| 1869 | return nil |
| 1870 | } |
| 1871 | |
| 1872 | func (m *Voltha) GetLogicalDevices() []*LogicalDevice { |
| 1873 | if m != nil { |
| 1874 | return m.LogicalDevices |
| 1875 | } |
| 1876 | return nil |
| 1877 | } |
| 1878 | |
| 1879 | func (m *Voltha) GetDevices() []*Device { |
| 1880 | if m != nil { |
| 1881 | return m.Devices |
| 1882 | } |
| 1883 | return nil |
| 1884 | } |
| 1885 | |
| 1886 | func (m *Voltha) GetDeviceTypes() []*DeviceType { |
| 1887 | if m != nil { |
| 1888 | return m.DeviceTypes |
| 1889 | } |
| 1890 | return nil |
| 1891 | } |
| 1892 | |
| 1893 | func (m *Voltha) GetDeviceGroups() []*DeviceGroup { |
| 1894 | if m != nil { |
| 1895 | return m.DeviceGroups |
| 1896 | } |
| 1897 | return nil |
| 1898 | } |
| 1899 | |
| 1900 | func (m *Voltha) GetEventFilters() []*EventFilter { |
| 1901 | if m != nil { |
| 1902 | return m.EventFilters |
| 1903 | } |
| 1904 | return nil |
| 1905 | } |
| 1906 | |
| 1907 | func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData { |
| 1908 | if m != nil { |
| 1909 | return m.OmciMibDatabase |
| 1910 | } |
| 1911 | return nil |
| 1912 | } |
| 1913 | |
| 1914 | func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData { |
| 1915 | if m != nil { |
| 1916 | return m.OmciAlarmDatabase |
| 1917 | } |
| 1918 | return nil |
| 1919 | } |
| 1920 | |
| 1921 | // Device Self Test Response |
| 1922 | type SelfTestResponse struct { |
| 1923 | Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"` |
| 1924 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1925 | XXX_unrecognized []byte `json:"-"` |
| 1926 | XXX_sizecache int32 `json:"-"` |
| 1927 | } |
| 1928 | |
| 1929 | func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} } |
| 1930 | func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) } |
| 1931 | func (*SelfTestResponse) ProtoMessage() {} |
| 1932 | func (*SelfTestResponse) Descriptor() ([]byte, []int) { |
| 1933 | return fileDescriptor_e084f1a60ce7016c, []int{11} |
| 1934 | } |
| 1935 | |
| 1936 | func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error { |
| 1937 | return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b) |
| 1938 | } |
| 1939 | func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1940 | return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic) |
| 1941 | } |
| 1942 | func (m *SelfTestResponse) XXX_Merge(src proto.Message) { |
| 1943 | xxx_messageInfo_SelfTestResponse.Merge(m, src) |
| 1944 | } |
| 1945 | func (m *SelfTestResponse) XXX_Size() int { |
| 1946 | return xxx_messageInfo_SelfTestResponse.Size(m) |
| 1947 | } |
| 1948 | func (m *SelfTestResponse) XXX_DiscardUnknown() { |
| 1949 | xxx_messageInfo_SelfTestResponse.DiscardUnknown(m) |
| 1950 | } |
| 1951 | |
| 1952 | var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo |
| 1953 | |
| 1954 | func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult { |
| 1955 | if m != nil { |
| 1956 | return m.Result |
| 1957 | } |
| 1958 | return SelfTestResponse_SUCCESS |
| 1959 | } |
| 1960 | |
| 1961 | type OfAgentSubscriber struct { |
| 1962 | // ID of ofagent instance |
| 1963 | OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"` |
| 1964 | // ID of voltha instance to which the ofagent is subscribed |
| 1965 | VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"` |
| 1966 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1967 | XXX_unrecognized []byte `json:"-"` |
| 1968 | XXX_sizecache int32 `json:"-"` |
| 1969 | } |
| 1970 | |
| 1971 | func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} } |
| 1972 | func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) } |
| 1973 | func (*OfAgentSubscriber) ProtoMessage() {} |
| 1974 | func (*OfAgentSubscriber) Descriptor() ([]byte, []int) { |
| 1975 | return fileDescriptor_e084f1a60ce7016c, []int{12} |
| 1976 | } |
| 1977 | |
| 1978 | func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error { |
| 1979 | return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b) |
| 1980 | } |
| 1981 | func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1982 | return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic) |
| 1983 | } |
| 1984 | func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) { |
| 1985 | xxx_messageInfo_OfAgentSubscriber.Merge(m, src) |
| 1986 | } |
| 1987 | func (m *OfAgentSubscriber) XXX_Size() int { |
| 1988 | return xxx_messageInfo_OfAgentSubscriber.Size(m) |
| 1989 | } |
| 1990 | func (m *OfAgentSubscriber) XXX_DiscardUnknown() { |
| 1991 | xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m) |
| 1992 | } |
| 1993 | |
| 1994 | var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo |
| 1995 | |
| 1996 | func (m *OfAgentSubscriber) GetOfagentId() string { |
| 1997 | if m != nil { |
| 1998 | return m.OfagentId |
| 1999 | } |
| 2000 | return "" |
| 2001 | } |
| 2002 | |
| 2003 | func (m *OfAgentSubscriber) GetVolthaId() string { |
| 2004 | if m != nil { |
| 2005 | return m.VolthaId |
| 2006 | } |
| 2007 | return "" |
| 2008 | } |
| 2009 | |
| 2010 | // Identifies a membership group a Core belongs to |
| 2011 | type Membership struct { |
| 2012 | // Group name |
| 2013 | GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` |
| 2014 | // Unique ID of a container within that group |
| 2015 | Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| 2016 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2017 | XXX_unrecognized []byte `json:"-"` |
| 2018 | XXX_sizecache int32 `json:"-"` |
| 2019 | } |
| 2020 | |
| 2021 | func (m *Membership) Reset() { *m = Membership{} } |
| 2022 | func (m *Membership) String() string { return proto.CompactTextString(m) } |
| 2023 | func (*Membership) ProtoMessage() {} |
| 2024 | func (*Membership) Descriptor() ([]byte, []int) { |
| 2025 | return fileDescriptor_e084f1a60ce7016c, []int{13} |
| 2026 | } |
| 2027 | |
| 2028 | func (m *Membership) XXX_Unmarshal(b []byte) error { |
| 2029 | return xxx_messageInfo_Membership.Unmarshal(m, b) |
| 2030 | } |
| 2031 | func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2032 | return xxx_messageInfo_Membership.Marshal(b, m, deterministic) |
| 2033 | } |
| 2034 | func (m *Membership) XXX_Merge(src proto.Message) { |
| 2035 | xxx_messageInfo_Membership.Merge(m, src) |
| 2036 | } |
| 2037 | func (m *Membership) XXX_Size() int { |
| 2038 | return xxx_messageInfo_Membership.Size(m) |
| 2039 | } |
| 2040 | func (m *Membership) XXX_DiscardUnknown() { |
| 2041 | xxx_messageInfo_Membership.DiscardUnknown(m) |
| 2042 | } |
| 2043 | |
| 2044 | var xxx_messageInfo_Membership proto.InternalMessageInfo |
| 2045 | |
| 2046 | func (m *Membership) GetGroupName() string { |
| 2047 | if m != nil { |
| 2048 | return m.GroupName |
| 2049 | } |
| 2050 | return "" |
| 2051 | } |
| 2052 | |
| 2053 | func (m *Membership) GetId() string { |
| 2054 | if m != nil { |
| 2055 | return m.Id |
| 2056 | } |
| 2057 | return "" |
| 2058 | } |
| 2059 | |
| 2060 | // Additional information required to process flow at device adapters |
| 2061 | type FlowMetadata struct { |
| 2062 | // Meters associated with flow-update to adapter |
| 2063 | Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"` |
| 2064 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2065 | XXX_unrecognized []byte `json:"-"` |
| 2066 | XXX_sizecache int32 `json:"-"` |
| 2067 | } |
| 2068 | |
| 2069 | func (m *FlowMetadata) Reset() { *m = FlowMetadata{} } |
| 2070 | func (m *FlowMetadata) String() string { return proto.CompactTextString(m) } |
| 2071 | func (*FlowMetadata) ProtoMessage() {} |
| 2072 | func (*FlowMetadata) Descriptor() ([]byte, []int) { |
| 2073 | return fileDescriptor_e084f1a60ce7016c, []int{14} |
| 2074 | } |
| 2075 | |
| 2076 | func (m *FlowMetadata) XXX_Unmarshal(b []byte) error { |
| 2077 | return xxx_messageInfo_FlowMetadata.Unmarshal(m, b) |
| 2078 | } |
| 2079 | func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2080 | return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic) |
| 2081 | } |
| 2082 | func (m *FlowMetadata) XXX_Merge(src proto.Message) { |
| 2083 | xxx_messageInfo_FlowMetadata.Merge(m, src) |
| 2084 | } |
| 2085 | func (m *FlowMetadata) XXX_Size() int { |
| 2086 | return xxx_messageInfo_FlowMetadata.Size(m) |
| 2087 | } |
| 2088 | func (m *FlowMetadata) XXX_DiscardUnknown() { |
| 2089 | xxx_messageInfo_FlowMetadata.DiscardUnknown(m) |
| 2090 | } |
| 2091 | |
| 2092 | var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo |
| 2093 | |
| 2094 | func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig { |
| 2095 | if m != nil { |
| 2096 | return m.Meters |
| 2097 | } |
| 2098 | return nil |
| 2099 | } |
| 2100 | |
| 2101 | func init() { |
| 2102 | proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value) |
| 2103 | proto.RegisterEnum("voltha.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value) |
| 2104 | proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value) |
| 2105 | proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup") |
| 2106 | proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups") |
| 2107 | proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey") |
| 2108 | proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule") |
| 2109 | proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter") |
| 2110 | proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters") |
| 2111 | proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance") |
| 2112 | proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances") |
| 2113 | proto.RegisterType((*OmciTestRequest)(nil), "voltha.OmciTestRequest") |
| 2114 | proto.RegisterType((*TestResponse)(nil), "voltha.TestResponse") |
| 2115 | proto.RegisterType((*Voltha)(nil), "voltha.Voltha") |
| 2116 | proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse") |
| 2117 | proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber") |
| 2118 | proto.RegisterType((*Membership)(nil), "voltha.Membership") |
| 2119 | proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata") |
| 2120 | } |
| 2121 | |
| 2122 | func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) } |
| 2123 | |
| 2124 | var fileDescriptor_e084f1a60ce7016c = []byte{ |
| 2125 | // 2530 bytes of a gzipped FileDescriptorProto |
| 2126 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4b, 0x73, 0x1b, 0xc7, |
| 2127 | 0x11, 0xe6, 0xf2, 0xcd, 0x26, 0x48, 0x02, 0x03, 0x3e, 0x20, 0x90, 0xb4, 0xa4, 0xb1, 0x2d, 0x31, |
| 2128 | 0xb4, 0x05, 0x48, 0xa2, 0xa4, 0x4a, 0xa4, 0xb8, 0x62, 0xbe, 0xc4, 0x20, 0x12, 0x05, 0x64, 0x21, |
| 2129 | 0x4a, 0x4e, 0x62, 0x15, 0x6a, 0x81, 0x1d, 0x80, 0x5b, 0x5a, 0x60, 0x91, 0xdd, 0x01, 0x25, 0x96, |
| 2130 | 0xca, 0x95, 0x2a, 0xe7, 0xe1, 0xdc, 0x7d, 0xc8, 0x2d, 0xa7, 0xa4, 0x52, 0x95, 0xff, 0xe2, 0x53, |
| 2131 | 0x4e, 0xb9, 0xa6, 0x72, 0xc8, 0x2f, 0xf0, 0x39, 0x35, 0x3d, 0xb3, 0xc0, 0x2e, 0x76, 0x97, 0x0f, |
| 2132 | 0xc7, 0x55, 0x39, 0x91, 0x3b, 0xdd, 0xf3, 0x7d, 0x3d, 0xdd, 0x33, 0x3d, 0xbd, 0xbd, 0x80, 0xfc, |
| 2133 | 0x89, 0x63, 0xf3, 0x63, 0xa3, 0xd6, 0x75, 0x1d, 0xee, 0x78, 0x45, 0xf9, 0x54, 0xc0, 0x27, 0x32, |
| 2134 | 0x29, 0x9f, 0xf2, 0x6b, 0x2d, 0xc7, 0x69, 0xd9, 0xac, 0x68, 0x74, 0xad, 0xa2, 0xd1, 0xe9, 0x38, |
| 2135 | 0xdc, 0xe0, 0x96, 0xd3, 0xf1, 0xa4, 0x56, 0x7e, 0x55, 0x49, 0xf1, 0xa9, 0xde, 0x6b, 0x16, 0x59, |
| 2136 | 0xbb, 0xcb, 0x4f, 0x95, 0x30, 0x17, 0x86, 0x6f, 0x33, 0xae, 0xc0, 0xf3, 0x43, 0xc4, 0x0d, 0xa7, |
| 2137 | 0xdd, 0x76, 0x3a, 0xf1, 0xb2, 0x63, 0x66, 0xd8, 0xfc, 0x58, 0xc9, 0x68, 0x58, 0x66, 0x3b, 0x2d, |
| 2138 | 0xab, 0x61, 0xd8, 0x35, 0x93, 0x9d, 0x58, 0x0d, 0x16, 0x3f, 0x3f, 0x24, 0x5b, 0x0d, 0xcb, 0x0c, |
| 2139 | 0xd3, 0xe8, 0x72, 0xe6, 0x2a, 0xe1, 0xd5, 0xb0, 0xd0, 0xe9, 0xb2, 0x4e, 0xd3, 0x76, 0xde, 0xd4, |
| 2140 | 0xee, 0x6c, 0x25, 0x28, 0xb4, 0x1b, 0x56, 0xad, 0x6d, 0xd5, 0x6b, 0x66, 0x5d, 0x29, 0x5c, 0x8f, |
| 2141 | 0x51, 0x30, 0x6c, 0xc3, 0x6d, 0xf7, 0x55, 0xe8, 0x5f, 0x34, 0x98, 0xdd, 0x43, 0x93, 0x0e, 0x5c, |
| 2142 | 0xa7, 0xd7, 0x25, 0x4b, 0x30, 0x6a, 0x99, 0x39, 0xed, 0x9a, 0xb6, 0x31, 0xb3, 0x33, 0xf1, 0x9f, |
| 2143 | 0x6f, 0xbf, 0x59, 0xd7, 0xf4, 0x51, 0xcb, 0x24, 0x25, 0x58, 0x08, 0x2f, 0xce, 0xcb, 0x8d, 0x5e, |
| 2144 | 0x1b, 0xdb, 0x98, 0xbd, 0xbb, 0x54, 0x50, 0x51, 0x7a, 0x2a, 0xc5, 0x12, 0x6b, 0x67, 0xe6, 0x5f, |
| 2145 | 0xdf, 0x7e, 0xb3, 0x3e, 0x2e, 0xb0, 0xf4, 0x79, 0x3b, 0x28, 0xf1, 0xc8, 0x16, 0x4c, 0xf9, 0x10, |
| 2146 | 0x63, 0x08, 0x31, 0xef, 0x43, 0x44, 0xe7, 0xfa, 0x9a, 0xf4, 0x47, 0x90, 0x0a, 0x58, 0xe9, 0x91, |
| 2147 | 0x1f, 0xc0, 0x84, 0xc5, 0x59, 0xdb, 0xcb, 0x69, 0x08, 0x91, 0x0d, 0x43, 0xa0, 0x92, 0x2e, 0x35, |
| 2148 | 0xe8, 0x9f, 0x35, 0x20, 0xfb, 0x27, 0xac, 0xc3, 0x1f, 0x5b, 0x36, 0x67, 0xae, 0xde, 0xb3, 0xd9, |
| 2149 | 0x13, 0x76, 0x4a, 0xbf, 0xd2, 0x20, 0x3b, 0x34, 0xfc, 0xfc, 0xb4, 0xcb, 0xc8, 0x3c, 0x40, 0x13, |
| 2150 | 0x47, 0x6a, 0x86, 0x6d, 0xa7, 0x47, 0x48, 0x0a, 0xa6, 0x1b, 0x06, 0x67, 0x2d, 0xc7, 0x3d, 0x4d, |
| 2151 | 0x6b, 0x24, 0x0d, 0x29, 0xaf, 0x57, 0xaf, 0xf5, 0x47, 0x46, 0x09, 0x81, 0xf9, 0xd7, 0x5d, 0xab, |
| 2152 | 0xc6, 0x04, 0x54, 0x8d, 0x9f, 0x76, 0x59, 0x7a, 0x8c, 0x2c, 0x41, 0xa6, 0xe1, 0x74, 0x9a, 0x56, |
| 2153 | 0x2b, 0x38, 0x3c, 0x2e, 0x86, 0xe5, 0x7a, 0x82, 0xc3, 0x13, 0xd4, 0x82, 0x85, 0x21, 0x43, 0xc8, |
| 2154 | 0xa7, 0x30, 0xf6, 0x9a, 0x9d, 0x62, 0x18, 0xe6, 0xef, 0x16, 0xfc, 0xc5, 0x45, 0x57, 0x51, 0x88, |
| 2155 | 0x59, 0x81, 0x2e, 0xa6, 0x92, 0x45, 0x98, 0x38, 0x31, 0xec, 0x1e, 0xcb, 0x8d, 0x8a, 0x50, 0xea, |
| 2156 | 0xf2, 0x81, 0xfe, 0x4d, 0x83, 0xd9, 0xc0, 0x94, 0xa4, 0x68, 0x2f, 0xc3, 0x24, 0xeb, 0x18, 0x75, |
| 2157 | 0x5b, 0xce, 0x9e, 0xd6, 0xd5, 0x13, 0x59, 0x85, 0x19, 0xb5, 0x00, 0xcb, 0xcc, 0x8d, 0x21, 0xf0, |
| 2158 | 0xb4, 0x1c, 0x28, 0x99, 0x64, 0x1d, 0x60, 0xb0, 0xac, 0xdc, 0x38, 0x4a, 0x67, 0x70, 0x04, 0xfd, |
| 2159 | 0x7a, 0x0b, 0x26, 0xdc, 0x9e, 0xcd, 0xbc, 0xdc, 0x04, 0x46, 0x6c, 0x25, 0x61, 0x51, 0xba, 0xd4, |
| 2160 | 0xa2, 0x9f, 0x40, 0x2a, 0x20, 0xf1, 0xc8, 0x2d, 0x98, 0x92, 0x61, 0x89, 0x84, 0x3c, 0x08, 0xe0, |
| 2161 | 0xeb, 0xd0, 0xd7, 0x90, 0xda, 0x75, 0x5c, 0x56, 0xea, 0x78, 0xdc, 0xe8, 0x34, 0x18, 0xb9, 0x01, |
| 2162 | 0xb3, 0x96, 0xfa, 0xbf, 0x36, 0xbc, 0x62, 0xf0, 0x25, 0x25, 0x93, 0x6c, 0xc1, 0xa4, 0x3c, 0xe0, |
| 2163 | 0xb8, 0xf2, 0xd9, 0xbb, 0x8b, 0x3e, 0xcb, 0x4f, 0x71, 0xb4, 0xca, 0x0d, 0xde, 0xf3, 0x76, 0x26, |
| 2164 | 0xc4, 0x0e, 0x1d, 0xd1, 0x95, 0x2a, 0x7d, 0x04, 0x73, 0x41, 0x32, 0x8f, 0x6c, 0x86, 0x77, 0x67, |
| 2165 | 0x1f, 0x24, 0xa8, 0xe5, 0x6f, 0xcf, 0xfb, 0xb0, 0x50, 0x6e, 0x37, 0xac, 0xe7, 0xcc, 0xe3, 0x3a, |
| 2166 | 0xfb, 0x75, 0x8f, 0x79, 0x9c, 0xcc, 0x0f, 0xa2, 0x82, 0xe1, 0x20, 0x30, 0xde, 0xeb, 0x59, 0xa6, |
| 2167 | 0x0a, 0x25, 0xfe, 0x4f, 0x7f, 0x03, 0x29, 0x39, 0xc5, 0xeb, 0x3a, 0x1d, 0x8f, 0x91, 0x9f, 0xc0, |
| 2168 | 0xa4, 0xcb, 0xbc, 0x9e, 0xcd, 0xd5, 0xa6, 0xb9, 0xe9, 0x73, 0x06, 0xb5, 0x42, 0x0f, 0x3a, 0xaa, |
| 2169 | 0xeb, 0x6a, 0x1a, 0x2d, 0x00, 0x89, 0x4a, 0xc9, 0x2c, 0x4c, 0x55, 0x8f, 0x76, 0x77, 0xf7, 0xab, |
| 2170 | 0xd5, 0xf4, 0x88, 0x78, 0x78, 0xbc, 0x5d, 0x7a, 0x7a, 0xa4, 0xef, 0xa7, 0x35, 0xfa, 0xcf, 0x71, |
| 2171 | 0x98, 0x7c, 0x81, 0x14, 0xe4, 0x2a, 0x4c, 0x9d, 0x30, 0xd7, 0xb3, 0x9c, 0x4e, 0xd8, 0xb1, 0xfe, |
| 2172 | 0x28, 0x79, 0x00, 0xd3, 0x2a, 0xb5, 0xf9, 0x69, 0x63, 0xc1, 0x37, 0x6f, 0x5b, 0x8e, 0x07, 0x0f, |
| 2173 | 0x7d, 0x5f, 0x37, 0x2e, 0xeb, 0x8c, 0xfd, 0xef, 0x59, 0x67, 0xfc, 0xa2, 0x59, 0x87, 0x7c, 0x0a, |
| 2174 | 0x29, 0xb5, 0xdf, 0xc5, 0x9e, 0xf6, 0xb7, 0x2e, 0x09, 0xcf, 0x14, 0xbb, 0x3b, 0x38, 0x7b, 0xd6, |
| 2175 | 0xec, 0x0f, 0x7b, 0x64, 0x17, 0xe6, 0x14, 0x42, 0x0b, 0x13, 0x57, 0x6e, 0x32, 0x31, 0x5f, 0x05, |
| 2176 | 0x31, 0x14, 0xad, 0x4a, 0x76, 0xbb, 0x30, 0x27, 0x4f, 0x96, 0x7f, 0x02, 0xa6, 0x12, 0x4f, 0x40, |
| 2177 | 0x08, 0x84, 0x05, 0x0f, 0xd0, 0xcf, 0x21, 0x33, 0xb8, 0x20, 0x0c, 0x6e, 0xd4, 0x0d, 0x8f, 0xe5, |
| 2178 | 0xd6, 0x14, 0x90, 0x90, 0x14, 0x0e, 0xad, 0xba, 0x34, 0x67, 0xcf, 0xe0, 0xc6, 0x4e, 0x5a, 0x00, |
| 2179 | 0xcd, 0x06, 0x0e, 0xbc, 0xbe, 0x20, 0xb4, 0x84, 0x92, 0x9a, 0x4d, 0x5e, 0x42, 0x36, 0x78, 0xa5, |
| 2180 | 0xf8, 0xa0, 0xeb, 0x2a, 0x44, 0x08, 0xba, 0x2d, 0x64, 0x67, 0xc2, 0xa2, 0x59, 0x52, 0x4d, 0x21, |
| 2181 | 0xd0, 0xbf, 0x6a, 0x90, 0xae, 0x32, 0xbb, 0x79, 0xb1, 0x1d, 0x3e, 0xac, 0x19, 0x1c, 0x08, 0xee, |
| 2182 | 0xf0, 0x0a, 0xcc, 0x87, 0x25, 0xc9, 0xbb, 0x9b, 0x64, 0x60, 0xee, 0x59, 0xf9, 0x79, 0xad, 0x7a, |
| 2183 | 0x54, 0xa9, 0x94, 0xf5, 0xe7, 0xfb, 0x7b, 0xe9, 0x51, 0x31, 0x74, 0xf4, 0xec, 0xc9, 0xb3, 0xf2, |
| 2184 | 0xcb, 0x67, 0xb5, 0x7d, 0x5d, 0x2f, 0xeb, 0xe9, 0x31, 0x5a, 0x86, 0x4c, 0xb9, 0xb9, 0xdd, 0x62, |
| 2185 | 0x1d, 0x5e, 0xed, 0xd5, 0xbd, 0x86, 0x6b, 0xd5, 0x99, 0x2b, 0xf2, 0xa0, 0xd3, 0x34, 0xc4, 0x60, |
| 2186 | 0x3f, 0xd3, 0xe8, 0x33, 0x6a, 0xa4, 0x64, 0x8a, 0x1c, 0xaa, 0x6e, 0xe5, 0xfe, 0x89, 0x9e, 0x96, |
| 2187 | 0x03, 0x25, 0x93, 0x3e, 0x02, 0x38, 0x64, 0xed, 0x3a, 0x73, 0xbd, 0x63, 0xab, 0x2b, 0x90, 0x70, |
| 2188 | 0xd7, 0xd4, 0x3a, 0x46, 0x9b, 0xf9, 0x48, 0x38, 0xf2, 0xcc, 0x68, 0x33, 0x95, 0x26, 0x46, 0xfd, |
| 2189 | 0x34, 0x41, 0xf7, 0x21, 0xf5, 0xd8, 0x76, 0xde, 0x1c, 0x32, 0x6e, 0x88, 0x58, 0x90, 0xfb, 0x30, |
| 2190 | 0xd9, 0x66, 0x81, 0x8c, 0xb9, 0x5e, 0x08, 0x96, 0x10, 0x4e, 0xb3, 0x5b, 0x43, 0x71, 0x4d, 0x5e, |
| 2191 | 0x55, 0xba, 0x52, 0xbe, 0xfb, 0xa7, 0x22, 0xcc, 0xc9, 0x83, 0x5d, 0x65, 0xae, 0x08, 0x12, 0x79, |
| 2192 | 0x09, 0x73, 0x07, 0x8c, 0x07, 0x0c, 0x5b, 0x2e, 0xc8, 0x32, 0xab, 0xe0, 0x97, 0x59, 0x85, 0x7d, |
| 2193 | 0x51, 0x66, 0xe5, 0xfb, 0x27, 0x63, 0xa0, 0x4b, 0xf3, 0x5f, 0xfe, 0xe3, 0xdf, 0x5f, 0x8f, 0x2e, |
| 2194 | 0x12, 0x82, 0x15, 0xdb, 0xc9, 0x9d, 0x62, 0x7b, 0x80, 0xf3, 0x0a, 0xd2, 0x47, 0x5d, 0xd3, 0xe0, |
| 2195 | 0x2c, 0x80, 0x1d, 0x83, 0x91, 0x4f, 0xe0, 0xa3, 0xeb, 0x88, 0xbd, 0x42, 0x63, 0xb0, 0x1f, 0x6a, |
| 2196 | 0x9b, 0x64, 0x0f, 0x66, 0x0e, 0x18, 0x57, 0x49, 0x2a, 0xc9, 0xe6, 0x7e, 0x1e, 0x90, 0x7a, 0x74, |
| 2197 | 0x01, 0x31, 0x67, 0xc8, 0x94, 0xc2, 0x24, 0xaf, 0x20, 0xf3, 0xd4, 0xf2, 0x78, 0x38, 0xc3, 0x27, |
| 2198 | 0xa1, 0x2d, 0xc5, 0xa5, 0x7a, 0x8f, 0x5e, 0x41, 0xd0, 0x2c, 0xc9, 0xf8, 0x86, 0x5a, 0x7d, 0xa4, |
| 2199 | 0x2a, 0x2c, 0x1c, 0xb0, 0x10, 0x3a, 0x81, 0x82, 0x2a, 0x40, 0x4b, 0x7b, 0xf9, 0xd8, 0xbb, 0x83, |
| 2200 | 0xbe, 0x87, 0x78, 0x39, 0xb2, 0x1c, 0xc1, 0x2b, 0xbe, 0xb3, 0xcc, 0x2f, 0x88, 0x0e, 0x29, 0x61, |
| 2201 | 0xf3, 0xb6, 0x9f, 0x48, 0x93, 0xcc, 0x4d, 0x0f, 0xa5, 0x61, 0x8f, 0xe6, 0x10, 0x99, 0x90, 0xb4, |
| 2202 | 0x8f, 0xdc, 0x4f, 0xc6, 0x0c, 0x88, 0xc0, 0x7c, 0x1a, 0xce, 0xab, 0x49, 0xc8, 0xcb, 0xb1, 0x19, |
| 2203 | 0xda, 0xa3, 0x57, 0x11, 0xff, 0x0a, 0x59, 0xf1, 0xf1, 0x87, 0x12, 0x3c, 0xf9, 0x15, 0xa4, 0x0f, |
| 2204 | 0x58, 0x98, 0x25, 0xe4, 0x90, 0xf8, 0xd4, 0x4f, 0x3f, 0x40, 0xdc, 0xf7, 0xc8, 0x5a, 0x02, 0xae, |
| 2205 | 0xf4, 0x4b, 0x13, 0x96, 0x23, 0x6b, 0xa8, 0x38, 0x2e, 0xf7, 0xe2, 0x7d, 0xae, 0xf4, 0x50, 0x83, |
| 2206 | 0x6e, 0x22, 0xc3, 0x07, 0x84, 0x9e, 0xc5, 0x50, 0xec, 0x22, 0xda, 0x5b, 0x58, 0x1c, 0x5e, 0x84, |
| 2207 | 0x00, 0x21, 0x4b, 0x31, 0xc8, 0x25, 0x33, 0x9f, 0x8d, 0x19, 0xa6, 0xf7, 0x90, 0xaf, 0x40, 0x3e, |
| 2208 | 0x3e, 0x9f, 0xaf, 0xf8, 0x4e, 0xfc, 0xa9, 0x89, 0x15, 0xfe, 0x5e, 0x83, 0x95, 0x7d, 0xac, 0xd6, |
| 2209 | 0x2e, 0xcc, 0x9e, 0x74, 0xba, 0x1e, 0xa1, 0x01, 0xf7, 0xe9, 0xd6, 0x65, 0x0c, 0x28, 0xaa, 0x52, |
| 2210 | 0xf1, 0x2b, 0x0d, 0x72, 0x7b, 0x96, 0xf7, 0xbd, 0x18, 0xf2, 0x63, 0x34, 0xe4, 0x01, 0xbd, 0x77, |
| 2211 | 0x29, 0x43, 0x4c, 0xc9, 0x4e, 0xcc, 0x98, 0x98, 0x8b, 0x3c, 0x19, 0x8e, 0x39, 0x09, 0x25, 0x47, |
| 2212 | 0x94, 0x5f, 0x30, 0xe2, 0x4d, 0xc4, 0xfa, 0xad, 0x06, 0x6b, 0x32, 0x97, 0x45, 0x88, 0x9e, 0xa3, |
| 2213 | 0x19, 0x6b, 0x11, 0x02, 0x1c, 0x97, 0x73, 0x12, 0x97, 0x7e, 0x0b, 0x4d, 0xb8, 0x49, 0x2f, 0x60, |
| 2214 | 0x82, 0xc8, 0x78, 0xbf, 0xd3, 0x60, 0x3d, 0xc6, 0x8a, 0x43, 0x91, 0xd9, 0xa5, 0x19, 0xab, 0x21, |
| 2215 | 0x33, 0x50, 0x70, 0xe8, 0x98, 0xe7, 0x58, 0x51, 0x40, 0x2b, 0x36, 0xe8, 0xfb, 0x67, 0x5a, 0x21, |
| 2216 | 0xef, 0x0f, 0x61, 0x46, 0x0b, 0x56, 0x22, 0x2e, 0x47, 0xaa, 0xb0, 0xcf, 0xb3, 0x51, 0x5b, 0x3c, |
| 2217 | 0xfa, 0x11, 0x72, 0x7d, 0x48, 0x2e, 0xc2, 0x45, 0x38, 0xac, 0xc6, 0xc6, 0x56, 0x15, 0x4e, 0x41, |
| 2218 | 0xb2, 0x95, 0x88, 0xff, 0xa5, 0x12, 0xbd, 0x8d, 0x84, 0x9b, 0x64, 0xe3, 0x5c, 0x17, 0xab, 0x1a, |
| 2219 | 0x8e, 0x7c, 0xad, 0xc1, 0xf5, 0x84, 0x58, 0x23, 0xa6, 0xf4, 0xf4, 0xf5, 0x78, 0xc2, 0x8b, 0x44, |
| 2220 | 0x7d, 0x0b, 0x4d, 0xba, 0x45, 0x2f, 0x6c, 0x92, 0x70, 0x7a, 0x19, 0x66, 0x85, 0x2f, 0xce, 0x4b, |
| 2221 | 0xcc, 0x0b, 0xe1, 0xd2, 0xd3, 0xa3, 0x2b, 0x48, 0x96, 0x21, 0x0b, 0x3e, 0x99, 0x9f, 0x89, 0xcb, |
| 2222 | 0x30, 0x37, 0x00, 0x2c, 0x99, 0xc9, 0x90, 0xb3, 0x03, 0x37, 0xc7, 0x5c, 0x75, 0x12, 0xce, 0x32, |
| 2223 | 0x3d, 0x72, 0x04, 0x69, 0x9d, 0x35, 0x9c, 0x4e, 0xc3, 0xb2, 0x99, 0x6f, 0x66, 0x70, 0x6e, 0xa2, |
| 2224 | 0x3f, 0xd6, 0x10, 0x73, 0x99, 0x46, 0x31, 0xc5, 0xc2, 0xf7, 0xf1, 0x9a, 0x8f, 0xb9, 0x2a, 0x86, |
| 2225 | 0x4a, 0x7c, 0x1f, 0x86, 0x2c, 0x0e, 0xad, 0x54, 0xde, 0x0d, 0x3f, 0x83, 0xd4, 0xae, 0xcb, 0x0c, |
| 2226 | 0xae, 0x4c, 0x23, 0x43, 0xb3, 0x23, 0x68, 0xaa, 0xb0, 0xa1, 0xc3, 0x7e, 0x13, 0x26, 0xbd, 0x84, |
| 2227 | 0x94, 0x4c, 0xc2, 0x31, 0x56, 0x25, 0x2d, 0xf2, 0x7d, 0xc4, 0x5b, 0xa7, 0xab, 0x71, 0xd6, 0xf9, |
| 2228 | 0x69, 0xf5, 0x17, 0x30, 0xa7, 0xb2, 0xea, 0x25, 0x90, 0xd5, 0xdd, 0x48, 0xd7, 0x62, 0x91, 0xfd, |
| 2229 | 0x3c, 0xf9, 0x12, 0x52, 0x3a, 0xab, 0x3b, 0x0e, 0xff, 0xde, 0x6c, 0x76, 0x11, 0x4e, 0x00, 0xef, |
| 2230 | 0x31, 0x9b, 0xf1, 0xef, 0xe0, 0x8c, 0xcd, 0x78, 0x60, 0x13, 0xe1, 0x48, 0x0f, 0xe6, 0xf6, 0x9c, |
| 2231 | 0x37, 0x1d, 0xdb, 0x31, 0xcc, 0x52, 0xdb, 0x68, 0xb1, 0xc1, 0xbd, 0x82, 0x8f, 0xbe, 0x2c, 0xbf, |
| 2232 | 0xe4, 0x13, 0x96, 0xbb, 0xcc, 0xc5, 0x76, 0xa1, 0x78, 0x55, 0xa0, 0x0f, 0x90, 0xe3, 0x36, 0xfd, |
| 2233 | 0x28, 0x96, 0xc3, 0x12, 0x10, 0x35, 0x53, 0x61, 0x78, 0xc5, 0x77, 0xa2, 0x08, 0xff, 0x42, 0x04, |
| 2234 | 0xf7, 0x4b, 0x0d, 0x96, 0x0f, 0x18, 0x0f, 0x71, 0xc8, 0xc6, 0x40, 0xb2, 0x01, 0x71, 0xc3, 0xf4, |
| 2235 | 0x21, 0x1a, 0x70, 0x8f, 0xdc, 0xbd, 0x84, 0x01, 0x45, 0x4f, 0x32, 0xf5, 0xb0, 0x4c, 0x0a, 0xe1, |
| 2236 | 0x5d, 0x92, 0x5d, 0x25, 0x19, 0x72, 0x99, 0xe5, 0x93, 0xa6, 0x2c, 0x02, 0x43, 0x48, 0xde, 0x50, |
| 2237 | 0x44, 0xe3, 0xd8, 0x3c, 0xfa, 0x31, 0xd2, 0xdd, 0x20, 0x1f, 0x5c, 0x84, 0x8e, 0xbc, 0x85, 0xec, |
| 2238 | 0xae, 0xa8, 0x67, 0xed, 0x0b, 0xae, 0x30, 0x36, 0xc0, 0x6a, 0x85, 0x9b, 0x97, 0x5a, 0xe1, 0x1f, |
| 2239 | 0x35, 0xc8, 0x6e, 0x37, 0xb8, 0x75, 0x62, 0x70, 0x86, 0x2c, 0x32, 0x57, 0x5f, 0x92, 0x7a, 0x17, |
| 2240 | 0xa9, 0x3f, 0xa1, 0x3f, 0xbc, 0x4c, 0x68, 0xe5, 0x70, 0x0f, 0xf9, 0xc4, 0x46, 0xfb, 0x83, 0x06, |
| 2241 | 0x19, 0x9d, 0x9d, 0x30, 0x97, 0xff, 0x5f, 0x0c, 0x71, 0x91, 0x5a, 0x18, 0x52, 0x81, 0x85, 0xc1, |
| 2242 | 0x4d, 0x10, 0xad, 0x97, 0xe7, 0x7c, 0x8b, 0x64, 0xa1, 0x4c, 0x91, 0x72, 0x8d, 0xe4, 0x63, 0x29, |
| 2243 | 0x65, 0x81, 0xfc, 0x0a, 0xb2, 0x01, 0xc4, 0xf6, 0x2e, 0xbe, 0x82, 0x86, 0x51, 0x33, 0x7d, 0x54, |
| 2244 | 0x5f, 0x4c, 0x6f, 0x22, 0xf2, 0x75, 0x72, 0x35, 0x1e, 0xb9, 0xad, 0x5e, 0x65, 0x3d, 0xd2, 0x81, |
| 2245 | 0x25, 0xe9, 0xad, 0x61, 0x82, 0x28, 0x68, 0x62, 0x0a, 0x52, 0xd5, 0x1f, 0x3d, 0x8f, 0x4c, 0x38, |
| 2246 | 0xe8, 0x28, 0xe8, 0xa0, 0x8b, 0x15, 0x97, 0x67, 0x7b, 0x49, 0x16, 0x95, 0x0c, 0x16, 0xc3, 0xb0, |
| 2247 | 0x97, 0xa9, 0x6b, 0x36, 0x90, 0x80, 0x92, 0x6b, 0x89, 0x04, 0x7e, 0x3d, 0xf3, 0x79, 0xd0, 0x7a, |
| 2248 | 0xd9, 0xb7, 0x4a, 0xba, 0xea, 0xb3, 0xd1, 0xde, 0x97, 0x97, 0x74, 0xaf, 0xca, 0xa6, 0x19, 0xd1, |
| 2249 | 0xb1, 0x7b, 0x30, 0xd0, 0x1f, 0xf2, 0x4c, 0x04, 0x8f, 0x5e, 0x47, 0xb8, 0x55, 0x72, 0x25, 0x0e, |
| 2250 | 0x4e, 0xde, 0xd5, 0x35, 0x48, 0x0f, 0x2c, 0x56, 0x4e, 0x49, 0x32, 0x79, 0x31, 0xa6, 0xd7, 0xe6, |
| 2251 | 0xf9, 0xad, 0x03, 0xb2, 0x34, 0x44, 0xa2, 0x5c, 0xf2, 0x18, 0xd2, 0x55, 0xee, 0x32, 0xa3, 0x5d, |
| 2252 | 0x31, 0x1a, 0xaf, 0x19, 0xf7, 0xca, 0x3d, 0x4e, 0x96, 0x43, 0x9e, 0x96, 0x82, 0x72, 0x8f, 0x27, |
| 2253 | 0x6e, 0xa0, 0x91, 0x0d, 0x8d, 0xec, 0x63, 0xc9, 0xc3, 0xac, 0x13, 0xa6, 0x80, 0x4a, 0x9d, 0x33, |
| 2254 | 0x7a, 0x07, 0x51, 0xfc, 0x52, 0x87, 0x8e, 0xdc, 0xd6, 0xc8, 0x13, 0xc8, 0x2a, 0x98, 0xdd, 0x63, |
| 2255 | 0xa3, 0xd3, 0x62, 0xd8, 0xf1, 0x4b, 0x5e, 0x72, 0x2e, 0x84, 0x14, 0x98, 0x82, 0x60, 0x47, 0x30, |
| 2256 | 0xdf, 0x0f, 0x88, 0xfc, 0xe8, 0x13, 0x2e, 0xca, 0xa3, 0xee, 0x4a, 0xda, 0xac, 0xca, 0x5b, 0x7e, |
| 2257 | 0x4c, 0x32, 0xb2, 0x7e, 0x0a, 0x7e, 0x60, 0x88, 0xeb, 0x51, 0xe6, 0xe3, 0x06, 0xe9, 0x35, 0xa4, |
| 2258 | 0xc8, 0xd3, 0x7e, 0x40, 0x42, 0x2d, 0x4f, 0x71, 0xc8, 0x5e, 0xa0, 0xdd, 0x41, 0xf4, 0xd8, 0x97, |
| 2259 | 0xf6, 0xe0, 0x67, 0x83, 0xa8, 0xe1, 0x21, 0x54, 0x69, 0xb8, 0x09, 0x19, 0x99, 0x2c, 0xbe, 0x9b, |
| 2260 | 0xe1, 0x1f, 0x22, 0xc5, 0xd5, 0xfc, 0x19, 0x14, 0xc2, 0x7a, 0x13, 0x32, 0xb2, 0x0a, 0x3a, 0x97, |
| 2261 | 0x25, 0x69, 0x3f, 0xa9, 0xb5, 0x6c, 0x9e, 0xb5, 0x16, 0x75, 0x30, 0x42, 0x9f, 0x4e, 0xce, 0x3d, |
| 2262 | 0x18, 0x21, 0x8f, 0x45, 0x0e, 0x46, 0x88, 0x85, 0x3c, 0xc5, 0x62, 0x1b, 0xaf, 0x1e, 0x2f, 0xbe, |
| 2263 | 0xd8, 0x96, 0x32, 0xbf, 0x82, 0x23, 0xab, 0xc9, 0x17, 0x8f, 0x47, 0x3e, 0x83, 0x69, 0xbf, 0x25, |
| 2264 | 0x1b, 0x02, 0xcb, 0x25, 0xf5, 0x76, 0xe9, 0x0d, 0x84, 0xbd, 0x46, 0xdf, 0x8b, 0x85, 0xf5, 0x98, |
| 2265 | 0xdd, 0xac, 0x71, 0x81, 0xf6, 0x02, 0xeb, 0xa3, 0x50, 0x4b, 0x7b, 0xf8, 0xdd, 0x33, 0xd2, 0xf3, |
| 2266 | 0x8e, 0x66, 0x1e, 0x71, 0x8c, 0x84, 0x9e, 0x7a, 0xe9, 0xb4, 0xea, 0xe4, 0x73, 0x20, 0x07, 0x8c, |
| 2267 | 0x0f, 0x75, 0xb5, 0x87, 0x1a, 0x54, 0x71, 0x8d, 0xef, 0xa8, 0x3f, 0xc2, 0xd8, 0xd8, 0x43, 0x27, |
| 2268 | 0x1e, 0xcc, 0x55, 0xad, 0x76, 0xcf, 0x36, 0x38, 0xc3, 0xf9, 0x64, 0xad, 0xef, 0x88, 0xe0, 0xb0, |
| 2269 | 0xfa, 0x50, 0x94, 0x74, 0xe7, 0x47, 0x9a, 0x06, 0x61, 0x1f, 0x29, 0xa4, 0x9a, 0x40, 0x12, 0x3b, |
| 2270 | 0x73, 0x17, 0x66, 0xfa, 0xed, 0x6b, 0x72, 0xc5, 0x27, 0x8c, 0x34, 0xb6, 0xf3, 0xc9, 0x22, 0x3a, |
| 2271 | 0x42, 0x0e, 0x01, 0xe4, 0x1b, 0x0f, 0x36, 0x78, 0x52, 0xc1, 0x8a, 0x20, 0x71, 0x43, 0xab, 0x57, |
| 2272 | 0x45, 0x3a, 0x2f, 0x6c, 0x1c, 0xcc, 0x56, 0x2f, 0xb3, 0xea, 0x3d, 0xe7, 0x12, 0x78, 0x83, 0x37, |
| 2273 | 0xb2, 0x93, 0x3b, 0xc5, 0xc0, 0x74, 0x01, 0xf8, 0x19, 0xcc, 0x8a, 0xe4, 0xf1, 0x96, 0xbf, 0x30, |
| 2274 | 0xec, 0x1e, 0x23, 0xcb, 0xbe, 0xe7, 0xf0, 0xb1, 0xda, 0x65, 0x0d, 0xab, 0x69, 0x31, 0x37, 0xbf, |
| 2275 | 0xe8, 0x8f, 0xeb, 0x8c, 0xf7, 0xdc, 0x0e, 0x4a, 0x3d, 0xba, 0x8a, 0xc0, 0x4b, 0x24, 0xeb, 0x3b, |
| 2276 | 0x34, 0x08, 0x75, 0x0c, 0xd9, 0x2a, 0x37, 0x5c, 0xee, 0x7f, 0xc5, 0x13, 0xc5, 0xa3, 0xd3, 0x21, |
| 2277 | 0xfd, 0x0f, 0x9c, 0x43, 0x5f, 0xf7, 0x06, 0xc7, 0x2e, 0xb4, 0xaf, 0xd5, 0xe1, 0xa6, 0xfd, 0xbe, |
| 2278 | 0xa8, 0x27, 0x30, 0x6b, 0xf8, 0x7d, 0x45, 0x6c, 0xe8, 0x87, 0xda, 0xe6, 0x8e, 0x0d, 0x59, 0xc7, |
| 2279 | 0x6d, 0x61, 0x6e, 0x6f, 0x38, 0xae, 0xa9, 0x70, 0x76, 0x52, 0xb2, 0x73, 0x5d, 0xc1, 0x8f, 0xfc, |
| 2280 | 0xbf, 0x2c, 0xb4, 0x2c, 0x7e, 0xdc, 0xab, 0x8b, 0x75, 0x14, 0x7d, 0x4d, 0xf5, 0x4b, 0x8a, 0x5b, |
| 2281 | 0xfe, 0xef, 0x2a, 0xb6, 0x8a, 0x2d, 0x47, 0x8d, 0xfd, 0x7d, 0x74, 0xb9, 0xec, 0xe3, 0xbd, 0x08, |
| 2282 | 0x36, 0xc2, 0x2b, 0xa3, 0x95, 0xb1, 0xca, 0x78, 0x65, 0xa2, 0x32, 0x59, 0x99, 0xaa, 0x4c, 0xd7, |
| 2283 | 0x27, 0x71, 0xee, 0xd6, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x17, 0x64, 0x56, 0xa3, 0x21, |
| 2284 | 0x00, 0x00, |
| 2285 | } |
| 2286 | |
| 2287 | // Reference imports to suppress errors if they are not otherwise used. |
| 2288 | var _ context.Context |
| 2289 | var _ grpc.ClientConn |
| 2290 | |
| 2291 | // This is a compile-time assertion to ensure that this generated file |
| 2292 | // is compatible with the grpc package it is being compiled against. |
| 2293 | const _ = grpc.SupportPackageIsVersion4 |
| 2294 | |
| 2295 | // VolthaServiceClient is the client API for VolthaService service. |
| 2296 | // |
| 2297 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 2298 | type VolthaServiceClient interface { |
| 2299 | // Get the membership group of a Voltha Core |
| 2300 | GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) |
| 2301 | // Set the membership group of a Voltha Core |
| 2302 | UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2303 | // Get high level information on the Voltha cluster |
| 2304 | GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) |
| 2305 | // List all Voltha cluster core instances |
| 2306 | ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) |
| 2307 | // Get details on a Voltha cluster instance |
| 2308 | GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) |
| 2309 | // List all active adapters (plugins) in the Voltha cluster |
| 2310 | ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) |
| 2311 | // List all logical devices managed by the Voltha cluster |
| 2312 | ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) |
| 2313 | // Get additional information on a given logical device |
| 2314 | GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) |
| 2315 | // List ports of a logical device |
| 2316 | ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) |
| 2317 | // Gets a logical device port |
| 2318 | GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) |
| 2319 | // Enables a logical device port |
| 2320 | EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2321 | // Disables a logical device port |
| 2322 | DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2323 | // List all flows of a logical device |
| 2324 | ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) |
| 2325 | // Update flow table for logical device |
| 2326 | UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2327 | // Update meter table for logical device |
| 2328 | UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2329 | // List all meters of a logical device |
| 2330 | ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) |
| 2331 | // List all flow groups of a logical device |
| 2332 | ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) |
| 2333 | // Update group table for device |
| 2334 | UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2335 | // List all physical devices controlled by the Voltha cluster |
| 2336 | ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) |
| 2337 | // List all physical devices IDs controlled by the Voltha cluster |
| 2338 | ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) |
| 2339 | // Request to a voltha Core to reconcile a set of devices based on their IDs |
| 2340 | ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2341 | // Get more information on a given physical device |
| 2342 | GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) |
| 2343 | // Pre-provision a new physical device |
| 2344 | CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) |
| 2345 | // Enable a device. If the device was in pre-provisioned state then it |
| 2346 | // will transition to ENABLED state. If it was is DISABLED state then it |
| 2347 | // will transition to ENABLED state as well. |
| 2348 | EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2349 | // Disable a device |
| 2350 | DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2351 | // Reboot a device |
| 2352 | RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2353 | // Delete a device |
| 2354 | DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2355 | // Request an image download to the standby partition |
| 2356 | // of a device. |
| 2357 | // Note that the call is expected to be non-blocking. |
| 2358 | DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2359 | // Get image download status on a device |
| 2360 | // The request retrieves progress on device and updates db record |
| 2361 | GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) |
| 2362 | // Get image download db record |
| 2363 | GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) |
| 2364 | // List image download db records for a given device |
| 2365 | ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) |
| 2366 | // Cancel an existing image download process on a device |
| 2367 | CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2368 | // Activate the specified image at a standby partition |
| 2369 | // to active partition. |
| 2370 | // Depending on the device implementation, this call |
| 2371 | // may or may not cause device reboot. |
| 2372 | // If no reboot, then a reboot is required to make the |
| 2373 | // activated image running on device |
| 2374 | // Note that the call is expected to be non-blocking. |
| 2375 | ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2376 | // Revert the specified image at standby partition |
| 2377 | // to active partition, and revert to previous image |
| 2378 | // Depending on the device implementation, this call |
| 2379 | // may or may not cause device reboot. |
| 2380 | // If no reboot, then a reboot is required to make the |
| 2381 | // previous image running on device |
| 2382 | // Note that the call is expected to be non-blocking. |
| 2383 | RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2384 | // List ports of a device |
| 2385 | ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) |
| 2386 | // List pm config of a device |
| 2387 | ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) |
| 2388 | // Update the pm config of a device |
| 2389 | UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2390 | // List all flows of a device |
| 2391 | ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) |
| 2392 | // List all flow groups of a device |
| 2393 | ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) |
| 2394 | // List device types known to Voltha |
| 2395 | ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) |
| 2396 | // Get additional information on a device type |
| 2397 | GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) |
| 2398 | // List all device sharding groups |
| 2399 | ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) |
| 2400 | // Stream control packets to the dataplane |
| 2401 | StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) |
| 2402 | // Receive control packet stream |
| 2403 | ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) |
| 2404 | ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) |
| 2405 | // Get additional information on a device group |
| 2406 | GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) |
| 2407 | CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) |
| 2408 | // Get all filters present for a device |
| 2409 | GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) |
| 2410 | UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) |
| 2411 | DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2412 | // Get all the filters present |
| 2413 | ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) |
| 2414 | GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) |
| 2415 | SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) |
| 2416 | // OpenOMCI MIB information |
| 2417 | GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) |
| 2418 | // OpenOMCI ALARM information |
| 2419 | GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) |
| 2420 | // Simulate an Alarm |
| 2421 | SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2422 | Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) |
| 2423 | EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2424 | DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2425 | GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) |
| 2426 | // omci start and stop cli implementation |
| 2427 | StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) |
| 2428 | } |
| 2429 | |
| 2430 | type volthaServiceClient struct { |
| 2431 | cc *grpc.ClientConn |
| 2432 | } |
| 2433 | |
| 2434 | func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient { |
| 2435 | return &volthaServiceClient{cc} |
| 2436 | } |
| 2437 | |
| 2438 | func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) { |
| 2439 | out := new(Membership) |
| 2440 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...) |
| 2441 | if err != nil { |
| 2442 | return nil, err |
| 2443 | } |
| 2444 | return out, nil |
| 2445 | } |
| 2446 | |
| 2447 | func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2448 | out := new(empty.Empty) |
| 2449 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...) |
| 2450 | if err != nil { |
| 2451 | return nil, err |
| 2452 | } |
| 2453 | return out, nil |
| 2454 | } |
| 2455 | |
| 2456 | func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) { |
| 2457 | out := new(Voltha) |
| 2458 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...) |
| 2459 | if err != nil { |
| 2460 | return nil, err |
| 2461 | } |
| 2462 | return out, nil |
| 2463 | } |
| 2464 | |
| 2465 | func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) { |
| 2466 | out := new(CoreInstances) |
| 2467 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...) |
| 2468 | if err != nil { |
| 2469 | return nil, err |
| 2470 | } |
| 2471 | return out, nil |
| 2472 | } |
| 2473 | |
| 2474 | func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) { |
| 2475 | out := new(CoreInstance) |
| 2476 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...) |
| 2477 | if err != nil { |
| 2478 | return nil, err |
| 2479 | } |
| 2480 | return out, nil |
| 2481 | } |
| 2482 | |
| 2483 | func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) { |
| 2484 | out := new(Adapters) |
| 2485 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...) |
| 2486 | if err != nil { |
| 2487 | return nil, err |
| 2488 | } |
| 2489 | return out, nil |
| 2490 | } |
| 2491 | |
| 2492 | func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) { |
| 2493 | out := new(LogicalDevices) |
| 2494 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...) |
| 2495 | if err != nil { |
| 2496 | return nil, err |
| 2497 | } |
| 2498 | return out, nil |
| 2499 | } |
| 2500 | |
| 2501 | func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) { |
| 2502 | out := new(LogicalDevice) |
| 2503 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...) |
| 2504 | if err != nil { |
| 2505 | return nil, err |
| 2506 | } |
| 2507 | return out, nil |
| 2508 | } |
| 2509 | |
| 2510 | func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) { |
| 2511 | out := new(LogicalPorts) |
| 2512 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...) |
| 2513 | if err != nil { |
| 2514 | return nil, err |
| 2515 | } |
| 2516 | return out, nil |
| 2517 | } |
| 2518 | |
| 2519 | func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) { |
| 2520 | out := new(LogicalPort) |
| 2521 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...) |
| 2522 | if err != nil { |
| 2523 | return nil, err |
| 2524 | } |
| 2525 | return out, nil |
| 2526 | } |
| 2527 | |
| 2528 | func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2529 | out := new(empty.Empty) |
| 2530 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...) |
| 2531 | if err != nil { |
| 2532 | return nil, err |
| 2533 | } |
| 2534 | return out, nil |
| 2535 | } |
| 2536 | |
| 2537 | func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2538 | out := new(empty.Empty) |
| 2539 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...) |
| 2540 | if err != nil { |
| 2541 | return nil, err |
| 2542 | } |
| 2543 | return out, nil |
| 2544 | } |
| 2545 | |
| 2546 | func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) { |
| 2547 | out := new(openflow_13.Flows) |
| 2548 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...) |
| 2549 | if err != nil { |
| 2550 | return nil, err |
| 2551 | } |
| 2552 | return out, nil |
| 2553 | } |
| 2554 | |
| 2555 | func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2556 | out := new(empty.Empty) |
| 2557 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...) |
| 2558 | if err != nil { |
| 2559 | return nil, err |
| 2560 | } |
| 2561 | return out, nil |
| 2562 | } |
| 2563 | |
| 2564 | func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2565 | out := new(empty.Empty) |
| 2566 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...) |
| 2567 | if err != nil { |
| 2568 | return nil, err |
| 2569 | } |
| 2570 | return out, nil |
| 2571 | } |
| 2572 | |
| 2573 | func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) { |
| 2574 | out := new(openflow_13.Meters) |
| 2575 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...) |
| 2576 | if err != nil { |
| 2577 | return nil, err |
| 2578 | } |
| 2579 | return out, nil |
| 2580 | } |
| 2581 | |
| 2582 | func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) { |
| 2583 | out := new(openflow_13.FlowGroups) |
| 2584 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...) |
| 2585 | if err != nil { |
| 2586 | return nil, err |
| 2587 | } |
| 2588 | return out, nil |
| 2589 | } |
| 2590 | |
| 2591 | func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2592 | out := new(empty.Empty) |
| 2593 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...) |
| 2594 | if err != nil { |
| 2595 | return nil, err |
| 2596 | } |
| 2597 | return out, nil |
| 2598 | } |
| 2599 | |
| 2600 | func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) { |
| 2601 | out := new(Devices) |
| 2602 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...) |
| 2603 | if err != nil { |
| 2604 | return nil, err |
| 2605 | } |
| 2606 | return out, nil |
| 2607 | } |
| 2608 | |
| 2609 | func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) { |
| 2610 | out := new(common.IDs) |
| 2611 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...) |
| 2612 | if err != nil { |
| 2613 | return nil, err |
| 2614 | } |
| 2615 | return out, nil |
| 2616 | } |
| 2617 | |
| 2618 | func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2619 | out := new(empty.Empty) |
| 2620 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...) |
| 2621 | if err != nil { |
| 2622 | return nil, err |
| 2623 | } |
| 2624 | return out, nil |
| 2625 | } |
| 2626 | |
| 2627 | func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) { |
| 2628 | out := new(Device) |
| 2629 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...) |
| 2630 | if err != nil { |
| 2631 | return nil, err |
| 2632 | } |
| 2633 | return out, nil |
| 2634 | } |
| 2635 | |
| 2636 | func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) { |
| 2637 | out := new(Device) |
| 2638 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...) |
| 2639 | if err != nil { |
| 2640 | return nil, err |
| 2641 | } |
| 2642 | return out, nil |
| 2643 | } |
| 2644 | |
| 2645 | func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2646 | out := new(empty.Empty) |
| 2647 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...) |
| 2648 | if err != nil { |
| 2649 | return nil, err |
| 2650 | } |
| 2651 | return out, nil |
| 2652 | } |
| 2653 | |
| 2654 | func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2655 | out := new(empty.Empty) |
| 2656 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...) |
| 2657 | if err != nil { |
| 2658 | return nil, err |
| 2659 | } |
| 2660 | return out, nil |
| 2661 | } |
| 2662 | |
| 2663 | func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2664 | out := new(empty.Empty) |
| 2665 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...) |
| 2666 | if err != nil { |
| 2667 | return nil, err |
| 2668 | } |
| 2669 | return out, nil |
| 2670 | } |
| 2671 | |
| 2672 | func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2673 | out := new(empty.Empty) |
| 2674 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...) |
| 2675 | if err != nil { |
| 2676 | return nil, err |
| 2677 | } |
| 2678 | return out, nil |
| 2679 | } |
| 2680 | |
| 2681 | func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2682 | out := new(common.OperationResp) |
| 2683 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...) |
| 2684 | if err != nil { |
| 2685 | return nil, err |
| 2686 | } |
| 2687 | return out, nil |
| 2688 | } |
| 2689 | |
| 2690 | func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) { |
| 2691 | out := new(ImageDownload) |
| 2692 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...) |
| 2693 | if err != nil { |
| 2694 | return nil, err |
| 2695 | } |
| 2696 | return out, nil |
| 2697 | } |
| 2698 | |
| 2699 | func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) { |
| 2700 | out := new(ImageDownload) |
| 2701 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...) |
| 2702 | if err != nil { |
| 2703 | return nil, err |
| 2704 | } |
| 2705 | return out, nil |
| 2706 | } |
| 2707 | |
| 2708 | func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) { |
| 2709 | out := new(ImageDownloads) |
| 2710 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...) |
| 2711 | if err != nil { |
| 2712 | return nil, err |
| 2713 | } |
| 2714 | return out, nil |
| 2715 | } |
| 2716 | |
| 2717 | func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2718 | out := new(common.OperationResp) |
| 2719 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...) |
| 2720 | if err != nil { |
| 2721 | return nil, err |
| 2722 | } |
| 2723 | return out, nil |
| 2724 | } |
| 2725 | |
| 2726 | func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2727 | out := new(common.OperationResp) |
| 2728 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...) |
| 2729 | if err != nil { |
| 2730 | return nil, err |
| 2731 | } |
| 2732 | return out, nil |
| 2733 | } |
| 2734 | |
| 2735 | func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2736 | out := new(common.OperationResp) |
| 2737 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...) |
| 2738 | if err != nil { |
| 2739 | return nil, err |
| 2740 | } |
| 2741 | return out, nil |
| 2742 | } |
| 2743 | |
| 2744 | func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) { |
| 2745 | out := new(Ports) |
| 2746 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...) |
| 2747 | if err != nil { |
| 2748 | return nil, err |
| 2749 | } |
| 2750 | return out, nil |
| 2751 | } |
| 2752 | |
| 2753 | func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) { |
| 2754 | out := new(PmConfigs) |
| 2755 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...) |
| 2756 | if err != nil { |
| 2757 | return nil, err |
| 2758 | } |
| 2759 | return out, nil |
| 2760 | } |
| 2761 | |
| 2762 | func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2763 | out := new(empty.Empty) |
| 2764 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...) |
| 2765 | if err != nil { |
| 2766 | return nil, err |
| 2767 | } |
| 2768 | return out, nil |
| 2769 | } |
| 2770 | |
| 2771 | func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) { |
| 2772 | out := new(openflow_13.Flows) |
| 2773 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...) |
| 2774 | if err != nil { |
| 2775 | return nil, err |
| 2776 | } |
| 2777 | return out, nil |
| 2778 | } |
| 2779 | |
| 2780 | func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) { |
| 2781 | out := new(openflow_13.FlowGroups) |
| 2782 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...) |
| 2783 | if err != nil { |
| 2784 | return nil, err |
| 2785 | } |
| 2786 | return out, nil |
| 2787 | } |
| 2788 | |
| 2789 | func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) { |
| 2790 | out := new(DeviceTypes) |
| 2791 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...) |
| 2792 | if err != nil { |
| 2793 | return nil, err |
| 2794 | } |
| 2795 | return out, nil |
| 2796 | } |
| 2797 | |
| 2798 | func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) { |
| 2799 | out := new(DeviceType) |
| 2800 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...) |
| 2801 | if err != nil { |
| 2802 | return nil, err |
| 2803 | } |
| 2804 | return out, nil |
| 2805 | } |
| 2806 | |
| 2807 | func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) { |
| 2808 | out := new(DeviceGroups) |
| 2809 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...) |
| 2810 | if err != nil { |
| 2811 | return nil, err |
| 2812 | } |
| 2813 | return out, nil |
| 2814 | } |
| 2815 | |
| 2816 | func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) { |
| 2817 | stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...) |
| 2818 | if err != nil { |
| 2819 | return nil, err |
| 2820 | } |
| 2821 | x := &volthaServiceStreamPacketsOutClient{stream} |
| 2822 | return x, nil |
| 2823 | } |
| 2824 | |
| 2825 | type VolthaService_StreamPacketsOutClient interface { |
| 2826 | Send(*openflow_13.PacketOut) error |
| 2827 | CloseAndRecv() (*empty.Empty, error) |
| 2828 | grpc.ClientStream |
| 2829 | } |
| 2830 | |
| 2831 | type volthaServiceStreamPacketsOutClient struct { |
| 2832 | grpc.ClientStream |
| 2833 | } |
| 2834 | |
| 2835 | func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error { |
| 2836 | return x.ClientStream.SendMsg(m) |
| 2837 | } |
| 2838 | |
| 2839 | func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) { |
| 2840 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2841 | return nil, err |
| 2842 | } |
| 2843 | m := new(empty.Empty) |
| 2844 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2845 | return nil, err |
| 2846 | } |
| 2847 | return m, nil |
| 2848 | } |
| 2849 | |
| 2850 | func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) { |
| 2851 | stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...) |
| 2852 | if err != nil { |
| 2853 | return nil, err |
| 2854 | } |
| 2855 | x := &volthaServiceReceivePacketsInClient{stream} |
| 2856 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 2857 | return nil, err |
| 2858 | } |
| 2859 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2860 | return nil, err |
| 2861 | } |
| 2862 | return x, nil |
| 2863 | } |
| 2864 | |
| 2865 | type VolthaService_ReceivePacketsInClient interface { |
| 2866 | Recv() (*openflow_13.PacketIn, error) |
| 2867 | grpc.ClientStream |
| 2868 | } |
| 2869 | |
| 2870 | type volthaServiceReceivePacketsInClient struct { |
| 2871 | grpc.ClientStream |
| 2872 | } |
| 2873 | |
| 2874 | func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) { |
| 2875 | m := new(openflow_13.PacketIn) |
| 2876 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2877 | return nil, err |
| 2878 | } |
| 2879 | return m, nil |
| 2880 | } |
| 2881 | |
| 2882 | func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) { |
| 2883 | stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...) |
| 2884 | if err != nil { |
| 2885 | return nil, err |
| 2886 | } |
| 2887 | x := &volthaServiceReceiveChangeEventsClient{stream} |
| 2888 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 2889 | return nil, err |
| 2890 | } |
| 2891 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2892 | return nil, err |
| 2893 | } |
| 2894 | return x, nil |
| 2895 | } |
| 2896 | |
| 2897 | type VolthaService_ReceiveChangeEventsClient interface { |
| 2898 | Recv() (*openflow_13.ChangeEvent, error) |
| 2899 | grpc.ClientStream |
| 2900 | } |
| 2901 | |
| 2902 | type volthaServiceReceiveChangeEventsClient struct { |
| 2903 | grpc.ClientStream |
| 2904 | } |
| 2905 | |
| 2906 | func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) { |
| 2907 | m := new(openflow_13.ChangeEvent) |
| 2908 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2909 | return nil, err |
| 2910 | } |
| 2911 | return m, nil |
| 2912 | } |
| 2913 | |
| 2914 | func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) { |
| 2915 | out := new(DeviceGroup) |
| 2916 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...) |
| 2917 | if err != nil { |
| 2918 | return nil, err |
| 2919 | } |
| 2920 | return out, nil |
| 2921 | } |
| 2922 | |
| 2923 | func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) { |
| 2924 | out := new(EventFilter) |
| 2925 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...) |
| 2926 | if err != nil { |
| 2927 | return nil, err |
| 2928 | } |
| 2929 | return out, nil |
| 2930 | } |
| 2931 | |
| 2932 | func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) { |
| 2933 | out := new(EventFilters) |
| 2934 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...) |
| 2935 | if err != nil { |
| 2936 | return nil, err |
| 2937 | } |
| 2938 | return out, nil |
| 2939 | } |
| 2940 | |
| 2941 | func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) { |
| 2942 | out := new(EventFilter) |
| 2943 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...) |
| 2944 | if err != nil { |
| 2945 | return nil, err |
| 2946 | } |
| 2947 | return out, nil |
| 2948 | } |
| 2949 | |
| 2950 | func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2951 | out := new(empty.Empty) |
| 2952 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...) |
| 2953 | if err != nil { |
| 2954 | return nil, err |
| 2955 | } |
| 2956 | return out, nil |
| 2957 | } |
| 2958 | |
| 2959 | func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) { |
| 2960 | out := new(EventFilters) |
| 2961 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...) |
| 2962 | if err != nil { |
| 2963 | return nil, err |
| 2964 | } |
| 2965 | return out, nil |
| 2966 | } |
| 2967 | |
| 2968 | func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) { |
| 2969 | out := new(Images) |
| 2970 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...) |
| 2971 | if err != nil { |
| 2972 | return nil, err |
| 2973 | } |
| 2974 | return out, nil |
| 2975 | } |
| 2976 | |
| 2977 | func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) { |
| 2978 | out := new(SelfTestResponse) |
| 2979 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...) |
| 2980 | if err != nil { |
| 2981 | return nil, err |
| 2982 | } |
| 2983 | return out, nil |
| 2984 | } |
| 2985 | |
| 2986 | func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) { |
| 2987 | out := new(omci.MibDeviceData) |
| 2988 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...) |
| 2989 | if err != nil { |
| 2990 | return nil, err |
| 2991 | } |
| 2992 | return out, nil |
| 2993 | } |
| 2994 | |
| 2995 | func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) { |
| 2996 | out := new(omci.AlarmDeviceData) |
| 2997 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...) |
| 2998 | if err != nil { |
| 2999 | return nil, err |
| 3000 | } |
| 3001 | return out, nil |
| 3002 | } |
| 3003 | |
| 3004 | func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 3005 | out := new(common.OperationResp) |
| 3006 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...) |
| 3007 | if err != nil { |
| 3008 | return nil, err |
| 3009 | } |
| 3010 | return out, nil |
| 3011 | } |
| 3012 | |
| 3013 | func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) { |
| 3014 | out := new(OfAgentSubscriber) |
| 3015 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...) |
| 3016 | if err != nil { |
| 3017 | return nil, err |
| 3018 | } |
| 3019 | return out, nil |
| 3020 | } |
| 3021 | |
| 3022 | func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 3023 | out := new(empty.Empty) |
| 3024 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...) |
| 3025 | if err != nil { |
| 3026 | return nil, err |
| 3027 | } |
| 3028 | return out, nil |
| 3029 | } |
| 3030 | |
| 3031 | func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 3032 | out := new(empty.Empty) |
| 3033 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...) |
| 3034 | if err != nil { |
| 3035 | return nil, err |
| 3036 | } |
| 3037 | return out, nil |
| 3038 | } |
| 3039 | |
| 3040 | func (c *volthaServiceClient) GetExtValue(ctx context.Context, in *common.ValueSpecifier, opts ...grpc.CallOption) (*common.ReturnValues, error) { |
| 3041 | out := new(common.ReturnValues) |
| 3042 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetExtValue", in, out, opts...) |
| 3043 | if err != nil { |
| 3044 | return nil, err |
| 3045 | } |
| 3046 | return out, nil |
| 3047 | } |
| 3048 | |
| 3049 | func (c *volthaServiceClient) StartOmciTestAction(ctx context.Context, in *OmciTestRequest, opts ...grpc.CallOption) (*TestResponse, error) { |
| 3050 | out := new(TestResponse) |
| 3051 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/StartOmciTestAction", in, out, opts...) |
| 3052 | if err != nil { |
| 3053 | return nil, err |
| 3054 | } |
| 3055 | return out, nil |
| 3056 | } |
| 3057 | |
| 3058 | // VolthaServiceServer is the server API for VolthaService service. |
| 3059 | type VolthaServiceServer interface { |
| 3060 | // Get the membership group of a Voltha Core |
| 3061 | GetMembership(context.Context, *empty.Empty) (*Membership, error) |
| 3062 | // Set the membership group of a Voltha Core |
| 3063 | UpdateMembership(context.Context, *Membership) (*empty.Empty, error) |
| 3064 | // Get high level information on the Voltha cluster |
| 3065 | GetVoltha(context.Context, *empty.Empty) (*Voltha, error) |
| 3066 | // List all Voltha cluster core instances |
| 3067 | ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error) |
| 3068 | // Get details on a Voltha cluster instance |
| 3069 | GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error) |
| 3070 | // List all active adapters (plugins) in the Voltha cluster |
| 3071 | ListAdapters(context.Context, *empty.Empty) (*Adapters, error) |
| 3072 | // List all logical devices managed by the Voltha cluster |
| 3073 | ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error) |
| 3074 | // Get additional information on a given logical device |
| 3075 | GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error) |
| 3076 | // List ports of a logical device |
| 3077 | ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error) |
| 3078 | // Gets a logical device port |
| 3079 | GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error) |
| 3080 | // Enables a logical device port |
| 3081 | EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error) |
| 3082 | // Disables a logical device port |
| 3083 | DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error) |
| 3084 | // List all flows of a logical device |
| 3085 | ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error) |
| 3086 | // Update flow table for logical device |
| 3087 | UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error) |
| 3088 | // Update meter table for logical device |
| 3089 | UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error) |
| 3090 | // List all meters of a logical device |
| 3091 | ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error) |
| 3092 | // List all flow groups of a logical device |
| 3093 | ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error) |
| 3094 | // Update group table for device |
| 3095 | UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error) |
| 3096 | // List all physical devices controlled by the Voltha cluster |
| 3097 | ListDevices(context.Context, *empty.Empty) (*Devices, error) |
| 3098 | // List all physical devices IDs controlled by the Voltha cluster |
| 3099 | ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error) |
| 3100 | // Request to a voltha Core to reconcile a set of devices based on their IDs |
| 3101 | ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error) |
| 3102 | // Get more information on a given physical device |
| 3103 | GetDevice(context.Context, *common.ID) (*Device, error) |
| 3104 | // Pre-provision a new physical device |
| 3105 | CreateDevice(context.Context, *Device) (*Device, error) |
| 3106 | // Enable a device. If the device was in pre-provisioned state then it |
| 3107 | // will transition to ENABLED state. If it was is DISABLED state then it |
| 3108 | // will transition to ENABLED state as well. |
| 3109 | EnableDevice(context.Context, *common.ID) (*empty.Empty, error) |
| 3110 | // Disable a device |
| 3111 | DisableDevice(context.Context, *common.ID) (*empty.Empty, error) |
| 3112 | // Reboot a device |
| 3113 | RebootDevice(context.Context, *common.ID) (*empty.Empty, error) |
| 3114 | // Delete a device |
| 3115 | DeleteDevice(context.Context, *common.ID) (*empty.Empty, error) |
| 3116 | // Request an image download to the standby partition |
| 3117 | // of a device. |
| 3118 | // Note that the call is expected to be non-blocking. |
| 3119 | DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error) |
| 3120 | // Get image download status on a device |
| 3121 | // The request retrieves progress on device and updates db record |
| 3122 | GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error) |
| 3123 | // Get image download db record |
| 3124 | GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error) |
| 3125 | // List image download db records for a given device |
| 3126 | ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error) |
| 3127 | // Cancel an existing image download process on a device |
| 3128 | CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error) |
| 3129 | // Activate the specified image at a standby partition |
| 3130 | // to active partition. |
| 3131 | // Depending on the device implementation, this call |
| 3132 | // may or may not cause device reboot. |
| 3133 | // If no reboot, then a reboot is required to make the |
| 3134 | // activated image running on device |
| 3135 | // Note that the call is expected to be non-blocking. |
| 3136 | ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error) |
| 3137 | // Revert the specified image at standby partition |
| 3138 | // to active partition, and revert to previous image |
| 3139 | // Depending on the device implementation, this call |
| 3140 | // may or may not cause device reboot. |
| 3141 | // If no reboot, then a reboot is required to make the |
| 3142 | // previous image running on device |
| 3143 | // Note that the call is expected to be non-blocking. |
| 3144 | RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error) |
| 3145 | // List ports of a device |
| 3146 | ListDevicePorts(context.Context, *common.ID) (*Ports, error) |
| 3147 | // List pm config of a device |
| 3148 | ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error) |
| 3149 | // Update the pm config of a device |
| 3150 | UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error) |
| 3151 | // List all flows of a device |
| 3152 | ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error) |
| 3153 | // List all flow groups of a device |
| 3154 | ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error) |
| 3155 | // List device types known to Voltha |
| 3156 | ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error) |
| 3157 | // Get additional information on a device type |
| 3158 | GetDeviceType(context.Context, *common.ID) (*DeviceType, error) |
| 3159 | // List all device sharding groups |
| 3160 | ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error) |
| 3161 | // Stream control packets to the dataplane |
| 3162 | StreamPacketsOut(VolthaService_StreamPacketsOutServer) error |
| 3163 | // Receive control packet stream |
| 3164 | ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error |
| 3165 | ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error |
| 3166 | // Get additional information on a device group |
| 3167 | GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error) |
| 3168 | CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error) |
| 3169 | // Get all filters present for a device |
| 3170 | GetEventFilter(context.Context, *common.ID) (*EventFilters, error) |
| 3171 | UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error) |
| 3172 | DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error) |
| 3173 | // Get all the filters present |
| 3174 | ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error) |
| 3175 | GetImages(context.Context, *common.ID) (*Images, error) |
| 3176 | SelfTest(context.Context, *common.ID) (*SelfTestResponse, error) |
| 3177 | // OpenOMCI MIB information |
| 3178 | GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error) |
| 3179 | // OpenOMCI ALARM information |
| 3180 | GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error) |
| 3181 | // Simulate an Alarm |
| 3182 | SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error) |
| 3183 | Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error) |
| 3184 | EnablePort(context.Context, *Port) (*empty.Empty, error) |
| 3185 | DisablePort(context.Context, *Port) (*empty.Empty, error) |
| 3186 | GetExtValue(context.Context, *common.ValueSpecifier) (*common.ReturnValues, error) |
| 3187 | // omci start and stop cli implementation |
| 3188 | StartOmciTestAction(context.Context, *OmciTestRequest) (*TestResponse, error) |
| 3189 | } |
| 3190 | |
| 3191 | func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) { |
| 3192 | s.RegisterService(&_VolthaService_serviceDesc, srv) |
| 3193 | } |
| 3194 | |
| 3195 | func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3196 | in := new(empty.Empty) |
| 3197 | if err := dec(in); err != nil { |
| 3198 | return nil, err |
| 3199 | } |
| 3200 | if interceptor == nil { |
| 3201 | return srv.(VolthaServiceServer).GetMembership(ctx, in) |
| 3202 | } |
| 3203 | info := &grpc.UnaryServerInfo{ |
| 3204 | Server: srv, |
| 3205 | FullMethod: "/voltha.VolthaService/GetMembership", |
| 3206 | } |
| 3207 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3208 | return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty)) |
| 3209 | } |
| 3210 | return interceptor(ctx, in, info, handler) |
| 3211 | } |
| 3212 | |
| 3213 | func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3214 | in := new(Membership) |
| 3215 | if err := dec(in); err != nil { |
| 3216 | return nil, err |
| 3217 | } |
| 3218 | if interceptor == nil { |
| 3219 | return srv.(VolthaServiceServer).UpdateMembership(ctx, in) |
| 3220 | } |
| 3221 | info := &grpc.UnaryServerInfo{ |
| 3222 | Server: srv, |
| 3223 | FullMethod: "/voltha.VolthaService/UpdateMembership", |
| 3224 | } |
| 3225 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3226 | return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership)) |
| 3227 | } |
| 3228 | return interceptor(ctx, in, info, handler) |
| 3229 | } |
| 3230 | |
| 3231 | func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3232 | in := new(empty.Empty) |
| 3233 | if err := dec(in); err != nil { |
| 3234 | return nil, err |
| 3235 | } |
| 3236 | if interceptor == nil { |
| 3237 | return srv.(VolthaServiceServer).GetVoltha(ctx, in) |
| 3238 | } |
| 3239 | info := &grpc.UnaryServerInfo{ |
| 3240 | Server: srv, |
| 3241 | FullMethod: "/voltha.VolthaService/GetVoltha", |
| 3242 | } |
| 3243 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3244 | return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty)) |
| 3245 | } |
| 3246 | return interceptor(ctx, in, info, handler) |
| 3247 | } |
| 3248 | |
| 3249 | func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3250 | in := new(empty.Empty) |
| 3251 | if err := dec(in); err != nil { |
| 3252 | return nil, err |
| 3253 | } |
| 3254 | if interceptor == nil { |
| 3255 | return srv.(VolthaServiceServer).ListCoreInstances(ctx, in) |
| 3256 | } |
| 3257 | info := &grpc.UnaryServerInfo{ |
| 3258 | Server: srv, |
| 3259 | FullMethod: "/voltha.VolthaService/ListCoreInstances", |
| 3260 | } |
| 3261 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3262 | return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty)) |
| 3263 | } |
| 3264 | return interceptor(ctx, in, info, handler) |
| 3265 | } |
| 3266 | |
| 3267 | func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3268 | in := new(common.ID) |
| 3269 | if err := dec(in); err != nil { |
| 3270 | return nil, err |
| 3271 | } |
| 3272 | if interceptor == nil { |
| 3273 | return srv.(VolthaServiceServer).GetCoreInstance(ctx, in) |
| 3274 | } |
| 3275 | info := &grpc.UnaryServerInfo{ |
| 3276 | Server: srv, |
| 3277 | FullMethod: "/voltha.VolthaService/GetCoreInstance", |
| 3278 | } |
| 3279 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3280 | return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID)) |
| 3281 | } |
| 3282 | return interceptor(ctx, in, info, handler) |
| 3283 | } |
| 3284 | |
| 3285 | func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3286 | in := new(empty.Empty) |
| 3287 | if err := dec(in); err != nil { |
| 3288 | return nil, err |
| 3289 | } |
| 3290 | if interceptor == nil { |
| 3291 | return srv.(VolthaServiceServer).ListAdapters(ctx, in) |
| 3292 | } |
| 3293 | info := &grpc.UnaryServerInfo{ |
| 3294 | Server: srv, |
| 3295 | FullMethod: "/voltha.VolthaService/ListAdapters", |
| 3296 | } |
| 3297 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3298 | return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty)) |
| 3299 | } |
| 3300 | return interceptor(ctx, in, info, handler) |
| 3301 | } |
| 3302 | |
| 3303 | func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3304 | in := new(empty.Empty) |
| 3305 | if err := dec(in); err != nil { |
| 3306 | return nil, err |
| 3307 | } |
| 3308 | if interceptor == nil { |
| 3309 | return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in) |
| 3310 | } |
| 3311 | info := &grpc.UnaryServerInfo{ |
| 3312 | Server: srv, |
| 3313 | FullMethod: "/voltha.VolthaService/ListLogicalDevices", |
| 3314 | } |
| 3315 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3316 | return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty)) |
| 3317 | } |
| 3318 | return interceptor(ctx, in, info, handler) |
| 3319 | } |
| 3320 | |
| 3321 | func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3322 | in := new(common.ID) |
| 3323 | if err := dec(in); err != nil { |
| 3324 | return nil, err |
| 3325 | } |
| 3326 | if interceptor == nil { |
| 3327 | return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in) |
| 3328 | } |
| 3329 | info := &grpc.UnaryServerInfo{ |
| 3330 | Server: srv, |
| 3331 | FullMethod: "/voltha.VolthaService/GetLogicalDevice", |
| 3332 | } |
| 3333 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3334 | return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID)) |
| 3335 | } |
| 3336 | return interceptor(ctx, in, info, handler) |
| 3337 | } |
| 3338 | |
| 3339 | func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3340 | in := new(common.ID) |
| 3341 | if err := dec(in); err != nil { |
| 3342 | return nil, err |
| 3343 | } |
| 3344 | if interceptor == nil { |
| 3345 | return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in) |
| 3346 | } |
| 3347 | info := &grpc.UnaryServerInfo{ |
| 3348 | Server: srv, |
| 3349 | FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts", |
| 3350 | } |
| 3351 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3352 | return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID)) |
| 3353 | } |
| 3354 | return interceptor(ctx, in, info, handler) |
| 3355 | } |
| 3356 | |
| 3357 | func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3358 | in := new(LogicalPortId) |
| 3359 | if err := dec(in); err != nil { |
| 3360 | return nil, err |
| 3361 | } |
| 3362 | if interceptor == nil { |
| 3363 | return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in) |
| 3364 | } |
| 3365 | info := &grpc.UnaryServerInfo{ |
| 3366 | Server: srv, |
| 3367 | FullMethod: "/voltha.VolthaService/GetLogicalDevicePort", |
| 3368 | } |
| 3369 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3370 | return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId)) |
| 3371 | } |
| 3372 | return interceptor(ctx, in, info, handler) |
| 3373 | } |
| 3374 | |
| 3375 | func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3376 | in := new(LogicalPortId) |
| 3377 | if err := dec(in); err != nil { |
| 3378 | return nil, err |
| 3379 | } |
| 3380 | if interceptor == nil { |
| 3381 | return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in) |
| 3382 | } |
| 3383 | info := &grpc.UnaryServerInfo{ |
| 3384 | Server: srv, |
| 3385 | FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort", |
| 3386 | } |
| 3387 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3388 | return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId)) |
| 3389 | } |
| 3390 | return interceptor(ctx, in, info, handler) |
| 3391 | } |
| 3392 | |
| 3393 | func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3394 | in := new(LogicalPortId) |
| 3395 | if err := dec(in); err != nil { |
| 3396 | return nil, err |
| 3397 | } |
| 3398 | if interceptor == nil { |
| 3399 | return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in) |
| 3400 | } |
| 3401 | info := &grpc.UnaryServerInfo{ |
| 3402 | Server: srv, |
| 3403 | FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort", |
| 3404 | } |
| 3405 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3406 | return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId)) |
| 3407 | } |
| 3408 | return interceptor(ctx, in, info, handler) |
| 3409 | } |
| 3410 | |
| 3411 | func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3412 | in := new(common.ID) |
| 3413 | if err := dec(in); err != nil { |
| 3414 | return nil, err |
| 3415 | } |
| 3416 | if interceptor == nil { |
| 3417 | return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in) |
| 3418 | } |
| 3419 | info := &grpc.UnaryServerInfo{ |
| 3420 | Server: srv, |
| 3421 | FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows", |
| 3422 | } |
| 3423 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3424 | return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID)) |
| 3425 | } |
| 3426 | return interceptor(ctx, in, info, handler) |
| 3427 | } |
| 3428 | |
| 3429 | func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3430 | in := new(openflow_13.FlowTableUpdate) |
| 3431 | if err := dec(in); err != nil { |
| 3432 | return nil, err |
| 3433 | } |
| 3434 | if interceptor == nil { |
| 3435 | return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in) |
| 3436 | } |
| 3437 | info := &grpc.UnaryServerInfo{ |
| 3438 | Server: srv, |
| 3439 | FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", |
| 3440 | } |
| 3441 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3442 | return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate)) |
| 3443 | } |
| 3444 | return interceptor(ctx, in, info, handler) |
| 3445 | } |
| 3446 | |
| 3447 | func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3448 | in := new(openflow_13.MeterModUpdate) |
| 3449 | if err := dec(in); err != nil { |
| 3450 | return nil, err |
| 3451 | } |
| 3452 | if interceptor == nil { |
| 3453 | return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in) |
| 3454 | } |
| 3455 | info := &grpc.UnaryServerInfo{ |
| 3456 | Server: srv, |
| 3457 | FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", |
| 3458 | } |
| 3459 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3460 | return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate)) |
| 3461 | } |
| 3462 | return interceptor(ctx, in, info, handler) |
| 3463 | } |
| 3464 | |
| 3465 | func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3466 | in := new(common.ID) |
| 3467 | if err := dec(in); err != nil { |
| 3468 | return nil, err |
| 3469 | } |
| 3470 | if interceptor == nil { |
| 3471 | return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in) |
| 3472 | } |
| 3473 | info := &grpc.UnaryServerInfo{ |
| 3474 | Server: srv, |
| 3475 | FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters", |
| 3476 | } |
| 3477 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3478 | return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID)) |
| 3479 | } |
| 3480 | return interceptor(ctx, in, info, handler) |
| 3481 | } |
| 3482 | |
| 3483 | func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3484 | in := new(common.ID) |
| 3485 | if err := dec(in); err != nil { |
| 3486 | return nil, err |
| 3487 | } |
| 3488 | if interceptor == nil { |
| 3489 | return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in) |
| 3490 | } |
| 3491 | info := &grpc.UnaryServerInfo{ |
| 3492 | Server: srv, |
| 3493 | FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups", |
| 3494 | } |
| 3495 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3496 | return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID)) |
| 3497 | } |
| 3498 | return interceptor(ctx, in, info, handler) |
| 3499 | } |
| 3500 | |
| 3501 | func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3502 | in := new(openflow_13.FlowGroupTableUpdate) |
| 3503 | if err := dec(in); err != nil { |
| 3504 | return nil, err |
| 3505 | } |
| 3506 | if interceptor == nil { |
| 3507 | return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in) |
| 3508 | } |
| 3509 | info := &grpc.UnaryServerInfo{ |
| 3510 | Server: srv, |
| 3511 | FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", |
| 3512 | } |
| 3513 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3514 | return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate)) |
| 3515 | } |
| 3516 | return interceptor(ctx, in, info, handler) |
| 3517 | } |
| 3518 | |
| 3519 | func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3520 | in := new(empty.Empty) |
| 3521 | if err := dec(in); err != nil { |
| 3522 | return nil, err |
| 3523 | } |
| 3524 | if interceptor == nil { |
| 3525 | return srv.(VolthaServiceServer).ListDevices(ctx, in) |
| 3526 | } |
| 3527 | info := &grpc.UnaryServerInfo{ |
| 3528 | Server: srv, |
| 3529 | FullMethod: "/voltha.VolthaService/ListDevices", |
| 3530 | } |
| 3531 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3532 | return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty)) |
| 3533 | } |
| 3534 | return interceptor(ctx, in, info, handler) |
| 3535 | } |
| 3536 | |
| 3537 | func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3538 | in := new(empty.Empty) |
| 3539 | if err := dec(in); err != nil { |
| 3540 | return nil, err |
| 3541 | } |
| 3542 | if interceptor == nil { |
| 3543 | return srv.(VolthaServiceServer).ListDeviceIds(ctx, in) |
| 3544 | } |
| 3545 | info := &grpc.UnaryServerInfo{ |
| 3546 | Server: srv, |
| 3547 | FullMethod: "/voltha.VolthaService/ListDeviceIds", |
| 3548 | } |
| 3549 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3550 | return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty)) |
| 3551 | } |
| 3552 | return interceptor(ctx, in, info, handler) |
| 3553 | } |
| 3554 | |
| 3555 | func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3556 | in := new(common.IDs) |
| 3557 | if err := dec(in); err != nil { |
| 3558 | return nil, err |
| 3559 | } |
| 3560 | if interceptor == nil { |
| 3561 | return srv.(VolthaServiceServer).ReconcileDevices(ctx, in) |
| 3562 | } |
| 3563 | info := &grpc.UnaryServerInfo{ |
| 3564 | Server: srv, |
| 3565 | FullMethod: "/voltha.VolthaService/ReconcileDevices", |
| 3566 | } |
| 3567 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3568 | return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs)) |
| 3569 | } |
| 3570 | return interceptor(ctx, in, info, handler) |
| 3571 | } |
| 3572 | |
| 3573 | func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3574 | in := new(common.ID) |
| 3575 | if err := dec(in); err != nil { |
| 3576 | return nil, err |
| 3577 | } |
| 3578 | if interceptor == nil { |
| 3579 | return srv.(VolthaServiceServer).GetDevice(ctx, in) |
| 3580 | } |
| 3581 | info := &grpc.UnaryServerInfo{ |
| 3582 | Server: srv, |
| 3583 | FullMethod: "/voltha.VolthaService/GetDevice", |
| 3584 | } |
| 3585 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3586 | return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID)) |
| 3587 | } |
| 3588 | return interceptor(ctx, in, info, handler) |
| 3589 | } |
| 3590 | |
| 3591 | func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3592 | in := new(Device) |
| 3593 | if err := dec(in); err != nil { |
| 3594 | return nil, err |
| 3595 | } |
| 3596 | if interceptor == nil { |
| 3597 | return srv.(VolthaServiceServer).CreateDevice(ctx, in) |
| 3598 | } |
| 3599 | info := &grpc.UnaryServerInfo{ |
| 3600 | Server: srv, |
| 3601 | FullMethod: "/voltha.VolthaService/CreateDevice", |
| 3602 | } |
| 3603 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3604 | return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device)) |
| 3605 | } |
| 3606 | return interceptor(ctx, in, info, handler) |
| 3607 | } |
| 3608 | |
| 3609 | func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3610 | in := new(common.ID) |
| 3611 | if err := dec(in); err != nil { |
| 3612 | return nil, err |
| 3613 | } |
| 3614 | if interceptor == nil { |
| 3615 | return srv.(VolthaServiceServer).EnableDevice(ctx, in) |
| 3616 | } |
| 3617 | info := &grpc.UnaryServerInfo{ |
| 3618 | Server: srv, |
| 3619 | FullMethod: "/voltha.VolthaService/EnableDevice", |
| 3620 | } |
| 3621 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3622 | return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID)) |
| 3623 | } |
| 3624 | return interceptor(ctx, in, info, handler) |
| 3625 | } |
| 3626 | |
| 3627 | func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3628 | in := new(common.ID) |
| 3629 | if err := dec(in); err != nil { |
| 3630 | return nil, err |
| 3631 | } |
| 3632 | if interceptor == nil { |
| 3633 | return srv.(VolthaServiceServer).DisableDevice(ctx, in) |
| 3634 | } |
| 3635 | info := &grpc.UnaryServerInfo{ |
| 3636 | Server: srv, |
| 3637 | FullMethod: "/voltha.VolthaService/DisableDevice", |
| 3638 | } |
| 3639 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3640 | return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID)) |
| 3641 | } |
| 3642 | return interceptor(ctx, in, info, handler) |
| 3643 | } |
| 3644 | |
| 3645 | func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3646 | in := new(common.ID) |
| 3647 | if err := dec(in); err != nil { |
| 3648 | return nil, err |
| 3649 | } |
| 3650 | if interceptor == nil { |
| 3651 | return srv.(VolthaServiceServer).RebootDevice(ctx, in) |
| 3652 | } |
| 3653 | info := &grpc.UnaryServerInfo{ |
| 3654 | Server: srv, |
| 3655 | FullMethod: "/voltha.VolthaService/RebootDevice", |
| 3656 | } |
| 3657 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3658 | return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID)) |
| 3659 | } |
| 3660 | return interceptor(ctx, in, info, handler) |
| 3661 | } |
| 3662 | |
| 3663 | func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3664 | in := new(common.ID) |
| 3665 | if err := dec(in); err != nil { |
| 3666 | return nil, err |
| 3667 | } |
| 3668 | if interceptor == nil { |
| 3669 | return srv.(VolthaServiceServer).DeleteDevice(ctx, in) |
| 3670 | } |
| 3671 | info := &grpc.UnaryServerInfo{ |
| 3672 | Server: srv, |
| 3673 | FullMethod: "/voltha.VolthaService/DeleteDevice", |
| 3674 | } |
| 3675 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3676 | return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID)) |
| 3677 | } |
| 3678 | return interceptor(ctx, in, info, handler) |
| 3679 | } |
| 3680 | |
| 3681 | func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3682 | in := new(ImageDownload) |
| 3683 | if err := dec(in); err != nil { |
| 3684 | return nil, err |
| 3685 | } |
| 3686 | if interceptor == nil { |
| 3687 | return srv.(VolthaServiceServer).DownloadImage(ctx, in) |
| 3688 | } |
| 3689 | info := &grpc.UnaryServerInfo{ |
| 3690 | Server: srv, |
| 3691 | FullMethod: "/voltha.VolthaService/DownloadImage", |
| 3692 | } |
| 3693 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3694 | return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload)) |
| 3695 | } |
| 3696 | return interceptor(ctx, in, info, handler) |
| 3697 | } |
| 3698 | |
| 3699 | func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3700 | in := new(ImageDownload) |
| 3701 | if err := dec(in); err != nil { |
| 3702 | return nil, err |
| 3703 | } |
| 3704 | if interceptor == nil { |
| 3705 | return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in) |
| 3706 | } |
| 3707 | info := &grpc.UnaryServerInfo{ |
| 3708 | Server: srv, |
| 3709 | FullMethod: "/voltha.VolthaService/GetImageDownloadStatus", |
| 3710 | } |
| 3711 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3712 | return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload)) |
| 3713 | } |
| 3714 | return interceptor(ctx, in, info, handler) |
| 3715 | } |
| 3716 | |
| 3717 | func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3718 | in := new(ImageDownload) |
| 3719 | if err := dec(in); err != nil { |
| 3720 | return nil, err |
| 3721 | } |
| 3722 | if interceptor == nil { |
| 3723 | return srv.(VolthaServiceServer).GetImageDownload(ctx, in) |
| 3724 | } |
| 3725 | info := &grpc.UnaryServerInfo{ |
| 3726 | Server: srv, |
| 3727 | FullMethod: "/voltha.VolthaService/GetImageDownload", |
| 3728 | } |
| 3729 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3730 | return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload)) |
| 3731 | } |
| 3732 | return interceptor(ctx, in, info, handler) |
| 3733 | } |
| 3734 | |
| 3735 | func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3736 | in := new(common.ID) |
| 3737 | if err := dec(in); err != nil { |
| 3738 | return nil, err |
| 3739 | } |
| 3740 | if interceptor == nil { |
| 3741 | return srv.(VolthaServiceServer).ListImageDownloads(ctx, in) |
| 3742 | } |
| 3743 | info := &grpc.UnaryServerInfo{ |
| 3744 | Server: srv, |
| 3745 | FullMethod: "/voltha.VolthaService/ListImageDownloads", |
| 3746 | } |
| 3747 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3748 | return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID)) |
| 3749 | } |
| 3750 | return interceptor(ctx, in, info, handler) |
| 3751 | } |
| 3752 | |
| 3753 | func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3754 | in := new(ImageDownload) |
| 3755 | if err := dec(in); err != nil { |
| 3756 | return nil, err |
| 3757 | } |
| 3758 | if interceptor == nil { |
| 3759 | return srv.(VolthaServiceServer).CancelImageDownload(ctx, in) |
| 3760 | } |
| 3761 | info := &grpc.UnaryServerInfo{ |
| 3762 | Server: srv, |
| 3763 | FullMethod: "/voltha.VolthaService/CancelImageDownload", |
| 3764 | } |
| 3765 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3766 | return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload)) |
| 3767 | } |
| 3768 | return interceptor(ctx, in, info, handler) |
| 3769 | } |
| 3770 | |
| 3771 | func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3772 | in := new(ImageDownload) |
| 3773 | if err := dec(in); err != nil { |
| 3774 | return nil, err |
| 3775 | } |
| 3776 | if interceptor == nil { |
| 3777 | return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in) |
| 3778 | } |
| 3779 | info := &grpc.UnaryServerInfo{ |
| 3780 | Server: srv, |
| 3781 | FullMethod: "/voltha.VolthaService/ActivateImageUpdate", |
| 3782 | } |
| 3783 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3784 | return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload)) |
| 3785 | } |
| 3786 | return interceptor(ctx, in, info, handler) |
| 3787 | } |
| 3788 | |
| 3789 | func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3790 | in := new(ImageDownload) |
| 3791 | if err := dec(in); err != nil { |
| 3792 | return nil, err |
| 3793 | } |
| 3794 | if interceptor == nil { |
| 3795 | return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in) |
| 3796 | } |
| 3797 | info := &grpc.UnaryServerInfo{ |
| 3798 | Server: srv, |
| 3799 | FullMethod: "/voltha.VolthaService/RevertImageUpdate", |
| 3800 | } |
| 3801 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3802 | return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload)) |
| 3803 | } |
| 3804 | return interceptor(ctx, in, info, handler) |
| 3805 | } |
| 3806 | |
| 3807 | func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3808 | in := new(common.ID) |
| 3809 | if err := dec(in); err != nil { |
| 3810 | return nil, err |
| 3811 | } |
| 3812 | if interceptor == nil { |
| 3813 | return srv.(VolthaServiceServer).ListDevicePorts(ctx, in) |
| 3814 | } |
| 3815 | info := &grpc.UnaryServerInfo{ |
| 3816 | Server: srv, |
| 3817 | FullMethod: "/voltha.VolthaService/ListDevicePorts", |
| 3818 | } |
| 3819 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3820 | return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID)) |
| 3821 | } |
| 3822 | return interceptor(ctx, in, info, handler) |
| 3823 | } |
| 3824 | |
| 3825 | func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3826 | in := new(common.ID) |
| 3827 | if err := dec(in); err != nil { |
| 3828 | return nil, err |
| 3829 | } |
| 3830 | if interceptor == nil { |
| 3831 | return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in) |
| 3832 | } |
| 3833 | info := &grpc.UnaryServerInfo{ |
| 3834 | Server: srv, |
| 3835 | FullMethod: "/voltha.VolthaService/ListDevicePmConfigs", |
| 3836 | } |
| 3837 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3838 | return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID)) |
| 3839 | } |
| 3840 | return interceptor(ctx, in, info, handler) |
| 3841 | } |
| 3842 | |
| 3843 | func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3844 | in := new(PmConfigs) |
| 3845 | if err := dec(in); err != nil { |
| 3846 | return nil, err |
| 3847 | } |
| 3848 | if interceptor == nil { |
| 3849 | return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in) |
| 3850 | } |
| 3851 | info := &grpc.UnaryServerInfo{ |
| 3852 | Server: srv, |
| 3853 | FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs", |
| 3854 | } |
| 3855 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3856 | return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs)) |
| 3857 | } |
| 3858 | return interceptor(ctx, in, info, handler) |
| 3859 | } |
| 3860 | |
| 3861 | func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3862 | in := new(common.ID) |
| 3863 | if err := dec(in); err != nil { |
| 3864 | return nil, err |
| 3865 | } |
| 3866 | if interceptor == nil { |
| 3867 | return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in) |
| 3868 | } |
| 3869 | info := &grpc.UnaryServerInfo{ |
| 3870 | Server: srv, |
| 3871 | FullMethod: "/voltha.VolthaService/ListDeviceFlows", |
| 3872 | } |
| 3873 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3874 | return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID)) |
| 3875 | } |
| 3876 | return interceptor(ctx, in, info, handler) |
| 3877 | } |
| 3878 | |
| 3879 | func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3880 | in := new(common.ID) |
| 3881 | if err := dec(in); err != nil { |
| 3882 | return nil, err |
| 3883 | } |
| 3884 | if interceptor == nil { |
| 3885 | return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in) |
| 3886 | } |
| 3887 | info := &grpc.UnaryServerInfo{ |
| 3888 | Server: srv, |
| 3889 | FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups", |
| 3890 | } |
| 3891 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3892 | return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID)) |
| 3893 | } |
| 3894 | return interceptor(ctx, in, info, handler) |
| 3895 | } |
| 3896 | |
| 3897 | func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3898 | in := new(empty.Empty) |
| 3899 | if err := dec(in); err != nil { |
| 3900 | return nil, err |
| 3901 | } |
| 3902 | if interceptor == nil { |
| 3903 | return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in) |
| 3904 | } |
| 3905 | info := &grpc.UnaryServerInfo{ |
| 3906 | Server: srv, |
| 3907 | FullMethod: "/voltha.VolthaService/ListDeviceTypes", |
| 3908 | } |
| 3909 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3910 | return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty)) |
| 3911 | } |
| 3912 | return interceptor(ctx, in, info, handler) |
| 3913 | } |
| 3914 | |
| 3915 | func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3916 | in := new(common.ID) |
| 3917 | if err := dec(in); err != nil { |
| 3918 | return nil, err |
| 3919 | } |
| 3920 | if interceptor == nil { |
| 3921 | return srv.(VolthaServiceServer).GetDeviceType(ctx, in) |
| 3922 | } |
| 3923 | info := &grpc.UnaryServerInfo{ |
| 3924 | Server: srv, |
| 3925 | FullMethod: "/voltha.VolthaService/GetDeviceType", |
| 3926 | } |
| 3927 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3928 | return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID)) |
| 3929 | } |
| 3930 | return interceptor(ctx, in, info, handler) |
| 3931 | } |
| 3932 | |
| 3933 | func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3934 | in := new(empty.Empty) |
| 3935 | if err := dec(in); err != nil { |
| 3936 | return nil, err |
| 3937 | } |
| 3938 | if interceptor == nil { |
| 3939 | return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in) |
| 3940 | } |
| 3941 | info := &grpc.UnaryServerInfo{ |
| 3942 | Server: srv, |
| 3943 | FullMethod: "/voltha.VolthaService/ListDeviceGroups", |
| 3944 | } |
| 3945 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3946 | return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty)) |
| 3947 | } |
| 3948 | return interceptor(ctx, in, info, handler) |
| 3949 | } |
| 3950 | |
| 3951 | func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3952 | return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream}) |
| 3953 | } |
| 3954 | |
| 3955 | type VolthaService_StreamPacketsOutServer interface { |
| 3956 | SendAndClose(*empty.Empty) error |
| 3957 | Recv() (*openflow_13.PacketOut, error) |
| 3958 | grpc.ServerStream |
| 3959 | } |
| 3960 | |
| 3961 | type volthaServiceStreamPacketsOutServer struct { |
| 3962 | grpc.ServerStream |
| 3963 | } |
| 3964 | |
| 3965 | func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error { |
| 3966 | return x.ServerStream.SendMsg(m) |
| 3967 | } |
| 3968 | |
| 3969 | func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) { |
| 3970 | m := new(openflow_13.PacketOut) |
| 3971 | if err := x.ServerStream.RecvMsg(m); err != nil { |
| 3972 | return nil, err |
| 3973 | } |
| 3974 | return m, nil |
| 3975 | } |
| 3976 | |
| 3977 | func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3978 | m := new(empty.Empty) |
| 3979 | if err := stream.RecvMsg(m); err != nil { |
| 3980 | return err |
| 3981 | } |
| 3982 | return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream}) |
| 3983 | } |
| 3984 | |
| 3985 | type VolthaService_ReceivePacketsInServer interface { |
| 3986 | Send(*openflow_13.PacketIn) error |
| 3987 | grpc.ServerStream |
| 3988 | } |
| 3989 | |
| 3990 | type volthaServiceReceivePacketsInServer struct { |
| 3991 | grpc.ServerStream |
| 3992 | } |
| 3993 | |
| 3994 | func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error { |
| 3995 | return x.ServerStream.SendMsg(m) |
| 3996 | } |
| 3997 | |
| 3998 | func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3999 | m := new(empty.Empty) |
| 4000 | if err := stream.RecvMsg(m); err != nil { |
| 4001 | return err |
| 4002 | } |
| 4003 | return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream}) |
| 4004 | } |
| 4005 | |
| 4006 | type VolthaService_ReceiveChangeEventsServer interface { |
| 4007 | Send(*openflow_13.ChangeEvent) error |
| 4008 | grpc.ServerStream |
| 4009 | } |
| 4010 | |
| 4011 | type volthaServiceReceiveChangeEventsServer struct { |
| 4012 | grpc.ServerStream |
| 4013 | } |
| 4014 | |
| 4015 | func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error { |
| 4016 | return x.ServerStream.SendMsg(m) |
| 4017 | } |
| 4018 | |
| 4019 | func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4020 | in := new(common.ID) |
| 4021 | if err := dec(in); err != nil { |
| 4022 | return nil, err |
| 4023 | } |
| 4024 | if interceptor == nil { |
| 4025 | return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in) |
| 4026 | } |
| 4027 | info := &grpc.UnaryServerInfo{ |
| 4028 | Server: srv, |
| 4029 | FullMethod: "/voltha.VolthaService/GetDeviceGroup", |
| 4030 | } |
| 4031 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4032 | return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID)) |
| 4033 | } |
| 4034 | return interceptor(ctx, in, info, handler) |
| 4035 | } |
| 4036 | |
| 4037 | func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4038 | in := new(EventFilter) |
| 4039 | if err := dec(in); err != nil { |
| 4040 | return nil, err |
| 4041 | } |
| 4042 | if interceptor == nil { |
| 4043 | return srv.(VolthaServiceServer).CreateEventFilter(ctx, in) |
| 4044 | } |
| 4045 | info := &grpc.UnaryServerInfo{ |
| 4046 | Server: srv, |
| 4047 | FullMethod: "/voltha.VolthaService/CreateEventFilter", |
| 4048 | } |
| 4049 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4050 | return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter)) |
| 4051 | } |
| 4052 | return interceptor(ctx, in, info, handler) |
| 4053 | } |
| 4054 | |
| 4055 | func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4056 | in := new(common.ID) |
| 4057 | if err := dec(in); err != nil { |
| 4058 | return nil, err |
| 4059 | } |
| 4060 | if interceptor == nil { |
| 4061 | return srv.(VolthaServiceServer).GetEventFilter(ctx, in) |
| 4062 | } |
| 4063 | info := &grpc.UnaryServerInfo{ |
| 4064 | Server: srv, |
| 4065 | FullMethod: "/voltha.VolthaService/GetEventFilter", |
| 4066 | } |
| 4067 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4068 | return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID)) |
| 4069 | } |
| 4070 | return interceptor(ctx, in, info, handler) |
| 4071 | } |
| 4072 | |
| 4073 | func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4074 | in := new(EventFilter) |
| 4075 | if err := dec(in); err != nil { |
| 4076 | return nil, err |
| 4077 | } |
| 4078 | if interceptor == nil { |
| 4079 | return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in) |
| 4080 | } |
| 4081 | info := &grpc.UnaryServerInfo{ |
| 4082 | Server: srv, |
| 4083 | FullMethod: "/voltha.VolthaService/UpdateEventFilter", |
| 4084 | } |
| 4085 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4086 | return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter)) |
| 4087 | } |
| 4088 | return interceptor(ctx, in, info, handler) |
| 4089 | } |
| 4090 | |
| 4091 | func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4092 | in := new(EventFilter) |
| 4093 | if err := dec(in); err != nil { |
| 4094 | return nil, err |
| 4095 | } |
| 4096 | if interceptor == nil { |
| 4097 | return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in) |
| 4098 | } |
| 4099 | info := &grpc.UnaryServerInfo{ |
| 4100 | Server: srv, |
| 4101 | FullMethod: "/voltha.VolthaService/DeleteEventFilter", |
| 4102 | } |
| 4103 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4104 | return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter)) |
| 4105 | } |
| 4106 | return interceptor(ctx, in, info, handler) |
| 4107 | } |
| 4108 | |
| 4109 | func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4110 | in := new(empty.Empty) |
| 4111 | if err := dec(in); err != nil { |
| 4112 | return nil, err |
| 4113 | } |
| 4114 | if interceptor == nil { |
| 4115 | return srv.(VolthaServiceServer).ListEventFilters(ctx, in) |
| 4116 | } |
| 4117 | info := &grpc.UnaryServerInfo{ |
| 4118 | Server: srv, |
| 4119 | FullMethod: "/voltha.VolthaService/ListEventFilters", |
| 4120 | } |
| 4121 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4122 | return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty)) |
| 4123 | } |
| 4124 | return interceptor(ctx, in, info, handler) |
| 4125 | } |
| 4126 | |
| 4127 | func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4128 | in := new(common.ID) |
| 4129 | if err := dec(in); err != nil { |
| 4130 | return nil, err |
| 4131 | } |
| 4132 | if interceptor == nil { |
| 4133 | return srv.(VolthaServiceServer).GetImages(ctx, in) |
| 4134 | } |
| 4135 | info := &grpc.UnaryServerInfo{ |
| 4136 | Server: srv, |
| 4137 | FullMethod: "/voltha.VolthaService/GetImages", |
| 4138 | } |
| 4139 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4140 | return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID)) |
| 4141 | } |
| 4142 | return interceptor(ctx, in, info, handler) |
| 4143 | } |
| 4144 | |
| 4145 | func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4146 | in := new(common.ID) |
| 4147 | if err := dec(in); err != nil { |
| 4148 | return nil, err |
| 4149 | } |
| 4150 | if interceptor == nil { |
| 4151 | return srv.(VolthaServiceServer).SelfTest(ctx, in) |
| 4152 | } |
| 4153 | info := &grpc.UnaryServerInfo{ |
| 4154 | Server: srv, |
| 4155 | FullMethod: "/voltha.VolthaService/SelfTest", |
| 4156 | } |
| 4157 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4158 | return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID)) |
| 4159 | } |
| 4160 | return interceptor(ctx, in, info, handler) |
| 4161 | } |
| 4162 | |
| 4163 | func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4164 | in := new(common.ID) |
| 4165 | if err := dec(in); err != nil { |
| 4166 | return nil, err |
| 4167 | } |
| 4168 | if interceptor == nil { |
| 4169 | return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in) |
| 4170 | } |
| 4171 | info := &grpc.UnaryServerInfo{ |
| 4172 | Server: srv, |
| 4173 | FullMethod: "/voltha.VolthaService/GetMibDeviceData", |
| 4174 | } |
| 4175 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4176 | return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID)) |
| 4177 | } |
| 4178 | return interceptor(ctx, in, info, handler) |
| 4179 | } |
| 4180 | |
| 4181 | func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4182 | in := new(common.ID) |
| 4183 | if err := dec(in); err != nil { |
| 4184 | return nil, err |
| 4185 | } |
| 4186 | if interceptor == nil { |
| 4187 | return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in) |
| 4188 | } |
| 4189 | info := &grpc.UnaryServerInfo{ |
| 4190 | Server: srv, |
| 4191 | FullMethod: "/voltha.VolthaService/GetAlarmDeviceData", |
| 4192 | } |
| 4193 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4194 | return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID)) |
| 4195 | } |
| 4196 | return interceptor(ctx, in, info, handler) |
| 4197 | } |
| 4198 | |
| 4199 | func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4200 | in := new(SimulateAlarmRequest) |
| 4201 | if err := dec(in); err != nil { |
| 4202 | return nil, err |
| 4203 | } |
| 4204 | if interceptor == nil { |
| 4205 | return srv.(VolthaServiceServer).SimulateAlarm(ctx, in) |
| 4206 | } |
| 4207 | info := &grpc.UnaryServerInfo{ |
| 4208 | Server: srv, |
| 4209 | FullMethod: "/voltha.VolthaService/SimulateAlarm", |
| 4210 | } |
| 4211 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4212 | return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest)) |
| 4213 | } |
| 4214 | return interceptor(ctx, in, info, handler) |
| 4215 | } |
| 4216 | |
| 4217 | func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4218 | in := new(OfAgentSubscriber) |
| 4219 | if err := dec(in); err != nil { |
| 4220 | return nil, err |
| 4221 | } |
| 4222 | if interceptor == nil { |
| 4223 | return srv.(VolthaServiceServer).Subscribe(ctx, in) |
| 4224 | } |
| 4225 | info := &grpc.UnaryServerInfo{ |
| 4226 | Server: srv, |
| 4227 | FullMethod: "/voltha.VolthaService/Subscribe", |
| 4228 | } |
| 4229 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4230 | return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber)) |
| 4231 | } |
| 4232 | return interceptor(ctx, in, info, handler) |
| 4233 | } |
| 4234 | |
| 4235 | func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4236 | in := new(Port) |
| 4237 | if err := dec(in); err != nil { |
| 4238 | return nil, err |
| 4239 | } |
| 4240 | if interceptor == nil { |
| 4241 | return srv.(VolthaServiceServer).EnablePort(ctx, in) |
| 4242 | } |
| 4243 | info := &grpc.UnaryServerInfo{ |
| 4244 | Server: srv, |
| 4245 | FullMethod: "/voltha.VolthaService/EnablePort", |
| 4246 | } |
| 4247 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4248 | return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port)) |
| 4249 | } |
| 4250 | return interceptor(ctx, in, info, handler) |
| 4251 | } |
| 4252 | |
| 4253 | func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4254 | in := new(Port) |
| 4255 | if err := dec(in); err != nil { |
| 4256 | return nil, err |
| 4257 | } |
| 4258 | if interceptor == nil { |
| 4259 | return srv.(VolthaServiceServer).DisablePort(ctx, in) |
| 4260 | } |
| 4261 | info := &grpc.UnaryServerInfo{ |
| 4262 | Server: srv, |
| 4263 | FullMethod: "/voltha.VolthaService/DisablePort", |
| 4264 | } |
| 4265 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4266 | return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port)) |
| 4267 | } |
| 4268 | return interceptor(ctx, in, info, handler) |
| 4269 | } |
| 4270 | |
| 4271 | func _VolthaService_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4272 | in := new(common.ValueSpecifier) |
| 4273 | if err := dec(in); err != nil { |
| 4274 | return nil, err |
| 4275 | } |
| 4276 | if interceptor == nil { |
| 4277 | return srv.(VolthaServiceServer).GetExtValue(ctx, in) |
| 4278 | } |
| 4279 | info := &grpc.UnaryServerInfo{ |
| 4280 | Server: srv, |
| 4281 | FullMethod: "/voltha.VolthaService/GetExtValue", |
| 4282 | } |
| 4283 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4284 | return srv.(VolthaServiceServer).GetExtValue(ctx, req.(*common.ValueSpecifier)) |
| 4285 | } |
| 4286 | return interceptor(ctx, in, info, handler) |
| 4287 | } |
| 4288 | |
| 4289 | func _VolthaService_StartOmciTestAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4290 | in := new(OmciTestRequest) |
| 4291 | if err := dec(in); err != nil { |
| 4292 | return nil, err |
| 4293 | } |
| 4294 | if interceptor == nil { |
| 4295 | return srv.(VolthaServiceServer).StartOmciTestAction(ctx, in) |
| 4296 | } |
| 4297 | info := &grpc.UnaryServerInfo{ |
| 4298 | Server: srv, |
| 4299 | FullMethod: "/voltha.VolthaService/StartOmciTestAction", |
| 4300 | } |
| 4301 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4302 | return srv.(VolthaServiceServer).StartOmciTestAction(ctx, req.(*OmciTestRequest)) |
| 4303 | } |
| 4304 | return interceptor(ctx, in, info, handler) |
| 4305 | } |
| 4306 | |
| 4307 | var _VolthaService_serviceDesc = grpc.ServiceDesc{ |
| 4308 | ServiceName: "voltha.VolthaService", |
| 4309 | HandlerType: (*VolthaServiceServer)(nil), |
| 4310 | Methods: []grpc.MethodDesc{ |
| 4311 | { |
| 4312 | MethodName: "GetMembership", |
| 4313 | Handler: _VolthaService_GetMembership_Handler, |
| 4314 | }, |
| 4315 | { |
| 4316 | MethodName: "UpdateMembership", |
| 4317 | Handler: _VolthaService_UpdateMembership_Handler, |
| 4318 | }, |
| 4319 | { |
| 4320 | MethodName: "GetVoltha", |
| 4321 | Handler: _VolthaService_GetVoltha_Handler, |
| 4322 | }, |
| 4323 | { |
| 4324 | MethodName: "ListCoreInstances", |
| 4325 | Handler: _VolthaService_ListCoreInstances_Handler, |
| 4326 | }, |
| 4327 | { |
| 4328 | MethodName: "GetCoreInstance", |
| 4329 | Handler: _VolthaService_GetCoreInstance_Handler, |
| 4330 | }, |
| 4331 | { |
| 4332 | MethodName: "ListAdapters", |
| 4333 | Handler: _VolthaService_ListAdapters_Handler, |
| 4334 | }, |
| 4335 | { |
| 4336 | MethodName: "ListLogicalDevices", |
| 4337 | Handler: _VolthaService_ListLogicalDevices_Handler, |
| 4338 | }, |
| 4339 | { |
| 4340 | MethodName: "GetLogicalDevice", |
| 4341 | Handler: _VolthaService_GetLogicalDevice_Handler, |
| 4342 | }, |
| 4343 | { |
| 4344 | MethodName: "ListLogicalDevicePorts", |
| 4345 | Handler: _VolthaService_ListLogicalDevicePorts_Handler, |
| 4346 | }, |
| 4347 | { |
| 4348 | MethodName: "GetLogicalDevicePort", |
| 4349 | Handler: _VolthaService_GetLogicalDevicePort_Handler, |
| 4350 | }, |
| 4351 | { |
| 4352 | MethodName: "EnableLogicalDevicePort", |
| 4353 | Handler: _VolthaService_EnableLogicalDevicePort_Handler, |
| 4354 | }, |
| 4355 | { |
| 4356 | MethodName: "DisableLogicalDevicePort", |
| 4357 | Handler: _VolthaService_DisableLogicalDevicePort_Handler, |
| 4358 | }, |
| 4359 | { |
| 4360 | MethodName: "ListLogicalDeviceFlows", |
| 4361 | Handler: _VolthaService_ListLogicalDeviceFlows_Handler, |
| 4362 | }, |
| 4363 | { |
| 4364 | MethodName: "UpdateLogicalDeviceFlowTable", |
| 4365 | Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler, |
| 4366 | }, |
| 4367 | { |
| 4368 | MethodName: "UpdateLogicalDeviceMeterTable", |
| 4369 | Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler, |
| 4370 | }, |
| 4371 | { |
| 4372 | MethodName: "ListLogicalDeviceMeters", |
| 4373 | Handler: _VolthaService_ListLogicalDeviceMeters_Handler, |
| 4374 | }, |
| 4375 | { |
| 4376 | MethodName: "ListLogicalDeviceFlowGroups", |
| 4377 | Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler, |
| 4378 | }, |
| 4379 | { |
| 4380 | MethodName: "UpdateLogicalDeviceFlowGroupTable", |
| 4381 | Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler, |
| 4382 | }, |
| 4383 | { |
| 4384 | MethodName: "ListDevices", |
| 4385 | Handler: _VolthaService_ListDevices_Handler, |
| 4386 | }, |
| 4387 | { |
| 4388 | MethodName: "ListDeviceIds", |
| 4389 | Handler: _VolthaService_ListDeviceIds_Handler, |
| 4390 | }, |
| 4391 | { |
| 4392 | MethodName: "ReconcileDevices", |
| 4393 | Handler: _VolthaService_ReconcileDevices_Handler, |
| 4394 | }, |
| 4395 | { |
| 4396 | MethodName: "GetDevice", |
| 4397 | Handler: _VolthaService_GetDevice_Handler, |
| 4398 | }, |
| 4399 | { |
| 4400 | MethodName: "CreateDevice", |
| 4401 | Handler: _VolthaService_CreateDevice_Handler, |
| 4402 | }, |
| 4403 | { |
| 4404 | MethodName: "EnableDevice", |
| 4405 | Handler: _VolthaService_EnableDevice_Handler, |
| 4406 | }, |
| 4407 | { |
| 4408 | MethodName: "DisableDevice", |
| 4409 | Handler: _VolthaService_DisableDevice_Handler, |
| 4410 | }, |
| 4411 | { |
| 4412 | MethodName: "RebootDevice", |
| 4413 | Handler: _VolthaService_RebootDevice_Handler, |
| 4414 | }, |
| 4415 | { |
| 4416 | MethodName: "DeleteDevice", |
| 4417 | Handler: _VolthaService_DeleteDevice_Handler, |
| 4418 | }, |
| 4419 | { |
| 4420 | MethodName: "DownloadImage", |
| 4421 | Handler: _VolthaService_DownloadImage_Handler, |
| 4422 | }, |
| 4423 | { |
| 4424 | MethodName: "GetImageDownloadStatus", |
| 4425 | Handler: _VolthaService_GetImageDownloadStatus_Handler, |
| 4426 | }, |
| 4427 | { |
| 4428 | MethodName: "GetImageDownload", |
| 4429 | Handler: _VolthaService_GetImageDownload_Handler, |
| 4430 | }, |
| 4431 | { |
| 4432 | MethodName: "ListImageDownloads", |
| 4433 | Handler: _VolthaService_ListImageDownloads_Handler, |
| 4434 | }, |
| 4435 | { |
| 4436 | MethodName: "CancelImageDownload", |
| 4437 | Handler: _VolthaService_CancelImageDownload_Handler, |
| 4438 | }, |
| 4439 | { |
| 4440 | MethodName: "ActivateImageUpdate", |
| 4441 | Handler: _VolthaService_ActivateImageUpdate_Handler, |
| 4442 | }, |
| 4443 | { |
| 4444 | MethodName: "RevertImageUpdate", |
| 4445 | Handler: _VolthaService_RevertImageUpdate_Handler, |
| 4446 | }, |
| 4447 | { |
| 4448 | MethodName: "ListDevicePorts", |
| 4449 | Handler: _VolthaService_ListDevicePorts_Handler, |
| 4450 | }, |
| 4451 | { |
| 4452 | MethodName: "ListDevicePmConfigs", |
| 4453 | Handler: _VolthaService_ListDevicePmConfigs_Handler, |
| 4454 | }, |
| 4455 | { |
| 4456 | MethodName: "UpdateDevicePmConfigs", |
| 4457 | Handler: _VolthaService_UpdateDevicePmConfigs_Handler, |
| 4458 | }, |
| 4459 | { |
| 4460 | MethodName: "ListDeviceFlows", |
| 4461 | Handler: _VolthaService_ListDeviceFlows_Handler, |
| 4462 | }, |
| 4463 | { |
| 4464 | MethodName: "ListDeviceFlowGroups", |
| 4465 | Handler: _VolthaService_ListDeviceFlowGroups_Handler, |
| 4466 | }, |
| 4467 | { |
| 4468 | MethodName: "ListDeviceTypes", |
| 4469 | Handler: _VolthaService_ListDeviceTypes_Handler, |
| 4470 | }, |
| 4471 | { |
| 4472 | MethodName: "GetDeviceType", |
| 4473 | Handler: _VolthaService_GetDeviceType_Handler, |
| 4474 | }, |
| 4475 | { |
| 4476 | MethodName: "ListDeviceGroups", |
| 4477 | Handler: _VolthaService_ListDeviceGroups_Handler, |
| 4478 | }, |
| 4479 | { |
| 4480 | MethodName: "GetDeviceGroup", |
| 4481 | Handler: _VolthaService_GetDeviceGroup_Handler, |
| 4482 | }, |
| 4483 | { |
| 4484 | MethodName: "CreateEventFilter", |
| 4485 | Handler: _VolthaService_CreateEventFilter_Handler, |
| 4486 | }, |
| 4487 | { |
| 4488 | MethodName: "GetEventFilter", |
| 4489 | Handler: _VolthaService_GetEventFilter_Handler, |
| 4490 | }, |
| 4491 | { |
| 4492 | MethodName: "UpdateEventFilter", |
| 4493 | Handler: _VolthaService_UpdateEventFilter_Handler, |
| 4494 | }, |
| 4495 | { |
| 4496 | MethodName: "DeleteEventFilter", |
| 4497 | Handler: _VolthaService_DeleteEventFilter_Handler, |
| 4498 | }, |
| 4499 | { |
| 4500 | MethodName: "ListEventFilters", |
| 4501 | Handler: _VolthaService_ListEventFilters_Handler, |
| 4502 | }, |
| 4503 | { |
| 4504 | MethodName: "GetImages", |
| 4505 | Handler: _VolthaService_GetImages_Handler, |
| 4506 | }, |
| 4507 | { |
| 4508 | MethodName: "SelfTest", |
| 4509 | Handler: _VolthaService_SelfTest_Handler, |
| 4510 | }, |
| 4511 | { |
| 4512 | MethodName: "GetMibDeviceData", |
| 4513 | Handler: _VolthaService_GetMibDeviceData_Handler, |
| 4514 | }, |
| 4515 | { |
| 4516 | MethodName: "GetAlarmDeviceData", |
| 4517 | Handler: _VolthaService_GetAlarmDeviceData_Handler, |
| 4518 | }, |
| 4519 | { |
| 4520 | MethodName: "SimulateAlarm", |
| 4521 | Handler: _VolthaService_SimulateAlarm_Handler, |
| 4522 | }, |
| 4523 | { |
| 4524 | MethodName: "Subscribe", |
| 4525 | Handler: _VolthaService_Subscribe_Handler, |
| 4526 | }, |
| 4527 | { |
| 4528 | MethodName: "EnablePort", |
| 4529 | Handler: _VolthaService_EnablePort_Handler, |
| 4530 | }, |
| 4531 | { |
| 4532 | MethodName: "DisablePort", |
| 4533 | Handler: _VolthaService_DisablePort_Handler, |
| 4534 | }, |
| 4535 | { |
| 4536 | MethodName: "GetExtValue", |
| 4537 | Handler: _VolthaService_GetExtValue_Handler, |
| 4538 | }, |
| 4539 | { |
| 4540 | MethodName: "StartOmciTestAction", |
| 4541 | Handler: _VolthaService_StartOmciTestAction_Handler, |
| 4542 | }, |
| 4543 | }, |
| 4544 | Streams: []grpc.StreamDesc{ |
| 4545 | { |
| 4546 | StreamName: "StreamPacketsOut", |
| 4547 | Handler: _VolthaService_StreamPacketsOut_Handler, |
| 4548 | ClientStreams: true, |
| 4549 | }, |
| 4550 | { |
| 4551 | StreamName: "ReceivePacketsIn", |
| 4552 | Handler: _VolthaService_ReceivePacketsIn_Handler, |
| 4553 | ServerStreams: true, |
| 4554 | }, |
| 4555 | { |
| 4556 | StreamName: "ReceiveChangeEvents", |
| 4557 | Handler: _VolthaService_ReceiveChangeEvents_Handler, |
| 4558 | ServerStreams: true, |
| 4559 | }, |
| 4560 | }, |
| 4561 | Metadata: "voltha_protos/voltha.proto", |
| 4562 | } |