Appendix B. RHN API Access
202
}
print "\n\nCapturing ID of system @$systems[0]->{name}\n\n";
my $systemid = @$systems[0]->{id};
# This next call returns a list of packages present on this system. The
# syntax of this call is described at:
#
# http://$HOST/rpc/api/system/list_packages/
#
# This will probably be a pretty long list.
my $packages = $client->call('system.list_packages', $session,
$systemid);
for my $package (@$packages) {
print Dumper($package);
}
# Additional system calls are described at:
# http://$HOST/rpc/api/system/
Summary of Contents for NETWORK SATELLITE 5.1.1 - RELEASE NOTES
Page 1: ...Red Hat Network Satellite 5 1 1 Reference Guide Red Hat Network Satellite ...
Page 10: ...x ...
Page 30: ...Chapter 2 Red Hat Update Agent 18 Figure 2 11 Available Package Updates ...
Page 46: ...34 ...
Page 68: ...56 ...
Page 162: ...150 ...
Page 174: ...162 ...
Page 186: ...174 ...
Page 259: ...247 Appendix D Revision History Revision History Revision 1 0 ...
Page 260: ...248 ...
Page 268: ...256 ...