diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-06-29 14:53:39 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-06-29 15:48:00 +0200 |
commit | 572c17d6b9db44b8e0fb70222a13272fe41a4a7e (patch) | |
tree | d101e68bf3591d592a648080fe29b962b95f5f60 /tests/data_plane/configs/odl/rtr_two_iface_two_customers | |
parent | af09353134cdd9c6ea250851b22086e7237073d4 (diff) |
Add RTR + EID virt test (6over46)
Change-Id: Ia21075fc33059165f1fcef1bcb177e54dee0e6b8
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/rtr_two_iface_two_customers')
4 files changed, 172 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp1_customer1.json b/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp1_customer1.json new file mode 100644 index 0000000..38cfc9a --- /dev/null +++ b/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp1_customer1.json @@ -0,0 +1,43 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 100, + "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/rtr_two_iface_two_customers/6o46/vpp1_customer2.json b/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp1_customer2.json new file mode 100644 index 0000000..9f5a208 --- /dev/null +++ b/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp1_customer2.json @@ -0,0 +1,43 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 200, + "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/rtr_two_iface_two_customers/6o46/vpp2_customer1.json b/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp2_customer1.json new file mode 100644 index 0000000..bf15ffa --- /dev/null +++ b/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp2_customer1.json @@ -0,0 +1,43 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 100, + "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/rtr_two_iface_two_customers/6o46/vpp2_customer2.json b/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp2_customer2.json new file mode 100644 index 0000000..c06939e --- /dev/null +++ b/tests/data_plane/configs/odl/rtr_two_iface_two_customers/6o46/vpp2_customer2.json @@ -0,0 +1,43 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 200, + "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" + } + ] + } + } + } + ] + } + } +} |