From 4befd4ce4c0c7fc404e5100f4b52db4b3e441614 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Wed, 5 Oct 2016 15:03:33 +0200 Subject: HONEYCOMB-229 Introduce NAT to HC Reflects SNAT from VPP: - 1:1 Static IPv4 mapping - interface in/out NAT feature management Bonus: - Support presence containers in infra Change-Id: Ieb38526f83edbae5e605d5c7e39bb22bbafc50e5 Signed-off-by: Maros Marsalek --- vpp-common/vpp-impl-parent/pom.xml | 5 +++++ .../main/java/io/fd/honeycomb/translate/vpp/util/Ipv4Translator.java | 2 +- .../main/java/io/fd/honeycomb/translate/vpp/util/NamingContext.java | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'vpp-common') diff --git a/vpp-common/vpp-impl-parent/pom.xml b/vpp-common/vpp-impl-parent/pom.xml index 43e038ce9..83be57ba8 100644 --- a/vpp-common/vpp-impl-parent/pom.xml +++ b/vpp-common/vpp-impl-parent/pom.xml @@ -46,6 +46,11 @@ jvpp-registry ${jvpp.version} + + io.fd.honeycomb.vpp + vpp-translate-utils + ${project.version} + diff --git a/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/vpp/util/Ipv4Translator.java b/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/vpp/util/Ipv4Translator.java index 56aa4f149..ff737d4ab 100644 --- a/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/vpp/util/Ipv4Translator.java +++ b/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/vpp/util/Ipv4Translator.java @@ -26,7 +26,7 @@ import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types. import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix; /** - * Trait providing logic for translation of ipv4-related data + * Trait providing logic for translation of ipv4-related data. */ public interface Ipv4Translator extends ByteDataTranslator { diff --git a/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/vpp/util/NamingContext.java b/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/vpp/util/NamingContext.java index aecd6efef..467ac5161 100644 --- a/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/vpp/util/NamingContext.java +++ b/vpp-common/vpp-translate-utils/src/main/java/io/fd/honeycomb/translate/vpp/util/NamingContext.java @@ -35,7 +35,7 @@ import org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier; /** * Utility adapter on top of {@link MappingContext} storing integer to string mappings according to naming-context yang - * model + * model. */ public final class NamingContext implements AutoCloseable { -- cgit 1.2.3-korg