summaryrefslogtreecommitdiffstats
path: root/nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-05-30 13:45:41 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-05-31 09:09:49 +0000
commit7d961bf199719410b2e4111c830fbf35b41c83c2 (patch)
tree8f5a5dbd0502b7e9046f3b672aa21173c392296f /nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json
parenta626d4ad0333762de57eb3298b9c7b3f9f19f82e (diff)
HC2VPP-325: use ip-prefix instead of ip-address in ietf-nat@2018-02-23.yang
Only /32 prefix for IPv4 and /128 for IPv6 are supported. Change-Id: I875b1eb6c2cb43da54de0a731aeeb9757b39c39c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json')
-rw-r--r--nat/nat2vpp/src/test/resources/nat44/static-mapping-address-update.json4
1 files changed, 2 insertions, 2 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"
}
}
}