def add_ip_to_net(networks, host):
for network in networks:<EOL><INDENT>if host['<STR_LIT>'] in network['<STR_LIT>']:<EOL><INDENT>network['<STR_LIT>'].append(host)<EOL>return<EOL><DEDENT><DEDENT>
Add hosts from ipplan to networks object.