tom | 8bb1606 | 2014-09-12 14:47:46 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.flow; |
| 2 | |
| 3 | import org.onlab.onos.net.PortNumber; |
| 4 | |
| 5 | /** |
| 6 | * Factory class for creating various traffic treatment instructions. |
| 7 | */ |
| 8 | public 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 | } |