Class: Fog::Compute::XenServer::PIF

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/xenserver/models/compute/pif.rb

Instance Method Summary collapse

Instance Method Details

#hostObject



48
49
50
# File 'lib/fog/xenserver/models/compute/pif.rb', line 48

def host
  service.hosts.get __host
end

#networkObject



44
45
46
# File 'lib/fog/xenserver/models/compute/pif.rb', line 44

def network
  service.networks.get __network
end