)]}'
{"manila/tests/share/drivers/dummy.py":[{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"0fcdbe1cddfa489673a4594e754b643ebad84d04","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        self.private_storage \u003d kwargs.get(\u0027private_storage\u0027)"},{"line_number":50,"context_line":"        self.backend_name \u003d self.configuration.safe_get("},{"line_number":51,"context_line":"            \"share_backend_name\") or \"DummyDriver\""},{"line_number":52,"context_line":"        self.migration_progress \u003d {}"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    def _get_share_name(self, share):"},{"line_number":55,"context_line":"        return \"share_%(s_id)s_%(si_id)s\" % {"}],"source_content_type":"text/x-python","patch_set":2,"id":"bacf61ea_ab9a95c3","line":52,"range":{"start_line":52,"start_character":8,"end_line":52,"end_character":36},"updated":"2016-07-27 14:14:14.000000000","message":"there won\u0027t be really any progress obtained unless you sleep at the end of migration start","commit_id":"587ef95d3038d3e6e57477a727ac1ef27f9a9798"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"0fcdbe1cddfa489673a4594e754b643ebad84d04","unresolved":false,"context_lines":[{"line_number":345,"context_line":"        \"\"\"Is called to perform 1st phase of driver migration of a given share."},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"        \"\"\""},{"line_number":348,"context_line":"        LOG.debug("},{"line_number":349,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been started.\" %"},{"line_number":350,"context_line":"            share_ref[\"id\"])"},{"line_number":351,"context_line":"        return False, {}"},{"line_number":352,"context_line":""},{"line_number":353,"context_line":"    def migration_complete("},{"line_number":354,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":2,"id":"bacf61ea_cb7269ad","line":351,"range":{"start_line":348,"start_character":8,"end_line":351,"end_character":24},"updated":"2016-07-27 14:14:14.000000000","message":"if notify \u003d\u003d True, you should do the same as migration_complete","commit_id":"587ef95d3038d3e6e57477a727ac1ef27f9a9798"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"5a9fc1efbf13162eeb9527289844aee1233979fe","unresolved":false,"context_lines":[{"line_number":345,"context_line":"        \"\"\"Is called to perform 1st phase of driver migration of a given share."},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"        \"\"\""},{"line_number":348,"context_line":"        LOG.debug("},{"line_number":349,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been started.\" %"},{"line_number":350,"context_line":"            share_ref[\"id\"])"},{"line_number":351,"context_line":"        return False, {}"},{"line_number":352,"context_line":""},{"line_number":353,"context_line":"    def migration_complete("},{"line_number":354,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":2,"id":"bacf61ea_ae2bc332","line":351,"range":{"start_line":348,"start_character":8,"end_line":351,"end_character":24},"in_reply_to":"bacf61ea_cb7269ad","updated":"2016-07-27 14:39:47.000000000","message":"Done","commit_id":"587ef95d3038d3e6e57477a727ac1ef27f9a9798"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"0fcdbe1cddfa489673a4594e754b643ebad84d04","unresolved":false,"context_lines":[{"line_number":376,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"},{"line_number":377,"context_line":"            migrating_share_ref, share_server\u003dNone, dest_share_server\u003dNone):"},{"line_number":378,"context_line":"        \"\"\"Is called to cancel driver migration.\"\"\""},{"line_number":379,"context_line":"        LOG.debug("},{"line_number":380,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been canceled.\" %"},{"line_number":381,"context_line":"            share_ref[\"id\"])"},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"    def migration_get_progress("},{"line_number":384,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":2,"id":"bacf61ea_8b86b163","line":381,"range":{"start_line":379,"start_character":9,"end_line":381,"end_character":28},"updated":"2016-07-27 14:14:14.000000000","message":"you could remove the data from your migration_progress dict here","commit_id":"587ef95d3038d3e6e57477a727ac1ef27f9a9798"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"5a9fc1efbf13162eeb9527289844aee1233979fe","unresolved":false,"context_lines":[{"line_number":376,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"},{"line_number":377,"context_line":"            migrating_share_ref, share_server\u003dNone, dest_share_server\u003dNone):"},{"line_number":378,"context_line":"        \"\"\"Is called to cancel driver migration.\"\"\""},{"line_number":379,"context_line":"        LOG.debug("},{"line_number":380,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been canceled.\" %"},{"line_number":381,"context_line":"            share_ref[\"id\"])"},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"    def migration_get_progress("},{"line_number":384,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":2,"id":"bacf61ea_ae9aa3c3","line":381,"range":{"start_line":379,"start_character":9,"end_line":381,"end_character":28},"in_reply_to":"bacf61ea_8b86b163","updated":"2016-07-27 14:39:47.000000000","message":"Done","commit_id":"587ef95d3038d3e6e57477a727ac1ef27f9a9798"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"94df2766503dad34b4fbed6ba141bf6cc007c50e","unresolved":false,"context_lines":[{"line_number":351,"context_line":"        if notify:"},{"line_number":352,"context_line":"            return True, self._do_migration(share_ref)"},{"line_number":353,"context_line":"        else:"},{"line_number":354,"context_line":"            return False, {}"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    def migration_complete("},{"line_number":357,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":4,"id":"bacf61ea_02b61e8a","line":354,"range":{"start_line":354,"start_character":12,"end_line":354,"end_character":28},"updated":"2016-07-27 15:37:24.000000000","message":"you also return True here. If you don\u0027t, it will invoke fallback migration","commit_id":"65c030135867758a9b70f2980af574f6b62a8aef"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"8c2c53e7dfe55f232740a2f124dfda8ccd7d5c8a","unresolved":false,"context_lines":[{"line_number":351,"context_line":"        if notify:"},{"line_number":352,"context_line":"            return True, self._do_migration(share_ref)"},{"line_number":353,"context_line":"        else:"},{"line_number":354,"context_line":"            return False, {}"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    def migration_complete("},{"line_number":357,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":4,"id":"bacf61ea_0f7c8671","line":354,"range":{"start_line":354,"start_character":12,"end_line":354,"end_character":28},"in_reply_to":"bacf61ea_02b61e8a","updated":"2016-07-27 16:00:02.000000000","message":"Done","commit_id":"65c030135867758a9b70f2980af574f6b62a8aef"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"cd752e955d1698fc09e9773c2422f49314743227","unresolved":false,"context_lines":[{"line_number":348,"context_line":"        LOG.debug("},{"line_number":349,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been started.\" %"},{"line_number":350,"context_line":"            share_ref[\"id\"])"},{"line_number":351,"context_line":"        if notify:"},{"line_number":352,"context_line":"            return True, self._do_migration(share_ref, share_server)"},{"line_number":353,"context_line":"        else:"},{"line_number":354,"context_line":"            return True, {}"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    def migration_complete("},{"line_number":357,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_05e89eb3","line":354,"range":{"start_line":351,"start_character":8,"end_line":354,"end_character":27},"updated":"2016-07-28 19:18:01.000000000","message":"if you implement something to get the progress, then you should pop the share_id from your dictionary before returning","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"390ffab73bc8229ea14e217275f50c80c8858615","unresolved":false,"context_lines":[{"line_number":348,"context_line":"        LOG.debug("},{"line_number":349,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been started.\" %"},{"line_number":350,"context_line":"            share_ref[\"id\"])"},{"line_number":351,"context_line":"        if notify:"},{"line_number":352,"context_line":"            return True, self._do_migration(share_ref, share_server)"},{"line_number":353,"context_line":"        else:"},{"line_number":354,"context_line":"            return True, {}"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    def migration_complete("},{"line_number":357,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_71a038a0","line":354,"range":{"start_line":351,"start_character":8,"end_line":354,"end_character":27},"in_reply_to":"bacf61ea_05e89eb3","updated":"2016-07-28 20:41:01.000000000","message":"According to your statement. Method called \"migration_start\" can finish migration. If it is so, then it is completely confusing. If it is not, then \"pop\" already exists in \"complete\" and \"cancel\" methods.\n\nHaving \"start\" method, I expect to finish it either with \"complete\" method or with \"cancel\".","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b76eae406b03493f30a02ed70b4c8c50a9bf040c","unresolved":false,"context_lines":[{"line_number":348,"context_line":"        LOG.debug("},{"line_number":349,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been started.\" %"},{"line_number":350,"context_line":"            share_ref[\"id\"])"},{"line_number":351,"context_line":"        if notify:"},{"line_number":352,"context_line":"            return True, self._do_migration(share_ref, share_server)"},{"line_number":353,"context_line":"        else:"},{"line_number":354,"context_line":"            return True, {}"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    def migration_complete("},{"line_number":357,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_d84c8744","line":354,"range":{"start_line":351,"start_character":8,"end_line":354,"end_character":27},"in_reply_to":"bacf61ea_1c6473e3","updated":"2016-07-29 12:31:57.000000000","message":"I disagree that interface is that confusing, there are docstring to explain what each parameter does. Having two interfaces doing the same thing with slightly different behavior at the end does not justify not being the same method with a parameter, in my opinion.","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"f04c8f136e03679db4153959afe93672c5dd54fb","unresolved":false,"context_lines":[{"line_number":348,"context_line":"        LOG.debug("},{"line_number":349,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been started.\" %"},{"line_number":350,"context_line":"            share_ref[\"id\"])"},{"line_number":351,"context_line":"        if notify:"},{"line_number":352,"context_line":"            return True, self._do_migration(share_ref, share_server)"},{"line_number":353,"context_line":"        else:"},{"line_number":354,"context_line":"            return True, {}"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    def migration_complete("},{"line_number":357,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_91668c27","line":354,"range":{"start_line":351,"start_character":8,"end_line":354,"end_character":27},"in_reply_to":"bacf61ea_51737415","updated":"2016-07-28 20:47:14.000000000","message":"What is worse, we already have API where \"start\" finishes something in case of 1-phase approach.","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"b3b07a3a513cf292df8dd5d96e2ea66325856a4a","unresolved":false,"context_lines":[{"line_number":348,"context_line":"        LOG.debug("},{"line_number":349,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been started.\" %"},{"line_number":350,"context_line":"            share_ref[\"id\"])"},{"line_number":351,"context_line":"        if notify:"},{"line_number":352,"context_line":"            return True, self._do_migration(share_ref, share_server)"},{"line_number":353,"context_line":"        else:"},{"line_number":354,"context_line":"            return True, {}"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    def migration_complete("},{"line_number":357,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_51737415","line":354,"range":{"start_line":351,"start_character":8,"end_line":354,"end_character":27},"in_reply_to":"bacf61ea_71a038a0","updated":"2016-07-28 20:43:59.000000000","message":"I suspect, the former is true. In that case, we should have one more driver interface - that implements one-phase migration. And make this one be part of 2-phase only. In that case everything will be clear.","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"232b6f76ad6cbd2269a7ad36786b4c81fd7e59c2","unresolved":false,"context_lines":[{"line_number":348,"context_line":"        LOG.debug("},{"line_number":349,"context_line":"            \"Migration of dummy share with ID \u0027%s\u0027 has been started.\" %"},{"line_number":350,"context_line":"            share_ref[\"id\"])"},{"line_number":351,"context_line":"        if notify:"},{"line_number":352,"context_line":"            return True, self._do_migration(share_ref, share_server)"},{"line_number":353,"context_line":"        else:"},{"line_number":354,"context_line":"            return True, {}"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"    def migration_complete("},{"line_number":357,"context_line":"            self, context, share_ref, dest_host, dest_driver_migration_info,"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_1c6473e3","line":354,"range":{"start_line":351,"start_character":8,"end_line":354,"end_character":27},"in_reply_to":"bacf61ea_91668c27","updated":"2016-07-28 20:54:16.000000000","message":"When one more method is added, argument \"notify\" will be removed as redundant. And we will have pretty interface and you will not need to correct people so many times when they implement these interfaces.","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"cd752e955d1698fc09e9773c2422f49314743227","unresolved":false,"context_lines":[{"line_number":393,"context_line":"            migrating_share_ref, share_server\u003dNone, dest_share_server\u003dNone):"},{"line_number":394,"context_line":"        \"\"\"Is called to get migration progress.\"\"\""},{"line_number":395,"context_line":"        # Simulate migration progress."},{"line_number":396,"context_line":"        if share_ref[\"id\"] not in self.migration_progress:"},{"line_number":397,"context_line":"            self.migration_progress[share_ref[\"id\"]] \u003d total_progress \u003d 25"},{"line_number":398,"context_line":"        else:"},{"line_number":399,"context_line":"            if self.migration_progress[share_ref[\"id\"]] \u003c 100:"},{"line_number":400,"context_line":"                self.migration_progress[share_ref[\"id\"]] +\u003d 25"},{"line_number":401,"context_line":"            total_progress \u003d self.migration_progress[share_ref[\"id\"]]"},{"line_number":402,"context_line":"        LOG.debug("},{"line_number":403,"context_line":"            (\"Progress of current dummy share migration \""},{"line_number":404,"context_line":"             \"with ID \u0027%(id)s\u0027 is %(progress).\") % {"},{"line_number":405,"context_line":"                \"id\": share_ref[\"id\"], \"progress\": total_progress})"},{"line_number":406,"context_line":"        return {\"total_progress\": total_progress}"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"    def migration_get_driver_info(self, context, share, dest_host,"},{"line_number":409,"context_line":"                                  share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_e5858a07","line":406,"range":{"start_line":396,"start_character":0,"end_line":406,"end_character":49},"updated":"2016-07-28 19:18:01.000000000","message":"progress can only be obtained while task_state is \"TASK_STATE_MIGRATION_DRIVER_IN_PROGRESS\". So when migration-start finishes, status is changed to \"TASK_STATE_MIGRATION_DRIVER_PHASE1_DONE\". So this code is not being used at all unless there is a sleep in migration-start.","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"b5912ceeda7790c41bdf9944d36d5fe681679857","unresolved":false,"context_lines":[{"line_number":393,"context_line":"            migrating_share_ref, share_server\u003dNone, dest_share_server\u003dNone):"},{"line_number":394,"context_line":"        \"\"\"Is called to get migration progress.\"\"\""},{"line_number":395,"context_line":"        # Simulate migration progress."},{"line_number":396,"context_line":"        if share_ref[\"id\"] not in self.migration_progress:"},{"line_number":397,"context_line":"            self.migration_progress[share_ref[\"id\"]] \u003d total_progress \u003d 25"},{"line_number":398,"context_line":"        else:"},{"line_number":399,"context_line":"            if self.migration_progress[share_ref[\"id\"]] \u003c 100:"},{"line_number":400,"context_line":"                self.migration_progress[share_ref[\"id\"]] +\u003d 25"},{"line_number":401,"context_line":"            total_progress \u003d self.migration_progress[share_ref[\"id\"]]"},{"line_number":402,"context_line":"        LOG.debug("},{"line_number":403,"context_line":"            (\"Progress of current dummy share migration \""},{"line_number":404,"context_line":"             \"with ID \u0027%(id)s\u0027 is %(progress).\") % {"},{"line_number":405,"context_line":"                \"id\": share_ref[\"id\"], \"progress\": total_progress})"},{"line_number":406,"context_line":"        return {\"total_progress\": total_progress}"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"    def migration_get_driver_info(self, context, share, dest_host,"},{"line_number":409,"context_line":"                                  share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_bc2c474b","line":406,"range":{"start_line":396,"start_character":0,"end_line":406,"end_character":49},"in_reply_to":"bacf61ea_31140043","updated":"2016-07-28 20:57:40.000000000","message":"Also, why some \"sleep\" matters here? How much time for sleeping is required? Where to look for it?","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b76eae406b03493f30a02ed70b4c8c50a9bf040c","unresolved":false,"context_lines":[{"line_number":393,"context_line":"            migrating_share_ref, share_server\u003dNone, dest_share_server\u003dNone):"},{"line_number":394,"context_line":"        \"\"\"Is called to get migration progress.\"\"\""},{"line_number":395,"context_line":"        # Simulate migration progress."},{"line_number":396,"context_line":"        if share_ref[\"id\"] not in self.migration_progress:"},{"line_number":397,"context_line":"            self.migration_progress[share_ref[\"id\"]] \u003d total_progress \u003d 25"},{"line_number":398,"context_line":"        else:"},{"line_number":399,"context_line":"            if self.migration_progress[share_ref[\"id\"]] \u003c 100:"},{"line_number":400,"context_line":"                self.migration_progress[share_ref[\"id\"]] +\u003d 25"},{"line_number":401,"context_line":"            total_progress \u003d self.migration_progress[share_ref[\"id\"]]"},{"line_number":402,"context_line":"        LOG.debug("},{"line_number":403,"context_line":"            (\"Progress of current dummy share migration \""},{"line_number":404,"context_line":"             \"with ID \u0027%(id)s\u0027 is %(progress).\") % {"},{"line_number":405,"context_line":"                \"id\": share_ref[\"id\"], \"progress\": total_progress})"},{"line_number":406,"context_line":"        return {\"total_progress\": total_progress}"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"    def migration_get_driver_info(self, context, share, dest_host,"},{"line_number":409,"context_line":"                                  share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_f8e34b31","line":406,"range":{"start_line":396,"start_character":0,"end_line":406,"end_character":49},"in_reply_to":"bacf61ea_bc2c474b","updated":"2016-07-29 12:31:57.000000000","message":"You can just remove this logic and let Share Manager handle it. For dummy driver it will never be invoked successfully since the driver will not spend any significant time in migration-start. As you said, the interface is implemented, so code can just be removed.","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"390ffab73bc8229ea14e217275f50c80c8858615","unresolved":false,"context_lines":[{"line_number":393,"context_line":"            migrating_share_ref, share_server\u003dNone, dest_share_server\u003dNone):"},{"line_number":394,"context_line":"        \"\"\"Is called to get migration progress.\"\"\""},{"line_number":395,"context_line":"        # Simulate migration progress."},{"line_number":396,"context_line":"        if share_ref[\"id\"] not in self.migration_progress:"},{"line_number":397,"context_line":"            self.migration_progress[share_ref[\"id\"]] \u003d total_progress \u003d 25"},{"line_number":398,"context_line":"        else:"},{"line_number":399,"context_line":"            if self.migration_progress[share_ref[\"id\"]] \u003c 100:"},{"line_number":400,"context_line":"                self.migration_progress[share_ref[\"id\"]] +\u003d 25"},{"line_number":401,"context_line":"            total_progress \u003d self.migration_progress[share_ref[\"id\"]]"},{"line_number":402,"context_line":"        LOG.debug("},{"line_number":403,"context_line":"            (\"Progress of current dummy share migration \""},{"line_number":404,"context_line":"             \"with ID \u0027%(id)s\u0027 is %(progress).\") % {"},{"line_number":405,"context_line":"                \"id\": share_ref[\"id\"], \"progress\": total_progress})"},{"line_number":406,"context_line":"        return {\"total_progress\": total_progress}"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"    def migration_get_driver_info(self, context, share, dest_host,"},{"line_number":409,"context_line":"                                  share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_31140043","line":406,"range":{"start_line":396,"start_character":0,"end_line":406,"end_character":49},"in_reply_to":"bacf61ea_e5858a07","updated":"2016-07-28 20:41:01.000000000","message":"Rodrigo, it is driver interface. It is implemented. Why driver should care when it is called? If driver should care, then feature design is incorrect. Leaving as is.","commit_id":"823a3d6b120d658a5172d111f278d9d5dada6a86"}]}
