commit | 06aac70fd22934f98c8bdace3030c953ae5d31f6 | [log] [tgz] |
---|---|---|
author | Daniele Moro <daniele@opennetworking.org> | Mon Jul 19 22:39:22 2021 +0200 |
committer | Daniele Moro <daniele@opennetworking.org> | Fri Aug 06 15:01:17 2021 +0000 |
tree | f4e6840789daecb86fe048a192da2791e75d6be8 | |
parent | 43ac289464d0a894462a38319482841f3ba4f135 [diff] [blame] |
[SDFAB-359] Purge all objective for a given application ID Change-Id: I51847b0be890deacec5caddc18d52bcd2993959a (cherry picked from commit 607fd0b70e4553226d0937d36de9cde655f2eb62)
diff --git a/drivers/default/src/main/java/org/onosproject/driver/pipeline/PicaPipeline.java b/drivers/default/src/main/java/org/onosproject/driver/pipeline/PicaPipeline.java index ef79ee3..57ef6ea 100644 --- a/drivers/default/src/main/java/org/onosproject/driver/pipeline/PicaPipeline.java +++ b/drivers/default/src/main/java/org/onosproject/driver/pipeline/PicaPipeline.java
@@ -216,6 +216,11 @@ } + @Override + public void purgeAll(ApplicationId appId) { + flowRuleService.purgeFlowRules(deviceId, appId); + } + private Collection<FlowRule> processForward(ForwardingObjective fwd) { switch (fwd.flag()) { case SPECIFIC: