aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data/honeycomb/plugin_acl.py
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-04-13 12:28:43 +0200
committerTibor Frank <tifrank@cisco.com>2017-04-21 08:03:50 +0000
commit15b51f686ef338bad639ba6fb7d0332958285539 (patch)
tree1143bf0b8778b7d5d3000137729ab78a3fd8b610 /resources/test_data/honeycomb/plugin_acl.py
parentc46911d3ee7b11af9b88cf235ce06f8fb24554fc (diff)
HC Test: update plugin-ACL test suite
- fix variables in routed icmpv6 test case - remove EXPECTED_FAILING tag from IPv6 and ICMPv6 cases - create and use keywords for test teardown Change-Id: I91792b5900015827bc2bcfd138192f972f92df28 Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/test_data/honeycomb/plugin_acl.py')
-rw-r--r--resources/test_data/honeycomb/plugin_acl.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/test_data/honeycomb/plugin_acl.py b/resources/test_data/honeycomb/plugin_acl.py
index 6bd673d8b0..9741da8fde 100644
--- a/resources/test_data/honeycomb/plugin_acl.py
+++ b/resources/test_data/honeycomb/plugin_acl.py
@@ -121,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,
@@ -295,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":
@@ -339,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":
@@ -384,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",
@@ -425,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",