diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-08-23 14:18:51 +0200 |
---|---|---|
committer | Jan Srnicek <jsrnicek@cisco.com> | 2017-08-24 15:08:00 +0200 |
commit | 36ed0b50449248a3276ebf149dd5c8105e0ba3fc (patch) | |
tree | a38e80b0f7743928e694db0d0747d65179878a6d /vpp-integration/api-docs/scripts/src/main/java | |
parent | 31996a6707d75a5f87f7d8c89f563af74e32fe70 (diff) |
HC2VPP-222: adapt hc2vpp to snat->nat plugin rename in vpp
Change-Id: If4c7f2f1fc52f1ee64ed95900a362063207def27
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp-integration/api-docs/scripts/src/main/java')
-rw-r--r-- | vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockNatModule.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockNatModule.java b/vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockNatModule.java index d74f7f2b9..4f0a0fc87 100644 --- a/vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockNatModule.java +++ b/vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockNatModule.java @@ -22,7 +22,7 @@ import com.google.inject.Provider; import io.fd.hc2vpp.nat.NatModule; import io.fd.vpp.jvpp.JVpp; import io.fd.vpp.jvpp.JVppRegistry; -import io.fd.vpp.jvpp.snat.future.FutureJVppSnatFacade; +import io.fd.vpp.jvpp.nat.future.FutureJVppNatFacade; import java.io.IOException; /** @@ -31,15 +31,15 @@ import java.io.IOException; public class MockNatModule extends NatModule { public MockNatModule() { - super(MockJVppSnatProvider.class); + super(MockJVppNatProvider.class); } - private static class MockJVppSnatProvider implements Provider<FutureJVppSnatFacade> { + private static class MockJVppNatProvider implements Provider<FutureJVppNatFacade> { @Override - public FutureJVppSnatFacade get() { + public FutureJVppNatFacade get() { try { - return new FutureJVppSnatFacade(noOpProxy(JVppRegistry.class), noOpProxy(JVpp.class)); + return new FutureJVppNatFacade(noOpProxy(JVppRegistry.class), noOpProxy(JVpp.class)); } catch (IOException e) { throw new IllegalStateException(e); } |