Sergio Rubio
bd16ffc7c8
[xenserver] added destroy_sr request (destroy Storage Repository)
2012-12-31 00:47:47 +01:00
Sergio Rubio
c53f2659b9
[xenserver] added create_sr request (create Storage Repository)
2012-12-31 00:47:04 +01:00
Sergio Rubio
5152fd273b
[xenserver|docs] added some color!, minor format fixes
2012-12-16 22:35:51 +01:00
Sergio Rubio
592dc03ea0
[xenserver|docs] added storage repositories examples
2012-12-16 22:23:44 +01:00
Sergio Rubio
74f18b9c3e
[xenserver|docs] added creating_servers.md tutorial
2012-12-16 00:18:24 +01:00
Sergio Rubio
b07d8661f5
[xenserver|docs] Added maintainer/attribution header to README.md
...
Moved the header from getting_started.md to README.md, so we don't have
to add it to every example added.
2012-12-15 21:17:48 +01:00
Sergio Rubio
a1d92e8320
[xenserver|compute] added getting started examples
2012-12-15 21:15:43 +01:00
Sergio Rubio
2990a6eba0
Added missing HostMetrics model
...
Added missing HostMetrics model that wraps Host.metrics OpaqueRef.
conn = Fog::Compute.new({
:provider => 'XenServer',
:xenserver_url => 'xenserver-test',
:xenserver_username => 'root',
:xenserver_password => 'secret',
})
pp conn.hosts.first.metrics # => yields
# <Fog::Compute::XenServer::HostMetrics
# reference="OpaqueRef:161923b3-47e4-7f8c-8995-3030be9d58f8",
# uuid="00d47697-3682-1e91-154b-00116a5b7878",
# live=true,
# memory_free="3311230976",
# memory_total="4217688064",
# other_config={},
# last_updated=2012-12-06 21:19:59 UTC
# >
2012-12-06 23:44:58 +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
James Herdman
97b16d08d2
Remove absolute path when requiring
2012-05-26 11:27:28 -04:00
James Herdman
b71ff66522
Remove unused accessor
2012-05-26 11:27:22 -04:00
James Herdman
441dec4da0
Remove unused variable
2012-05-26 11:27:22 -04: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
9ef0aa59ca
* Added create_vbd and provision_server requests
...
* Do not provision server when :auto_start is false
* Add Server.provisio method
* Add VBD.save method
2012-04-12 14:16:14 +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
f34fed46f2
* Added create_vdi request
...
* Added missing VDI methods and attributes
2012-04-09 21:33:47 +02:00
Sergio Rubio
f4dd7b3835
* Added Vif.destroy and destroy_vif request
...
* add :auto_start parameter to Server.save
2012-04-09 19:29: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
7d0b7d8814
* Fix Servers.templates method
2012-04-04 20:20:07 +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
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
19b927ba4f
* Added VBD Shindo tests
...
* added server wrapper to VBD model
2012-04-02 13:48:04 +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