Red Hat Bugzilla – Bug 499161
expose Spacewalk behavior via a CLI
Last modified: 2009-09-10 08:00:53 EDT
The Spacewalk API has been enhanced with each release of Spacewalk:
What would be great is to have a CLI to interact with the Spacewalk server something along the lines of:
spacewalk user create --email@example.com
spacewalk channel create --name="RHEL 5 i386" --arch=i386 --label=rhel5-i386
spacewalk kickstart create --name=rhel5-i386 --channel=rhel5-i386
spacewalk activationkey create --name=rhel5-i386 --channel=rhel5-i386
and so on .. would be immensely useful. Just because our GUI is large
and has many many different things to manage that doesn't mean there are
simple entry points to all the common objects in Satellite.
The above could just be an interface to our existing XMLRPC API, all the
above and more is available to be called to without our GUI. The only
thing we are lacking is an implementation of the actual CLI bits.
Done in commit:
The new script is call spacewalk-api and is in package spacewalk-utils
Spacewalk 0.6 released.