[Ovirt-devel] Re: Ruby interface for Cobbler XML-RPC APIs.

Michael DeHaan mdehaan at redhat.com
Wed Aug 13 13:36:25 UTC 2008


Darryl L. Pierce wrote:
> +++ Michael DeHaan [13/08/08 09:27 -0400]:
>> Perhaps this isn't what this question was about, but FYI:  all calls 
>> can  go through the read-write interface for ovirt as it extends the  
>> read-only interface.
>>
>> You would only want to construct something that uses the read-only  
>> interface if you needed to do something like koan.
>>
>> Read only access does not require login() and only has a subset of 
>> the  available methods.
>
> The way the Cobbler Ruby bindings are written, calls identify 
> themselves as
> writable or not. From that, it determines whether or not to the use 
> read or
> read/write interface to perform the call. The code doesn't keep a 
> persistent
> connection to the Cobbler server.
>

That would be ok.   Just be sure you are not making unnecessary calls to 
login() when you already have a token.

--Michael





More information about the ovirt-devel mailing list