Paul Thornthwaite
40c0cd7122
Make use of #persisted? method
...
In many places we were checking for identity which was the shorthand for
checking if the resource had been saved by the service.
The #persisted? method was added to show a clearer intent and also offer
minimal ActiveModel interface
2012-12-23 02:45:05 +00:00
James Herdman
97b16d08d2
Remove absolute path when requiring
2012-05-26 11:27:28 -04:00
James Herdman
101439bbda
Silence warnings about potentially private attribute
2012-05-26 11:27:23 -04:00
James Herdman
641c6c106b
Remove unused variable
2012-05-26 11:27:23 -04:00
Amos Benari
437de9fede
[oVirt] fixed create_vm and get_virtual_machine requests mock implementation.
2012-05-09 10:23:28 +03:00
Amos Benari
8a8b7e81b9
use constant for GB.
2012-04-16 12:01:00 +03:00
Amos Benari
793cdf2960
[oVirt] added volume size in GB accessor.
2012-04-16 09:48:17 +03:00
Amos Benari
ebbffe1993
[oVirt] added volumes to server and template
2012-04-09 16:44:07 +03:00
Amos Benari
4ffa8675ea
ovirt added support for 'set vm ticket'.
...
This api call is needed for openning a console to the server.
2012-03-21 16:00:57 +02:00
Amos Benari
6eb1560abe
[oVirt] Added VM and Template network-interfaces crud.
2012-03-12 12:25:03 +02:00
Amos Benari
76e3447c61
[oVirt] added support for update vm on ovirt
2012-02-20 14:18:54 +02:00
Amos Benari
50499d004e
[oVirt] added option to block on start.
...
Start action will block instead of fail. It can be useful in case of
start after stop or create.
2012-02-19 14:51:06 +02:00
Amos Benari
a898c001c8
[oVirt] Fixed syntax error in ovirt parser.
2012-02-19 12:44:40 +02:00
Dan Peterson
caf949af56
[ovirt|compute] #instance_variables returns Symbols in 1.9.2+.
2012-02-08 18:49:22 -04:00
Amos Benari
905c69d424
oVirt: Added tests to work on both real and mock.
...
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
2012-02-08 09:36:07 -06:00
Ohad Levy
4a9bfe58c8
Added basic tests to Ovirt compute provider
2012-02-08 09:36:06 -06:00
Amos Benari
ae29d968c6
Adds Supprt for oVirt ( http://ovirt.org ).
...
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
2012-02-08 09:35:23 -06:00