Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Chapter 10. Namespace: channel.software

Provides methods to access and modify many aspects of a channel.
Namespace: channel.software

10.1. Method: addPackages

Description

Adds a given list of packages to the given channel.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string channelLabel - target channel
  • array:
    • int - packageId - ID of a package to add to the channel
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.