lib/fog/libvirt/models/compute/nic.rb in fog-maestrodev-1.7.0.20121114190951 vs lib/fog/libvirt/models/compute/nic.rb in fog-maestrodev-1.8.0.20130109172219
- old
+ new
@@ -26,17 +26,17 @@
end
def save
raise Fog::Errors::Error.new('Creating a new nic is not yet implemented. Contributions welcome!')
#requires :server
- #connection.attach_nic(domain , self)
+ #service.attach_nic(domain , self)
end
def destroy
raise Fog::Errors::Error.new('Destroying an interface is not yet implemented. Contributions welcome!')
#requires :server
##detach the nic
- #connection.detach_nic(domain, mac)
+ #service.detach_nic(domain, mac)
end
private
def defaults
{