diff options
author | Florin Coras <fcoras@cisco.com> | 2016-06-20 08:42:21 -0700 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2016-06-21 07:58:13 -0700 |
commit | 5528a69fbda8612c54f13f88e502b6824e1d900e (patch) | |
tree | d899fd76201a22caf50d8b7082fd633ec67875dd /tests/data_plane/configs/odl | |
parent | fc9695982ebb88c9b05054abc772a2ce4cfa955c (diff) |
Tests for SMR + RTR with disjoint locators
Change-Id: I11aacf00ab68b919c1db8f07a6f0ffd9961ce151
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl')
4 files changed, 142 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/smr_rtr_disjoint/elp1.json b/tests/data_plane/configs/odl/smr_rtr_disjoint/elp1.json new file mode 100644 index 0000000..7696f59 --- /dev/null +++ b/tests/data_plane/configs/odl/smr_rtr_disjoint/elp1.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:2::0/64" + }, + "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/smr_rtr_disjoint/elp2.json b/tests/data_plane/configs/odl/smr_rtr_disjoint/elp2.json new file mode 100644 index 0000000..a043715 --- /dev/null +++ b/tests/data_plane/configs/odl/smr_rtr_disjoint/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.2", + "lrs-bits": "lookup rloc-probe strict" + }, + { + "hop-id": "Hop 2", + "address": "6:0:5::1", + "lrs-bits": "lookup strict" + } + ] + } + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/smr_rtr_disjoint/vpp1.json b/tests/data_plane/configs/odl/smr_rtr_disjoint/vpp1.json new file mode 100644 index 0000000..0d405e5 --- /dev/null +++ b/tests/data_plane/configs/odl/smr_rtr_disjoint/vpp1.json @@ -0,0 +1,29 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "address-type": "ietf-lisp-address-types:ipv6-prefix-afi", + "ipv6-prefix": "6:0:2::0/64" + }, + "LocatorRecord": [ + { + "locator-id": "ISP1", + "priority": 1, + "weight": 1, + "multicastPriority": 255, + "multicastWeight": 0, + "localLocator": true, + "rlocProbed": false, + "routed": true, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.3.1" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/smr_rtr_disjoint/vpp2.json b/tests/data_plane/configs/odl/smr_rtr_disjoint/vpp2.json new file mode 100644 index 0000000..84e39f7 --- /dev/null +++ b/tests/data_plane/configs/odl/smr_rtr_disjoint/vpp2.json @@ -0,0 +1,29 @@ +{ + "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": "ISP1", + "priority": 1, + "weight": 1, + "multicastPriority": 255, + "multicastWeight": 0, + "localLocator": true, + "rlocProbed": false, + "routed": true, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.3.3" + } + } + ] + } + } +} |