summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/test/resources/gpe/invalid
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/lisp2vpp/src/test/resources/gpe/invalid')
-rw-r--r--lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-local-eid.json20
-rw-r--r--lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-remote-eid.json20
2 files changed, 14 insertions, 26 deletions
diff --git a/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-local-eid.json b/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-local-eid.json
index 7322dadc6..a36a7403f 100644
--- a/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-local-eid.json
+++ b/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-local-eid.json
@@ -9,22 +9,16 @@
"virtual-network-id": 12,
"ipv4-prefix": "192.168.3.0/16"
},
- "locator-pairs": [
+ "locator-pair": [
{
- "id": "gpe-fwd-entry-pair-1",
- "locator-pair": {
- "local-locator": "192.168.4.1",
- "remote-locator": "192.168.4.2",
- "weight": 3
- }
+ "local-locator": "192.168.4.1",
+ "remote-locator": "192.168.4.2",
+ "weight": 3
},
{
- "id": "gpe-fwd-entry-pair-2",
- "locator-pair": {
- "local-locator": "192.168.5.1",
- "remote-locator": "192.168.5.2",
- "weight": 2
- }
+ "local-locator": "192.168.5.1",
+ "remote-locator": "192.168.5.2",
+ "weight": 2
}
]
}
diff --git a/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-remote-eid.json b/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-remote-eid.json
index e6d5cc7e5..d63d377b1 100644
--- a/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-remote-eid.json
+++ b/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-remote-eid.json
@@ -9,22 +9,16 @@
"virtual-network-id": 12,
"ipv4-prefix": "192.168.2.0/24"
},
- "locator-pairs": [
+ "locator-pair": [
{
- "id": "gpe-fwd-entry-pair-1",
- "locator-pair": {
- "local-locator": "192.168.4.1",
- "remote-locator": "192.168.4.2",
- "weight": 3
- }
+ "local-locator": "192.168.4.1",
+ "remote-locator": "192.168.4.2",
+ "weight": 3
},
{
- "id": "gpe-fwd-entry-pair-2",
- "locator-pair": {
- "local-locator": "192.168.5.1",
- "remote-locator": "192.168.5.2",
- "weight": 2
- }
+ "local-locator": "192.168.5.1",
+ "remote-locator": "192.168.5.2",
+ "weight": 2
}
],
"action": "natively-forward"