def delete_all_hosting_devices(self, context, force_delete=False):
        """Deletes all hosting devices."""
        for item in self._get_collection_query(
                context, hd_models.HostingDeviceTemplate):
            self.delete_all_hosting_devices_by_template(
                context, template=item, force_delete=force_delete)
def delete_all_hosting_devices ( self , context , force_delete = False ) : for item in self . _get_collection_query ( context , hd_models . HostingDeviceTemplate ) : self . delete_all_hosting_devices_by_template ( context , template = item , force_delete = force_delete )
Deletes all hosting devices.