commit | bdc8746907f2849cee7775c4495547459e7552fd | [log] [tgz] |
---|---|---|
author | Jonathan Hart <jono@onlab.us> | Tue Sep 24 15:03:23 2013 +1200 |
committer | Jonathan Hart <jono@onlab.us> | Tue Sep 24 15:03:23 2013 +1200 |
tree | 7d19ad034e0930cdd3ab7ca2240388bf90c71b2a | |
parent | 4aa2b4ec6b32973662c094b2887f38b5ab571921 [diff] |
Added a priority for the L2 forwarding flows so they're higher than the default drop flow
diff --git a/src/main/java/net/onrc/onos/ofcontroller/bgproute/BgpRoute.java b/src/main/java/net/onrc/onos/ofcontroller/bgproute/BgpRoute.java index d918db3..960d001 100644 --- a/src/main/java/net/onrc/onos/ofcontroller/bgproute/BgpRoute.java +++ b/src/main/java/net/onrc/onos/ofcontroller/bgproute/BgpRoute.java
@@ -762,6 +762,7 @@ .setBufferId(OFPacketOut.BUFFER_ID_NONE) .setCookie(L2_FWD_COOKIE) .setCommand(OFFlowMod.OFPFC_ADD) + .setPriority(SDNIP_PRIORITY) .setActions(actions) .setLengthU(OFFlowMod.MINIMUM_LENGTH+OFActionOutput.MINIMUM_LENGTH);