aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data/honeycomb/nat.py
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-02-07 13:49:03 +0100
committerPeter Mikus <pmikus@cisco.com>2017-02-15 05:10:55 +0000
commit4e249c36f388a3c030ba83bd3aed8b38ebf54af4 (patch)
tree5cbe9a05437ebce6e2d93eb15dfa98ef82c44730 /resources/test_data/honeycomb/nat.py
parentfd66ed704b43574b2dbe25d32fbf5e6575cbe29b (diff)
HC Test: Update sNAT tests due to API changes
- add protocol value to expected VAT data - add protocol value to snat_static_mapping_dump parser - add temp workaround for returned "error:misc" on Ubuntu14.04 Change-Id: I42776b62b04eac65d03dcae1ec6a386a765b2e52 Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/test_data/honeycomb/nat.py')
-rw-r--r--resources/test_data/honeycomb/nat.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/test_data/honeycomb/nat.py b/resources/test_data/honeycomb/nat.py
index fe2894b469..a7c4b3adcd 100644
--- a/resources/test_data/honeycomb/nat.py
+++ b/resources/test_data/honeycomb/nat.py
@@ -79,11 +79,13 @@ def get_variables(node, interface):
{
"local_address": "192.168.0.1",
"remote_address": "192.168.1.1",
- "vrf": "0"
+ "vrf": "0",
+ "protocol": "17"
}, {
"local_address": "192.168.0.2",
"remote_address": "192.168.1.2",
- "vrf": "0"
+ "vrf": "0",
+ "protocol": "17"
}
],
"nat_interface_vat_in": [