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