From 676362e1714afe4e7bb1557828580e710670b602 Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Wed, 11 May 2016 10:57:58 +0200 Subject: Create LISP test for csit_topology and for vpp_lite_topology Change-Id: If0a886c761a41c9914c10d2ae3abf9f7711151c6 Signed-off-by: Andrej Kozemcak --- tests/data_plane/configs/odl/add_ipv4_odl1.txt | 29 ++++++++++++++++++++++ tests/data_plane/configs/odl/add_ipv4_odl2.txt | 29 ++++++++++++++++++++++ tests/data_plane/configs/odl/add_ipv6_odl1.txt | 29 ++++++++++++++++++++++ tests/data_plane/configs/odl/add_ipv6_odl2.txt | 29 ++++++++++++++++++++++ tests/data_plane/configs/odl/replace_ipv4_odl2.txt | 29 ++++++++++++++++++++++ tests/data_plane/configs/odl/replace_ipv6_odl2.txt | 29 ++++++++++++++++++++++ 6 files changed, 174 insertions(+) create mode 100644 tests/data_plane/configs/odl/add_ipv4_odl1.txt create mode 100644 tests/data_plane/configs/odl/add_ipv4_odl2.txt create mode 100644 tests/data_plane/configs/odl/add_ipv6_odl1.txt create mode 100644 tests/data_plane/configs/odl/add_ipv6_odl2.txt create mode 100644 tests/data_plane/configs/odl/replace_ipv4_odl2.txt create mode 100644 tests/data_plane/configs/odl/replace_ipv6_odl2.txt (limited to 'tests/data_plane/configs/odl') diff --git a/tests/data_plane/configs/odl/add_ipv4_odl1.txt b/tests/data_plane/configs/odl/add_ipv4_odl1.txt new file mode 100644 index 0000000..7544187 --- /dev/null +++ b/tests/data_plane/configs/odl/add_ipv4_odl1.txt @@ -0,0 +1,29 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "address-type": "ietf-lisp-address-types:ipv4-prefix-afi", + "ipv4-prefix": "6.0.1.0/24" + }, + "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/add_ipv4_odl2.txt b/tests/data_plane/configs/odl/add_ipv4_odl2.txt new file mode 100644 index 0000000..645432c --- /dev/null +++ b/tests/data_plane/configs/odl/add_ipv4_odl2.txt @@ -0,0 +1,29 @@ +{ + "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": "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.2" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/add_ipv6_odl1.txt b/tests/data_plane/configs/odl/add_ipv6_odl1.txt new file mode 100644 index 0000000..a367262 --- /dev/null +++ b/tests/data_plane/configs/odl/add_ipv6_odl1.txt @@ -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/48" + }, + "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/add_ipv6_odl2.txt b/tests/data_plane/configs/odl/add_ipv6_odl2.txt new file mode 100644 index 0000000..3f5afd7 --- /dev/null +++ b/tests/data_plane/configs/odl/add_ipv6_odl2.txt @@ -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/48" + }, + "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::2" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/replace_ipv4_odl2.txt b/tests/data_plane/configs/odl/replace_ipv4_odl2.txt new file mode 100644 index 0000000..089516b --- /dev/null +++ b/tests/data_plane/configs/odl/replace_ipv4_odl2.txt @@ -0,0 +1,29 @@ +{ + "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": "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/replace_ipv6_odl2.txt b/tests/data_plane/configs/odl/replace_ipv6_odl2.txt new file mode 100644 index 0000000..e61d6fc --- /dev/null +++ b/tests/data_plane/configs/odl/replace_ipv6_odl2.txt @@ -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/48" + }, + "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::20" + } + } + ] + } + } +} -- cgit 1.2.3-korg