Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Chapter 10. channel.software

Abstract

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

10.1. addPackages

Name
addPackages
Description
Adds a given list of packages to the given channel.
Parameters
  • string sessionKey
  • string channelLabel - target channel.
  • array:
    • int - packageId - id of a package to add to the channel.
Return Value
  • int - 1 on success, exception thrown otherwise.