From a6ba15e2cc56e0f91e0d2d9f0b66b62073aac777 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Thu, 15 Jun 2017 13:36:26 +0200 Subject: Add LISP GPE NSH test Change-Id: I4d8b9c8c0bd560a9ba2a8db7ddfacd89b51b433f Signed-off-by: Filip Tehlar --- tests/data_plane/configs/odl/nsh/vpp1.json | 32 ++++++++++++++++++++++++++++++ tests/data_plane/configs/odl/nsh/vpp2.json | 32 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 tests/data_plane/configs/odl/nsh/vpp1.json create mode 100644 tests/data_plane/configs/odl/nsh/vpp2.json (limited to 'tests/data_plane/configs/odl') diff --git a/tests/data_plane/configs/odl/nsh/vpp1.json b/tests/data_plane/configs/odl/nsh/vpp1.json new file mode 100644 index 0000000..b7725e2 --- /dev/null +++ b/tests/data_plane/configs/odl/nsh/vpp1.json @@ -0,0 +1,32 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "address-type": "ietf-lisp-address-types:service-path-lcaf", + "service-path": { + "service-path-id": 10, + "service-index": 200 + } + }, + "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/nsh/vpp2.json b/tests/data_plane/configs/odl/nsh/vpp2.json new file mode 100644 index 0000000..b26ce62 --- /dev/null +++ b/tests/data_plane/configs/odl/nsh/vpp2.json @@ -0,0 +1,32 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "address-type": "ietf-lisp-address-types:service-path-lcaf", + "service-path": { + "service-path-id": 11, + "service-index": 4 + } + }, + "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" + } + } + ] + } + } +} -- cgit 1.2.3-korg