X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftest_data%2Fhoneycomb%2Fplugin_acl.py;h=06c7cc34518de8802d76371c7cac89a336c8b48f;hb=56dd61dee872da788e578129eed48a3158a5b566;hp=d9d2ecd90f6179886e5797f6f1d0d46f431f6e74;hpb=005e7e00d0e9b9d4c0796c998b88d639ee316033;p=csit.git diff --git a/resources/test_data/honeycomb/plugin_acl.py b/resources/test_data/honeycomb/plugin_acl.py index d9d2ecd90f..06c7cc3451 100644 --- a/resources/test_data/honeycomb/plugin_acl.py +++ b/resources/test_data/honeycomb/plugin_acl.py @@ -34,6 +34,7 @@ def get_variables(test_case, name): # Variables for control packet "src_ip": "16.0.0.1", "dst_ip": "16.0.1.1", + "src_net": "16.0.0.0", "dst_net": "16.0.1.0", "src_port": "1234", "dst_port": "1234", @@ -120,6 +121,11 @@ def get_variables(test_case, name): "src_ip": "10::1", "dst_ip": "11::1", "dst_net": "11::", + # IPs for DUT interface setup + "dut_to_tg_if1_ip": "10::2", + "dut_to_tg_if2_ip": "20::2", + "prefix_length": 64, + "gateway": "20::1", # ICMP code and type for control packet "icmp_type": 1, "icmp_code": 0, @@ -294,6 +300,7 @@ def get_variables(test_case, name): "rule-name": "rule1", "matches": { "vpp-ace-nodes": { + "source-ipv4-network": "0.0.0.0/0", "tcp-nodes": { "destination-port-range": { "lower-port": @@ -338,6 +345,7 @@ def get_variables(test_case, name): "rule-name": "ports", "matches": { "vpp-ace-nodes": { + "source-ipv4-network": "0.0.0.0/0", "tcp-nodes": { "destination-port-range": { "lower-port": @@ -383,6 +391,7 @@ def get_variables(test_case, name): "rule-name": "rule1", "matches": { "vpp-ace-nodes": { + "source-ipv4-network": "0.0.0.0/0", "icmp-nodes": { "icmp-type-range": { "first": "1", @@ -424,6 +433,7 @@ def get_variables(test_case, name): "rule-name": "rule1", "matches": { "vpp-ace-nodes": { + "source-ipv6-network": "::/0", "icmp-v6-nodes": { "icmp-type-range": { "first": "1", @@ -476,8 +486,7 @@ def get_variables(test_case, name): } }, "actions": { - # TODO: will be renamed in HC2VPP-57 - "vpp-acl:permit": {} + "vpp-acl:permit-and-reflect": {} }, }, ]}