Ohad Levy
5d2f7ba341
libvirt: servers return nil, not an empty array...
2012-01-25 16:16:39 +02:00
Ohad Levy
d8f0bc1e24
libvirt - avoids exception if a uuid is not found
2012-01-25 14:32:47 +02:00
Ohad Levy
1c6d62fc2f
fixes libvirt wrong state check
2012-01-25 14:32:47 +02:00
Ohad Levy
e38b82666a
minor cleanups
2012-01-25 14:32:47 +02:00
Ohad Levy
73ac4553bc
first cut of cleaning up libvirt server class
...
This patch tries not to change any functioanlity, rather just reoginize the code.
2012-01-19 15:43:19 +02:00
Konstantin Haase
c7d521018c
implement respond_to? corresponding to method_missing for VirtualBox and libvirt
2012-01-12 16:40:11 +01:00
Wesley Beary
9284d30890
Merge pull request #627 from rubiojr/remove-pp-debug
...
* remove unnecessary debugging
2011-11-30 07:52:13 -08:00
Patrick Debois
f3edfb7713
Merge pull request #629 from rubiojr/add-env-var-to-ip-command
...
* Add server_name environment variable to ip_command
2011-11-30 07:37:04 -08:00
Patrick Debois
b47b53def5
Merge pull request #630 from rubiojr/implement-server-volume-destroy
...
* implement :destroy_volumes in Server.destroy (libvirt provider)
2011-11-30 07:35:57 -08:00
Sergio Rubio
6eba50d362
* implement :destroy_volumes in Server.destroy (libvirt provider)
2011-11-30 13:15:12 +01:00
Sergio Rubio
4ddee13d29
* Add server_name environment variable to ip_command
2011-11-30 12:10:46 +01:00
Sergio Rubio
c045fa2955
* Add missing recognized :libvirt_ip_command
2011-11-30 11:29:51 +01:00
Sergio Rubio
727f2d0fc6
* remove unnecessary debugging
2011-11-30 10:35:16 +01:00
Sergio Rubio
114dba494b
Fixes for issues 616 and 617
2011-11-21 10:09:03 +01:00
Patrick Debois
1e0fa9af89
[Compute|Libvirt] Take into account a query string can be empty, different on some rubies it gives nil, on some empty string
2011-09-30 16:13:24 +02:00
Patrick Debois
6c0d4b6d2b
another log entry style resused old ethernet
2011-09-21 14:33:56 +02:00
Patrick Debois
0ec38a2587
fixed missing disk-> volume conversion
2011-09-19 14:23:08 +02:00
Patrick Debois
1a576820ae
vmfusion provider , requires the fission gem (pull request pending)
2011-09-16 14:57:00 +02:00
Patrick Debois
a842b3699e
[Libvirt|Compute] renamed all disk_ params for server creation to volume_ to make it consistent with the object type volume
2011-09-14 09:33:58 +02:00
Patrick Debois
4740174f12
[Libvirt] renamed 'raw' connection to raw in the Fog Connection
...
Because the initial provider was copied from the virtualbox example we ended up with a notation
connection.connection for the raw provider
The function of the raw are injected on the connection object. Still in analogy with the raw
for server , volume, ... it makes sense to rename connection.connection to connection.raw
Also all calls to the raw connection are now explicit
2011-09-13 07:34:18 +02:00
Patrick Debois
3d7adcf7ca
[Libvirt] added blocked state and corrected crashed to shutoff state
2011-09-12 20:28:09 +02:00
Patrick Debois
3a6ab8e600
[Libvirt] rename xml_desc to xml as an attribute and hide all non_dynamic attributes from fog console
2011-09-12 20:11:58 +02:00
Patrick Debois
f23155c4f2
[Libvirt] Remove the newlines after running the local ip_command
2011-09-12 20:01:20 +03:00
Patrick Debois
22e804c3a9
[Libvirt] more specific error if the ip_command results in string that has no ip-address format
2011-09-12 19:55:36 +03:00
Patrick Debois
384b7e528d
[Libvirt] initialize the ip_address as an empty string
2011-09-12 18:42:16 +03:00
Patrick Debois
31ab178dac
[Libvirt] corrected typo for appending string output to IO.popen
2011-09-12 18:36:50 +03:00
Patrick Debois
308569b016
[Libvirt] Provided better solution for ip_command : use shell variable instead of ruby string for mac-address
2011-09-12 18:33:38 +03:00
Patrick Debois
7e1bc34f29
[Libvirt] Enable to pass an libvirt_ip_command for looking up the mac -> ip_address . Using eval to allow for passing of mac address in ip_command
2011-09-12 18:22:37 +03:00
Patrick Debois
544ae281eb
[Libvirt] if transport is empty, ssh can't be enabled
2011-09-12 17:52:20 +03:00
Patrick Debois
3c38d42776
[libvirt] Corrected template variable from interface_nat_network to network_nat_network
2011-09-12 17:43:35 +03:00
Patrick Debois
0edd5157fd
Made libvirt username param consistent with other providers libvirt_user -> libvirt_username
2011-09-12 17:10:12 +03:00
geemus
b2c8ff0388
[core] work toward separate requires
...
Should facilitate the following:
require 'fog/aws'
require 'fog/compute'
require 'fog/aws/compute'
I think once you `require 'rubygems'` those should work.
further cleanup should reduce common requires (ie nokogiri)
2011-08-31 15:52:53 -05:00
geemus
529591f772
[compute|libvirt] move libvirt compute to its own shared area (namespacing should probably be corrected)
2011-08-29 10:24:39 -05:00