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

7 commits

Author SHA1 Message Date
deepj
7172c15472 [xenserver] Use Nokogiri instead of slow REXML for parsing 2013-01-04 05:41:28 +01:00
Oguz Bilgic
45f7b4b58c [xenserver] Fix Fog::XenServer::Connection.authenticate
Xenserver expects string type for both password and username. Be
sure that they are string.
2012-12-05 15:45:39 -08: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
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
ae6e59849f * Define missing InvalidLogin exception
* Add login tests
2012-04-02 18:10:56 +02:00
Sergio Rubio
3131e7b9fb * [xenserver|compute] initial release 2012-04-02 13:25:03 +02:00