summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl/rtr_single_iface/6o4/elp2.json
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-06-21 12:27:19 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-06-21 12:27:19 +0200
commit6ecb3add2c107f34cfa686f840f49c039cb5c6a7 (patch)
treece00d9c83698af7b5a7894a007e6348affdaeed3 /tests/data_plane/configs/odl/rtr_single_iface/6o4/elp2.json
parentbcae6bae4f7baef18ef391af738a23405dd8ab3b (diff)
Add RTR tests (6over4 and 6over6)
Change-Id: I4b2b05193209a3054f0a1177be9412e79de73349 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/rtr_single_iface/6o4/elp2.json')
-rw-r--r--tests/data_plane/configs/odl/rtr_single_iface/6o4/elp2.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/rtr_single_iface/6o4/elp2.json b/tests/data_plane/configs/odl/rtr_single_iface/6o4/elp2.json
new file mode 100644
index 0000000..0a0b213
--- /dev/null
+++ b/tests/data_plane/configs/odl/rtr_single_iface/6o4/elp2.json
@@ -0,0 +1,42 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1440,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:ipv6-prefix-afi",
+ "ipv6-prefix": "6:0:4::0/64"
+ },
+ "LocatorRecord": [
+ {
+ "locator-id": "ELP",
+ "priority": 1,
+ "weight": 1,
+ "multicastPriority": 255,
+ "multicastWeight": 0,
+ "localLocator": true,
+ "rlocProbed": false,
+ "routed": false,
+ "rloc": {
+ "address-type": "ietf-lisp-address-types:explicit-locator-path-lcaf",
+ "explicit-locator-path": {
+ "hop": [
+ {
+ "hop-id": "Hop 1",
+ "address": "6.0.3.3",
+ "lrs-bits": "lookup rloc-probe strict"
+ },
+ {
+ "hop-id": "Hop 2",
+ "address": "6.0.3.2",
+ "lrs-bits": "lookup strict"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+}