commit | 70d53ba51005efc3f6c6a304927c9e7a8281582a | [log] [tgz] |
---|---|---|
author | Pier Ventre <pierventre@hotmail.com> | Thu Nov 17 22:26:29 2016 -0800 |
committer | Ray Milkey <ray@onlab.us> | Fri Feb 10 18:03:33 2017 +0000 |
tree | 62c5e550996d48f6cef2a5c64be8b9963b2bc9b1 | |
parent | 42287df6677a123290e326aa397431dee5148224 [diff] [blame] |
Implements [CORD-587] and [CORD-588] Changes: - Add termination in SR app; - Add termination in the drivers Change-Id: Ia9bb31c2c2e20acab8d6bfe27113f7421a8b83da
diff --git a/drivers/default/src/main/java/org/onosproject/driver/pipeline/Ofdpa2Pipeline.java b/drivers/default/src/main/java/org/onosproject/driver/pipeline/Ofdpa2Pipeline.java index e32f5d5..9da1e27 100644 --- a/drivers/default/src/main/java/org/onosproject/driver/pipeline/Ofdpa2Pipeline.java +++ b/drivers/default/src/main/java/org/onosproject/driver/pipeline/Ofdpa2Pipeline.java
@@ -129,6 +129,11 @@ protected static final int MPLS_TUNNEL_ID_BASE = 0x10000; protected static final int MPLS_TUNNEL_ID_MAX = 0x1FFFF; + protected static final int MPLS_UNI_PORT_MAX = 0x0000FFFF; + + protected static final int MPLS_NNI_PORT_BASE = 0x00020000; + protected static final int MPLS_NNI_PORT_MAX = 0x0002FFFF; + private final Logger log = getLogger(getClass()); protected ServiceDirectory serviceDirectory; protected FlowRuleService flowRuleService;