summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/impl/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-classifier/impl/src/main/java')
-rw-r--r--vpp-classifier/impl/src/main/java/io/fd/hc2vpp/policer/read/PolicerCustomizer.java1
-rw-r--r--vpp-classifier/impl/src/main/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriter.java5
2 files changed, 4 insertions, 2 deletions
diff --git a/vpp-classifier/impl/src/main/java/io/fd/hc2vpp/policer/read/PolicerCustomizer.java b/vpp-classifier/impl/src/main/java/io/fd/hc2vpp/policer/read/PolicerCustomizer.java
index 9d4c40f50..faf34678b 100644
--- a/vpp-classifier/impl/src/main/java/io/fd/hc2vpp/policer/read/PolicerCustomizer.java
+++ b/vpp-classifier/impl/src/main/java/io/fd/hc2vpp/policer/read/PolicerCustomizer.java
@@ -122,7 +122,6 @@ final class PolicerCustomizer extends FutureJVppCustomizer
builder.setName(toString(details.name));
builder.setCir(UnsignedInts.toLong(details.cir));
builder.setEir(UnsignedInts.toLong(details.eir));
- // TODO(HC2VPP-117): policer init fails if cb is configured (looks like byte ordering issue on VPP side)
builder.setCb(toUnsignedBigInteger(details.cb));
builder.setEb(toUnsignedBigInteger(details.eb));
builder.setRateType(PolicerRateType.forValue(details.rateType));
diff --git a/vpp-classifier/impl/src/main/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriter.java b/vpp-classifier/impl/src/main/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriter.java
index a88620b35..cfa2ae068 100644
--- a/vpp-classifier/impl/src/main/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriter.java
+++ b/vpp-classifier/impl/src/main/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriter.java
@@ -79,7 +79,10 @@ public class ClassifyTableWriter extends VppNodeWriter
public void updateCurrentAttributes(@Nonnull final InstanceIdentifier<ClassifyTable> id,
@Nonnull final ClassifyTable dataBefore, @Nonnull final ClassifyTable dataAfter,
@Nonnull final WriteContext writeContext) throws WriteFailedException {
- throw new UnsupportedOperationException("Classify table update is not supported");
+ // TODO(HC2VPP-10): memory_size is not part of classify table dump, so initialization triggers update,
+ // uncomment after VPP-208 is fixed
+ // throw new UnsupportedOperationException("Classify table update is not supported");
+ LOG.error("Classify table update is not supported, ignoring config");
}
@Override