blob: ab679180d580738cab971d1a7925d816decf3460 [file] [log] [blame]
Jian Li0967cd72015-11-25 17:38:48 -08001/*
2 * Copyright 2015 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.cpman;
17
18/**
19 * A set of metric type used in control plane.
20 */
21public enum ControlMetricType {
22
Jian Li60804322015-12-02 14:46:31 -080023 /** Mapped to PACKET-IN message of OpenFlow. */
24 INBOUND_PACKET,
Jian Li0967cd72015-11-25 17:38:48 -080025
Jian Li60804322015-12-02 14:46:31 -080026 /** Mapped to PACKET-OUT message of OpenFlow. */
27 OUTBOUND_PACKET,
28
29 /** Mapped to FLOW-MOD message of OpenFlow. */
30 FLOW_MOD_PACKET,
31
32 /** Mapped to FLOW-REMOVED message of OpenFlow. */
33 FLOW_REMOVED_PACKET,
34
35 /** Mapped to STATS-REQUEST message of OpenFlow. */
36 REQUEST_PACKET,
37
38 /** Mapped to STATS-REPLY message of OpenFlow. */
39 REPLY_PACKET,
Jian Li0967cd72015-11-25 17:38:48 -080040
41 /** Cpu Utilization. */
Jian Li60804322015-12-02 14:46:31 -080042 CPU_INFO,
Jian Li0967cd72015-11-25 17:38:48 -080043
44 /** Memory Utilization. */
Jian Li60804322015-12-02 14:46:31 -080045 MEMORY_INFO
Jian Li0967cd72015-11-25 17:38:48 -080046}