blob: 959579794c623d1b7f23c99a2b8e7716a41e507a [file] [log] [blame]
tom8bb16062014-09-12 14:47:46 -07001package org.onlab.onos.net.flow;
2
3/**
4 * Factory class to create various traffic selection criteria.
5 */
6public 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}