Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.67. subscribeSystem

Subscribes a system to a list of channels. If a base channel is included, that is set before setting child channels. When setting child channels the current child channel subscriptions are cleared. To fully unsubscribe the system from all channels, simply provide an empty list of channel labels.
Deprecated - being replaced by system.setBaseChannel(string sessionKey, int serverId, string channelLabel) and system.setChildChannels(string sessionKey, int serverId, array[string channelLabel])
  • string sessionKey
  • int serverId
  • array:
    • string - label - channel label to subscribe the system to.
Return Value
  • int - 1 on success, exception thrown otherwise.