Before anyone asks, netaddr matches integers and string representations. In either case, xen needs it as all uppercase, colon delimited, and each word padded to two byte length. The only thing we didn't want to try is None.