summaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/sfc_one_chain_two_service_functions.py
diff options
context:
space:
mode:
authorJaime Caamaño Ruiz <jcaamano@suse.com>2018-03-02 18:14:37 +0100
committerManuel Buil <mbuil@suse.com>2018-04-09 08:11:51 +0000
commit8e7a0e837da1f278c46e398ad53e7e77ed90e81a (patch)
tree1af3520c091dc72a50eed660774d38cd427f4bdc /sfc/tests/functest/sfc_one_chain_two_service_functions.py
parent759d329153679f711dca3bd54c3cc01897c82d6d (diff)
Support sfp redirect action on acl flow check
Starting Oxygen, ODL networking-sfc translator supports symmetric paths and maps flow classifiers to ACLs with SFP redirect action instead of RSP redirect action. A SFP may have two RSPs associated if the path is symmetric, one otherwise. One of the two RSPs will be flagged as the reverse path and the other is the forward path. Traffic from the logical-source-port will be classified to the forward path, while traffic from the logical-destination-port will be classified to the reverse path. This patch updates the ACL flow check logic to account for the above. Change-Id: I2d8b9e6c2a1033d469668db29b9c18f525e89370 Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com> (cherry picked from commit f66a8164cfb2ef172ee3ea274992b9c07306f08c)
Diffstat (limited to 'sfc/tests/functest/sfc_one_chain_two_service_functions.py')
-rw-r--r--sfc/tests/functest/sfc_one_chain_two_service_functions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfc/tests/functest/sfc_one_chain_two_service_functions.py b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
index 58323bf3..07f7814c 100644
--- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py
+++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
@@ -187,7 +187,8 @@ def main():
# Start measuring the time it takes to implement the classification rules
t1 = threading.Thread(target=odl_utils.wait_for_classification_rules,
args=(ovs_logger, compute_nodes, odl_ip,
- odl_port, openstack_sfc.get_compute_client(),))
+ odl_port, openstack_sfc.get_compute_client(),
+ [neutron_port],))
try:
t1.start()
except Exception as e: