def IpBinaryToDecimal(bin_ip):
    """
    :param bin_ip: IPv4 in binary notation, e.g. 00001010000000000000000000000001
    :return: IPv4 in decimal notation, e.g. 167772161
    """
    return int(bin_ip, 2)