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 | |
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')
16 files changed, 480 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" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/eid_virt/4o6/vpp1_customer1.json b/tests/data_plane/configs/odl/eid_virt/4o6/vpp1_customer1.json new file mode 100644 index 0000000..b444eaf --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/4o6/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:ipv6-afi", + "ipv6": "6:0:3::1" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/eid_virt/4o6/vpp1_customer2.json b/tests/data_plane/configs/odl/eid_virt/4o6/vpp1_customer2.json new file mode 100644 index 0000000..e5aee5b --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/4o6/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:ipv6-afi", + "ipv6": "6:0:3::1" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/eid_virt/4o6/vpp2_customer1.json b/tests/data_plane/configs/odl/eid_virt/4o6/vpp2_customer1.json new file mode 100644 index 0000000..7cd8c5f --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/4o6/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:ipv6-afi", + "ipv6": "6:0:3::2" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/eid_virt/4o6/vpp2_customer2.json b/tests/data_plane/configs/odl/eid_virt/4o6/vpp2_customer2.json new file mode 100644 index 0000000..da16002 --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/4o6/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:ipv6-afi", + "ipv6": "6:0:3::2" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/eid_virt/6o4/vpp1_customer1.json b/tests/data_plane/configs/odl/eid_virt/6o4/vpp1_customer1.json new file mode 100644 index 0000000..ad188c8 --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/6o4/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:ipv6-prefix-afi", + "ipv6-prefix": "6:0:2::0/64" + }, + "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/6o4/vpp1_customer2.json b/tests/data_plane/configs/odl/eid_virt/6o4/vpp1_customer2.json new file mode 100644 index 0000000..1f57b72 --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/6o4/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:ipv6-prefix-afi", + "ipv6-prefix": "6:0:2::0/64" + }, + "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/6o4/vpp2_customer1.json b/tests/data_plane/configs/odl/eid_virt/6o4/vpp2_customer1.json new file mode 100644 index 0000000..fb0949c --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/6o4/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:ipv6-prefix-afi", + "ipv6-prefix": "6:0:4::0/64" + }, + "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/6o4/vpp2_customer2.json b/tests/data_plane/configs/odl/eid_virt/6o4/vpp2_customer2.json new file mode 100644 index 0000000..fe16e0c --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/6o4/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:ipv6-prefix-afi", + "ipv6-prefix": "6:0:4::0/64" + }, + "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/6o6/vpp1_customer1.json b/tests/data_plane/configs/odl/eid_virt/6o6/vpp1_customer1.json new file mode 100644 index 0000000..4363d64 --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/6o6/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:ipv6-prefix-afi", + "ipv6-prefix": "6:0:2::0/64" + }, + "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/eid_virt/6o6/vpp1_customer2.json b/tests/data_plane/configs/odl/eid_virt/6o6/vpp1_customer2.json new file mode 100644 index 0000000..4e0fb62 --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/6o6/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:ipv6-prefix-afi", + "ipv6-prefix": "6:0:2::0/64" + }, + "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/eid_virt/6o6/vpp2_customer1.json b/tests/data_plane/configs/odl/eid_virt/6o6/vpp2_customer1.json new file mode 100644 index 0000000..003d50e --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/6o6/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:ipv6-prefix-afi", + "ipv6-prefix": "6:0:4::0/64" + }, + "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/eid_virt/6o6/vpp2_customer2.json b/tests/data_plane/configs/odl/eid_virt/6o6/vpp2_customer2.json new file mode 100644 index 0000000..16e1459 --- /dev/null +++ b/tests/data_plane/configs/odl/eid_virt/6o6/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:ipv6-prefix-afi", + "ipv6-prefix": "6:0:4::0/64" + }, + "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" + } + } + ] + } + } +} |