blob: 13114c384e66493a00ae07915febac18e223995f [file] [log] [blame]
tom8bb16062014-09-12 14:47:46 -07001package org.onlab.onos.net.flow;
2
3import org.onlab.onos.net.PortNumber;
4
5/**
6 * Factory class for creating various traffic treatment instructions.
7 */
8public final class Instructions {
9
10 // Ban construction
11 private Instructions() {
12 }
13
14 /**
15 * Creates an output instruction using the specified port number. This can
16 * include logical ports such as CONTROLLER, FLOOD, etc.
17 *
18 * @param number port number
19 * @return output instruction
20 */
21 public static Instruction createOutput(PortNumber number) {
22 return null;
23 }
24
25 // TODO: add create methods
26
27}