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