| Class | Xen::Connection |
| In: |
lib/xen/connection.rb
|
| Parent: | Object |
Initializes an xml-rpc connection to a Xen host, and logs in with the given credentials.
Xen::Connection.new (‘xenhost.example.com’, 2000, ‘login’, ‘pass’)
Make a direct call to the Xen API.
call(‘session.get_this_host’, session_id) # => {"Status"=>"Success", "Value"=>"3a8f495d-939d-823b-fa08-fc407c73dc94"}