diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-04-29 13:13:08 +0200 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-04-30 08:32:51 +0200 |
commit | c15641564484bfb16a5fabff3a281d7a6b21861e (patch) | |
tree | e5f615821e926c846645002490a5ebe27c399027 /routing/routing-impl/src/test/resources/ipv6 | |
parent | 7235eeb213a5b4b3ce980b2629e429b7becc4097 (diff) |
add routing Table lookup tests
Change-Id: I306e0ee2ed7d5d1983ea4a62728ef663cbaef706
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'routing/routing-impl/src/test/resources/ipv6')
3 files changed, 48 insertions, 0 deletions
diff --git a/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithClassifier.json b/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithClassifier.json new file mode 100644 index 000000000..7c7ed29ec --- /dev/null +++ b/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithClassifier.json @@ -0,0 +1,17 @@ +{ + "static-routes": { + "ipv6": { + "route": [ + { + "destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0001/64", + "next-hop": { + "secondary-vrf": 0 + }, + "vpp-ipv6-route" : { + "classify-table": "classify-table-one" + } + } + ] + } + } +} diff --git a/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithClassifier2.json b/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithClassifier2.json new file mode 100644 index 000000000..0f4cf9caa --- /dev/null +++ b/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithClassifier2.json @@ -0,0 +1,17 @@ +{ + "static-routes": { + "ipv6": { + "route": [ + { + "destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0001/64", + "next-hop": { + "secondary-vrf": 0 + }, + "vpp-ipv6-route" : { + "classify-table": "classify-table-0" + } + } + ] + } + } +} diff --git a/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithoutClassifier.json b/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithoutClassifier.json new file mode 100644 index 000000000..58ef99c3a --- /dev/null +++ b/routing/routing-impl/src/test/resources/ipv6/tablehop/tableHopRouteWithoutClassifier.json @@ -0,0 +1,14 @@ +{ + "static-routes": { + "ipv6": { + "route": [ + { + "destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0001/64", + "next-hop": { + "secondary-vrf": 0 + } + } + ] + } + } +} |