diff --git a/IM/tosca/Tosca.py b/IM/tosca/Tosca.py index fde708ae8..218a2ddf6 100644 --- a/IM/tosca/Tosca.py +++ b/IM/tosca/Tosca.py @@ -225,7 +225,16 @@ def _order_deploys(self, radl): else: priv.append(d) - radl.deploys = pub + priv + # This is patch, we need a solution for that + wn = [] + fe = [] + for d in pub: + if "wn" in d.id: + wn.append(d) + else: + fe.append(d) + + radl.deploys = fe + wn + priv def _get_num_instances(self, sys_name, inf_info): """