def dict_to_cidr(obj):
    """
    Take an dict of a Network object and return a cidr-formatted string.

    :param obj:
        Dict of an Network object
    """
    return '%s/%s' % (obj['network_address'], obj['prefix_length'])
