Overview Coverage XMLRPC methods in spacecmd
Hi, I was interested to see how many XMLRPC methods are available in spacecmd, without using the generic api function. Results based on the Uyuni Master branch as of today: Total: 721 Available: 336 Missing: 385 I wrote a quick & dirty bash script for the comparison, so it might not 100% accurate neither elegant, but gives a good indicator. When it comes to Automation, for example Ansible, I like using spacecmd under the hood and build some wrapper around. That leaves the heavy lifting and error handling with spacecmd, without re-inventing the wheel by creating new python modules that mostly contain the same code as spacecmd already does. Therefore I plan to implement some of the missing methods within the next time, for my needs most interesting will probably be: - ansible - actionchain - image* - recurringaction - saltkey - system (some of them like changeProxy or getConnectionPath) - user.external Just wanted to share that with you, the Bash Script I wrote and the results as csv file are also attached if someone is interested and want to take a look. Cheers Dominik -- The Wombelix Post https://dominik.wombacher.cc
Hi Dominik, Interesting data, thank you. On 5/8/22 01:33, Dominik Wombacher wrote:
Hi,
I was interested to see how many XMLRPC methods are available in spacecmd, without using the generic api function.
Results based on the Uyuni Master branch as of today:
Total: 721 Available: 336 Missing: 385
I wrote a quick & dirty bash script for the comparison, so it might not 100% accurate neither elegant, but gives a good indicator.
When it comes to Automation, for example Ansible, I like using spacecmd under the hood and build some wrapper around. That leaves the heavy lifting and error handling with spacecmd, without re-inventing the wheel by creating new python modules that mostly contain the same code as spacecmd already does.
Therefore I plan to implement some of the missing methods within the next time, for my needs most interesting will probably be:
Contributions are always welcome. Community is big part of Uyuni family and we count on such insights and contributions.
- ansible - actionchain - image* - recurringaction - saltkey - system (some of them like changeProxy or getConnectionPath) - user.external
Just wanted to share that with you, the Bash Script I wrote and the results as csv file are also attached if someone is interested and want to take a look.
Cheers Dominik
Best regards, Abid -- Abid Mehmood SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nuremberg Germany (HRB 36809, AG Nürnberg) Managing Director/Geschäftsführer: Ivo Totev
participants (2)
-
Abid Mehmood
-
Dominik Wombacher