Bug 141333 - script access to RedHat Network operations
script access to RedHat Network operations
Status: CLOSED CURRENTRELEASE
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Other (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe deBlaquiere
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-30 10:21 EST by Thomas Sippel - Dau
Modified: 2007-10-23 22:21 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-30 10:58:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Thomas Sippel - Dau 2004-11-30 10:21:10 EST
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@ic.ac.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 10:58:36 EST
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.