Skip to content

Commit

Permalink
split in out ports tests
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Blyschak <[email protected]>
  • Loading branch information
stepanblyschak committed Nov 11, 2021
1 parent ea5acfe commit a8508c1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/test_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,10 @@ def test_V6AclRuleNextHeaderAppendedForTCPFlags(self, dvs_acl, l3v6_acl_table):
dvs_acl.remove_acl_rule(L3V6_TABLE_NAME, L3V6_RULE_NAME)
dvs_acl.verify_no_acl_rules()

def test_AclRuleInOutPorts(self, dvs_acl, mclag_acl_table, mirror_acl_table):
def test_AclRuleInPorts(self, dvs_acl, mirror_acl_table):
"""
Verify IN_PORTS, OUT_PORTS matches on ACL rule.
Verify IN_PORTS matches on ACL rule.
Using MIRROR table type for IN_PORTS matches.
Using MCLAG table type for OUT_PORTS matches.
"""
config_qualifiers = {
"IN_PORTS": "Ethernet8,Ethernet12",
Expand All @@ -180,6 +179,11 @@ def test_AclRuleInOutPorts(self, dvs_acl, mclag_acl_table, mirror_acl_table):
dvs_acl.remove_acl_rule(MIRROR_TABLE_NAME, MIRROR_RULE_NAME)
dvs_acl.verify_no_acl_rules()

def test_AclRuleOutPorts(self, dvs_acl, mclag_acl_table):
"""
Verify OUT_PORTS matches on ACL rule.
Using MCLAG table type for OUT_PORTS matches.
"""
config_qualifiers = {
"OUT_PORTS": "Ethernet8,Ethernet12",
}
Expand Down

0 comments on commit a8508c1

Please sign in to comment.