server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
#def subnets(credentials, opts={})
#  there is not any suitable entity in RHEV networking model
#end
def subnets(credentials, opts={})
there is not any suitable entity in RHEV networking model
end
def subnets ( credentials opts = {} ) there is not any suitable entity in RHEV networking model end
def network_interfaces(credentials, opts={})
    client = new_client(credentials)
    nics = []
    safely do
      client.vms.each do |vm|
        vm.interfaces.each do |vm_nic|
          if opts[:id] && (vm_nic.id == opts[:id])
            return [convert_nic(vm_nic)]
          else
            nics << convert_nic(vm_nic)
          end
        end
      end
    end
    filter_on(nics, :id, opts)
  end
def network_interfaces ( credentials , opts = { } ) client = new_client ( credentials ) nics = [ ] safely do client . vms . each do | vm | vm . interfaces . each do | vm_nic | if opts [ :id ] && ( vm_nic . id == opts [ :id ] ) return [ convert_nic ( vm_nic ) ] else nics << convert_nic ( vm_nic ) end end end end filter_on ( nics , :id , opts ) end
def subnets(credentials, opts={})
there is not any suitable entity in RHEV networking model
end
def subnets ( credentials opts = {} ) there is not any suitable entity in RHEV networking model end
credentials
<not_specific>
opts
<not_specific>