code: 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)
docs: Deletes all hosting devices.