Colin Coe wrote:
Specifically, I can't work out how to reference the system ID I get from:
---
systems = client.system.listUserSystems(session)
for sys in systems:
print sys
{'last_checkin': <DateTime u'20091119T10:06:53' at 2ba5b4c775f0>,
'id': 1000010011, 'name': 'test.sys'}
sys['id']
But you already figured that out.
---
(No, https://my.sat/rhn/apidoc/scripts.jsp isn't very helpful)
I need to do this conversion as NetAddr::IP and Frontier::RPC are not
provided with RHEL (at least not yet).
Frontier::RPC is in rhn-tools channel
NetAddr::IP is not in RHEL, but perl-Net-IPv4Addr and perl-Net-IP is
available there.
--
Miroslav Suchy
Red Hat Satellite Engineering
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list