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