summaryrefslogtreecommitdiffstats
path: root/release-notes/src/main/asciidoc/devel_guide
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-08-15 12:19:24 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-08-15 11:02:16 +0000
commitbe31f4746e6ee61dbe448ce0d49b8236bdbcc6f8 (patch)
tree1ecc887ba96becf5c27f929dca3cab10be029dc3 /release-notes/src/main/asciidoc/devel_guide
parent2a39a0f17d82ecf7c75840d53960c42c6ea2c6ac (diff)
HC2VPP docs update
Change-Id: I43a1c149c881a829de4a6393bdcc0aa3cd5a336e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'release-notes/src/main/asciidoc/devel_guide')
-rw-r--r--release-notes/src/main/asciidoc/devel_guide/devel_plugin_vpp_tutorial.adoc13
1 files changed, 4 insertions, 9 deletions
diff --git a/release-notes/src/main/asciidoc/devel_guide/devel_plugin_vpp_tutorial.adoc b/release-notes/src/main/asciidoc/devel_guide/devel_plugin_vpp_tutorial.adoc
index c55e85ccc..716478788 100644
--- a/release-notes/src/main/asciidoc/devel_guide/devel_plugin_vpp_tutorial.adoc
+++ b/release-notes/src/main/asciidoc/devel_guide/devel_plugin_vpp_tutorial.adoc
@@ -394,15 +394,10 @@ public final class VxlanWriteCustomizer implements ListWriterCustomizer<VxlanTun
vxlanTunnelNamingContext.addName(newVxlanTunnelIndex, dataAfter.getId(), writeContext.getMappingContext());
}
- @Override
- public void updateCurrentAttributes(@Nonnull final InstanceIdentifier<VxlanTunnel> id,
- @Nonnull final VxlanTunnel dataBefore,
- @Nonnull final VxlanTunnel dataAfter, @Nonnull final WriteContext writeContext)
- throws WriteFailedException {
- // Not supported at VPP API level, throw exception
- throw new WriteFailedException.UpdateFailedException(id, dataBefore, dataAfter,
- new UnsupportedOperationException("Vxlan tunnel update is not supported by VPP"));
- }
+ /**
+ * Most VPP apis does not support update, these updates are handled as delete+create pair invocation.
+ * If you want to implement update directly, please @Override method updateCurrentAttributes()
+ */
@Override
public void deleteCurrentAttributes(@Nonnull final InstanceIdentifier<VxlanTunnel> id,