tom | 8bb1606 | 2014-09-12 14:47:46 -0700 | [diff] [blame^] | 1 | package org.onlab.onos.net.flow; |
| 2 | |
| 3 | /** |
| 4 | * Factory class to create various traffic selection criteria. |
| 5 | */ |
| 6 | public final class Criteria { |
| 7 | |
| 8 | // Ban construction |
| 9 | private Criteria() { |
| 10 | } |
| 11 | |
| 12 | /** |
| 13 | * Creates a match on ETH_SRC field using the specified value. This value |
| 14 | * may be a wildcard mask. |
| 15 | * |
| 16 | * @param macValue MAC address value or wildcard mask |
| 17 | * @return match criterion |
| 18 | */ |
| 19 | public static Criterion matchEthSrc(MACValue macValue) { |
| 20 | return null; |
| 21 | } |
| 22 | |
| 23 | // Dummy to illustrate the concept for now; delete ASAP |
| 24 | private static class MACValue { } |
| 25 | } |