diff options
author | Florin Coras <fcoras@cisco.com> | 2016-06-15 19:57:48 +0200 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2016-06-15 19:57:48 +0200 |
commit | 9b9b4ff50703cd969842bb8c5f869a38edf2ea18 (patch) | |
tree | 1f476e8dac9aa1fabe5c6a6c27c69326e2630454 /tests/data_plane/configs/odl/rtr_two_iface/4o4 | |
parent | 69e02f9476e9b616a9d53d6202ff5f6c11775bdc (diff) |
Add tests for disjoint locators use cases
Change-Id: I2046bf0785bb0024d1b2e099d55da7fbefd70fc0
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/rtr_two_iface/4o4')
-rw-r--r-- | tests/data_plane/configs/odl/rtr_two_iface/4o4/elp1.json | 42 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/rtr_two_iface/4o4/elp2.json | 42 |
2 files changed, 84 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/rtr_two_iface/4o4/elp1.json b/tests/data_plane/configs/odl/rtr_two_iface/4o4/elp1.json new file mode 100644 index 0000000..6dff66f --- /dev/null +++ b/tests/data_plane/configs/odl/rtr_two_iface/4o4/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": true, + "rloc": { + "address-type": "ietf-lisp-address-types:explicit-locator-path-lcaf", + "explicit-locator-path": { + "hop": [ + { + "hop-id": "Hop 1", + "address": "6.0.5.2", + "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_two_iface/4o4/elp2.json b/tests/data_plane/configs/odl/rtr_two_iface/4o4/elp2.json new file mode 100644 index 0000000..64c0b78 --- /dev/null +++ b/tests/data_plane/configs/odl/rtr_two_iface/4o4/elp2.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.4.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.2", + "lrs-bits": "lookup rloc-probe strict" + }, + { + "hop-id": "Hop 2", + "address": "6.0.5.1", + "lrs-bits": "lookup strict" + } + ] + } + } + } + ] + } + } +} |