diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-06-08 09:21:25 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-06-20 10:28:02 +0200 |
commit | bcae6bae4f7baef18ef391af738a23405dd8ab3b (patch) | |
tree | 018964b3e921f7e4a79ee551348fcb6d2d34cc8a /tests/data_plane/configs/odl/eid_virt/4o4 | |
parent | fc9695982ebb88c9b05054abc772a2ce4cfa955c (diff) |
Add EID virualization tests
Change-Id: I27680706a5f244c3b756bc4abced5da9bad3007f
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/eid_virt/4o4')
4 files changed, 120 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/eid_virt/4o4/vpp1_customer1.json b/tests/data_plane/configs/odl/eid_virt/4o4/vpp1_customer1.json new file mode 100644 index 0000000..9d92c8f --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/4o4/vpp1_customer1.json @@ -0,0 +1,30 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 100, + "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.1" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/eid_virt/4o4/vpp1_customer2.json b/tests/data_plane/configs/odl/eid_virt/4o4/vpp1_customer2.json new file mode 100644 index 0000000..c185b2f --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/4o4/vpp1_customer2.json @@ -0,0 +1,30 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 200, + "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.1" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/eid_virt/4o4/vpp2_customer1.json b/tests/data_plane/configs/odl/eid_virt/4o4/vpp2_customer1.json new file mode 100644 index 0000000..743906f --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/4o4/vpp2_customer1.json @@ -0,0 +1,30 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 100, + "address-type": "ietf-lisp-address-types:ipv4-prefix-afi", + "ipv4-prefix": "6.0.4.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/eid_virt/4o4/vpp2_customer2.json b/tests/data_plane/configs/odl/eid_virt/4o4/vpp2_customer2.json new file mode 100644 index 0000000..d9d139a --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/4o4/vpp2_customer2.json @@ -0,0 +1,30 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1440, + "action": "NoAction", + "authoritative": true, + "eid": { + "virtual-network-id": 200, + "address-type": "ietf-lisp-address-types:ipv4-prefix-afi", + "ipv4-prefix": "6.0.4.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" + } + } + ] + } + } +} |