class Fog::Compute::XenServer::Network

Public Instance Methods

pifs() click to toggle source

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
refresh() click to toggle source
# File lib/fog/xenserver/models/compute/network.rb, line 26
def refresh
  data = connection.get_record( reference, 'network' )
  merge_attributes( data )
  true
end
vifs() click to toggle source

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