1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

24 commits

Author SHA1 Message Date
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
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
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
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
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