Sha256: 90502ed1090d01a3fe097b8a4f846ce79dcb5991b23cc8cb68a6014dc3f31d22

Contents?: true

Size: 318 Bytes

Versions: 11

Compression:

Stored size: 318 Bytes

Contents

module Fog
  module Libvirt
    class Compute
      class Real
        #shutdown the interface
        def destroy_interface(uuid)
          client.lookup_interface_by_uuid(uuid).destroy
        end
      end

      class Mock
        def destroy_interface(uuid)
          true
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
fog-libvirt-0.12.2 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.12.1 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.12.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.11.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.10.1 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.10.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-csem-0.9.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.9.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.8.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.7.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.6.0 lib/fog/libvirt/requests/compute/destroy_interface.rb