diff options
author | Florin Coras <fcoras@cisco.com> | 2016-07-29 23:24:17 +0200 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2016-08-01 17:31:29 +0200 |
commit | 8719d3152d10974926175f63975d1b0290fd7237 (patch) | |
tree | afa1450104ebf5a44d4fde88c3acc0dc46bc640c /tests/data_plane/configs/odl | |
parent | 51b44223b063eeccccd078d39ab08f5d16629e22 (diff) |
Basic l2 over ip4 tests
Change-Id: I8bd9253bac3759018ca752574cae575b129df3e6
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl')
-rw-r--r-- | tests/data_plane/configs/odl/basic/l2o4/vpp1.json | 30 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/basic/l2o4/vpp2.json | 30 |
2 files changed, 60 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/basic/l2o4/vpp1.json b/tests/data_plane/configs/odl/basic/l2o4/vpp1.json new file mode 100644 index 0000000..4869c49 --- /dev/null +++ b/tests/data_plane/configs/odl/basic/l2o4/vpp1.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: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" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/basic/l2o4/vpp2.json b/tests/data_plane/configs/odl/basic/l2o4/vpp2.json new file mode 100644 index 0000000..7c49929 --- /dev/null +++ b/tests/data_plane/configs/odl/basic/l2o4/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": false, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.3.2" + } + } + ] + } + } +} |