(self, context, cluster)
Delete cloud resources before deleting the cluster.
Delete cloud resources before deleting the cluster.
Delete cloud resources before deleting the cluster .
def pre_delete_cluster(self, context, cluster):
        """Delete cloud resources before deleting the cluster."""
        if keystone.is_octavia_enabled():
            LOG.info("Starting to delete loadbalancers for cluster %s",
                     cluster.uuid)
            octavia.delete_loadbalancers(context, cluster)
def pre_delete_cluster ( self , context , cluster ) : if keystone . is_octavia_enabled ( ) : LOG . info ( "Starting to delete loadbalancers for cluster %s" , cluster . uuid ) octavia . delete_loadbalancers ( context , cluster )