summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl/replace_ipv4o6_odl2.txt
diff options
context:
space:
mode:
authorAndrej Kozemcak <akozemca@cisco.com>2016-05-16 15:46:18 +0200
committerAndrej Kozemcak <akozemca@cisco.com>2016-05-16 16:02:33 +0200
commit46e4b31a8a57e9af1be2cdbc0c67c153ec9cd9b3 (patch)
treeae02fa95391cce269f16a97730fe5989a90cbab2 /tests/data_plane/configs/odl/replace_ipv4o6_odl2.txt
parent676362e1714afe4e7bb1557828580e710670b602 (diff)
Add new test for IP4 over IP6 and IP6 over IP4
Change-Id: Icc411c22f041c447d595cb158102675f4055a7de Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/replace_ipv4o6_odl2.txt')
-rw-r--r--tests/data_plane/configs/odl/replace_ipv4o6_odl2.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/replace_ipv4o6_odl2.txt b/tests/data_plane/configs/odl/replace_ipv4o6_odl2.txt
new file mode 100644
index 0000000..9b6ba62
--- /dev/null
+++ b/tests/data_plane/configs/odl/replace_ipv4o6_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:ipv6-afi",
+ "ipv6": "6:0:3::20"
+ }
+ }
+ ]
+ }
+ }
+}