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