def sync_networks(self):
nets = self.neutronclient.list_networks()<EOL>for net in nets.get("<STR_LIT>"):<EOL><INDENT>LOG.info("<STR_LIT>", net["<STR_LIT:id>"])<EOL>self.network_create_func(net)<EOL><DEDENT>subnets = self.neutronclient.list_subnets()<EOL>for subnet in subnets.get("<STR_LIT>"):<EOL><INDENT>LOG.info("<STR_LIT>", subnet["<STR_LIT:id>"])<EOL>self.create_subnet(subnet)<EOL><DEDENT>
sync networks.

        It will retrieve networks from neutron and populate
        them in dfa database and dcnm