blob: b5d4743d4d9456df44b3f602b6bbaf156f1936b7 [file] [log] [blame]
Ayaka Koshibe5460d622015-05-14 12:19:19 -07001package org.onosproject.openflow.controller;
2
3/**
4 * Port description property types (OFPPDPT enums) in OF 1.3 <.
5 */
6public enum PortDescPropertyType {
7 ETHERNET(0), /* Ethernet port */
8 OPTICAL(1), /* Optical port */
9 OPTICAL_TRANSPORT(2), /* OF1.3 Optical transport extension */
10 PIPELINE_INPUT(2), /* Ingress pipeline */
11 PIPELINE_OUTPUT(3), /* Egress pipeline */
12 RECIRCULATE(4), /* Recirculation */
13 EXPERIMENTER(0xffff); /* Experimenter-implemented */
14
15 private final int value;
16
17 PortDescPropertyType(int v) {
18 value = v;
19 }
20
21 public int valueOf() {
22 return value;
23 }
24}