diff options
author | Lori Jakab <lorand.jakab@gmail.com> | 2016-08-11 18:18:53 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-08-11 18:18:53 +0000 |
commit | 4cf0fc0cc463e294eab3f727d811e2a11ecadcae (patch) | |
tree | ac3876602346f25b621a4baf2e1db592cad0cb3f /tests/data_plane/configs/odl/multihoming/l2o4 | |
parent | f73cae4cda445b5bed88b8baf7d3536a947aa7ef (diff) | |
parent | 76ab005261dba3fd5bec32df2ad253e4185116f0 (diff) |
Merge "Add multihoming tests"
Diffstat (limited to 'tests/data_plane/configs/odl/multihoming/l2o4')
3 files changed, 118 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/multihoming/l2o4/update_vpp2.json b/tests/data_plane/configs/odl/multihoming/l2o4/update_vpp2.json new file mode 100644 index 0000000..c95ddbc --- /dev/null +++ b/tests/data_plane/configs/odl/multihoming/l2o4/update_vpp2.json @@ -0,0 +1,30 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 10, + "address-type": "ietf-lisp-address-types:mac-afi", + "mac": "08:22:22:22:22:22" + }, + "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.20" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/multihoming/l2o4/vpp1.json b/tests/data_plane/configs/odl/multihoming/l2o4/vpp1.json new file mode 100644 index 0000000..210b372 --- /dev/null +++ b/tests/data_plane/configs/odl/multihoming/l2o4/vpp1.json @@ -0,0 +1,44 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 10, + "address-type": "ietf-lisp-address-types:mac-afi", + "mac": "08:11:11:11:11:11" + }, + "LocatorRecord": [ + { + "locator-id": "ISP1", + "priority": 1, + "weight": 1, + "multicastPriority": 255, + "multicastWeight": 0, + "localLocator": true, + "rlocProbed": false, + "routed": false, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.3.1" + } + }, + { + "locator-id": "ISP2", + "priority": 1, + "weight": 1, + "multicastPriority": 255, + "multicastWeight": 0, + "localLocator": true, + "rlocProbed": false, + "routed": false, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.4.1" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/multihoming/l2o4/vpp2.json b/tests/data_plane/configs/odl/multihoming/l2o4/vpp2.json new file mode 100644 index 0000000..19e173c --- /dev/null +++ b/tests/data_plane/configs/odl/multihoming/l2o4/vpp2.json @@ -0,0 +1,44 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 10, + "address-type": "ietf-lisp-address-types:mac-afi", + "mac": "08:22:22:22:22:22" + }, + "LocatorRecord": [ + { + "locator-id": "ISP1", + "priority": 1, + "weight": 1, + "multicastPriority": 255, + "multicastWeight": 0, + "localLocator": true, + "rlocProbed": false, + "routed": false, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.3.2" + } + }, + { + "locator-id": "ISP2", + "priority": 1, + "weight": 1, + "multicastPriority": 255, + "multicastWeight": 0, + "localLocator": true, + "rlocProbed": false, + "routed": false, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.4.2" + } + } + ] + } + } +} |