diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-09-16 15:11:01 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-10-24 15:59:06 +0200 |
commit | 5089c8126fe1d2c389ebc2e4b579612d6df15a69 (patch) | |
tree | 8666ad41a572a02ce39af3507beabfe23f3558ad /tests/data_plane/configs/odl/sd/6o6 | |
parent | 1db8c38a6fa7fc692fe18bbd47eb2f87ec6b143b (diff) |
Add source/dest tests
Change-Id: Idb3ec8dc48f16d4321701e405d8e76492cd7e9de
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/sd/6o6')
-rw-r--r-- | tests/data_plane/configs/odl/sd/6o6/map1.json | 32 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/sd/6o6/map2.json | 33 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/sd/6o6/map3.json | 29 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/sd/6o6/map4.json | 29 |
4 files changed, 123 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/sd/6o6/map1.json b/tests/data_plane/configs/odl/sd/6o6/map1.json new file mode 100644 index 0000000..0a29dd3 --- /dev/null +++ b/tests/data_plane/configs/odl/sd/6o6/map1.json @@ -0,0 +1,32 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "address-type": "ietf-lisp-address-types:source-dest-key-lcaf", + "source-dest-key": { + "source": "6:0:1::0/64", + "dest": "6:0:2::0/64" + } + }, + "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:ipv6-afi", + "ipv6": "6:0:3::2" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/sd/6o6/map2.json b/tests/data_plane/configs/odl/sd/6o6/map2.json new file mode 100644 index 0000000..3794a36 --- /dev/null +++ b/tests/data_plane/configs/odl/sd/6o6/map2.json @@ -0,0 +1,33 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "address-type": "ietf-lisp-address-types:source-dest-key-lcaf", + "source-dest-key": { + "source": "6:0:5::0/64", + "dest": "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:ipv6-afi", + "ipv6": "6:0:3::3" + } + } + ] + } + } +} + diff --git a/tests/data_plane/configs/odl/sd/6o6/map3.json b/tests/data_plane/configs/odl/sd/6o6/map3.json new file mode 100644 index 0000000..3af329b --- /dev/null +++ b/tests/data_plane/configs/odl/sd/6o6/map3.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:1::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:ipv6-afi", + "ipv6": "6:0:3::1" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/sd/6o6/map4.json b/tests/data_plane/configs/odl/sd/6o6/map4.json new file mode 100644 index 0000000..7f3bbc9 --- /dev/null +++ b/tests/data_plane/configs/odl/sd/6o6/map4.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:5::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:ipv6-afi", + "ipv6": "6:0:3::1" + } + } + ] + } + } +} |