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
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.