)]}'
{"ironic/conductor/base_manager.py":[{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"c8982acaf75e89be88d8e5e3a34fce922e31f6d4","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        self.ring_manager \u003d hash.HashRingManager()"},{"line_number":93,"context_line":"        \"\"\"Consistent hash ring which maps drivers to conductors.\"\"\""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        self.ports \u003d port_bitmap.PortBitmap()"},{"line_number":96,"context_line":"        \"\"\"Bitmap to handle console ports allocation/de-allocation\"\"\""},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"        # NOTE(deva): instantiating DriverFactory may raise DriverLoadError"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a7b0d38_158778b6","line":95,"updated":"2015-12-23 09:03:30.000000000","message":"1. s/ports/console_ports\n2. Since you will return all nodes\u0027s console port from my understanding of your another patch, but they could belong to different conductor services, any ideas? What about saved this in conductor table.","commit_id":"bbf54a3cc249d681307e5641fb917845c0d1041d"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"87d3df453ca6c9741ec26dab00758625f4cf2c47","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        self.ring_manager \u003d hash.HashRingManager()"},{"line_number":93,"context_line":"        \"\"\"Consistent hash ring which maps drivers to conductors.\"\"\""},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        self.ports \u003d port_bitmap.PortBitmap()"},{"line_number":96,"context_line":"        \"\"\"Bitmap to handle console ports allocation/de-allocation\"\"\""},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"        # NOTE(deva): instantiating DriverFactory may raise DriverLoadError"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a7b0d38_02ce095a","line":95,"in_reply_to":"1a7b0d38_158778b6","updated":"2015-12-26 03:30:41.000000000","message":"thanks Tan, will update another patch to only fetch the nodes mapped to this conductor, maybe using iter_nodes().\n\nAbout saving this in conductor table, it\u0027s an alternative in the spec, and please continue comments there:  https://review.openstack.org/#/c/249876/","commit_id":"bbf54a3cc249d681307e5641fb917845c0d1041d"}],"ironic/conductor/manager.py":[{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"c8982acaf75e89be88d8e5e3a34fce922e31f6d4","unresolved":false,"context_lines":[{"line_number":1486,"context_line":"                task.driver.console.start_console(task, console_port)"},{"line_number":1487,"context_line":""},{"line_number":1488,"context_line":"                # Set console_port to driver_internal_info in case of conductor"},{"line_number":1489,"context_line":"                # restarted, then we won\u0027t lost the port bitmap."},{"line_number":1490,"context_line":"                driver_internal_info \u003d node.driver_internal_info"},{"line_number":1491,"context_line":"                driver_internal_info[\u0027console_port\u0027] \u003d console_port"},{"line_number":1492,"context_line":"                node.driver_internal_info \u003d driver_internal_info"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a7b0d38_789b51ca","line":1489,"range":{"start_line":1489,"start_character":63,"end_line":1489,"end_character":64},"updated":"2015-12-23 09:03:30.000000000","message":"again, it\u0027s not a good idea to save bitmap in node.driver_internal_info separately, this is something belong to conductor. So I would suggest to save them in conductor table or DLM in the future.","commit_id":"bbf54a3cc249d681307e5641fb917845c0d1041d"}],"ironic/drivers/base.py":[{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"c8982acaf75e89be88d8e5e3a34fce922e31f6d4","unresolved":false,"context_lines":[{"line_number":510,"context_line":"        This method validates whether the \u0027driver_info\u0027 property of the"},{"line_number":511,"context_line":"        supplied node contains the required information for this driver to"},{"line_number":512,"context_line":"        provide console access to the Node. If invalid, raises an exception;"},{"line_number":513,"context_line":"        otherwise returns None."},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        :param task: a TaskManager instance containing the node to act on."},{"line_number":516,"context_line":"        :raises: InvalidParameterValue"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a7b0d38_f5d18cfc","line":513,"updated":"2015-12-23 09:03:30.000000000","message":"correct here please.","commit_id":"bbf54a3cc249d681307e5641fb917845c0d1041d"}]}
