def handle(self, *args, **options):
self.options = options<EOL>delete = False<EOL>try:<EOL><INDENT>self.stdout.write('<STR_LIT:\r\n>')<EOL>self.verbosity = int(self.options.get('<STR_LIT>'))<EOL>self.verbose('<STR_LIT>')<EOL>pause_disconnectable_signals()<EOL>self.check_status_mapping()<EOL>self.retrieve_nodes()<EOL>self.extract_users()<EOL>self.import_admins()<EOL>self.import_users()<EOL>self.import_nodes()<EOL>self.check_deleted_nodes()<EOL>self.import_devices()<EOL>self.import_interfaces()<EOL>self.import_links()<EOL>self.check_deleted_links()<EOL>self.import_contacts()<EOL>self.confirm_operation_completed()<EOL>resume_disconnectable_signals()<EOL>self.verbose('<STR_LIT>')<EOL><DEDENT>except KeyboardInterrupt:<EOL><INDENT>self.message('<STR_LIT>')<EOL>delete = True<EOL><DEDENT>except Exception as e:<EOL><INDENT>tb = traceback.format_exc()<EOL>delete = True<EOL>transaction.rollback()<EOL>self.message('<STR_LIT>' % tb)<EOL>error('<STR_LIT>' % e)<EOL><DEDENT>if delete:<EOL><INDENT>self.delete_imported_data()<EOL><DEDENT>
execute synchronize command