diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-10-31 15:46:41 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-10-31 15:46:41 +0100 |
commit | b10781b9ba682beaf23aa5d6183afa222aa93206 (patch) | |
tree | c96add7ec9184a4ace5d49360e481e94c0afa8e1 /v3po/v3po2vpp/src/test/java/io/fd | |
parent | 51d5709128535d4da018f6ed7570877de6d6f405 (diff) |
Add support for ipv6 vrf
Change-Id: I3372d4156a19157ca431cb29c23de33161f6cfc0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src/test/java/io/fd')
-rw-r--r-- | v3po/v3po2vpp/src/test/java/io/fd/honeycomb/translate/v3po/interfaces/RoutingCustomizerTest.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/v3po/v3po2vpp/src/test/java/io/fd/honeycomb/translate/v3po/interfaces/RoutingCustomizerTest.java b/v3po/v3po2vpp/src/test/java/io/fd/honeycomb/translate/v3po/interfaces/RoutingCustomizerTest.java index 0fbe7e83c..a6a0b48f0 100644 --- a/v3po/v3po2vpp/src/test/java/io/fd/honeycomb/translate/v3po/interfaces/RoutingCustomizerTest.java +++ b/v3po/v3po2vpp/src/test/java/io/fd/honeycomb/translate/v3po/interfaces/RoutingCustomizerTest.java @@ -18,7 +18,6 @@ package io.fd.honeycomb.translate.v3po.interfaces; import static org.mockito.Matchers.any; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.verifyZeroInteractions; import static org.mockito.Mockito.when; import io.fd.honeycomb.translate.vpp.util.NamingContext; @@ -65,13 +64,6 @@ public class RoutingCustomizerTest extends WriterCustomizerTest { customizer.writeCurrentAttributes(IID, routing(213), writeContext); } - @Test - public void testUpdate() throws WriteFailedException { - when(api.swInterfaceSetTable(any())).thenReturn(future(new SwInterfaceSetTableReply())); - customizer.updateCurrentAttributes(IID, routing(123L), null, writeContext); - verifyZeroInteractions(api); - } - @Test(expected = WriteFailedException.class) public void testUpdateFailed() throws WriteFailedException { when(api.swInterfaceSetTable(any())).thenReturn(failedFuture()); @@ -92,7 +84,7 @@ public class RoutingCustomizerTest extends WriterCustomizerTest { } private Routing routing(final long vrfId) { - return new RoutingBuilder().setVrfId(vrfId).build(); + return new RoutingBuilder().setIpv4VrfId(vrfId).build(); } private SwInterfaceSetTable expectedRequest(final int vrfId) { |