Sergio Rubio
6f0f4c4349
[xenserver] add missing Host attributes (edition, software_version)
2013-01-08 00:11:07 +01:00
Sergio Rubio
68348ed1f7
[xenserver|tests] test Host.host_cpus method
2013-01-08 00:11:07 +01:00
Sergio Rubio
b77524e722
[xenserver|tests] typo fix
2013-01-08 00:11:07 +01:00
Sergio Rubio
1c3d0e195e
[xenserver|tests] added HostCpu model tests
2013-01-08 00:11:07 +01:00
Sergio Rubio
5e1d3e473a
Merge pull request #1448 from rubiojr/xenserver-sr-fixes
...
[xenserver] StorageRepository.save should use sane defaults
2013-01-06 11:26:06 -08:00
Sergio Rubio
a3edb0a601
[xenserver] add missing host operations (enable/disable, reboot, shutdown)
2013-01-06 16:12:38 +01:00
Sergio Rubio
5b6ca0b98b
[xenserver] StorageRepository.save should use sane defaults
...
- Added required tests
- Minor StorageRepository tests refactoring
2013-01-06 14:31:26 +01:00
Sergio Rubio
731ba25bc4
[xenserver|tests] added missing SotorageRepository tests
2013-01-04 23:18:31 +01:00
Sergio Rubio
09c8d80075
[xenserver|tests] added more pool tests to cover the new functionality
2013-01-04 23:07:33 +01:00
Sergio Rubio
4ddef41a59
[xenserver|tests] tests PBDs plug/unplug operation
2013-01-04 22:48:58 +01:00
Sergio Rubio
6d80fe5c70
[xenserver|tests] add unplug_pbd request tests
2013-01-04 22:31:01 +01:00
Sergio Rubio
9808b08541
[xenserver|tests] Added destroy_sr request tests
2013-01-04 22:14:20 +01:00
Sergio Rubio
494ebe634e
[xenserver|tests] Added create_sr request tests
2013-01-04 22:13:36 +01:00
Sergio Rubio
5efe677709
[xenserver] Added HostMetrics tests
2012-12-06 23:46:51 +01:00
Sergio Rubio
49c14eb543
[xenserver] Added missing Server.tags attribute
...
Added support for Array parameters to Connection.request:
server = connection.server.create :name => 'fooserver',
:template_name => 'debian-squeeze'
server.wait_for { ready? }
server.set_attribute 'tags', ['tagfoo', 'tagbar']
Added required shindo test for set_attribute request.
2012-06-07 19:26:47 +02:00
geemus
ce9b00eacf
[xenserver] fix tags to skip tests without credentials
2012-05-28 15:22:26 -05:00
Sergio Rubio
65e1c98c3d
* [xenserver|compute] set_attribute request now accepts var args
...
- added new tests
* [xenserver|compute] VBD fixes and cleanup
- VBD.metrics now returns nil when VBD not attached
- VBD tests fixes and cleanup
* [xenserver|compute] cleanup tests and add new helpers
2012-04-19 10:53:56 +02:00
Sergio Rubio
8dad76cee0
* Added new scan_sr request
...
* Added StorageRepository.scan method
* set_attribute request is now generic and can be used by any model
* Added VDI.set_attribute method
2012-04-16 21:09:52 +02:00
Sergio Rubio
d81ab200e8
* Fix: do not try to retrive guest_metrics when guest_metrics ref is nil
...
* ruby 1.8.7 compatibility fixes
* Sane defaults for create_server_raw request
2012-04-13 18:17:19 +02:00
Sergio Rubio
d7edfcd443
* Added missing attributes to Server model
...
* Added create_server_raw request and tests
* Added VIF.save action
* more tests
2012-04-13 12:44:49 +02:00
Sergio Rubio
fb54e330b2
* renamed some tests
...
* Added missing VDI attributes and methods
* added create/destroy request tests
* Added valid_ref? test helper
* Fixes in get_record_tests
2012-04-12 20:59:53 +02:00
Sergio Rubio
e269f7d6de
* Added set_attribute request and tests
...
* Added missing PV_bootloaer attribute to Server
* Added Server.set_attribute method and tests
2012-04-12 13:17:58 +02:00
Sergio Rubio
2754694787
* Added missing VBD operations
2012-04-10 08:01:17 +02:00
Sergio Rubio
ccc7aee3a0
* Added create_vif tests
...
* Server.save now properly creates additional VIFs when required
* Added create_vif_custome request to create VIFs with custom params
2012-04-09 12:36:08 +02:00
Sergio Rubio
9ea96293e6
* Added clone_server request
2012-04-09 10:36:28 +02:00
Sergio Rubio
907dd0cba5
* Added some more tests
...
* Lots of fixes and some refactoring
2012-04-04 19:48:21 +02:00
Sergio Rubio
b917ffc5db
* Added more tests and extended existing ones
...
* Added missing exceptions NotFound and RequestFailed
* connection.request now raises exception if request failed
* refactored most get_* request into get_record and get_records
* Compute.default_template more robust
* Base parser now replaces OpaqueRef:NULL with nil
* create_server request fixes
2012-04-04 09:01:55 +02:00
Sergio Rubio
ba8313f099
* Added custom_templates and templates methods to Host model
2012-04-02 18:50:50 +02:00
Sergio Rubio
ae6e59849f
* Define missing InvalidLogin exception
...
* Add login tests
2012-04-02 18:10:56 +02:00
Sergio Rubio
d480b3e3c6
* Added Pool and StorageRepository models and collections Shindo tests
...
* Added missing attributes to Pool and StorageRepository models
2012-04-02 15:27:35 +02:00
Sergio Rubio
df985aec67
* Added Network collection Shindo tests
...
* Fixed PBD and PIF tests descriptions
2012-04-02 14:03:12 +02:00
Sergio Rubio
19b927ba4f
* Added VBD Shindo tests
...
* added server wrapper to VBD model
2012-04-02 13:48:04 +02:00
Sergio Rubio
606999764e
* Added PIFs collection Shindo tests
2012-04-02 13:38:33 +02:00
Sergio Rubio
c0cd9398e0
* Added VIF collection Shindo tests
2012-04-02 13:36:52 +02:00
Sergio Rubio
641ebd3fcd
* Added VIF model and collection tests
...
* added network and server wrappers to VIF model
2012-04-02 13:35:49 +02:00
Sergio Rubio
3131e7b9fb
* [xenserver|compute] initial release
2012-04-02 13:25:03 +02:00