diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-05-30 17:07:29 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-05-31 09:09:18 +0000 |
commit | 0451701f713e6358326fde689517d5212789ebc5 (patch) | |
tree | b09a0f6c3cf55a624cc0a20525733d59410f0dfc /resources/test_data | |
parent | 45c352857073042391ee03f9f2c7f37547ea22f8 (diff) |
HC Tests: use ip-prefix in NAT mapping entries (HC2VPP-325)
Adapts HC tests to
https://gerrit.fd.io/r/#/c/12810/
Change-Id: I6783b2db061c4cde0942dbb8583e7af8687c54d3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'resources/test_data')
-rw-r--r-- | resources/test_data/honeycomb/nat.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/test_data/honeycomb/nat.py b/resources/test_data/honeycomb/nat.py index 03544e1b54..e78e756dc3 100644 --- a/resources/test_data/honeycomb/nat.py +++ b/resources/test_data/honeycomb/nat.py @@ -42,16 +42,16 @@ def get_variables(node, interface): "mapping-entry": [{ "index": 1, "type": "static", - "internal-src-address": "192.168.0.1", - "external-src-address": "192.168.1.1" + "internal-src-address": "192.168.0.1/32", + "external-src-address": "192.168.1.1/32" }] }, "entry2": { "mapping-entry": [{ "index": 2, "type": "static", - "internal-src-address": "192.168.0.2", - "external-src-address": "192.168.1.2" + "internal-src-address": "192.168.0.2/32", + "external-src-address": "192.168.1.2/32" }] }, "entry1_2_oper": { @@ -59,14 +59,14 @@ def get_variables(node, interface): { "index": 1, "type": "static", - "internal-src-address": "192.168.0.1", - "external-src-address": "192.168.1.1" + "internal-src-address": "192.168.0.1/32", + "external-src-address": "192.168.1.1/32" }, { "index": 2, "type": "static", - "internal-src-address": "192.168.0.2", - "external-src-address": "192.168.1.2" + "internal-src-address": "192.168.0.2/32", + "external-src-address": "192.168.1.2/32" } ] }, |