Return the list of network related PIFs
# File lib/fog/xenserver/models/compute/network.rb, line 35 def pifs p = [] __pifs.each do |pif| p << connection.pifs.get(pif) end p end
# File lib/fog/xenserver/models/compute/network.rb, line 26 def refresh data = connection.get_record( reference, 'network' ) merge_attributes( data ) true end
Return the list of network related VIFs
# File lib/fog/xenserver/models/compute/network.rb, line 46 def vifs v = [] __vifs.each do |vif| v << connection.vifs.get(vif) end v end