@staticmethod
def _order_deploys(radl):
    """
        Order the RADL deploys to assure VMs with Public IPs a set a the beginning
        (to avoid problems with cluster configuration)
        """
    pub = []
    priv = []
    for d in radl.deploys:
        if radl.hasPublicNet(d.id):
            pub.append(d)
        else:
            priv.append(d)
    wn = []
    fe = []
    for d in pub:
        if 'wn' in d.id:
            wn.append(d)
        else:
            fe.append(d)
    radl.deploys = fe + wn + priv
