def asTuple(cls, ipaddress):
        """For ipaddress="10.123.45.67" return immutable (10, 123, 45, 67)."""
        if isinstance(ipaddress, tuple):
            return ipaddress
        elif isinstance(ipaddress, list):
            return tuple(ipaddress)
        else:
            return tuple(cls.asList(ipaddress))