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