blob: 82e414d9e5f91b082b167206ab7fcc394df27bec [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 * Abstracted Control Message Type.
20 */
21public enum ControlMessageType {
22
23 /** Mapped to PACKET-IN message of OpenFlow. */
24 INBOUND_PACKET,
25
26 /** 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,
40
41 /** All message types. */
42 ALL
43}