aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/lib/utils.py
diff options
context:
space:
mode:
author“Manuel Buil” <mbuil@suse.com>2017-03-17 10:17:56 +0100
committerBrady Johnson <brady.allen.johnson@ericsson.com>2017-03-17 14:04:37 +0000
commit70445ba93cb07164933ed0c5aac8db32f6f652d4 (patch)
treece6275ec4036f60cdf47611db302d6507194abd3 /sfc/lib/utils.py
parent84f3ea23ccc9f6e19a86748519deb600b2ac95e3 (diff)
Remove SFF_filter
After further investigation we found out that the classifier is deployed in all computes. When deploying several tests, ODL starts to function very slowly and sometimes the classifier takes a long time to be deployed in one compute. That tricked us and made us think that it was not deployed everywhere Change-Id: I474a05f77a6342be741d14ffbdb674ef7f970908 Signed-off-by: “Manuel Buil” <mbuil@suse.com>
Diffstat (limited to 'sfc/lib/utils.py')
-rw-r--r--sfc/lib/utils.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py
index d054a0e2..c3a587e0 100644
--- a/sfc/lib/utils.py
+++ b/sfc/lib/utils.py
@@ -472,18 +472,3 @@ def get_nova_id(tacker_client, resource, vnf_id=None, vnf_name=None):
logger.error("Cannot get nova ID for VNF (id='%s', name='%s')"
% (vnf_id, vnf_name))
return None
-
-
-def filter_sffs(compute_nodes, testTopology, vnfs):
- if 'nova' in testTopology.values():
- computes_to_check = [node.id for node in compute_nodes]
- else:
- # Get the number of the compute (e.g.node-7.domain.tld ==> 7)
- computes_to_check = [
- testTopology[vnf].split('.')[0].split('-')[1] for vnf in vnfs]
-
- computes_sff = [
- node.ssh_client for node in compute_nodes
- if node.id in computes_to_check]
-
- return computes_sff