From 765cb29e4c12c48fca6326c434b985e655bafc1a Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Thu, 12 Jan 2017 10:46:28 +0100 Subject: HONEYCOMB-325 - Null pointer while routing attr not defined Fixes multiple null pointers Change-Id: Iaa1df9a8b0a886d1835fe7cb87bcf7cf5130c6f5 Signed-off-by: Jan Srnicek --- .../multihop/multiHopRouteWithoutClassifier.json | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutClassifier.json (limited to 'routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutClassifier.json') diff --git a/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutClassifier.json b/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutClassifier.json new file mode 100644 index 000000000..2e44ebcf5 --- /dev/null +++ b/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutClassifier.json @@ -0,0 +1,30 @@ +{ + "static-routes": { + "ipv6": { + "route": [ + { + "id": 1, + "destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0001/64", + "vpp-ipv6-route": { + }, + "next-hop-list": { + "next-hop": [ + { + "id": "1", + "address": "2001:0db8:0a0b:12f0:0000:0000:0000:0002", + "outgoing-interface": "iface", + "weight": "2" + }, + { + "id": "2", + "address": "2001:0db8:0a0b:12f0:0000:0000:0000:0002", + "outgoing-interface": "iface", + "weight": "2" + } + ] + } + } + ] + } + } +} \ No newline at end of file -- cgit 1.2.3-korg