Sha256: 74a41f47510351da67f8bd9b72d5fdbbec38223770c656aec5181e2b200c20fa

Contents?: true

Size: 883 Bytes

Versions: 6

Compression:

Stored size: 883 Bytes

Contents

<interface type='<%= @type %>'<% if @trust_guest_rx_filters %> trustGuestRxFilters='yes'<% end %>>
  <% 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'/>
  <% end %>
  <% if @pci_bus and @pci_slot %>
  <address type='pci' bus='<%=@pci_bus%>' slot='<%=@pci_slot%>' />
  <% end %>
</interface>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-libvirt-0.2.1 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.1.2 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.1.0 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.0.45 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.0.43 lib/vagrant-libvirt/templates/public_interface.xml.erb
vagrant-libvirt-0.0.42 lib/vagrant-libvirt/templates/public_interface.xml.erb