Show Table of Contents
10.7. Method: create
Description
Creates a software channel.
Parameters
The following parameters are available for this method:
- string
sessionKey - string
label- label of the new channel - string
name- name of the new channel - string
summary- summary of the channel - string
archLabel- the label of the architecture for the channel.channel-ia32- For 32 bit channel architecturechannel-ia64- For 64 bit channel architecturechannel-sparc- For Sparc channel architecturechannel-alpha- For Alpha channel architecturechannel-s390- For s390 channel architecturechannel-s390x- For s390x channel architecturechannel-iSeries- For i-Series channel architecturechannel-pSeries- For p-Series channel architecturechannel-x86_64- For x86_64 channel architecturechannel-ppc- For PPC channel architecturechannel-sparc-sun-solaris- For Sparc Solaris channel architecturechannel-i386-sun-solaris- For i386 Solaris channel architecture
- string
parentLabel- label of the parent of this channel or an empty string if it does not have one - string
checksumType- checksum type for this channel, used for yum repository metadata generationsha1- Offers widest compatibility with clientssha256- Offers highest security, but is compatible only with newer clients e.g. Red Hat Enterprise Linux 6 and newer.
- struct - gpgKey
- string
url- GPG key URL - string
id- GPG key ID - string
fingerprint- GPG key Fingerprint
Returns
The following return values are available for this method:
- int -
1if the creation operation succeeded, 0 otherwise
Available since: 10.9

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.