Appendix C. RHN API Access
250
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.
C.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 C.1. Channel Labels
This is particularly necessary to know for the channel.software.create method.
C.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.
#!/usr/bin/perl -w
use strict;
use Frontier::Client;
use Data::Dumper;
############################################################################
# This is a sample script for use of the experimental RHN Management APIs.
#
# The API is currently available using XMLRPC only, which is described in
#
# depth at:
#
#
#
Содержание NETWORK SATELLITE 5.3.0 - CHANNEL MANAGEMENT
Страница 1: ...Red Hat Network Satellite 5 3 0 Reference Guide Red Hat Network Satellite ...
Страница 32: ...20 ...
Страница 44: ...Chapter 4 Red Hat Update Agent 32 Figure 4 11 Available Package Updates ...
Страница 168: ...156 ...
Страница 180: ...168 ...
Страница 216: ...204 ...
Страница 232: ...220 ...
Страница 248: ...236 ...
Страница 260: ...248 ...
Страница 309: ...297 Appendix E Revision History Revision 1 0 Fri Feb 27 2009 ...
Страница 310: ...298 ...
Страница 318: ...306 ...