diff options
Diffstat (limited to 'nat/nat2vpp/src/test/resources/nat64')
3 files changed, 41 insertions, 0 deletions
diff --git a/nat/nat2vpp/src/test/resources/nat64/static-mapping-address-update.json b/nat/nat2vpp/src/test/resources/nat64/static-mapping-address-update.json new file mode 100644 index 000000000..73f2c0e55 --- /dev/null +++ b/nat/nat2vpp/src/test/resources/nat64/static-mapping-address-update.json @@ -0,0 +1,17 @@ +{ + "mapping-table" : { + "mapping-entry": { + "index": 58, + "type": "static", + "transport-protocol": 58, + "internal-src-address": "2001:db8:85a3::8a2e:370:7334", + "external-src-address": "10.1.1.4", + "internal-src-port" : { + "single-port-number" : 1234 + }, + "external-src-port" : { + "single-port-number" : 5678 + } + } + } +}
\ No newline at end of file diff --git a/nat/nat2vpp/src/test/resources/nat64/static-mapping-unsupported-proto.json b/nat/nat2vpp/src/test/resources/nat64/static-mapping-unsupported-proto.json new file mode 100644 index 000000000..bbe8a20d3 --- /dev/null +++ b/nat/nat2vpp/src/test/resources/nat64/static-mapping-unsupported-proto.json @@ -0,0 +1,12 @@ +{ + "mapping-table" : { + "mapping-entry": { + "index": 58, + "type": "static", + "transport-protocol": 123, + "internal-src-address": "2001:db8:85a3::8a2e:370:7333", + "external-src-address": "10.1.1.3" + } + } +} + diff --git a/nat/nat2vpp/src/test/resources/nat64/static-mapping.json b/nat/nat2vpp/src/test/resources/nat64/static-mapping.json new file mode 100644 index 000000000..d3a1c40c4 --- /dev/null +++ b/nat/nat2vpp/src/test/resources/nat64/static-mapping.json @@ -0,0 +1,12 @@ +{ + "mapping-table" : { + "mapping-entry": { + "index": 58, + "type": "static", + "transport-protocol": 58, + "internal-src-address": "2001:db8:85a3::8a2e:370:7333", + "external-src-address": "10.1.1.3" + } + } +} + |