summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl/src/test/resources/ipv4/simplehop
diff options
context:
space:
mode:
Diffstat (limited to 'routing/routing-impl/src/test/resources/ipv4/simplehop')
-rw-r--r--routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteNoRouteAttrs.json7
-rw-r--r--routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithClassifier.json11
-rw-r--r--routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithoutClassifier.json9
3 files changed, 15 insertions, 12 deletions
diff --git a/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteNoRouteAttrs.json b/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteNoRouteAttrs.json
index d987bb6b1..b28ff6e9b 100644
--- a/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteNoRouteAttrs.json
+++ b/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteNoRouteAttrs.json
@@ -3,10 +3,11 @@
"ipv4": {
"route": [
{
- "id": 1,
"destination-prefix": "192.168.2.1/24",
- "next-hop": "192.168.2.2",
- "outgoing-interface": "iface"
+ "next-hop": {
+ "next-hop-address" : "192.168.2.2",
+ "outgoing-interface": "iface"
+ }
}
]
}
diff --git a/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithClassifier.json b/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithClassifier.json
index d00d9a06a..369ddd828 100644
--- a/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithClassifier.json
+++ b/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithClassifier.json
@@ -3,13 +3,14 @@
"ipv4": {
"route": [
{
- "id": 1,
"destination-prefix": "192.168.2.1/24",
- "vpp-ipv4-route": {
- "classify-table": "classify-table-one"
+ "next-hop": {
+ "next-hop-address" : "192.168.2.2",
+ "outgoing-interface": "iface"
},
- "next-hop": "192.168.2.2",
- "outgoing-interface": "iface"
+ "vpp-ipv4-route" : {
+ "classify-table": "classify-table-one"
+ }
}
]
}
diff --git a/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithoutClassifier.json b/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithoutClassifier.json
index 0ef7cf765..9080943c8 100644
--- a/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithoutClassifier.json
+++ b/routing/routing-impl/src/test/resources/ipv4/simplehop/simpleHopRouteWithoutClassifier.json
@@ -3,12 +3,13 @@
"ipv4": {
"route": [
{
- "id": 1,
"destination-prefix": "192.168.2.1/24",
- "vpp-ipv4-route": {
+ "next-hop": {
+ "next-hop-address" : "192.168.2.2",
+ "outgoing-interface": "iface"
},
- "next-hop": "192.168.2.2",
- "outgoing-interface": "iface"
+ "vpp-v4ur:vpp-ipv4-route": {
+ }
}
]
}