From 32aa07e5517fba7f78ae79d2ba83b56f72a53293 Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Thu, 1 Dec 2016 18:15:52 +0100 Subject: HONEYCOMB-58 - Routing Plugin Structure Read/Write support for ipv4/6 static routes. Restriction due to vpp implementation described in readme. Change-Id: I328f406a9b7cb8781f8becf98eca293cebe66859 Signed-off-by: Jan Srnicek --- .../src/test/resources/multi-mapping.json | 35 ++++++++++++++++++++++ .../src/test/resources/naming.json | 14 +++++++++ 2 files changed, 49 insertions(+) create mode 100644 vpp-common/vpp-translate-utils/src/test/resources/multi-mapping.json create mode 100644 vpp-common/vpp-translate-utils/src/test/resources/naming.json (limited to 'vpp-common/vpp-translate-utils/src/test/resources') diff --git a/vpp-common/vpp-translate-utils/src/test/resources/multi-mapping.json b/vpp-common/vpp-translate-utils/src/test/resources/multi-mapping.json new file mode 100644 index 000000000..c20401fc0 --- /dev/null +++ b/vpp-common/vpp-translate-utils/src/test/resources/multi-mapping.json @@ -0,0 +1,35 @@ +{ + "mappings": { + "mapping": [ + { + "name": "parent-1", + "value": [ + { + "index": 1, + "name": "child-1" + }, + { + "index": 2, + "name": "child-2" + }, + { + "index": 3, + "name": "child-3" + } + ] + }, + { + "name": "parent-2" + }, + { + "name": "parent-3", + "value": [ + { + "index": 1, + "name": "child-1" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/vpp-common/vpp-translate-utils/src/test/resources/naming.json b/vpp-common/vpp-translate-utils/src/test/resources/naming.json new file mode 100644 index 000000000..0248264d2 --- /dev/null +++ b/vpp-common/vpp-translate-utils/src/test/resources/naming.json @@ -0,0 +1,14 @@ +{ + "mappings": { + "mapping": [ + { + "name": "name-1", + "index": 1 + }, + { + "name": "name-2", + "index": 2 + } + ] + } +} \ No newline at end of file -- cgit 1.2.3-korg