diff options
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.json | 33 | ||||
-rw-r--r-- | lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-remote-eid.json | 33 |
2 files changed, 66 insertions, 0 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 new file mode 100644 index 000000000..25c12d615 --- /dev/null +++ b/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-local-eid.json @@ -0,0 +1,33 @@ +{ + "gpe-entry-table": { + "gpe-entry": { + "id": "gpe-fwd-entry-1", + "dp-table": 10, + "vni": 12, + "remote-eid": { + "address-type": "ietf-lisp-address-types:ipv4-prefix-afi", + "virtual-network-id": 12, + "ipv4-prefix": "192.168.3.0/16" + }, + "locator-pairs": [ + { + "id": "gpe-fwd-entry-pair-1", + "locator-pair": { + "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 + } + } + ], + "action": "natively-forward" + } + } +}
\ No newline at end of file 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 new file mode 100644 index 000000000..e6d5cc7e5 --- /dev/null +++ b/lisp/lisp2vpp/src/test/resources/gpe/invalid/invalid-gpe-fwd-entry-no-remote-eid.json @@ -0,0 +1,33 @@ +{ + "gpe-entry-table": { + "gpe-entry": { + "id": "gpe-fwd-entry-1", + "dp-table": 10, + "vni": 12, + "local-eid": { + "address-type": "ietf-lisp-address-types:ipv4-prefix-afi", + "virtual-network-id": 12, + "ipv4-prefix": "192.168.2.0/24" + }, + "locator-pairs": [ + { + "id": "gpe-fwd-entry-pair-1", + "locator-pair": { + "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 + } + } + ], + "action": "natively-forward" + } + } +}
\ No newline at end of file |