Sha256: db9d6441951c946f9429ca356a7bd8efde35df9020365e4efd5fea041db819bb

Contents?: true

Size: 318 Bytes

Versions: 110

Compression:

Stored size: 318 Bytes

Contents

module Fog
  module Compute
    class Libvirt
      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

110 entries across 110 versions & 17 rubygems

Version Path
fog-libvirt-0.5.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.4.2 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.4.1 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.4.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.3.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.2.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.1.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.0.4 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.0.3 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.0.2 lib/fog/libvirt/requests/compute/destroy_interface.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-libvirt-0.0.1 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-1.29.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-1.28.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-1.27.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-1.26.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-1.25.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
nsidc-fog-1.24.1 lib/fog/libvirt/requests/compute/destroy_interface.rb
fog-1.24.0 lib/fog/libvirt/requests/compute/destroy_interface.rb
ns-fog-1.22.11 lib/fog/libvirt/requests/compute/destroy_interface.rb