code: def retry_failure_internal(self, tenant_id, tenant_name, fw_data,
                                 is_fw_virt, result):
          
          if not self.auto_nwk_create:
              LOG.info("Auto network creation disabled")
              return False
          try:
              # TODO(padkrish) More than 1 FW per tenant not supported
              if tenant_id not in self.service_attr:
                  LOG.error("Tenant Obj not created")
                  return False
              if result == fw_const.RESULT_FW_CREATE_INIT:
                  # A check for is_fabric_create is not done here.
                  ret = self.run_create_sm(tenant_id, fw_data, is_fw_virt)
              else:
                  if result == fw_const.RESULT_FW_DELETE_INIT:
                      # A check for is_fabric_create is not done here.
                      # Pls check the comment given in function
                      # delete_fabric_fw_int
                      ret = self.run_delete_sm(tenant_id, fw_data, is_fw_virt)
                  else:
                      LOG.error("Unknown state in retry")
                      return False
              self.service_attr[tenant_id].set_fabric_create(ret)
          except Exception as exc:
              LOG.error("Exception raised in create fabric int %s",
                        str(exc))
              return False
          return ret
docs: Internal routine to retry the failed cases.