       end)
 
     case result do
-      {:ok, {motherboard, events}} ->
+      {:ok, {motherboard, deferred_events}} ->
         # FIXME: this should be handled by Eventually.flush(events)
-        Enum.each(events, fn {topic, params} ->
+        Enum.each(deferred_events, fn {topic, params} ->
           Broker.cast(topic, params, request: request)
         end)
 


  def handle_broker_cast(pid, "event:server:created", {server_id, _entity_id}, request) do
    # FIXME: remove hardcoded data
    hardware = %{
      motherboard: "MOBO01",
      components:  [
        {"cpu", "CPU01"},

      ]
    }

    GenServer.call(pid, {:setup, server_id, bundle, request})
  end

  @spec init(any) :: {:ok, state}
