Add hosts from ipplan to networks object.

def add_ip_to_net(networks, host):
    """ Add hosts from ipplan to networks object. """
    for network in networks:
        if host['ipaddr'] in network['network']:
            network['hosts'].append(host)
            return