summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl/rtr_single_iface/4o6/elp1.json
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-05-26 15:57:49 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-05-27 09:00:22 +0200
commit4bf6318c1de924c63e22479cc38549ce3af3e420 (patch)
treebca01ef7f954c2f6ef5c33d215a89f47e5a5588d /tests/data_plane/configs/odl/rtr_single_iface/4o6/elp1.json
parent05767cf174f01c5ffdc317112dfabb64bd677a6c (diff)
Add LISP RTR tests
This change adds tests for IPv4overIPv4 and IPv4overIPv6 scenarios. Change-Id: I68e0e94538914cf0b03625ee1be3b92684184c78 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/rtr_single_iface/4o6/elp1.json')
-rw-r--r--tests/data_plane/configs/odl/rtr_single_iface/4o6/elp1.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/rtr_single_iface/4o6/elp1.json b/tests/data_plane/configs/odl/rtr_single_iface/4o6/elp1.json
new file mode 100644
index 0000000..211dce4
--- /dev/null
+++ b/tests/data_plane/configs/odl/rtr_single_iface/4o6/elp1.json
@@ -0,0 +1,42 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1440,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+ "ipv4-prefix": "6.0.2.0/24"
+ },
+ "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::1",
+ "lrs-bits": "lookup strict"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+}