Virtual Machines

This page list all the Virtual Machines linked to your account. It is not possible to interect with them yet.

<%= for location <- ["LNTH"] do %>

Location: <%= location %>

<%= for vm <- @vms do %> <% end %>
# Name State Actions
<%= Map.get(vm, :ID) %> <%= Map.get(vm, :NAME) %> <%= VM.state_for(Map.get(vm, :STATE)) %> <%= case VM.state_for(Map.get(vm, :STATE)) do :poweroff -> link "start", to: Routes.virtual_machine_hosting_path(@conn, :start, Map.get(vm, :ID)) :active -> link "stop", to: Routes.virtual_machine_hosting_path(@conn, :stop, Map.get(vm, :ID)) _ -> "" end %> <%= link "show details", to: Routes.virtual_machine_hosting_path(@conn, :show, Map.get(vm, :ID)) %>
<% end %>