def sync_projects(self):
p = self.keystone_event._service.projects.list()<EOL>for proj in p:<EOL><INDENT>if proj.name in not_create_project_name:<EOL><INDENT>continue<EOL><DEDENT>LOG.info("<STR_LIT>" % proj.name)<EOL>self.project_create_func(proj.id, proj=proj)<EOL><DEDENT>
Sync projects.

        This function will retrieve project from keystone
        and populate them  dfa database and dcnm