+++ This bug was initially created as a clone of Bug #569790 +++
Description of problem:
rhn-client tools report HW info to rhnParent. But we currently send only IPv4 address and not IPv6 address.
We use python-ethtool to grab the information. We can either request IPv6 support in python-ethtool or do some workaround.
--- Additional comment from firstname.lastname@example.org on 2010-03-02 08:12:43 EST ---
We should also change in hardware.py in function change gethostbyname(gethostname()) to socket.getaddrinfo(gethostname()), but it does not contain simple value and we should somehow pick up the right value.
We now send IPv6 addresses to server (commit c295d2f4387f76b3d7186a39a1cc04d9c7eccd09).
Those data are not utilizes by Spacewalk Server yet.
I replaced gethostbyname() by getaddrinfo() (commit 6ca6477f39b18473dbd8dc2abeb99c8b23f30458) so we can easily switch to using IPv6 as default ip addr or get info from IPv6 stack.