From 20529403b5f257298670f839ad630fbf0c215a7d Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Mon, 9 Jul 2018 13:59:31 +0200 Subject: Fix binding name for route In specific case when route uses 128 mask and this value is converted to byte value it is changed to -128, which breaks internal naming of routes. This needed to be fixed because routes with 128 mask are not being read from VPP to operational state. Change-Id: Ic3b6ded721e7996587982b6a2b3bc8c9ebe03b43 Signed-off-by: Michal Cmarada --- .../resources/ipv6/simplehop/simpleHopRoute128.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRoute128.json (limited to 'routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRoute128.json') diff --git a/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRoute128.json b/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRoute128.json new file mode 100644 index 000000000..2e7510607 --- /dev/null +++ b/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRoute128.json @@ -0,0 +1,18 @@ +{ + "static-routes": { + "ipv6": { + "route": [ + { + "destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0001/128", + "next-hop": { + "next-hop-address" : "2001:0db8:0a0b:12f0:0000:0000:0000:0002", + "outgoing-interface": "iface" + }, + "vpp-ipv6-route" : { + "classify-table": "classify-table-one" + } + } + ] + } + } +} -- cgit 1.2.3-korg