summaryrefslogtreecommitdiffstats
path: root/nat/nat2vpp/src/test/resources
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-05-12 10:55:39 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-05-16 05:18:35 +0000
commit0119f7e2e8f96c7f6ed6af07200e432c16b837d5 (patch)
tree93a390200accf6505982c4025df56f5064cc7149 /nat/nat2vpp/src/test/resources
parent400acf46ddab06a23a703f7d5b67cc4f5deeafe4 (diff)
HC2VPP-145: fix snat mapping update
Change-Id: I51e8a3e6d62b9c0dacf03d2148b813309fe0dfc4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 923dac1cedec9ad7a215d128d54eb77fd85562ae)
Diffstat (limited to 'nat/nat2vpp/src/test/resources')
-rw-r--r--nat/nat2vpp/src/test/resources/nat/static-mapping-address-update.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/nat/nat2vpp/src/test/resources/nat/static-mapping-address-update.json b/nat/nat2vpp/src/test/resources/nat/static-mapping-address-update.json
new file mode 100644
index 000000000..224a62a6b
--- /dev/null
+++ b/nat/nat2vpp/src/test/resources/nat/static-mapping-address-update.json
@@ -0,0 +1,12 @@
+{
+ "mapping-table" : {
+ "mapping-entry": {
+ "index": 22,
+ "type": "static",
+ "transport-protocol": 17,
+ "internal-src-address": "192.168.1.86",
+ "external-src-address": "45.1.5.6"
+ }
+ }
+}
+