the end of the URL. It follows the "=" symbol, as part of a string that resembles the following:
"details.pxt?cid=54".
5. Getting the sgid
System groups also have their own IDs. This value, the
sgid
, is a required parameter for the
set_group_membership
method, for instance. Like the
sid
and
cid
, the
sgid
can be obtained
through the RHN website. Just click on the name of a system group and view the end of the
URL. It follows the "=" symbol, as part of a string that resembles the following:
"details.pxt?sgid=334958". Note that the member parameter within the
set_group_membership
method requires only
yes
or
no
as input to make the association.
6. Channel Labels
The architecture of a channel is not always clear from the channel label. Below is a list that
shows the correspondence between channel labels and the official title of the architecture they
serve.
Channel Label
Platform
channel-i386-sun-solaris
i386 Solaris
channel-ia32
IA-32
channel-ia64
IA-64
channel-sparc
Sparc
channel-alpha
Alpha
channel-s390
IBM S/390
channel-s390x
IBM System z
channel-iSeries
IBM eServer System i
channel-pSeries
IBM eServer System p
channel-x86_64
AMD64 and Intel EM64T
channel-ppc
PPC
channel-sparc-sun-solaris
Sparc Solaris
Table B.1. Channel Labels
This is particularly necessary to know for the channel.software.create method.
7. Sample API Script
The following sample script depicts how to construct an RHN API client. Review the comments
and links for a full discussion of the calls made.
Appendix B. RHN API Access
220
Summary of Contents for NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT
Page 1: ...Red Hat Network Satellite Reference Guide 5 1 0 5 1 ISBN Publication date ...
Page 2: ...Red Hat Network Satellite ...
Page 4: ...Red Hat Network Satellite ...
Page 12: ...xii ...
Page 22: ...8 ...
Page 35: ...Figure 2 11 Available Package Updates Available Package Updates 21 ...
Page 52: ...38 ...
Page 74: ...Figure 5 15 Text Mode Welcome Screen Chapter 5 Red Hat Network Registration Client 60 ...
Page 176: ...162 ...
Page 202: ...188 ...
Page 220: ...206 ...
Page 300: ...Your Preferences 71 Index 286 ...