'Turns a 32-bit integer into dotted decimal notation.
Args:
ip_int: An integer, the IP address.
Returns:
The IP address as a string in dotted decimal notation.'

def _string_from_ip_int(self, ip_int):

    octets = []
    for _ in xrange(4):
        octets.insert(0, str((ip_int & 255)))
        ip_int >>= 8
    return '.'.join(octets)
