summaryrefslogtreecommitdiffstats
path: root/nat/nat2vpp/src/test/resources
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-02-06 07:11:41 +0100
committerJan Srnicek <jsrnicek@cisco.com>2017-02-07 12:44:41 +0000
commit1e562c89ed44a33ffafd310a9e58a45bad65339e (patch)
treef764df461d74ecd89644b5597a651ee64c604c21 /nat/nat2vpp/src/test/resources
parent6e8aff729668c8e7d90e27b37240cfeabae550fa (diff)
Increase snat unit test coverage > 80%
Change-Id: I3531d746ed12334f71f45f824d92bbe3bd517ba3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'nat/nat2vpp/src/test/resources')
-rw-r--r--nat/nat2vpp/src/test/resources/nat/external-ip-pool.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/nat/nat2vpp/src/test/resources/nat/external-ip-pool.json b/nat/nat2vpp/src/test/resources/nat/external-ip-pool.json
new file mode 100644
index 000000000..37e8e907f
--- /dev/null
+++ b/nat/nat2vpp/src/test/resources/nat/external-ip-pool.json
@@ -0,0 +1,12 @@
+{
+ "nat-instances" : {
+ "nat-instance" : {
+ "id" : 0,
+ "external-ip-address-pool": {
+ "pool-id": 22,
+ "external-ip-pool": "192.168.1.1/24"
+ }
+ }
+ }
+}
+