summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/test
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-03-23 14:11:54 +0100
committerJan Srnicek <jsrnicek@cisco.com>2017-03-23 14:11:54 +0100
commit66f5caa2704503335cbce2a42bad3d99bd205f88 (patch)
treea80557d67b0a2deb3a71aeefdd680b7866cc5eae /lisp/lisp2vpp/src/test
parentd474f0648427615a70c81f40d4bfdd2ec8c76b74 (diff)
HC2VPP-58 - Reduced unnecessary dump
By internal behaviour change in vpp, its now to possible to distinguish between negative/positive mapping Change-Id: I13981bdc2d5fc6d660874587679aaf076f0c6a86 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'lisp/lisp2vpp/src/test')
-rw-r--r--lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/RemoteMappingCustomizerTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/RemoteMappingCustomizerTest.java b/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/RemoteMappingCustomizerTest.java
index a3b344584..e00ab5095 100644
--- a/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/RemoteMappingCustomizerTest.java
+++ b/lisp/lisp2vpp/src/test/java/io/fd/hc2vpp/lisp/translate/read/RemoteMappingCustomizerTest.java
@@ -23,12 +23,12 @@ import static org.mockito.Matchers.any;
import static org.mockito.Mockito.when;
import com.google.common.collect.ImmutableList;
+import io.fd.hc2vpp.common.test.read.ListReaderCustomizerTest;
+import io.fd.hc2vpp.common.translate.util.NamingContext;
import io.fd.hc2vpp.lisp.context.util.EidMappingContext;
import io.fd.hc2vpp.lisp.translate.util.EidTranslator;
import io.fd.honeycomb.translate.MappingContext;
import io.fd.honeycomb.translate.spi.read.ReaderCustomizer;
-import io.fd.hc2vpp.common.translate.util.NamingContext;
-import io.fd.hc2vpp.common.test.read.ListReaderCustomizerTest;
import io.fd.vpp.jvpp.core.dto.LispEidTableDetails;
import io.fd.vpp.jvpp.core.dto.LispEidTableDetailsReplyDump;
import io.fd.vpp.jvpp.core.dto.LispLocatorDetails;
@@ -97,7 +97,7 @@ public class RemoteMappingCustomizerTest
detail.eid = new byte[]{-64, -88, 2, 1};
detail.eidPrefixLen = 32;
detail.isLocal = 0;
- detail.locatorSetIndex = 1;
+ detail.locatorSetIndex = -1;
detail.ttl = 7;
detail.vni = 12;
@@ -119,7 +119,7 @@ public class RemoteMappingCustomizerTest
detail.eid = new byte[]{-64, -88, 2, 1};
detail.eidPrefixLen = 32;
detail.isLocal = 0;
- detail.locatorSetIndex = 1;
+ detail.locatorSetIndex = -1 ;
detail.ttl = 7;
detail.vni = 12;