Sha256: 45258bff55ccf5d9adccc995c4e6d23666bf5fe3dbf42c961a7449d8282da69f

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

<% title @vm.name %>

<div class='col-md-12'>
  <table class="<%= table_css_classes %>">
    <thead>
      <tr><th colspan="2"><%=_('Properties') %></th></tr>
    </thead>
    <tbody>
      <tr>
        <td><%= _('Name') %></td>
        <td><%= @vm.identity %></td>
      </tr>
      <tr>
        <td><%= _('VCPU(s)') %></td>
        <td><%= @vm.cpu_cores %></td>
      </tr>
      <tr>
        <td><%= _('UUID') %></td>
        <td><%= @vm.uid %></td>
      </tr>
      <tr>
        <td><%= _('Memory') %></td>
        <td><%= number_to_human_size @vm.memory %>
        </td>
      </tr>
      <tr>
        <td><%= _('Namespace') %></td>
        <td><%= @vm.namespace %></td>
      </tr>
      <tr>
        <td><%= _('Type') %></td>
        <td><%= @vm.machine_type %></td>
      </tr>

      <% @vm.interfaces.each do |nic| %>
        <tr>
          <td><%= _('NIC') %></td>
          <td><%= "#{nic.name} - #{nic.mac_address} (#{nic.type})" %></td>
        </tr>
      <% end %>

      <% @vm.volumes.each do |vol| %>
        <tr>
          <td><%= _('Disk') %></td>
          <td><%= "#{vol.name}  - #{vol.type} (#{vol.info})" %></td>
        </tr>
      <% end %>

      <tr>
        <td><%= _('Running on') %></td>
        <td><%= link_to @compute_resource, compute_resource_path(@compute_resource) %></td>
      </tr>
    </tbody>
  </table>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_kubevirt-0.1.2 app/views/compute_resources_vms/show/_kubevirt.html.erb
foreman_kubevirt-0.1.1 app/views/compute_resources_vms/show/_kubevirt.html.erb
foreman_kubevirt-0.1.0 app/views/compute_resources_vms/show/_kubevirt.html.erb