summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl/src/test/resources/ipv6
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-01-12 10:46:28 +0100
committerJan Srnicek <jsrnicek@cisco.com>2017-01-12 14:07:40 +0000
commit765cb29e4c12c48fca6326c434b985e655bafc1a (patch)
treea30c03a4530826ae82e7fdfd73f1d45c117026b8 /routing/routing-impl/src/test/resources/ipv6
parent7cf98fe610c2912873bdf5fe5fea353adb9d2cbf (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/ipv6')
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithClassifier.json (renamed from routing/routing-impl/src/test/resources/ipv6/multiHopRouteWithClassifier.json)0
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutClassifier.json (renamed from routing/routing-impl/src/test/resources/ipv6/multiHopRouteWithoutClassifier.json)0
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutRouteAttrs.json28
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithClassifier.json (renamed from routing/routing-impl/src/test/resources/ipv6/simpleHopRouteWithClassifier.json)0
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithoutClassifier.json (renamed from routing/routing-impl/src/test/resources/ipv6/simpleHopRouteWithoutClassifier.json)0
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithoutRouteAttrs.json14
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteBlackhole.json (renamed from routing/routing-impl/src/test/resources/ipv6/specialHopRouteBlackhole.json)0
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteProhibited.json (renamed from routing/routing-impl/src/test/resources/ipv6/specialHopRouteProhibited.json)0
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteReceive.json (renamed from routing/routing-impl/src/test/resources/ipv6/specialHopRouteReceive.json)0
-rw-r--r--routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteUnreachable.json (renamed from routing/routing-impl/src/test/resources/ipv6/specialHopRouteUnreachable.json)0
10 files changed, 42 insertions, 0 deletions
diff --git a/routing/routing-impl/src/test/resources/ipv6/multiHopRouteWithClassifier.json b/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithClassifier.json
index c8b1e208e..c8b1e208e 100644
--- a/routing/routing-impl/src/test/resources/ipv6/multiHopRouteWithClassifier.json
+++ b/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithClassifier.json
diff --git a/routing/routing-impl/src/test/resources/ipv6/multiHopRouteWithoutClassifier.json b/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutClassifier.json
index 2e44ebcf5..2e44ebcf5 100644
--- a/routing/routing-impl/src/test/resources/ipv6/multiHopRouteWithoutClassifier.json
+++ b/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutClassifier.json
diff --git a/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutRouteAttrs.json b/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutRouteAttrs.json
new file mode 100644
index 000000000..f85b1b716
--- /dev/null
+++ b/routing/routing-impl/src/test/resources/ipv6/multihop/multiHopRouteWithoutRouteAttrs.json
@@ -0,0 +1,28 @@
+{
+ "static-routes": {
+ "ipv6": {
+ "route": [
+ {
+ "id": 1,
+ "destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0001/64",
+ "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
diff --git a/routing/routing-impl/src/test/resources/ipv6/simpleHopRouteWithClassifier.json b/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithClassifier.json
index c011a8d01..c011a8d01 100644
--- a/routing/routing-impl/src/test/resources/ipv6/simpleHopRouteWithClassifier.json
+++ b/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithClassifier.json
diff --git a/routing/routing-impl/src/test/resources/ipv6/simpleHopRouteWithoutClassifier.json b/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithoutClassifier.json
index 1cb663ca7..1cb663ca7 100644
--- a/routing/routing-impl/src/test/resources/ipv6/simpleHopRouteWithoutClassifier.json
+++ b/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithoutClassifier.json
diff --git a/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithoutRouteAttrs.json b/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithoutRouteAttrs.json
new file mode 100644
index 000000000..a735c193c
--- /dev/null
+++ b/routing/routing-impl/src/test/resources/ipv6/simplehop/simpleHopRouteWithoutRouteAttrs.json
@@ -0,0 +1,14 @@
+{
+ "static-routes": {
+ "ipv6": {
+ "route": [
+ {
+ "id": 1,
+ "destination-prefix": "2001:0db8:0a0b:12f0:0000:0000:0000:0001/64",
+ "next-hop": "2001:0db8:0a0b:12f0:0000:0000:0000:0002",
+ "outgoing-interface": "iface"
+ }
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/routing/routing-impl/src/test/resources/ipv6/specialHopRouteBlackhole.json b/routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteBlackhole.json
index 1cc319107..1cc319107 100644
--- a/routing/routing-impl/src/test/resources/ipv6/specialHopRouteBlackhole.json
+++ b/routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteBlackhole.json
diff --git a/routing/routing-impl/src/test/resources/ipv6/specialHopRouteProhibited.json b/routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteProhibited.json
index d69e817d7..d69e817d7 100644
--- a/routing/routing-impl/src/test/resources/ipv6/specialHopRouteProhibited.json
+++ b/routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteProhibited.json
diff --git a/routing/routing-impl/src/test/resources/ipv6/specialHopRouteReceive.json b/routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteReceive.json
index 50d447de0..50d447de0 100644
--- a/routing/routing-impl/src/test/resources/ipv6/specialHopRouteReceive.json
+++ b/routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteReceive.json
diff --git a/routing/routing-impl/src/test/resources/ipv6/specialHopRouteUnreachable.json b/routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteUnreachable.json
index c874549d1..c874549d1 100644
--- a/routing/routing-impl/src/test/resources/ipv6/specialHopRouteUnreachable.json
+++ b/routing/routing-impl/src/test/resources/ipv6/specialhop/specialHopRouteUnreachable.json