diff options
author | Jan Srnicek <jsrnicek@cisco.com> | 2017-01-12 10:46:28 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-01-13 09:32:31 +0000 |
commit | 376fb276f70629cfe0256dcebf3a0c9b09edf0b5 (patch) | |
tree | f1faf422af02d51b40ea1001ed4bd83b1aa6e7be /routing/routing-impl/src/test/resources/ipv4/multihop/multiHopRouteWithoutClassifier.json | |
parent | 1414c6e9729beef6d9ca742f71cc5bffc4aa9912 (diff) |
HONEYCOMB-325 - Null pointer while routing attr not defined
Fixes multiple null pointers
Change-Id: Iaa1df9a8b0a886d1835fe7cb87bcf7cf5130c6f5
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'routing/routing-impl/src/test/resources/ipv4/multihop/multiHopRouteWithoutClassifier.json')
-rw-r--r-- | routing/routing-impl/src/test/resources/ipv4/multihop/multiHopRouteWithoutClassifier.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/routing/routing-impl/src/test/resources/ipv4/multihop/multiHopRouteWithoutClassifier.json b/routing/routing-impl/src/test/resources/ipv4/multihop/multiHopRouteWithoutClassifier.json new file mode 100644 index 000000000..d4d4a0693 --- /dev/null +++ b/routing/routing-impl/src/test/resources/ipv4/multihop/multiHopRouteWithoutClassifier.json @@ -0,0 +1,30 @@ +{ + "static-routes": { + "ipv4": { + "route": [ + { + "id": 1, + "destination-prefix": "192.168.2.1/24", + "vpp-ipv4-route": { + }, + "next-hop-list": { + "next-hop": [ + { + "id": "1", + "address": "192.168.2.1", + "outgoing-interface": "iface", + "weight": "2" + }, + { + "id": "2", + "address": "192.168.2.2", + "outgoing-interface": "iface", + "weight": "3" + } + ] + } + } + ] + } + } +}
\ No newline at end of file |