Bug 499161 - expose Spacewalk behavior via a CLI
Summary: expose Spacewalk behavior via a CLI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 0.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space06
TreeView+ depends on / blocked
 
Reported: 2009-05-05 13:43 UTC by Jesus M. Rodriguez
Modified: 2009-09-10 12:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-10 12:00:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Jesus M. Rodriguez 2009-05-05 13:43:52 UTC
The Spacewalk API has been enhanced with each release of Spacewalk:
https://fedorahosted.org/spacewalk/wiki/ApiAdditions

What would be great is to have a CLI to interact with the Spacewalk server something along the lines of:

spacewalk user create --login=foo
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.

Comment 1 Miroslav Suchý 2009-07-22 09:36:45 UTC
Done in commit:
fe7fd7a22df8d7055b25aae5f82c742c88b5f1d6
The new script is call spacewalk-api and is in package spacewalk-utils

Comment 2 Miroslav Suchý 2009-09-10 12:00:53 UTC
Spacewalk 0.6 released.


Note You need to log in before you can comment on or make changes to this bug.