diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2017-06-15 13:36:26 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2017-06-15 15:40:57 +0200 |
commit | a6ba15e2cc56e0f91e0d2d9f0b66b62073aac777 (patch) | |
tree | 19512a1f4f54b8d061d806b1d0419ddb04dd79e0 /tests/data_plane/configs/odl | |
parent | f20e6999369a2cd951247d4ef1b7a417b6a35566 (diff) |
Add LISP GPE NSH test
Change-Id: I4d8b9c8c0bd560a9ba2a8db7ddfacd89b51b433f
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl')
-rw-r--r-- | tests/data_plane/configs/odl/nsh/vpp1.json | 32 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/nsh/vpp2.json | 32 |
2 files changed, 64 insertions, 0 deletions
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" + } + } + ] + } + } +} |