summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/main
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-12-08 14:34:50 +0100
committerMarek Gradzki <mgradzki@cisco.com>2016-12-09 08:21:25 +0100
commit486cef9607ec67105f62275799a9f50bae4b9b96 (patch)
tree967a8107d4140a24bc5b7752ebad1e67301d5e61 /v3po/v3po2vpp/src/main
parenteee2b296b00cef593155474def5a142e71c96e4f (diff)
Update classify delete table handling after VPP-206
In case of low-level classfier model, single table is removed. No change in case of ietf-acl model: whole chain of tables is removed. Change-Id: I94ca5d3ecaf04efc35b67fb5f878cbffc0c100cc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src/main')
-rw-r--r--v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/acl/common/AbstractIetfAclWriter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/acl/common/AbstractIetfAclWriter.java b/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/acl/common/AbstractIetfAclWriter.java
index fb8d85bdf..fff93eda4 100644
--- a/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/acl/common/AbstractIetfAclWriter.java
+++ b/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/interfaces/acl/common/AbstractIetfAclWriter.java
@@ -108,6 +108,7 @@ public abstract class AbstractIetfAclWriter implements IetfAclWriter, JvppReplyC
return; // classify table id is absent
}
final ClassifyAddDelTable request = new ClassifyAddDelTable();
+ request.delChain = 1;
request.tableIndex = tableIndex;
final CompletionStage<ClassifyAddDelTableReply> cs = jvpp.classifyAddDelTable(request);
getReplyForDelete(cs.toCompletableFuture(), id);