summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl/add_ipv4_odl2.txt
diff options
context:
space:
mode:
authorAndrej Kozemcak <akozemca@cisco.com>2016-05-11 10:57:58 +0200
committerAndrej Kozemcak <akozemca@cisco.com>2016-05-11 16:45:56 +0200
commit676362e1714afe4e7bb1557828580e710670b602 (patch)
tree2a4c31822d0267eeb2d784eca5346b9f37465831 /tests/data_plane/configs/odl/add_ipv4_odl2.txt
parentabfb56e73fed33d0b2f738ace59ae5b37cd2b60d (diff)
Create LISP test for csit_topology and for vpp_lite_topology
Change-Id: If0a886c761a41c9914c10d2ae3abf9f7711151c6 Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/add_ipv4_odl2.txt')
-rw-r--r--tests/data_plane/configs/odl/add_ipv4_odl2.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/add_ipv4_odl2.txt b/tests/data_plane/configs/odl/add_ipv4_odl2.txt
new file mode 100644
index 0000000..645432c
--- /dev/null
+++ b/tests/data_plane/configs/odl/add_ipv4_odl2.txt
@@ -0,0 +1,29 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1440,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "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.2"
+ }
+ }
+ ]
+ }
+ }
+}