Bug 141333 - script access to RedHat Network operations
Summary: script access to RedHat Network operations
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Other
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe deBlaquiere
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-30 15:21 UTC by Thomas Sippel - Dau
Modified: 2007-10-24 02:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-30 15:58:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Sippel - Dau 2004-11-30 15:21:10 UTC
Hello,

Is there a scriptable access the operations we can do to manipulate
machine attributes through the RedHat Network Web site. Something
along the lines of rhnreg_ks, for example:

   rhnedit --machinename=fred.ic.ac.uk --addtochannel=edhat-extras \
           --activationkey=............

In particular for the following operations:

   o  delete a machine profile

   o  delete all profiles for that name (when machines are 
      re-installed, they acquire a new system-id. The old one 
      lives on a and RHN zombie)

   o  adding a machine to a channel

   o  adding a channel to an activationkey

   o  deleting an activation key

Preferably those operations would run if only the activation
key was quoted that subscribed the machine (apart from the key
deletion, obviously).

                                Thomas

*   email: vulture.uk
*   voice: +44 20 7594 6912     fax: +44 20 7594 6958
*   snail: ICSTM, Computing Services, Kensington SW7 2BX, Great Britain

Comment 1 Joe deBlaquiere 2004-11-30 15:58:36 UTC
There is an existing API available to script actions. You can find the
documentation on that API at:

https://rhn.redhat.com/help/reference/ap-rhn-api-access.html

There is a list of available APIs at:

https://rhn.redhat.com/rpc/api/

If you have specific APIs which are not included in the current set,
please submit a feature request for each one individually and we will
prioritize these according to customer demand and implement as
engineering time permits. 




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