Sha256: 3faf8c175993228595df93f699bc1f3f9ac3bc8b25676eaa376978fb8be184f4

Contents?: true

Size: 1.36 KB

Versions: 7

Compression:

Stored size: 1.36 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 @compute_resource.convert_memory_to_bytes(@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

7 entries across 7 versions & 1 rubygems

Version Path
foreman_kubevirt-0.2.0 app/views/compute_resources_vms/show/_kubevirt.html.erb
foreman_kubevirt-0.1.9 app/views/compute_resources_vms/show/_kubevirt.html.erb
foreman_kubevirt-0.1.8 app/views/compute_resources_vms/show/_kubevirt.html.erb
foreman_kubevirt-0.1.7 app/views/compute_resources_vms/show/_kubevirt.html.erb
foreman_kubevirt-0.1.5 app/views/compute_resources_vms/show/_kubevirt.html.erb
foreman_kubevirt-0.1.4 app/views/compute_resources_vms/show/_kubevirt.html.erb
foreman_kubevirt-0.1.3 app/views/compute_resources_vms/show/_kubevirt.html.erb