Sha256: 7406c0ffddbc5e10ab55b04ce10306aec6eeef01b461ff5168c14ece7d2bb94f
Contents?: true
Size: 515 Bytes
Versions: 15
Compression:
Stored size: 515 Bytes
Contents
module Fog module Compute class Ovirt class V3 class Real def list_vm_interfaces(vm_id) client.vm_interfaces(vm_id).map { |ovirt_obj| ovirt_attrs ovirt_obj } end end class Mock def list_vm_interfaces(_vm_id) xml = read_xml "nics.xml" Nokogiri::XML(xml).xpath("/nics/nic").map do |nic| ovirt_attrs OVIRT::Interface.new(self, nic) end end end end end end end
Version data entries
15 entries across 13 versions & 2 rubygems