summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data_plane/configs/odl')
-rw-r--r--tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp1.json43
-rw-r--r--tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp2.json43
2 files changed, 86 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp1.json b/tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp1.json
new file mode 100644
index 0000000..4f8d858
--- /dev/null
+++ b/tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp1.json
@@ -0,0 +1,43 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1440,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+ "virtual-network-id": 100,
+ "ipv4-prefix": "6.0.1.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"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp2.json b/tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp2.json
new file mode 100644
index 0000000..5a6ac9b
--- /dev/null
+++ b/tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp2.json
@@ -0,0 +1,43 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1440,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+ "virtual-network-id": 100,
+ "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.2",
+ "lrs-bits": "lookup strict"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+}