summaryrefslogtreecommitdiffstats
path: root/nat/nat2vpp/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'nat/nat2vpp/src/test/resources')
-rw-r--r--nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json4
-rw-r--r--nat/nat2vpp/src/test/resources/nat44/static-mapping-unsupported-proto.json4
-rw-r--r--nat/nat2vpp/src/test/resources/nat44/static-mapping.json4
-rw-r--r--nat/nat2vpp/src/test/resources/nat64/static-mapping-address-update.json4
-rw-r--r--nat/nat2vpp/src/test/resources/nat64/static-mapping-unsupported-proto.json4
-rw-r--r--nat/nat2vpp/src/test/resources/nat64/static-mapping.json4
6 files changed, 12 insertions, 12 deletions
diff --git a/nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json b/nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json
index 224a62a6b..6fe329db0 100644
--- a/nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json
+++ b/nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json
@@ -4,8 +4,8 @@
"index": 22,
"type": "static",
"transport-protocol": 17,
- "internal-src-address": "192.168.1.86",
- "external-src-address": "45.1.5.6"
+ "internal-src-address": "192.168.1.86/32",
+ "external-src-address": "45.1.5.6/32"
}
}
}
diff --git a/nat/nat2vpp/src/test/resources/nat44/static-mapping-unsupported-proto.json b/nat/nat2vpp/src/test/resources/nat44/static-mapping-unsupported-proto.json
index 455465d20..a701e263d 100644
--- a/nat/nat2vpp/src/test/resources/nat44/static-mapping-unsupported-proto.json
+++ b/nat/nat2vpp/src/test/resources/nat44/static-mapping-unsupported-proto.json
@@ -4,8 +4,8 @@
"index": 22,
"type": "static",
"transport-protocol": 123,
- "internal-src-address": "192.168.1.87",
- "external-src-address": "45.1.5.7"
+ "internal-src-address": "192.168.1.87/32",
+ "external-src-address": "45.1.5.7/32"
}
}
}
diff --git a/nat/nat2vpp/src/test/resources/nat44/static-mapping.json b/nat/nat2vpp/src/test/resources/nat44/static-mapping.json
index b1561a46b..a5b5caa4d 100644
--- a/nat/nat2vpp/src/test/resources/nat44/static-mapping.json
+++ b/nat/nat2vpp/src/test/resources/nat44/static-mapping.json
@@ -4,8 +4,8 @@
"index": 22,
"type": "static",
"transport-protocol": 17,
- "internal-src-address": "192.168.1.87",
- "external-src-address": "45.1.5.7"
+ "internal-src-address": "192.168.1.87/32",
+ "external-src-address": "45.1.5.7/32"
}
}
}
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
index 2e836ce91..32bfface1 100644
--- a/nat/nat2vpp/src/test/resources/nat64/static-mapping-address-update.json
+++ b/nat/nat2vpp/src/test/resources/nat64/static-mapping-address-update.json
@@ -4,8 +4,8 @@
"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-address": "2001:db8:85a3::8a2e:370:7334/128",
+ "external-src-address": "10.1.1.4/32",
"internal-src-port" : {
"start-port-number" : 1234
},
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
index bbe8a20d3..44432c55b 100644
--- a/nat/nat2vpp/src/test/resources/nat64/static-mapping-unsupported-proto.json
+++ b/nat/nat2vpp/src/test/resources/nat64/static-mapping-unsupported-proto.json
@@ -4,8 +4,8 @@
"index": 58,
"type": "static",
"transport-protocol": 123,
- "internal-src-address": "2001:db8:85a3::8a2e:370:7333",
- "external-src-address": "10.1.1.3"
+ "internal-src-address": "2001:db8:85a3::8a2e:370:7333/128",
+ "external-src-address": "10.1.1.3/32"
}
}
}
diff --git a/nat/nat2vpp/src/test/resources/nat64/static-mapping.json b/nat/nat2vpp/src/test/resources/nat64/static-mapping.json
index 9fff452a2..4312a8841 100644
--- a/nat/nat2vpp/src/test/resources/nat64/static-mapping.json
+++ b/nat/nat2vpp/src/test/resources/nat64/static-mapping.json
@@ -4,11 +4,11 @@
"index": 58,
"type": "static",
"transport-protocol": 58,
- "internal-src-address": "2001:db8:85a3::8a2e:370:7333",
+ "internal-src-address": "2001:db8:85a3::8a2e:370:7333/128",
"internal-src-port": {
"start-port-number": 123
},
- "external-src-address": "10.1.1.3",
+ "external-src-address": "10.1.1.3/32",
"external-src-port": {
"start-port-number": 456
}