Sha256: 9ad9e2f21d916e18ba2cb0d46c33c05a72b797b5a33c6f6145eab7459ecd5130

Contents?: true

Size: 1.02 KB

Versions: 18

Compression:

Stored size: 1.02 KB

Contents

<interface type='<%= @type %>'<% if @trust_guest_rx_filters %> trustGuestRxFilters='yes'<% end %>>
  <alias name='ua-net-<%= @iface_number %>'/>
  <% if @mac %>
  <mac address='<%= @mac %>'/>
  <% end %>
  <%if @type == 'direct'%>
  <source dev='<%= @device %>' mode='<%= @mode %>'/>
  <% elsif !@portgroup.nil? %>
  <source network='<%=@network_name%>' portgroup='<%=@portgroup%>'/>
  <% else %>
  <source bridge='<%=@device%>'/>
  <% end %>
  <model type='<%=@model_type%>'/>
  <% if @driver_name and @driver_queues %>
    <driver name='<%=@driver_name%>' queues='<%=@driver_queues%>'/>
  <% elsif @driver_queues %>
    <driver queues='<%=@driver_queues%>'/>
  <% elsif @driver_name %>
    <driver name='<%=@driver_name%>'/>
  <% end %>
  <% if @ovs %>
  <virtualport type='openvswitch'>
    <% if @ovs_interfaceid %>
      <parameters interfaceid='<%=@ovs_interfaceid%>'/>
    <% end %>
  </virtualport>
  <% end %>
  <% if @pci_bus and @pci_slot %>
  <address type='pci' bus='<%=@pci_bus%>' slot='<%=@pci_slot%>' />
  <% end %>
</interface>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
vagrant-libvirt-0.10.8 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.10.7 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.10.6 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.10.5 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.10.4 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.10.3 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.10.2 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.10.1 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.10.0 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.9.0 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.8.2 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.8.1 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.8.0 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.7.0 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.6.3 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.6.2 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.6.1 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.6.0 lib/vagrant-libvirt/templates/public_interface.xml.erb