)]}'
{"nova_powervm/virt/powervm/disk/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c906af439112daaa5a6db493499e2a362f759acb","unresolved":false,"context_lines":[{"line_number":74,"context_line":"        \u0027shared_storage\u0027: False,"},{"line_number":75,"context_line":"    }"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    def __init__(self, adapter, host_uuid):"},{"line_number":78,"context_line":"        \"\"\"Initialize the DiskAdapter"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        :param adapter: The pypowervm adapter"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_26d38c61","line":77,"range":{"start_line":77,"start_character":32,"end_line":77,"end_character":41},"updated":"2016-07-07 13:53:22.000000000","message":"If we\u0027re changing APIs, why not get rid of the host_uuid entirely?  We should never need it, right?","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f49c997c3ff0eae62ee2f6d81f17ad1d8c1f510f","unresolved":false,"context_lines":[{"line_number":74,"context_line":"        \u0027shared_storage\u0027: False,"},{"line_number":75,"context_line":"    }"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    def __init__(self, adapter, host_uuid):"},{"line_number":78,"context_line":"        \"\"\"Initialize the DiskAdapter"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        :param adapter: The pypowervm adapter"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_20ad2f9b","line":77,"range":{"start_line":77,"start_character":32,"end_line":77,"end_character":41},"in_reply_to":"1aa78d24_26d38c61","updated":"2016-07-07 14:20:01.000000000","message":"Some things in here still use it.  But agree...I\u0027d like to minimize the places we pass that thing around.","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c906af439112daaa5a6db493499e2a362f759acb","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        \"\"\""},{"line_number":83,"context_line":"        self.adapter \u003d adapter"},{"line_number":84,"context_line":"        self.host_uuid \u003d host_uuid"},{"line_number":85,"context_line":"        self.mp_uuid \u003d mgmt.mgmt_uuid(self.adapter)"},{"line_number":86,"context_line":"        self.image_api \u003d image.API()"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_66dc7446","line":85,"range":{"start_line":85,"start_character":23,"end_line":85,"end_character":51},"updated":"2016-07-07 13:53:22.000000000","message":"Just to make sure I\u0027m understanding this right:\n\nNow this is going to do the GET from here.  But that\u0027s okay because we should only be instantiating one disk driver, one time, per compute process.\n\n[Later] But even if it was being called more than once, the method caches, so it doesn\u0027t matter.  I dig it.","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f49c997c3ff0eae62ee2f6d81f17ad1d8c1f510f","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        \"\"\""},{"line_number":83,"context_line":"        self.adapter \u003d adapter"},{"line_number":84,"context_line":"        self.host_uuid \u003d host_uuid"},{"line_number":85,"context_line":"        self.mp_uuid \u003d mgmt.mgmt_uuid(self.adapter)"},{"line_number":86,"context_line":"        self.image_api \u003d image.API()"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_c0c70b62","line":85,"range":{"start_line":85,"start_character":23,"end_line":85,"end_character":51},"in_reply_to":"1aa78d24_66dc7446","updated":"2016-07-07 14:20:01.000000000","message":"Yep","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"}],"nova_powervm/virt/powervm/disk/ssp.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c906af439112daaa5a6db493499e2a362f759acb","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        boot_lu_name \u003d self._get_disk_name(image_type, instance)"},{"line_number":237,"context_line":"        LOG.info(_LI(\u0027SSP: Disk name is %s\u0027), boot_lu_name)"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        boot_lu \u003d tsk_stg.crt_lu(self._tier, boot_lu_name, disk_size_gb,"},{"line_number":240,"context_line":"                                 typ\u003dpvm_stg.LUType.DISK, clone\u003dimage_lu)[1]"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"        return boot_lu"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"    def get_disk_ref(self, instance, disk_type):"},{"line_number":245,"context_line":"        \"\"\"Returns a reference to the disk for the instance.\"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_268b8c20","line":242,"range":{"start_line":239,"start_character":0,"end_line":242,"end_character":22},"updated":"2016-07-07 13:53:22.000000000","message":"or fold these together like you did in the localdisk driver.","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f49c997c3ff0eae62ee2f6d81f17ad1d8c1f510f","unresolved":false,"context_lines":[{"line_number":236,"context_line":"        boot_lu_name \u003d self._get_disk_name(image_type, instance)"},{"line_number":237,"context_line":"        LOG.info(_LI(\u0027SSP: Disk name is %s\u0027), boot_lu_name)"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"        boot_lu \u003d tsk_stg.crt_lu(self._tier, boot_lu_name, disk_size_gb,"},{"line_number":240,"context_line":"                                 typ\u003dpvm_stg.LUType.DISK, clone\u003dimage_lu)[1]"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"        return boot_lu"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"    def get_disk_ref(self, instance, disk_type):"},{"line_number":245,"context_line":"        \"\"\"Returns a reference to the disk for the instance.\"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_a08abf61","line":242,"range":{"start_line":239,"start_character":0,"end_line":242,"end_character":22},"in_reply_to":"1aa78d24_268b8c20","updated":"2016-07-07 14:20:01.000000000","message":"Done","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"}],"nova_powervm/virt/powervm/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c906af439112daaa5a6db493499e2a362f759acb","unresolved":false,"context_lines":[{"line_number":168,"context_line":"        self.session.get_event_listener().subscribe(eh)"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    def _setup_disk_adapter(self):"},{"line_number":171,"context_line":"        \"\"\"Setup the nova ephemeral disk adapter.\"\"\""},{"line_number":172,"context_line":"        self.disk_dvr \u003d importutils.import_object_ns("},{"line_number":173,"context_line":"            DISK_ADPT_NS, DISK_ADPT_MAPPINGS[CONF.powervm.disk_driver.lower()],"},{"line_number":174,"context_line":"            self.adapter, self.host_uuid)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_460b3824","line":171,"range":{"start_line":171,"start_character":11,"end_line":171,"end_character":16},"updated":"2016-07-07 13:53:22.000000000","message":"To be really anal, \u0027setup\u0027 is a noun; \u0027set up\u0027 is a verb.","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f49c997c3ff0eae62ee2f6d81f17ad1d8c1f510f","unresolved":false,"context_lines":[{"line_number":168,"context_line":"        self.session.get_event_listener().subscribe(eh)"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    def _setup_disk_adapter(self):"},{"line_number":171,"context_line":"        \"\"\"Setup the nova ephemeral disk adapter.\"\"\""},{"line_number":172,"context_line":"        self.disk_dvr \u003d importutils.import_object_ns("},{"line_number":173,"context_line":"            DISK_ADPT_NS, DISK_ADPT_MAPPINGS[CONF.powervm.disk_driver.lower()],"},{"line_number":174,"context_line":"            self.adapter, self.host_uuid)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_e0520712","line":171,"range":{"start_line":171,"start_character":11,"end_line":171,"end_character":16},"in_reply_to":"1aa78d24_460b3824","updated":"2016-07-07 14:20:01.000000000","message":"That is really anal.  Done  :-)","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"2904443f4affc8a4ea2e817a9016fe73f1a156c2","unresolved":false,"context_lines":[{"line_number":168,"context_line":"        self.session.get_event_listener().subscribe(eh)"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    def _set_up_disk_adapter(self):"},{"line_number":171,"context_line":"        \"\"\"Setup the nova ephemeral disk adapter.\"\"\""},{"line_number":172,"context_line":"        self.disk_dvr \u003d importutils.import_object_ns("},{"line_number":173,"context_line":"            DISK_ADPT_NS, DISK_ADPT_MAPPINGS[CONF.powervm.disk_driver.lower()],"},{"line_number":174,"context_line":"            self.adapter, self.host_uuid)"}],"source_content_type":"text/x-python","patch_set":4,"id":"1aa78d24_60d9f7f2","line":171,"range":{"start_line":171,"start_character":11,"end_line":171,"end_character":16},"updated":"2016-07-07 14:27:11.000000000","message":"Aw, dood, I was complaining about the English part (the docstring), not the method name.  I\u0027m not *that* anal.","commit_id":"c2f36b3b8622d516e5fffffa2ae86e53d5c9aba2"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"5328b8a7cfce8379abc50610e363a8d283398fb6","unresolved":false,"context_lines":[{"line_number":168,"context_line":"        self.session.get_event_listener().subscribe(eh)"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    def _set_up_disk_adapter(self):"},{"line_number":171,"context_line":"        \"\"\"Setup the nova ephemeral disk adapter.\"\"\""},{"line_number":172,"context_line":"        self.disk_dvr \u003d importutils.import_object_ns("},{"line_number":173,"context_line":"            DISK_ADPT_NS, DISK_ADPT_MAPPINGS[CONF.powervm.disk_driver.lower()],"},{"line_number":174,"context_line":"            self.adapter, self.host_uuid)"}],"source_content_type":"text/x-python","patch_set":4,"id":"1aa78d24_e36331af","line":171,"range":{"start_line":171,"start_character":11,"end_line":171,"end_character":16},"in_reply_to":"1aa78d24_60d9f7f2","updated":"2016-07-07 14:28:40.000000000","message":"Lulz","commit_id":"c2f36b3b8622d516e5fffffa2ae86e53d5c9aba2"}],"nova_powervm/virt/powervm/mgmt.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c906af439112daaa5a6db493499e2a362f759acb","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"@lockutils.synchronized(\"mgmt_lpar_uuid\")"},{"line_number":43,"context_line":"def mgmt_uuid(adapter):"},{"line_number":44,"context_line":"    \"\"\"Returns the management partitions UUID.\"\"\""},{"line_number":45,"context_line":"    global _MP_UUID"},{"line_number":46,"context_line":"    if not _MP_UUID:"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_c629e89c","line":43,"updated":"2016-07-07 13:53:22.000000000","message":"UT for this","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f49c997c3ff0eae62ee2f6d81f17ad1d8c1f510f","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"@lockutils.synchronized(\"mgmt_lpar_uuid\")"},{"line_number":43,"context_line":"def mgmt_uuid(adapter):"},{"line_number":44,"context_line":"    \"\"\"Returns the management partitions UUID.\"\"\""},{"line_number":45,"context_line":"    global _MP_UUID"},{"line_number":46,"context_line":"    if not _MP_UUID:"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_0c2caf97","line":43,"in_reply_to":"1aa78d24_c629e89c","updated":"2016-07-07 14:20:01.000000000","message":"Good catch.","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"}],"nova_powervm/virt/powervm/vm.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"c906af439112daaa5a6db493499e2a362f759acb","unresolved":false,"context_lines":[{"line_number":449,"context_line":"    return [x.name for x in get_lpars(adapter)]"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":""},{"line_number":452,"context_line":"def get_instance_wrapper(adapter, instance, xag\u003dNone):"},{"line_number":453,"context_line":"    \"\"\"Get the LPAR wrapper for a given Nova instance."},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"    :param adapter: The adapter for the pypowervm API"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_66e634e9","line":452,"updated":"2016-07-07 13:53:22.000000000","message":"Concern about changing this public API.  Possible impacts downstream?\n\nBut I like it.  host_uuid is useless, here and everywhere.  Remove it from more places.","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"f49c997c3ff0eae62ee2f6d81f17ad1d8c1f510f","unresolved":false,"context_lines":[{"line_number":449,"context_line":"    return [x.name for x in get_lpars(adapter)]"},{"line_number":450,"context_line":""},{"line_number":451,"context_line":""},{"line_number":452,"context_line":"def get_instance_wrapper(adapter, instance, xag\u003dNone):"},{"line_number":453,"context_line":"    \"\"\"Get the LPAR wrapper for a given Nova instance."},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"    :param adapter: The adapter for the pypowervm API"}],"source_content_type":"text/x-python","patch_set":3,"id":"1aa78d24_ec1cc36b","line":452,"in_reply_to":"1aa78d24_66e634e9","updated":"2016-07-07 14:20:01.000000000","message":"No concerns changing this.  It is not really a publicly consumed API.  That is the driver interface.  Everything \u0027in\u0027 the driver is considered private to the driver itself.","commit_id":"1a7ba9cb2a70bf85fb5b47601c9e6a049b25d45a"}]}
