code: def prepare_fabric_fw(self, tenant_id, fw_dict, is_fw_virt, result):
          
          try:
              with self.mutex_lock:
                  ret = self._prepare_fabric_fw_internal(tenant_id, fw_dict,
                                                         is_fw_virt, result)
          except Exception as exc:
              LOG.error("Exception raised in create fabric %s", str(exc))
              return False
          return ret
docs: Top level routine to prepare the fabric.