commit | 413fbe86d10a85f037fac739bb64d8d1e7b2834c | [log] [tgz] |
---|---|---|
author | Priyanka B <priyanka.b@huawei.com> | Thu May 26 11:44:45 2016 +0530 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu May 26 06:36:02 2016 +0000 |
tree | a7eca22701dfe9d091b46c94a8717a70853d366b | |
parent | 0d43bb522277c342af2f3315c5d539762659c8b0 [diff] [blame] |
[ONOS-4167] Identify the impacted tunnels based on network events, notify to PCE app and trigger MBB flow. Change-Id: I1766f4afbc0ee2f4c05c75cf788c91f9df8aaa9a
diff --git a/protocols/pcep/api/src/main/java/org/onosproject/pcep/controller/PcepClient.java b/protocols/pcep/api/src/main/java/org/onosproject/pcep/controller/PcepClient.java index 6ab804c..297d71e 100644 --- a/protocols/pcep/api/src/main/java/org/onosproject/pcep/controller/PcepClient.java +++ b/protocols/pcep/api/src/main/java/org/onosproject/pcep/controller/PcepClient.java
@@ -149,4 +149,20 @@ * @param pccId PCEP client ID */ void deleteNode(PccId pccId); + + /** + * Sets D flag for the given LSP and its LSP info. + * + * @param lspKey contains LSP info + * @param dFlag delegation flag in LSP object + */ + void setLspAndDelegationInfo(LspKey lspKey, boolean dFlag); + + /** + * Returns delegation flag for the given LSP info. + * + * @param lspKey contains LSP info + * @return delegation flag + */ + Boolean delegationInfo(LspKey lspKey); }