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