)]}'
{"nova_powervm/conf/powervm.py":[{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"cc3ed5ef786a9fd2b3cbc96ec64cc29ef7eea065","unresolved":false,"context_lines":[{"line_number":124,"context_line":"                    \u0027specified and at least one fabric_X_port_wwpns option \u0027"},{"line_number":125,"context_line":"                    \u0027(where X corresponds to the fabric name) must be \u0027"},{"line_number":126,"context_line":"                    \u0027specified.\u0027),"},{"line_number":127,"context_line":"    cfg.StrOpt(\u0027iscsi_attach_strategy\u0027,"},{"line_number":128,"context_line":"               choices\u003d[\u0027iscsi\u0027], ignore_case\u003dTrue,"},{"line_number":129,"context_line":"               default\u003d\u0027iscsi\u0027,"},{"line_number":130,"context_line":"               help\u003d\u0027The iSCSI Volume Strategy defines how iSCSI Cinder \u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_b53e04d8","line":127,"range":{"start_line":127,"start_character":16,"end_line":127,"end_character":37},"updated":"2016-08-29 16:29:52.000000000","message":"From the way this is being used, is this really iscsi_attach_strategy, or is it more network_attach_strategy (e.g. this is where we would add Ceph, etc going forward)?","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"e989a4b65176ba85cf8895520d28afd97d2feea3","unresolved":false,"context_lines":[{"line_number":124,"context_line":"                    \u0027specified and at least one fabric_X_port_wwpns option \u0027"},{"line_number":125,"context_line":"                    \u0027(where X corresponds to the fabric name) must be \u0027"},{"line_number":126,"context_line":"                    \u0027specified.\u0027),"},{"line_number":127,"context_line":"    cfg.StrOpt(\u0027iscsi_attach_strategy\u0027,"},{"line_number":128,"context_line":"               choices\u003d[\u0027iscsi\u0027], ignore_case\u003dTrue,"},{"line_number":129,"context_line":"               default\u003d\u0027iscsi\u0027,"},{"line_number":130,"context_line":"               help\u003d\u0027The iSCSI Volume Strategy defines how iSCSI Cinder \u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_31283ee2","line":127,"range":{"start_line":127,"start_character":16,"end_line":127,"end_character":37},"in_reply_to":"fa7ab95a_b53e04d8","updated":"2016-08-29 17:45:56.000000000","message":"Will Ceph be instead of the iscsi connect/disconnect flows?\nOr in addition to?\n\nCould we get rid of the iscsi_attach_strategy, only have volume_adapter (for iscsi or fibre_channel), and add additional options in the future for Ceph, etc?","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8971ad2aebdc21dab9b501457113d1ac43954b73","unresolved":false,"context_lines":[{"line_number":124,"context_line":"                    \u0027specified and at least one fabric_X_port_wwpns option \u0027"},{"line_number":125,"context_line":"                    \u0027(where X corresponds to the fabric name) must be \u0027"},{"line_number":126,"context_line":"                    \u0027specified.\u0027),"},{"line_number":127,"context_line":"    cfg.StrOpt(\u0027iscsi_attach_strategy\u0027,"},{"line_number":128,"context_line":"               choices\u003d[\u0027iscsi\u0027], ignore_case\u003dTrue,"},{"line_number":129,"context_line":"               default\u003d\u0027iscsi\u0027,"},{"line_number":130,"context_line":"               help\u003d\u0027The iSCSI Volume Strategy defines how iSCSI Cinder \u0027"},{"line_number":131,"context_line":"                    \u0027volumes should be attached to the Virtual Machine. The \u0027"},{"line_number":132,"context_line":"                    \u0027option is: iscsi.\u0027),"},{"line_number":133,"context_line":"    cfg.StrOpt(\u0027fc_npiv_adapter_api\u0027,"},{"line_number":134,"context_line":"               default\u003d\u0027nova_powervm.virt.powervm.volume.npiv.\u0027"},{"line_number":135,"context_line":"               \u0027NPIVVolumeAdapter\u0027,"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_7e707c40","line":132,"range":{"start_line":127,"start_character":0,"end_line":132,"end_character":41},"updated":"2016-08-30 22:17:32.000000000","message":"Why are we adding this if there\u0027s currently only one choice?","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":124,"context_line":"                    \u0027specified and at least one fabric_X_port_wwpns option \u0027"},{"line_number":125,"context_line":"                    \u0027(where X corresponds to the fabric name) must be \u0027"},{"line_number":126,"context_line":"                    \u0027specified.\u0027),"},{"line_number":127,"context_line":"    cfg.StrOpt(\u0027iscsi_attach_strategy\u0027,"},{"line_number":128,"context_line":"               choices\u003d[\u0027iscsi\u0027], ignore_case\u003dTrue,"},{"line_number":129,"context_line":"               default\u003d\u0027iscsi\u0027,"},{"line_number":130,"context_line":"               help\u003d\u0027The iSCSI Volume Strategy defines how iSCSI Cinder \u0027"},{"line_number":131,"context_line":"                    \u0027volumes should be attached to the Virtual Machine. The \u0027"},{"line_number":132,"context_line":"                    \u0027option is: iscsi.\u0027),"},{"line_number":133,"context_line":"    cfg.StrOpt(\u0027fc_npiv_adapter_api\u0027,"},{"line_number":134,"context_line":"               default\u003d\u0027nova_powervm.virt.powervm.volume.npiv.\u0027"},{"line_number":135,"context_line":"               \u0027NPIVVolumeAdapter\u0027,"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_f82f2e3c","line":132,"range":{"start_line":127,"start_character":0,"end_line":132,"end_character":41},"in_reply_to":"fa7ab95a_7e707c40","updated":"2016-08-31 06:32:47.000000000","message":"Changed to network_attach_strategy\nCeph and others will be added here in the future.","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8971ad2aebdc21dab9b501457113d1ac43954b73","unresolved":false,"context_lines":[{"line_number":140,"context_line":"               \u0027VscsiVolumeAdapter\u0027,"},{"line_number":141,"context_line":"               help\u003d\u0027Volume Adapter API to connect FC volumes through Virtual \u0027"},{"line_number":142,"context_line":"                    \u0027I/O Server using PowerVM vSCSI connection mechanism.\u0027),"},{"line_number":143,"context_line":"    cfg.StrOpt(\u0027iscsi_adapter_api\u0027,"},{"line_number":144,"context_line":"               default\u003d\u0027nova_powervm.virt.powervm.volume.iscsi.\u0027"},{"line_number":145,"context_line":"               \u0027IscsiVolumeAdapter\u0027,"},{"line_number":146,"context_line":"               help\u003d\u0027Volume Adapter API to connect ISCSI volumes through \u0027"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_1ea690ad","line":143,"updated":"2016-08-30 22:17:32.000000000","message":"Ditto here - is there another option?  We shouldn\u0027t introduce configurables until there\u0027s a need for them.","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":140,"context_line":"               \u0027VscsiVolumeAdapter\u0027,"},{"line_number":141,"context_line":"               help\u003d\u0027Volume Adapter API to connect FC volumes through Virtual \u0027"},{"line_number":142,"context_line":"                    \u0027I/O Server using PowerVM vSCSI connection mechanism.\u0027),"},{"line_number":143,"context_line":"    cfg.StrOpt(\u0027iscsi_adapter_api\u0027,"},{"line_number":144,"context_line":"               default\u003d\u0027nova_powervm.virt.powervm.volume.iscsi.\u0027"},{"line_number":145,"context_line":"               \u0027IscsiVolumeAdapter\u0027,"},{"line_number":146,"context_line":"               help\u003d\u0027Volume Adapter API to connect ISCSI volumes through \u0027"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_d8ceeab6","line":143,"in_reply_to":"fa7ab95a_1ea690ad","updated":"2016-08-31 06:32:47.000000000","message":"Removed","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"}],"nova_powervm/tests/virt/powervm/fixtures.py":[{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"cc3ed5ef786a9fd2b3cbc96ec64cc29ef7eea065","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        # back a new mock on every call.  That\u0027s because the vol id is"},{"line_number":93,"context_line":"        # used for task names and we can\u0027t have duplicates.  Here we have"},{"line_number":94,"context_line":"        # just one mock for simplicity of the vol driver but we need"},{"line_number":95,"context_line":"        # mulitiple names."},{"line_number":96,"context_line":"        self.std_vol_adpt.return_value.connection_info.__getitem__\\"},{"line_number":97,"context_line":"            .side_effect \u003d mock.MagicMock"},{"line_number":98,"context_line":"        self.drv \u003d self.std_vol_adpt.return_value"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_150250b4","line":95,"range":{"start_line":95,"start_character":10,"end_line":95,"end_character":19},"updated":"2016-08-29 16:29:52.000000000","message":"multiple","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b91cf0abe71124325a72d0dd250951a4c37db738","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        # back a new mock on every call.  That\u0027s because the vol id is"},{"line_number":93,"context_line":"        # used for task names and we can\u0027t have duplicates.  Here we have"},{"line_number":94,"context_line":"        # just one mock for simplicity of the vol driver but we need"},{"line_number":95,"context_line":"        # mulitiple names."},{"line_number":96,"context_line":"        self.std_vol_adpt.return_value.connection_info.__getitem__\\"},{"line_number":97,"context_line":"            .side_effect \u003d mock.MagicMock"},{"line_number":98,"context_line":"        self.drv \u003d self.std_vol_adpt.return_value"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_dda0b5f6","line":95,"range":{"start_line":95,"start_character":10,"end_line":95,"end_character":19},"in_reply_to":"fa7ab95a_150250b4","updated":"2016-08-30 18:44:23.000000000","message":"Done","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8971ad2aebdc21dab9b501457113d1ac43954b73","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        self.drv \u003d self.std_vol_adpt.return_value"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"class IscsiVolumeAdapter(fixtures.Fixture):"},{"line_number":92,"context_line":"    \"\"\"Mock out the VolumeAdapter.\"\"\""},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_9eb8e0c9","line":91,"updated":"2016-08-30 22:17:32.000000000","message":"This is begging to be collapsed with the above - pass the class-to-be-patched to the __init__, or have one-line subclasses of a common parent.","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        self.drv \u003d self.std_vol_adpt.return_value"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"class IscsiVolumeAdapter(fixtures.Fixture):"},{"line_number":92,"context_line":"    \"\"\"Mock out the VolumeAdapter.\"\"\""},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_df3414fd","line":91,"in_reply_to":"fa7ab95a_9eb8e0c9","updated":"2016-08-31 06:32:47.000000000","message":"Done","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"}],"nova_powervm/tests/virt/powervm/test_driver.py":[{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"cc3ed5ef786a9fd2b3cbc96ec64cc29ef7eea065","unresolved":false,"context_lines":[{"line_number":872,"context_line":"        xag \u003d self.drv._get_inst_xag(mock.Mock(), [mock.Mock()])"},{"line_number":873,"context_line":"        self.assertEqual([pvm_const.XAG.VIO_SMAP], xag)"},{"line_number":874,"context_line":""},{"line_number":875,"context_line":"        # The iscsi volume attach - only nees the SCSI mapping."},{"line_number":876,"context_line":"        self.flags(volume_adapter\u003d\u0027iscsi\u0027, group\u003d\u0027powervm\u0027)"},{"line_number":877,"context_line":"        mock_mapping.return_value \u003d self._vol_drv_maps()"},{"line_number":878,"context_line":"        xag \u003d self.drv._get_inst_xag(mock.Mock(), [mock.Mock()])"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_1ddd166f","line":875,"range":{"start_line":875,"start_character":14,"end_line":875,"end_character":19},"updated":"2016-08-29 16:29:52.000000000","message":"iSCSI","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b91cf0abe71124325a72d0dd250951a4c37db738","unresolved":false,"context_lines":[{"line_number":872,"context_line":"        xag \u003d self.drv._get_inst_xag(mock.Mock(), [mock.Mock()])"},{"line_number":873,"context_line":"        self.assertEqual([pvm_const.XAG.VIO_SMAP], xag)"},{"line_number":874,"context_line":""},{"line_number":875,"context_line":"        # The iscsi volume attach - only nees the SCSI mapping."},{"line_number":876,"context_line":"        self.flags(volume_adapter\u003d\u0027iscsi\u0027, group\u003d\u0027powervm\u0027)"},{"line_number":877,"context_line":"        mock_mapping.return_value \u003d self._vol_drv_maps()"},{"line_number":878,"context_line":"        xag \u003d self.drv._get_inst_xag(mock.Mock(), [mock.Mock()])"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_7db8892a","line":875,"range":{"start_line":875,"start_character":14,"end_line":875,"end_character":19},"in_reply_to":"fa7ab95a_1ddd166f","updated":"2016-08-30 18:44:23.000000000","message":"Done","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"}],"nova_powervm/tests/virt/powervm/volume/test_iscsi.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8971ad2aebdc21dab9b501457113d1ac43954b73","unresolved":false,"context_lines":[{"line_number":32,"context_line":"VIOS_FEED \u003d \u0027fake_vios_feed2.txt\u0027"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class BaseISCSITest(test_vol.TestVolumeAdapter):"},{"line_number":36,"context_line":"    \"\"\"Basic test case for the VSCSI Volume Connector.\"\"\""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def setUp(self, vios_feed_file):"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_b1095597","line":35,"range":{"start_line":35,"start_character":6,"end_line":35,"end_character":19},"updated":"2016-08-30 22:17:32.000000000","message":"Curious why you did this.  Just to follow the npiv/vscsi model?  Again, I don\u0027t think we should add this complexity until/unless it\u0027s needed.","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":32,"context_line":"VIOS_FEED \u003d \u0027fake_vios_feed2.txt\u0027"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"class BaseISCSITest(test_vol.TestVolumeAdapter):"},{"line_number":36,"context_line":"    \"\"\"Basic test case for the VSCSI Volume Connector.\"\"\""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def setUp(self, vios_feed_file):"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_1f3f5cd7","line":35,"range":{"start_line":35,"start_character":6,"end_line":35,"end_character":19},"in_reply_to":"fa7ab95a_b1095597","updated":"2016-08-31 06:32:47.000000000","message":"Removed the extra layer of complexity","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8971ad2aebdc21dab9b501457113d1ac43954b73","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        super(BaseISCSITest, self).setUp()"},{"line_number":40,"context_line":"        self.adpt \u003d self.useFixture(pvm_fx.AdapterFx()).adpt"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"        def resp(file_name):"},{"line_number":43,"context_line":"            return pvmhttp.load_pvm_resp("},{"line_number":44,"context_line":"                file_name, adapter\u003dself.adpt).get_response()"},{"line_number":45,"context_line":"        self.vios_feed_resp \u003d resp(vios_feed_file)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        self.feed \u003d pvm_vios.VIOS.wrap(self.vios_feed_resp)"},{"line_number":48,"context_line":"        self.ft_fx \u003d pvm_fx.FeedTaskFx(self.feed)"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_31db857d","line":45,"range":{"start_line":42,"start_character":0,"end_line":45,"end_character":50},"updated":"2016-08-30 22:17:32.000000000","message":"Consider using pypowervm.tests.tasks.util.load_file instead.","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        super(BaseISCSITest, self).setUp()"},{"line_number":40,"context_line":"        self.adpt \u003d self.useFixture(pvm_fx.AdapterFx()).adpt"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"        def resp(file_name):"},{"line_number":43,"context_line":"            return pvmhttp.load_pvm_resp("},{"line_number":44,"context_line":"                file_name, adapter\u003dself.adpt).get_response()"},{"line_number":45,"context_line":"        self.vios_feed_resp \u003d resp(vios_feed_file)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        self.feed \u003d pvm_vios.VIOS.wrap(self.vios_feed_resp)"},{"line_number":48,"context_line":"        self.ft_fx \u003d pvm_fx.FeedTaskFx(self.feed)"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_a2ed73f1","line":45,"range":{"start_line":42,"start_character":0,"end_line":45,"end_character":50},"in_reply_to":"fa7ab95a_31db857d","updated":"2016-08-31 06:32:47.000000000","message":"Done","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"}],"nova_powervm/virt/powervm/driver.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":1117,"context_line":"                connector[\u0027host\u0027] \u003d vol_drv.host_name()"},{"line_number":1118,"context_line":""},{"line_number":1119,"context_line":"            elif CONF.powervm.volume_adapter.lower() \u003d\u003d \"iscsi\":"},{"line_number":1120,"context_line":"                connector[\"initiator\"] \u003d vol_drv.initiator_name"},{"line_number":1121,"context_line":"        return connector"},{"line_number":1122,"context_line":""},{"line_number":1123,"context_line":"    def migrate_disk_and_power_off(self, context, instance, dest,"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_23a4a6a4","line":1120,"range":{"start_line":1120,"start_character":16,"end_line":1120,"end_character":63},"updated":"2016-08-25 15:59:18.000000000","message":"Can\u0027t all volume drivers just have host_name?  I don\u0027t think this has to be iSCSI specific.","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":1117,"context_line":"                connector[\u0027host\u0027] \u003d vol_drv.host_name()"},{"line_number":1118,"context_line":""},{"line_number":1119,"context_line":"            elif CONF.powervm.volume_adapter.lower() \u003d\u003d \"iscsi\":"},{"line_number":1120,"context_line":"                connector[\"initiator\"] \u003d vol_drv.initiator_name"},{"line_number":1121,"context_line":"        return connector"},{"line_number":1122,"context_line":""},{"line_number":1123,"context_line":"    def migrate_disk_and_power_off(self, context, instance, dest,"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_cda403a8","line":1120,"range":{"start_line":1120,"start_character":16,"end_line":1120,"end_character":63},"in_reply_to":"1ac06dbe_23a4a6a4","updated":"2016-08-29 14:31:24.000000000","message":"Done","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":1846,"context_line":"            for bdm in bdms:"},{"line_number":1847,"context_line":"                if bdm.get(\u0027boot_index\u0027) \u003d\u003d 0:"},{"line_number":1848,"context_line":"                    conn_info \u003d bdm.get(\u0027connection_info\u0027)"},{"line_number":1849,"context_line":"                    if \u0027connection-type\u0027 in conn_info[\u0027data\u0027]:"},{"line_number":1850,"context_line":"                        connectivity_type \u003d \\"},{"line_number":1851,"context_line":"                            conn_info[\u0027data\u0027][\u0027connection-type\u0027]"},{"line_number":1852,"context_line":"                        boot_conn_type \u003d (\u0027vscsi\u0027 if connectivity_type \u003d\u003d"},{"line_number":1853,"context_line":"                                          \u0027pv_vscsi\u0027 else connectivity_type)"},{"line_number":1854,"context_line":"                    elif \u0027driver_volume_type\u0027 in conn_info[\u0027data\u0027]:"},{"line_number":1855,"context_line":"                        boot_conn_type \u003d \\"},{"line_number":1856,"context_line":"                            conn_info[\u0027data\u0027][\u0027driver_volume_type\u0027]"},{"line_number":1857,"context_line":"                    return boot_conn_type"},{"line_number":1858,"context_line":"        else:"},{"line_number":1859,"context_line":"            return boot_conn_type"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_03852aac","line":1856,"range":{"start_line":1849,"start_character":19,"end_line":1856,"end_character":67},"updated":"2016-08-25 15:59:18.000000000","message":"This is too indented.  Lets break into another method.","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":1846,"context_line":"            for bdm in bdms:"},{"line_number":1847,"context_line":"                if bdm.get(\u0027boot_index\u0027) \u003d\u003d 0:"},{"line_number":1848,"context_line":"                    conn_info \u003d bdm.get(\u0027connection_info\u0027)"},{"line_number":1849,"context_line":"                    if \u0027connection-type\u0027 in conn_info[\u0027data\u0027]:"},{"line_number":1850,"context_line":"                        connectivity_type \u003d \\"},{"line_number":1851,"context_line":"                            conn_info[\u0027data\u0027][\u0027connection-type\u0027]"},{"line_number":1852,"context_line":"                        boot_conn_type \u003d (\u0027vscsi\u0027 if connectivity_type \u003d\u003d"},{"line_number":1853,"context_line":"                                          \u0027pv_vscsi\u0027 else connectivity_type)"},{"line_number":1854,"context_line":"                    elif \u0027driver_volume_type\u0027 in conn_info[\u0027data\u0027]:"},{"line_number":1855,"context_line":"                        boot_conn_type \u003d \\"},{"line_number":1856,"context_line":"                            conn_info[\u0027data\u0027][\u0027driver_volume_type\u0027]"},{"line_number":1857,"context_line":"                    return boot_conn_type"},{"line_number":1858,"context_line":"        else:"},{"line_number":1859,"context_line":"            return boot_conn_type"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_ad9dff5a","line":1856,"range":{"start_line":1849,"start_character":19,"end_line":1856,"end_character":67},"in_reply_to":"1ac06dbe_03852aac","updated":"2016-08-29 14:31:24.000000000","message":"Done","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":1111,"context_line":"                wwpn_list \u003d vol_drv.wwpns()"},{"line_number":1112,"context_line":"                if wwpn_list is not None:"},{"line_number":1113,"context_line":"                    connector[\"wwpns\"] \u003d wwpn_list"},{"line_number":1114,"context_line":"                # Override the host name."},{"line_number":1115,"context_line":"                # TODO(IBM) See if there is a way to support a FC host name"},{"line_number":1116,"context_line":"                # that is independent of overall host name."},{"line_number":1117,"context_line":"            connector[\u0027host\u0027] \u003d vol_drv.host_name()"},{"line_number":1118,"context_line":"            connector[\"initiator\"] \u003d vol_drv.host_name()"},{"line_number":1119,"context_line":"        return connector"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_0625ccbf","line":1116,"range":{"start_line":1114,"start_character":0,"end_line":1116,"end_character":59},"updated":"2016-08-29 14:39:06.000000000","message":"Lets just take this out now.","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":1111,"context_line":"                wwpn_list \u003d vol_drv.wwpns()"},{"line_number":1112,"context_line":"                if wwpn_list is not None:"},{"line_number":1113,"context_line":"                    connector[\"wwpns\"] \u003d wwpn_list"},{"line_number":1114,"context_line":"                # Override the host name."},{"line_number":1115,"context_line":"                # TODO(IBM) See if there is a way to support a FC host name"},{"line_number":1116,"context_line":"                # that is independent of overall host name."},{"line_number":1117,"context_line":"            connector[\u0027host\u0027] \u003d vol_drv.host_name()"},{"line_number":1118,"context_line":"            connector[\"initiator\"] \u003d vol_drv.host_name()"},{"line_number":1119,"context_line":"        return connector"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_298f0376","line":1116,"range":{"start_line":1114,"start_character":0,"end_line":1116,"end_character":59},"in_reply_to":"fa7ab95a_0625ccbf","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":1115,"context_line":"                # TODO(IBM) See if there is a way to support a FC host name"},{"line_number":1116,"context_line":"                # that is independent of overall host name."},{"line_number":1117,"context_line":"            connector[\u0027host\u0027] \u003d vol_drv.host_name()"},{"line_number":1118,"context_line":"            connector[\"initiator\"] \u003d vol_drv.host_name()"},{"line_number":1119,"context_line":"        return connector"},{"line_number":1120,"context_line":""},{"line_number":1121,"context_line":"    def migrate_disk_and_power_off(self, context, instance, dest,"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_e60e283a","line":1118,"range":{"start_line":1118,"start_character":22,"end_line":1118,"end_character":33},"updated":"2016-08-29 14:39:06.000000000","message":"Why is this double quote?  Maybe single quote for consistency.","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":1115,"context_line":"                # TODO(IBM) See if there is a way to support a FC host name"},{"line_number":1116,"context_line":"                # that is independent of overall host name."},{"line_number":1117,"context_line":"            connector[\u0027host\u0027] \u003d vol_drv.host_name()"},{"line_number":1118,"context_line":"            connector[\"initiator\"] \u003d vol_drv.host_name()"},{"line_number":1119,"context_line":"        return connector"},{"line_number":1120,"context_line":""},{"line_number":1121,"context_line":"    def migrate_disk_and_power_off(self, context, instance, dest,"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_498c477f","line":1118,"range":{"start_line":1118,"start_character":22,"end_line":1118,"end_character":33},"in_reply_to":"fa7ab95a_e60e283a","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":1843,"context_line":"        if self._is_booted_from_volume(block_device_info) and bdms is not None:"},{"line_number":1844,"context_line":"            for bdm in bdms:"},{"line_number":1845,"context_line":"                if bdm.get(\u0027boot_index\u0027) \u003d\u003d 0:"},{"line_number":1846,"context_line":"                    conn_info \u003d bdm.get(\u0027connection_info\u0027)"},{"line_number":1847,"context_line":"                    return self._get_connectivity_type(conn_info)"},{"line_number":1848,"context_line":"        else:"},{"line_number":1849,"context_line":"            return boot_conn_type"},{"line_number":1850,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_a9079316","line":1847,"range":{"start_line":1846,"start_character":0,"end_line":1847,"end_character":65},"updated":"2016-08-29 14:39:06.000000000","message":"see below.  Style thing for me.","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":1843,"context_line":"        if self._is_booted_from_volume(block_device_info) and bdms is not None:"},{"line_number":1844,"context_line":"            for bdm in bdms:"},{"line_number":1845,"context_line":"                if bdm.get(\u0027boot_index\u0027) \u003d\u003d 0:"},{"line_number":1846,"context_line":"                    conn_info \u003d bdm.get(\u0027connection_info\u0027)"},{"line_number":1847,"context_line":"                    return self._get_connectivity_type(conn_info)"},{"line_number":1848,"context_line":"        else:"},{"line_number":1849,"context_line":"            return boot_conn_type"},{"line_number":1850,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_094b1f2b","line":1847,"range":{"start_line":1846,"start_character":0,"end_line":1847,"end_character":65},"in_reply_to":"fa7ab95a_a9079316","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":1848,"context_line":"        else:"},{"line_number":1849,"context_line":"            return boot_conn_type"},{"line_number":1850,"context_line":""},{"line_number":1851,"context_line":"    def _get_connectivity_type(self, conn_info):"},{"line_number":1852,"context_line":"        if \u0027connection-type\u0027 in conn_info[\u0027data\u0027]:"},{"line_number":1853,"context_line":"            connectivity_type \u003d conn_info[\u0027data\u0027][\u0027connection-type\u0027]"},{"line_number":1854,"context_line":"            boot_conn_type \u003d (\u0027vscsi\u0027 if connectivity_type \u003d\u003d \u0027pv_vscsi\u0027 else"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_69010b05","line":1851,"range":{"start_line":1851,"start_character":37,"end_line":1851,"end_character":46},"updated":"2016-08-29 14:39:06.000000000","message":"Just pass in bdm?","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":1848,"context_line":"        else:"},{"line_number":1849,"context_line":"            return boot_conn_type"},{"line_number":1850,"context_line":""},{"line_number":1851,"context_line":"    def _get_connectivity_type(self, conn_info):"},{"line_number":1852,"context_line":"        if \u0027connection-type\u0027 in conn_info[\u0027data\u0027]:"},{"line_number":1853,"context_line":"            connectivity_type \u003d conn_info[\u0027data\u0027][\u0027connection-type\u0027]"},{"line_number":1854,"context_line":"            boot_conn_type \u003d (\u0027vscsi\u0027 if connectivity_type \u003d\u003d \u0027pv_vscsi\u0027 else"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_a93f9385","line":1851,"range":{"start_line":1851,"start_character":37,"end_line":1851,"end_character":46},"in_reply_to":"fa7ab95a_69010b05","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f2e19c3301704229dbc0566801d54fb145541a39","unresolved":false,"context_lines":[{"line_number":73,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":74,"context_line":"CONF \u003d cfg.CONF"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"# Defines, for all cinder volume types, which volume driver to use.  Currently"},{"line_number":77,"context_line":"# only supports Fibre Channel, which has multiple options for connections."},{"line_number":78,"context_line":"# The connection strategy is defined above."},{"line_number":79,"context_line":"VOLUME_DRIVER_MAPPINGS \u003d {"},{"line_number":80,"context_line":"    \u0027fibre_channel\u0027: vol_attach.FC_STRATEGY_MAPPING["},{"line_number":81,"context_line":"        CONF.powervm.fc_attach_strategy.lower()],"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa7ab95a_8f5f9374","line":78,"range":{"start_line":76,"start_character":0,"end_line":78,"end_character":43},"updated":"2016-08-31 15:12:55.000000000","message":"This is not actually true anymore.","commit_id":"8c4a040862e4140964b2e45b4e2f5cfa88e6f73c"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9d2c50e6a0e5a3e6a7c890271e44ec9f9b58dab0","unresolved":false,"context_lines":[{"line_number":73,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":74,"context_line":"CONF \u003d cfg.CONF"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"# Defines, for all cinder volume types, which volume driver to use.  Currently"},{"line_number":77,"context_line":"# only supports Fibre Channel, which has multiple options for connections."},{"line_number":78,"context_line":"# The connection strategy is defined above."},{"line_number":79,"context_line":"VOLUME_DRIVER_MAPPINGS \u003d {"},{"line_number":80,"context_line":"    \u0027fibre_channel\u0027: vol_attach.FC_STRATEGY_MAPPING["},{"line_number":81,"context_line":"        CONF.powervm.fc_attach_strategy.lower()],"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa7ab95a_0f5e2345","line":78,"range":{"start_line":76,"start_character":0,"end_line":78,"end_character":43},"in_reply_to":"fa7ab95a_8f5f9374","updated":"2016-08-31 15:43:08.000000000","message":"Done","commit_id":"8c4a040862e4140964b2e45b4e2f5cfa88e6f73c"}],"nova_powervm/virt/powervm/volume/__init__.py":[{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"cc3ed5ef786a9fd2b3cbc96ec64cc29ef7eea065","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    \u0027npiv\u0027: CONF.powervm.fc_npiv_adapter_api,"},{"line_number":24,"context_line":"    \u0027vscsi\u0027: CONF.powervm.fc_vscsi_adapter_api"},{"line_number":25,"context_line":"}"},{"line_number":26,"context_line":"ISCSI_STRATEGY_MAPPING \u003d {"},{"line_number":27,"context_line":"    \u0027iscsi\u0027: CONF.powervm.iscsi_adapter_api"},{"line_number":28,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_0a8cead8","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":22},"updated":"2016-08-29 16:29:52.000000000","message":"Same comment as before about iSCSI vs network","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"b5716728c6b39b86ed1fc22582a9507b47eadf66","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    \u0027npiv\u0027: CONF.powervm.fc_npiv_adapter_api,"},{"line_number":24,"context_line":"    \u0027vscsi\u0027: CONF.powervm.fc_vscsi_adapter_api"},{"line_number":25,"context_line":"}"},{"line_number":26,"context_line":"ISCSI_STRATEGY_MAPPING \u003d {"},{"line_number":27,"context_line":"    \u0027iscsi\u0027: \u0027nova_powervm.virt.powervm.volume.iscsi.IscsiVolumeAdapter\u0027"},{"line_number":28,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa7ab95a_efebbfae","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":22},"updated":"2016-08-31 15:10:53.000000000","message":"Should be \u0027NETWORK_STRATEGY_MAPPING\u0027","commit_id":"8c4a040862e4140964b2e45b4e2f5cfa88e6f73c"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9d2c50e6a0e5a3e6a7c890271e44ec9f9b58dab0","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    \u0027npiv\u0027: CONF.powervm.fc_npiv_adapter_api,"},{"line_number":24,"context_line":"    \u0027vscsi\u0027: CONF.powervm.fc_vscsi_adapter_api"},{"line_number":25,"context_line":"}"},{"line_number":26,"context_line":"ISCSI_STRATEGY_MAPPING \u003d {"},{"line_number":27,"context_line":"    \u0027iscsi\u0027: \u0027nova_powervm.virt.powervm.volume.iscsi.IscsiVolumeAdapter\u0027"},{"line_number":28,"context_line":"}"}],"source_content_type":"text/x-python","patch_set":13,"id":"fa7ab95a_8f495391","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":22},"in_reply_to":"fa7ab95a_efebbfae","updated":"2016-08-31 15:43:08.000000000","message":"Done","commit_id":"8c4a040862e4140964b2e45b4e2f5cfa88e6f73c"}],"nova_powervm/virt/powervm/volume/iscsi.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":40,"context_line":"DEVNAME_KEY \u003d \u0027target_devname\u0027"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"class IscsiVolumeAdapter(volume.VolumeAdapter, v_driver.PowerVMVolumeAdapter):"},{"line_number":44,"context_line":"    def __init__(self, adapter, host_uuid, instance, connection_info,"},{"line_number":45,"context_line":"                 stg_ftsk\u003dNone):"},{"line_number":46,"context_line":"        super(IscsiVolumeAdapter, self).__init__("}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_72e79440","line":43,"range":{"start_line":43,"start_character":0,"end_line":43,"end_character":78},"updated":"2016-08-25 15:59:18.000000000","message":"I think the class definition here would be good.  This driver will connect a VM to a volume using iSCSI to the I/O Host (this iteration its NovaLink) and then use the vSCSI technology to host it to the VM itself.","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":40,"context_line":"DEVNAME_KEY \u003d \u0027target_devname\u0027"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"class IscsiVolumeAdapter(volume.VolumeAdapter, v_driver.PowerVMVolumeAdapter):"},{"line_number":44,"context_line":"    def __init__(self, adapter, host_uuid, instance, connection_info,"},{"line_number":45,"context_line":"                 stg_ftsk\u003dNone):"},{"line_number":46,"context_line":"        super(IscsiVolumeAdapter, self).__init__("}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_8d83db03","line":43,"range":{"start_line":43,"start_character":0,"end_line":43,"end_character":78},"in_reply_to":"1ac06dbe_72e79440","updated":"2016-08-29 14:31:24.000000000","message":"Done","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                 stg_ftsk\u003dNone):"},{"line_number":46,"context_line":"        super(IscsiVolumeAdapter, self).__init__("},{"line_number":47,"context_line":"            adapter, host_uuid, instance, connection_info, stg_ftsk\u003dstg_ftsk)"},{"line_number":48,"context_line":"        mgmt_part \u003d partition.get_mgmt_partition(adapter)"},{"line_number":49,"context_line":"        vios_uuid \u003d mgmt_part.uuid"},{"line_number":50,"context_line":"        self.initiator_name \u003d hdisk.discover_iscsi_initiator("},{"line_number":51,"context_line":"            adapter, vios_uuid)"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_1291009b","line":49,"range":{"start_line":48,"start_character":0,"end_line":49,"end_character":34},"updated":"2016-08-25 15:59:18.000000000","message":"Document the assumption being made here.  For this iteration, we are assuming that the partition hosting the iSCSI to the VM is the NovaLink.","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                 stg_ftsk\u003dNone):"},{"line_number":46,"context_line":"        super(IscsiVolumeAdapter, self).__init__("},{"line_number":47,"context_line":"            adapter, host_uuid, instance, connection_info, stg_ftsk\u003dstg_ftsk)"},{"line_number":48,"context_line":"        mgmt_part \u003d partition.get_mgmt_partition(adapter)"},{"line_number":49,"context_line":"        vios_uuid \u003d mgmt_part.uuid"},{"line_number":50,"context_line":"        self.initiator_name \u003d hdisk.discover_iscsi_initiator("},{"line_number":51,"context_line":"            adapter, vios_uuid)"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_2dbbaf0f","line":49,"range":{"start_line":48,"start_character":0,"end_line":49,"end_character":34},"in_reply_to":"1ac06dbe_1291009b","updated":"2016-08-29 14:31:24.000000000","message":"Done","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":78,"context_line":"                         information to the live_migration command, it"},{"line_number":79,"context_line":"                         should be added to this dictionary."},{"line_number":80,"context_line":"        \"\"\""},{"line_number":81,"context_line":"        pass"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def _connect_volume(self, slot_mgr):"},{"line_number":84,"context_line":"        \"\"\"Disconnect the volume."}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_32687cba","line":81,"range":{"start_line":81,"start_character":0,"end_line":81,"end_character":12},"updated":"2016-08-25 15:59:18.000000000","message":"Should probably fail here.  This isn\u0027t supported yet.","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":78,"context_line":"                         information to the live_migration command, it"},{"line_number":79,"context_line":"                         should be added to this dictionary."},{"line_number":80,"context_line":"        \"\"\""},{"line_number":81,"context_line":"        pass"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def _connect_volume(self, slot_mgr):"},{"line_number":84,"context_line":"        \"\"\"Disconnect the volume."}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_4d755396","line":81,"range":{"start_line":81,"start_character":0,"end_line":81,"end_character":12},"in_reply_to":"1ac06dbe_32687cba","updated":"2016-08-29 14:31:24.000000000","message":"Done","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        :param slot_mgr: A NovaSlotManager.  Used to delete the client slots"},{"line_number":87,"context_line":"                         used when a volume is detached from the VM"},{"line_number":88,"context_line":"        \"\"\""},{"line_number":89,"context_line":"        host_ip \u003d self.connection_info[\"data\"][\"target_portal\"]"},{"line_number":90,"context_line":"        iqn \u003d self.connection_info[\"data\"][\"target_iqn\"]"},{"line_number":91,"context_line":"        password \u003d self.connection_info[\"data\"][\"auth_password\"]"},{"line_number":92,"context_line":"        user \u003d self.connection_info[\"data\"][\"auth_username\"]"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_3046af21","line":89,"range":{"start_line":89,"start_character":8,"end_line":89,"end_character":15},"updated":"2016-08-25 15:59:18.000000000","message":"target_ip I think is better.","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        :param slot_mgr: A NovaSlotManager.  Used to delete the client slots"},{"line_number":87,"context_line":"                         used when a volume is detached from the VM"},{"line_number":88,"context_line":"        \"\"\""},{"line_number":89,"context_line":"        host_ip \u003d self.connection_info[\"data\"][\"target_portal\"]"},{"line_number":90,"context_line":"        iqn \u003d self.connection_info[\"data\"][\"target_iqn\"]"},{"line_number":91,"context_line":"        password \u003d self.connection_info[\"data\"][\"auth_password\"]"},{"line_number":92,"context_line":"        user \u003d self.connection_info[\"data\"][\"auth_username\"]"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_8da67b0e","line":89,"range":{"start_line":89,"start_character":8,"end_line":89,"end_character":15},"in_reply_to":"1ac06dbe_3046af21","updated":"2016-08-29 14:31:24.000000000","message":"See below comment","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":87,"context_line":"                         used when a volume is detached from the VM"},{"line_number":88,"context_line":"        \"\"\""},{"line_number":89,"context_line":"        host_ip \u003d self.connection_info[\"data\"][\"target_portal\"]"},{"line_number":90,"context_line":"        iqn \u003d self.connection_info[\"data\"][\"target_iqn\"]"},{"line_number":91,"context_line":"        password \u003d self.connection_info[\"data\"][\"auth_password\"]"},{"line_number":92,"context_line":"        user \u003d self.connection_info[\"data\"][\"auth_username\"]"},{"line_number":93,"context_line":"        target_name \u003d \"ISCSI-\" + iqn.split(\":\")[1]"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_100f33e2","line":90,"range":{"start_line":90,"start_character":8,"end_line":90,"end_character":11},"updated":"2016-08-25 15:59:18.000000000","message":"In fact, why not name all of these the attribute in the connection info.\n\ntarget_iqn \u003d self.connection_info[\"data\"][\"target_iqn\"]","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":87,"context_line":"                         used when a volume is detached from the VM"},{"line_number":88,"context_line":"        \"\"\""},{"line_number":89,"context_line":"        host_ip \u003d self.connection_info[\"data\"][\"target_portal\"]"},{"line_number":90,"context_line":"        iqn \u003d self.connection_info[\"data\"][\"target_iqn\"]"},{"line_number":91,"context_line":"        password \u003d self.connection_info[\"data\"][\"auth_password\"]"},{"line_number":92,"context_line":"        user \u003d self.connection_info[\"data\"][\"auth_username\"]"},{"line_number":93,"context_line":"        target_name \u003d \"ISCSI-\" + iqn.split(\":\")[1]"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_2a2c75aa","line":90,"range":{"start_line":90,"start_character":8,"end_line":90,"end_character":11},"in_reply_to":"1ac06dbe_100f33e2","updated":"2016-08-29 14:31:24.000000000","message":"To what level should we care about consistency with the variable names in pypowervm?\nShould we leave these as is? Also change the pypowervm variable names? Or just change these?","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":118,"context_line":"                LOG.debug(\u0027Device attached: %s\u0027, device_name)"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"                # Valid attachment"},{"line_number":121,"context_line":"                return True"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"            return False"},{"line_number":124,"context_line":"        # Its about to get weird.  The transaction manager has a list of"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_234ca641","line":121,"range":{"start_line":121,"start_character":23,"end_line":121,"end_character":27},"updated":"2016-08-25 15:59:18.000000000","message":"I think this is supposed to return the mapping?  efried knows for sure.","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":118,"context_line":"                LOG.debug(\u0027Device attached: %s\u0027, device_name)"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"                # Valid attachment"},{"line_number":121,"context_line":"                return True"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"            return False"},{"line_number":124,"context_line":"        # Its about to get weird.  The transaction manager has a list of"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_0d36ebe5","line":121,"range":{"start_line":121,"start_character":23,"end_line":121,"end_character":27},"in_reply_to":"1ac06dbe_234ca641","updated":"2016-08-29 14:31:24.000000000","message":"Each call to this method either returns true or false depending on whether a mapping was created. This true/false is used below for the vioses_modified\nefried, sound about right?","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":121,"context_line":"                return True"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"            return False"},{"line_number":124,"context_line":"        # Its about to get weird.  The transaction manager has a list of"},{"line_number":125,"context_line":"        # VIOSes.  We could use those, but they only have SCSI mappings (by"},{"line_number":126,"context_line":"        # design).  They do not have storage (super expensive)."},{"line_number":127,"context_line":"        #"},{"line_number":128,"context_line":"        # We need the storage xag when we are determining which mappings to"},{"line_number":129,"context_line":"        # add to the system.  But we don\u0027t want to tie it to the stg_ftsk.  If"},{"line_number":130,"context_line":"        # we do, every retry, every etag gather, etc... takes MUCH longer."},{"line_number":131,"context_line":"        #"},{"line_number":132,"context_line":"        # So we get the VIOSes with the storage xag here, separately, to save"},{"line_number":133,"context_line":"        # the stg_ftsk from potentially having to run it multiple times."},{"line_number":134,"context_line":"        connect_ftsk \u003d tx.FeedTask("},{"line_number":135,"context_line":"            \u0027connect_volume_to_vio\u0027, pvm_vios.VIOS.getter("},{"line_number":136,"context_line":"                self.adapter, xag\u003d[pvm_const.XAG.VIO_STOR,"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_23fae6bd","line":133,"range":{"start_line":124,"start_character":0,"end_line":133,"end_character":72},"updated":"2016-08-25 15:59:18.000000000","message":"Hmm....this screams duplication.  Do we have an opportunity to make parts of this common with vSCSI?","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":121,"context_line":"                return True"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"            return False"},{"line_number":124,"context_line":"        # Its about to get weird.  The transaction manager has a list of"},{"line_number":125,"context_line":"        # VIOSes.  We could use those, but they only have SCSI mappings (by"},{"line_number":126,"context_line":"        # design).  They do not have storage (super expensive)."},{"line_number":127,"context_line":"        #"},{"line_number":128,"context_line":"        # We need the storage xag when we are determining which mappings to"},{"line_number":129,"context_line":"        # add to the system.  But we don\u0027t want to tie it to the stg_ftsk.  If"},{"line_number":130,"context_line":"        # we do, every retry, every etag gather, etc... takes MUCH longer."},{"line_number":131,"context_line":"        #"},{"line_number":132,"context_line":"        # So we get the VIOSes with the storage xag here, separately, to save"},{"line_number":133,"context_line":"        # the stg_ftsk from potentially having to run it multiple times."},{"line_number":134,"context_line":"        connect_ftsk \u003d tx.FeedTask("},{"line_number":135,"context_line":"            \u0027connect_volume_to_vio\u0027, pvm_vios.VIOS.getter("},{"line_number":136,"context_line":"                self.adapter, xag\u003d[pvm_const.XAG.VIO_STOR,"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_4045fcb0","line":133,"range":{"start_line":124,"start_character":0,"end_line":133,"end_character":72},"in_reply_to":"1ac06dbe_23fae6bd","updated":"2016-08-29 14:31:24.000000000","message":"Done","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    \"\"\"The iSCSI implementation of the Volume Adapter."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    This driver will connect a volume to a VM. First using iSCSI to connect the"},{"line_number":46,"context_line":"    volume to the I/O Host (NovaLink partition). Then using the vSCSI"},{"line_number":47,"context_line":"    technology to host it to the VM itself."},{"line_number":48,"context_line":"    \"\"\""},{"line_number":49,"context_line":"    def __init__(self, adapter, host_uuid, instance, connection_info,"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_86c39cec","line":46,"updated":"2016-08-29 14:39:06.000000000","message":"the PowerVM vSCSI","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    \"\"\"The iSCSI implementation of the Volume Adapter."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    This driver will connect a volume to a VM. First using iSCSI to connect the"},{"line_number":46,"context_line":"    volume to the I/O Host (NovaLink partition). Then using the vSCSI"},{"line_number":47,"context_line":"    technology to host it to the VM itself."},{"line_number":48,"context_line":"    \"\"\""},{"line_number":49,"context_line":"    def __init__(self, adapter, host_uuid, instance, connection_info,"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_c99cd75f","line":46,"in_reply_to":"fa7ab95a_86c39cec","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":138,"context_line":"        def set_slot_info():"},{"line_number":139,"context_line":"            vios_wraps \u003d self.stg_ftsk.feed"},{"line_number":140,"context_line":"            for vios_w in vios_wraps:"},{"line_number":141,"context_line":"                found_maps \u003d tsk_map.find_maps("},{"line_number":142,"context_line":"                    vios_w.scsi_mappings, partition_id,"},{"line_number":143,"context_line":"                    tsk_map.gen_match_func(pvm_stor.PV,"},{"line_number":144,"context_line":"                                           names\u003d[self._get_devname()]))"},{"line_number":145,"context_line":"                for scsi_map in found_maps:"},{"line_number":146,"context_line":"                    slot_mgr.register_vscsi_mapping(scsi_map)"},{"line_number":147,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_26fbb048","line":144,"range":{"start_line":141,"start_character":0,"end_line":144,"end_character":72},"updated":"2016-08-29 14:39:06.000000000","message":"So...why doesn\u0027t iSCSI have a udid?","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":138,"context_line":"        def set_slot_info():"},{"line_number":139,"context_line":"            vios_wraps \u003d self.stg_ftsk.feed"},{"line_number":140,"context_line":"            for vios_w in vios_wraps:"},{"line_number":141,"context_line":"                found_maps \u003d tsk_map.find_maps("},{"line_number":142,"context_line":"                    vios_w.scsi_mappings, partition_id,"},{"line_number":143,"context_line":"                    tsk_map.gen_match_func(pvm_stor.PV,"},{"line_number":144,"context_line":"                                           names\u003d[self._get_devname()]))"},{"line_number":145,"context_line":"                for scsi_map in found_maps:"},{"line_number":146,"context_line":"                    slot_mgr.register_vscsi_mapping(scsi_map)"},{"line_number":147,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_94e586dd","line":144,"range":{"start_line":141,"start_character":0,"end_line":144,"end_character":72},"in_reply_to":"fa7ab95a_26fbb048","updated":"2016-08-29 15:22:59.000000000","message":"PV created through the iscsi login, aren\u0027t assigned a udid. I am creating a udid for it (target_name) on the PV.bld call.\n\nUpdated code to use this udid.","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"cc3ed5ef786a9fd2b3cbc96ec64cc29ef7eea065","unresolved":false,"context_lines":[{"line_number":196,"context_line":"                self._add_remove_mapping(partition_id, vios_w.uuid,"},{"line_number":197,"context_line":"                                         device_name, slot_mgr)"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"                # TODO(Taylor): Logout of iscsi device"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"            # Found a valid element to remove"},{"line_number":202,"context_line":"            return True"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_c05581fa","line":199,"range":{"start_line":199,"start_character":42,"end_line":199,"end_character":47},"updated":"2016-08-29 16:29:52.000000000","message":"iSCSI","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b91cf0abe71124325a72d0dd250951a4c37db738","unresolved":false,"context_lines":[{"line_number":196,"context_line":"                self._add_remove_mapping(partition_id, vios_w.uuid,"},{"line_number":197,"context_line":"                                         device_name, slot_mgr)"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"                # TODO(Taylor): Logout of iscsi device"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"            # Found a valid element to remove"},{"line_number":202,"context_line":"            return True"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_1d43fd13","line":199,"range":{"start_line":199,"start_character":42,"end_line":199,"end_character":47},"in_reply_to":"fa7ab95a_c05581fa","updated":"2016-08-30 18:44:23.000000000","message":"Done","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8971ad2aebdc21dab9b501457113d1ac43954b73","unresolved":false,"context_lines":[{"line_number":37,"context_line":"DEVNAME_KEY \u003d \u0027target_devname\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"class IscsiVolumeAdapter(volume.vSCSIVolumeAdapter,"},{"line_number":41,"context_line":"                         v_driver.PowerVMVolumeAdapter):"},{"line_number":42,"context_line":"    \"\"\"The iSCSI implementation of the Volume Adapter."},{"line_number":43,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_14610f05","line":40,"range":{"start_line":40,"start_character":6,"end_line":40,"end_character":50},"updated":"2016-08-30 22:17:32.000000000","message":"Consistency in naming conventions here (case).  Recommend VSCSIVolumeAdapter and ISCSIVolumeAdapter.","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":37,"context_line":"DEVNAME_KEY \u003d \u0027target_devname\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"class IscsiVolumeAdapter(volume.vSCSIVolumeAdapter,"},{"line_number":41,"context_line":"                         v_driver.PowerVMVolumeAdapter):"},{"line_number":42,"context_line":"    \"\"\"The iSCSI implementation of the Volume Adapter."},{"line_number":43,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_981c626c","line":40,"range":{"start_line":40,"start_character":6,"end_line":40,"end_character":50},"in_reply_to":"fa7ab95a_14610f05","updated":"2016-08-31 06:32:47.000000000","message":"Made the naming consistent","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8971ad2aebdc21dab9b501457113d1ac43954b73","unresolved":false,"context_lines":[{"line_number":90,"context_line":"        raise NotImplementedError()"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    def _connect_volume(self, slot_mgr):"},{"line_number":93,"context_line":"        \"\"\"Disconnect the volume."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        :param slot_mgr: A NovaSlotManager.  Used to delete the client slots"},{"line_number":96,"context_line":"                         used when a volume is detached from the VM"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_94143fa0","line":93,"range":{"start_line":93,"start_character":11,"end_line":93,"end_character":21},"updated":"2016-08-30 22:17:32.000000000","message":"Connect","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":90,"context_line":"        raise NotImplementedError()"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    def _connect_volume(self, slot_mgr):"},{"line_number":93,"context_line":"        \"\"\"Disconnect the volume."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        :param slot_mgr: A NovaSlotManager.  Used to delete the client slots"},{"line_number":96,"context_line":"                         used when a volume is detached from the VM"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_3c3ef129","line":93,"range":{"start_line":93,"start_character":11,"end_line":93,"end_character":21},"in_reply_to":"fa7ab95a_94143fa0","updated":"2016-08-31 06:32:47.000000000","message":"Done","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"}],"nova_powervm/virt/powervm/volume/volume.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5cf8f4d4f4b5ec89505c50923b9a6644afc90e8c","unresolved":false,"context_lines":[{"line_number":34,"context_line":"DEVNAME_KEY \u003d \u0027target_devname\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"class VolumeAdapter(object):"},{"line_number":38,"context_line":"    def _validate_vios_on_connection(self, num_vioses_found):"},{"line_number":39,"context_line":"        \"\"\"Validates that the correct number of VIOSes were discovered."},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_03736ae8","line":37,"range":{"start_line":37,"start_character":0,"end_line":37,"end_character":28},"updated":"2016-08-25 15:59:18.000000000","message":"Is this really just for adapters that use \u0027vscsi at the edge\u0027?","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"9e840b9572a52cebc4ab602b9fa457b704c419bd","unresolved":false,"context_lines":[{"line_number":34,"context_line":"DEVNAME_KEY \u003d \u0027target_devname\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"class VolumeAdapter(object):"},{"line_number":38,"context_line":"    def _validate_vios_on_connection(self, num_vioses_found):"},{"line_number":39,"context_line":"        \"\"\"Validates that the correct number of VIOSes were discovered."},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"fa7ab95a_a66c20d1","line":37,"range":{"start_line":37,"start_character":0,"end_line":37,"end_character":28},"in_reply_to":"1ac06dbe_03736ae8","updated":"2016-08-29 14:31:24.000000000","message":"Yes, the code here only supports \u0027vscsi at the edge\u0027","commit_id":"b93ce818b9f875554c2eeb1009f5682fb6d9b61d"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":34,"context_line":"DEVNAME_KEY \u003d \u0027target_devname\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"class VolumeAdapter(object):"},{"line_number":38,"context_line":"    def _connect_volume(self, connect_volume_to_vio, set_slot_info):"},{"line_number":39,"context_line":"        \"\"\"Connects the volume."},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_668a181d","line":37,"range":{"start_line":37,"start_character":6,"end_line":37,"end_character":19},"updated":"2016-08-29 14:39:06.000000000","message":"Can we name this \u0027vSCSIVolumeAdapter\u0027 and add some light comments around this?","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":34,"context_line":"DEVNAME_KEY \u003d \u0027target_devname\u0027"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"class VolumeAdapter(object):"},{"line_number":38,"context_line":"    def _connect_volume(self, connect_volume_to_vio, set_slot_info):"},{"line_number":39,"context_line":"        \"\"\"Connects the volume."},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_ef399bd8","line":37,"range":{"start_line":37,"start_character":6,"end_line":37,"end_character":19},"in_reply_to":"fa7ab95a_668a181d","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def _connect_volume(self, connect_volume_to_vio, set_slot_info):"},{"line_number":39,"context_line":"        \"\"\"Connects the volume."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        :param connect_volume_to_vio: Function to connect a volume to the vio"},{"line_number":42,"context_line":"        :param set_slot_info: Function to update slot information."},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_66b858c9","line":41,"updated":"2016-08-29 14:39:06.000000000","message":"End with period.\n\nWhat are inputs and outputs?","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def _connect_volume(self, connect_volume_to_vio, set_slot_info):"},{"line_number":39,"context_line":"        \"\"\"Connects the volume."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        :param connect_volume_to_vio: Function to connect a volume to the vio"},{"line_number":42,"context_line":"        :param set_slot_info: Function to update slot information."},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_af2313a6","line":41,"in_reply_to":"fa7ab95a_66b858c9","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        \"\"\"Connects the volume."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        :param connect_volume_to_vio: Function to connect a volume to the vio"},{"line_number":42,"context_line":"        :param set_slot_info: Function to update slot information."},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"        # Its about to get weird.  The transaction manager has a list of"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_e6faa874","line":42,"updated":"2016-08-29 14:39:06.000000000","message":"any input/output into this function?","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        \"\"\"Connects the volume."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"        :param connect_volume_to_vio: Function to connect a volume to the vio"},{"line_number":42,"context_line":"        :param set_slot_info: Function to update slot information."},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"        # Its about to get weird.  The transaction manager has a list of"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_cf3cd7ca","line":42,"in_reply_to":"fa7ab95a_e6faa874","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"cc3ed5ef786a9fd2b3cbc96ec64cc29ef7eea065","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"class vSCSIVolumeAdapter(object):"},{"line_number":40,"context_line":"    \"\"\"VolumeAdapter that connects a Cinder volume to a VM."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    This volume adapter is a generic adapter for volume types that use PowerVM"},{"line_number":43,"context_line":"    vSCSI to host the volume to the VM."}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_ca3922f4","line":40,"range":{"start_line":40,"start_character":7,"end_line":40,"end_character":20},"updated":"2016-08-29 16:29:52.000000000","message":"vSCSIVolumeAdapter","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b91cf0abe71124325a72d0dd250951a4c37db738","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"class vSCSIVolumeAdapter(object):"},{"line_number":40,"context_line":"    \"\"\"VolumeAdapter that connects a Cinder volume to a VM."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    This volume adapter is a generic adapter for volume types that use PowerVM"},{"line_number":43,"context_line":"    vSCSI to host the volume to the VM."}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_3d752163","line":40,"range":{"start_line":40,"start_character":7,"end_line":40,"end_character":20},"in_reply_to":"fa7ab95a_ca3922f4","updated":"2016-08-30 18:44:23.000000000","message":"Done","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"}],"nova_powervm/virt/powervm/volume/vscsi.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"0b51d811d0755473158649f2cdfde9e1f6d85a51","unresolved":false,"context_lines":[{"line_number":242,"context_line":""},{"line_number":243,"context_line":"            return False"},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"        partition_id \u003d vm.get_vm_id(self.adapter, self.vm_uuid)"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"        # Update the slot information"},{"line_number":248,"context_line":"        def set_slot_info():"},{"line_number":249,"context_line":"            vios_wraps \u003d self.stg_ftsk.feed"},{"line_number":250,"context_line":"            for vios_w in vios_wraps:"},{"line_number":251,"context_line":"                scsi_map \u003d pvm_c_stor.udid_to_scsi_mapping("},{"line_number":252,"context_line":"                    vios_w, self._get_udid(), partition_id)"},{"line_number":253,"context_line":"                if not scsi_map:"},{"line_number":254,"context_line":"                    continue"},{"line_number":255,"context_line":"                slot_mgr.register_vscsi_mapping(scsi_map)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"        super(VscsiVolumeAdapter, self)._connect_volume("},{"line_number":258,"context_line":"            connect_volume_to_vio, set_slot_info)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_667bf8f5","line":255,"range":{"start_line":245,"start_character":0,"end_line":255,"end_character":57},"updated":"2016-08-29 14:39:06.000000000","message":"why can\u0027t this move up as well?\n\nCan we use the \u0027udid_to_scsi_mapping\u0027 here?","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"2e9ae7d8a37b812a39c8d5bd8590be8446defe96","unresolved":false,"context_lines":[{"line_number":242,"context_line":""},{"line_number":243,"context_line":"            return False"},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"        partition_id \u003d vm.get_vm_id(self.adapter, self.vm_uuid)"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"        # Update the slot information"},{"line_number":248,"context_line":"        def set_slot_info():"},{"line_number":249,"context_line":"            vios_wraps \u003d self.stg_ftsk.feed"},{"line_number":250,"context_line":"            for vios_w in vios_wraps:"},{"line_number":251,"context_line":"                scsi_map \u003d pvm_c_stor.udid_to_scsi_mapping("},{"line_number":252,"context_line":"                    vios_w, self._get_udid(), partition_id)"},{"line_number":253,"context_line":"                if not scsi_map:"},{"line_number":254,"context_line":"                    continue"},{"line_number":255,"context_line":"                slot_mgr.register_vscsi_mapping(scsi_map)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"        super(VscsiVolumeAdapter, self)._connect_volume("},{"line_number":258,"context_line":"            connect_volume_to_vio, set_slot_info)"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa7ab95a_54069e86","line":255,"range":{"start_line":245,"start_character":0,"end_line":255,"end_character":57},"in_reply_to":"fa7ab95a_667bf8f5","updated":"2016-08-29 15:22:59.000000000","message":"Done","commit_id":"43cf691342631cd1d2539dc6911d4deaa64fa2c0"},{"author":{"_account_id":13883,"name":"Adam Reznechek","email":"adreznec@us.ibm.com","username":"adrez"},"change_message_id":"cc3ed5ef786a9fd2b3cbc96ec64cc29ef7eea065","unresolved":false,"context_lines":[{"line_number":257,"context_line":"            :return: True if a remove action was done against this VIOS.  False"},{"line_number":258,"context_line":"                     otherwise."},{"line_number":259,"context_line":"            \"\"\""},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"            LOG.debug(\"Disconnect volume %(vol)s from vios uuid %(uuid)s\","},{"line_number":262,"context_line":"                      dict(vol\u003dself.volume_id, uuid\u003dvios_w.uuid))"},{"line_number":263,"context_line":"            udid, device_name \u003d None, None"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_2713a75c","line":260,"updated":"2016-08-29 16:29:52.000000000","message":"Extra line?","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"b91cf0abe71124325a72d0dd250951a4c37db738","unresolved":false,"context_lines":[{"line_number":257,"context_line":"            :return: True if a remove action was done against this VIOS.  False"},{"line_number":258,"context_line":"                     otherwise."},{"line_number":259,"context_line":"            \"\"\""},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"            LOG.debug(\"Disconnect volume %(vol)s from vios uuid %(uuid)s\","},{"line_number":262,"context_line":"                      dict(vol\u003dself.volume_id, uuid\u003dvios_w.uuid))"},{"line_number":263,"context_line":"            udid, device_name \u003d None, None"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa7ab95a_5d1e650c","line":260,"in_reply_to":"fa7ab95a_2713a75c","updated":"2016-08-30 18:44:23.000000000","message":"Done","commit_id":"f36cb39104b66a9c7164f1f1d172bcbd4eec9719"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":42,"context_line":"_vscsi_pfc_wwpns \u003d None"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"class VscsiVolumeAdapter(volume.vSCSIVolumeAdapter,"},{"line_number":46,"context_line":"                         v_driver.FibreChannelVolumeAdapter):"},{"line_number":47,"context_line":"    \"\"\"The vSCSI implementation of the Volume Adapter."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_7836bee8","line":45,"range":{"start_line":45,"start_character":6,"end_line":45,"end_character":24},"updated":"2016-08-31 06:32:47.000000000","message":"Should this be changed to HdiskVolumeAdapter?\nTo separate it from the more generic VscsiVolumeAdapter (located in volume.py)","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"d45c8fe231b21b9fc0dec51dff89583ed3bc3d91","unresolved":false,"context_lines":[{"line_number":42,"context_line":"_vscsi_pfc_wwpns \u003d None"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"class VscsiVolumeAdapter(volume.vSCSIVolumeAdapter,"},{"line_number":46,"context_line":"                         v_driver.FibreChannelVolumeAdapter):"},{"line_number":47,"context_line":"    \"\"\"The vSCSI implementation of the Volume Adapter."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_b2991e22","line":45,"range":{"start_line":45,"start_character":6,"end_line":45,"end_character":24},"in_reply_to":"fa7ab95a_52be1200","updated":"2016-08-31 15:43:19.000000000","message":"Done","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"196279cfda617fb44f147b577f56e8575c2175ac","unresolved":false,"context_lines":[{"line_number":42,"context_line":"_vscsi_pfc_wwpns \u003d None"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"class VscsiVolumeAdapter(volume.vSCSIVolumeAdapter,"},{"line_number":46,"context_line":"                         v_driver.FibreChannelVolumeAdapter):"},{"line_number":47,"context_line":"    \"\"\"The vSCSI implementation of the Volume Adapter."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_f22486b0","line":45,"range":{"start_line":45,"start_character":6,"end_line":45,"end_character":24},"in_reply_to":"fa7ab95a_7836bee8","updated":"2016-08-31 15:17:49.000000000","message":"Yeah, it definitely needs a new name (and then the driver mapping needs to update it).\n\nHow about...  PVVscsiFCVolumeAdapter though?\n\nIts meant for physical volumes, hosted to the VIOS through Fibre Channel, that connect to the VMs with vSCSI...  What\u0027s a good name for that?","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"d45c8fe231b21b9fc0dec51dff89583ed3bc3d91","unresolved":false,"context_lines":[{"line_number":42,"context_line":"_vscsi_pfc_wwpns \u003d None"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"class VscsiVolumeAdapter(volume.vSCSIVolumeAdapter,"},{"line_number":46,"context_line":"                         v_driver.FibreChannelVolumeAdapter):"},{"line_number":47,"context_line":"    \"\"\"The vSCSI implementation of the Volume Adapter."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_52fc523e","line":45,"range":{"start_line":45,"start_character":6,"end_line":45,"end_character":24},"in_reply_to":"fa7ab95a_f22486b0","updated":"2016-08-31 15:43:19.000000000","message":"Done","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"819ddbd593cba4cf8f7a9abbb079e4b40451377c","unresolved":false,"context_lines":[{"line_number":42,"context_line":"_vscsi_pfc_wwpns \u003d None"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"class VscsiVolumeAdapter(volume.vSCSIVolumeAdapter,"},{"line_number":46,"context_line":"                         v_driver.FibreChannelVolumeAdapter):"},{"line_number":47,"context_line":"    \"\"\"The vSCSI implementation of the Volume Adapter."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_52be1200","line":45,"range":{"start_line":45,"start_character":6,"end_line":45,"end_character":24},"in_reply_to":"fa7ab95a_f22486b0","updated":"2016-08-31 15:20:28.000000000","message":"That name is awkward, but accurate; works for me.  But definitely add that succinct and pithy explanation (\"for physical volumes, hosted to the VIOS through Fibre Channel, that connect to the VMs with vSCSI\") in the docstring.","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"8971ad2aebdc21dab9b501457113d1ac43954b73","unresolved":false,"context_lines":[{"line_number":198,"context_line":""},{"line_number":199,"context_line":"        return status, device_name, udid"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"    def _connect_volume(self, slot_mgr):"},{"line_number":202,"context_line":"        \"\"\"Connects the volume."},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"        :param slot_mgr: A NovaSlotManager.  Used to store/retrieve the client"},{"line_number":205,"context_line":"                         slots used when a volume is attached to the VM"},{"line_number":206,"context_line":"        \"\"\""},{"line_number":207,"context_line":"        def connect_volume_to_vio(vios_w):"},{"line_number":208,"context_line":"            \"\"\"Attempts to connect a volume to a given VIO."},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"            :param vios_w: The Virtual I/O Server wrapper to connect to."}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_c510cf5b","line":207,"range":{"start_line":201,"start_character":0,"end_line":207,"end_character":42},"updated":"2016-08-30 22:17:32.000000000","message":"Not liking how we now have four levels of this.  Can we get rid of _connect_volume, promote connect_volume_to_vio (probably making private, and probably adding a \u0027self\u0027 param), and just use it directly from the superclass?","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"},{"author":{"_account_id":21099,"name":"Taylor Jakobson","email":"tjakobs@us.ibm.com","username":"tjakobs"},"change_message_id":"7ae879cae341b313e19fb3202935ecc01391e206","unresolved":false,"context_lines":[{"line_number":198,"context_line":""},{"line_number":199,"context_line":"        return status, device_name, udid"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"    def _connect_volume(self, slot_mgr):"},{"line_number":202,"context_line":"        \"\"\"Connects the volume."},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"        :param slot_mgr: A NovaSlotManager.  Used to store/retrieve the client"},{"line_number":205,"context_line":"                         slots used when a volume is attached to the VM"},{"line_number":206,"context_line":"        \"\"\""},{"line_number":207,"context_line":"        def connect_volume_to_vio(vios_w):"},{"line_number":208,"context_line":"            \"\"\"Attempts to connect a volume to a given VIO."},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"            :param vios_w: The Virtual I/O Server wrapper to connect to."}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_8c198825","line":207,"range":{"start_line":201,"start_character":0,"end_line":207,"end_character":42},"in_reply_to":"fa7ab95a_c510cf5b","updated":"2016-08-31 06:32:47.000000000","message":"Done","commit_id":"03bce928fc8b5c5912fc099c607dbcc634bdedaa"}]}
