summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-12-11 09:02:02 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-12-11 10:10:38 +0100
commit9e45c74fc1430342f84e5d63e842c7a093063613 (patch)
treee6dc2c63e621e4c68b7c52adbdadeb89e21cbefb /routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
parent1d3af1a3e8f1e51be846190a259cb03c60f7de3c (diff)
Do not use createVrfIfNeeded of IpAddDelRoute
It was not used by VPP, recently removed by: https://gerrit.fd.io/r/#/c/9771/ Change-Id: Ic838e4daf95a98d675b3f0fda6e5fad242eb5bbd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java')
-rw-r--r--routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java b/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
index dd6ba37d2..6ca6bdd8b 100644
--- a/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
+++ b/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
@@ -55,14 +55,13 @@ public interface RoutingRequestTestHelper extends ByteDataTranslator, FutureProd
final int nextHopIndex,
final int nextHopWeight,
final int vrfId,
- final int createVrfIfNeeded,
final int secondaryVrfId,
final int classifyTableIndex,
final int classifyTableIndexSet) {
// verification of flagless request, so setting them to 0
return desiredResult(add, ipv6, isMultipath, destinationAddress, destinationPrefixLength, nextHopAddr,
- nextHopIndex, nextHopWeight, vrfId, createVrfIfNeeded, secondaryVrfId, classifyTableIndex,
+ nextHopIndex, nextHopWeight, vrfId, secondaryVrfId, classifyTableIndex,
classifyTableIndexSet, 0, 0, 0, 0);
}
@@ -76,7 +75,7 @@ public interface RoutingRequestTestHelper extends ByteDataTranslator, FutureProd
final int protocolTableId,
final int secondaryTableId) {
// verifiaction of special request that has only destination address and flag
- return desiredResult(add, ipv6, 0, destinationAddress, destinationPrefixLength, null, 0, 0, protocolTableId, 1, secondaryTableId, 0, 0,
+ return desiredResult(add, ipv6, 0, destinationAddress, destinationPrefixLength, null, 0, 0, protocolTableId, secondaryTableId, 0, 0,
isDrop, isReceive, isUnreach, isProhibit);
}
@@ -87,7 +86,6 @@ public interface RoutingRequestTestHelper extends ByteDataTranslator, FutureProd
final int nextHopIndex,
final int nextHopWeight,
final int vrfId,
- final int createVrfIfNeeded,
final int secondaryVrfId,
final int classifyTableIndex,
final int classifyTableIndexSet,
@@ -108,7 +106,6 @@ public interface RoutingRequestTestHelper extends ByteDataTranslator, FutureProd
request.classifyTableIndex = classifyTableIndexSet;
request.tableId = vrfId;
request.nextHopTableId = secondaryVrfId;
- request.createVrfIfNeeded = (byte)createVrfIfNeeded;
request.classifyTableIndex = classifyTableIndex;
request.isClassify = (byte)classifyTableIndexSet;
// special hop flags