)]}'
{"ironic_python_agent/hardware.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"93a889b91fee83ded0f3a94a81532492d67dbe23","unresolved":false,"context_lines":[{"line_number":316,"context_line":"        hardware_info[\u0027memory\u0027] \u003d self.get_memory()"},{"line_number":317,"context_line":"        hardware_info[\u0027bmc_address\u0027] \u003d self.get_bmc_address()"},{"line_number":318,"context_line":"        hardware_info[\u0027system_vendor\u0027] \u003d self.get_system_vendor_info()"},{"line_number":319,"context_line":"        hardware_info[\u0027boot\u0027] \u003d self.get_boot_info()"},{"line_number":320,"context_line":"        return hardware_info"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"    def get_clean_steps(self, node, ports):"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_5cb4f033","line":319,"range":{"start_line":319,"start_character":8,"end_line":319,"end_character":52},"updated":"2016-05-26 09:25:20.000000000","message":"Need to update testcases for this code.","commit_id":"2aa83d4907d7832ceec4b9dc84ce63ba2807e6e8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"0198a3873eb4af8edf5dd6ff068f68e97d665c8e","unresolved":false,"context_lines":[{"line_number":611,"context_line":""},{"line_number":612,"context_line":"    def get_boot_info(self):"},{"line_number":613,"context_line":"        boot_mode \u003d \u0027uefi\u0027 if os.path.isdir(\u0027/sys/firmware/efi\u0027) else \u0027bios\u0027"},{"line_number":614,"context_line":"        LOG.debug(\u0027The current boot mode is %s\u0027, boot_mode)"},{"line_number":615,"context_line":"        pxe_interface \u003d utils.get_agent_params().get(\u0027BOOTIF\u0027)"},{"line_number":616,"context_line":"        return BootInfo(current_boot_mode\u003dboot_mode,"},{"line_number":617,"context_line":"                        pxe_interface\u003dpxe_interface)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9abb7d3a_7a020971","line":614,"updated":"2016-06-02 17:43:04.000000000","message":"curious why you\u0027re logging the boot mode but not pxe_interface.","commit_id":"53b187a4c3a5164d8484cd7f05de39d0f99533d0"}],"ironic_python_agent/inspector.py":[{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"b44f5d218b8ac5eaecf0798533d934b5b081b175","unresolved":false,"context_lines":[{"line_number":306,"context_line":"        LOG.debug(\u0027default root device is %s\u0027, root_disk.name)"},{"line_number":307,"context_line":"    # Both boot interface and IPMI address might not be present,"},{"line_number":308,"context_line":"    # we don\u0027t count it as failure"},{"line_number":309,"context_line":"    data[\u0027boot_interface\u0027] \u003d inventory[\u0027boot\u0027].pxe_interface"},{"line_number":310,"context_line":"    LOG.debug(\u0027boot devices was %s\u0027, data[\u0027boot_interface\u0027])"},{"line_number":311,"context_line":"    data[\u0027ipmi_address\u0027] \u003d inventory.get(\u0027bmc_address\u0027)"},{"line_number":312,"context_line":"    LOG.debug(\u0027BMC IP address: %s\u0027, data[\u0027ipmi_address\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_a0db4a7b","line":309,"updated":"2016-05-25 19:14:01.000000000","message":"This could change behavior that should remain backwards compatible, couldn\u0027t it?","commit_id":"2aa83d4907d7832ceec4b9dc84ce63ba2807e6e8"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"4523f1e79f5bf4d95fdce831134d49c065fad90f","unresolved":false,"context_lines":[{"line_number":306,"context_line":"        LOG.debug(\u0027default root device is %s\u0027, root_disk.name)"},{"line_number":307,"context_line":"    # Both boot interface and IPMI address might not be present,"},{"line_number":308,"context_line":"    # we don\u0027t count it as failure"},{"line_number":309,"context_line":"    data[\u0027boot_interface\u0027] \u003d inventory[\u0027boot\u0027].pxe_interface"},{"line_number":310,"context_line":"    LOG.debug(\u0027boot devices was %s\u0027, data[\u0027boot_interface\u0027])"},{"line_number":311,"context_line":"    data[\u0027ipmi_address\u0027] \u003d inventory.get(\u0027bmc_address\u0027)"},{"line_number":312,"context_line":"    LOG.debug(\u0027BMC IP address: %s\u0027, data[\u0027ipmi_address\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_b8a98192","line":309,"in_reply_to":"bab6814e_6ddf6ed6","updated":"2016-05-26 20:45:45.000000000","message":"You\u0027re right, I misread the code originally.","commit_id":"2aa83d4907d7832ceec4b9dc84ce63ba2807e6e8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2c0f27a398df9cec0c83a453874c53f5052ecaa4","unresolved":false,"context_lines":[{"line_number":306,"context_line":"        LOG.debug(\u0027default root device is %s\u0027, root_disk.name)"},{"line_number":307,"context_line":"    # Both boot interface and IPMI address might not be present,"},{"line_number":308,"context_line":"    # we don\u0027t count it as failure"},{"line_number":309,"context_line":"    data[\u0027boot_interface\u0027] \u003d inventory[\u0027boot\u0027].pxe_interface"},{"line_number":310,"context_line":"    LOG.debug(\u0027boot devices was %s\u0027, data[\u0027boot_interface\u0027])"},{"line_number":311,"context_line":"    data[\u0027ipmi_address\u0027] \u003d inventory.get(\u0027bmc_address\u0027)"},{"line_number":312,"context_line":"    LOG.debug(\u0027BMC IP address: %s\u0027, data[\u0027ipmi_address\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_6ddf6ed6","line":309,"in_reply_to":"bab6814e_99c02a52","updated":"2016-05-26 15:02:30.000000000","message":"Right, I can\u0027t see how it would cause incompatibilities, see http://logs.openstack.org/48/320448/2/check/gate-ironic-inspector-dsvm-ipa-src-nv/cc3772d/logs/screen-ironic-inspector.txt.gz#_2016-05-25_11_21_20_841","commit_id":"2aa83d4907d7832ceec4b9dc84ce63ba2807e6e8"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"93a889b91fee83ded0f3a94a81532492d67dbe23","unresolved":false,"context_lines":[{"line_number":306,"context_line":"        LOG.debug(\u0027default root device is %s\u0027, root_disk.name)"},{"line_number":307,"context_line":"    # Both boot interface and IPMI address might not be present,"},{"line_number":308,"context_line":"    # we don\u0027t count it as failure"},{"line_number":309,"context_line":"    data[\u0027boot_interface\u0027] \u003d inventory[\u0027boot\u0027].pxe_interface"},{"line_number":310,"context_line":"    LOG.debug(\u0027boot devices was %s\u0027, data[\u0027boot_interface\u0027])"},{"line_number":311,"context_line":"    data[\u0027ipmi_address\u0027] \u003d inventory.get(\u0027bmc_address\u0027)"},{"line_number":312,"context_line":"    LOG.debug(\u0027BMC IP address: %s\u0027, data[\u0027ipmi_address\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_99c02a52","line":309,"in_reply_to":"bab6814e_a0db4a7b","updated":"2016-05-26 09:25:20.000000000","message":"I think it should not cause compatibility issues.\ninventory[\u0027boot\u0027].pxe_interface is also returning data using exactly same agent params. Am I missing your point?\n\nhttps://review.openstack.org/#/c/320448/2/ironic_python_agent/hardware.py  (L615)","commit_id":"2aa83d4907d7832ceec4b9dc84ce63ba2807e6e8"}],"ironic_python_agent/tests/unit/test_hardware.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"93a889b91fee83ded0f3a94a81532492d67dbe23","unresolved":false,"context_lines":[{"line_number":505,"context_line":"        self.assertEqual(self.hardware.get_cpus(), hardware_info[\u0027cpu\u0027])"},{"line_number":506,"context_line":"        self.assertEqual(self.hardware.list_block_devices(),"},{"line_number":507,"context_line":"                         hardware_info[\u0027disks\u0027])"},{"line_number":508,"context_line":"        self.assertEqual(self.hardware.list_network_interfaces(),"},{"line_number":509,"context_line":"                         hardware_info[\u0027interfaces\u0027])"},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"    @mock.patch.object(hardware, \u0027list_all_block_devices\u0027)"},{"line_number":512,"context_line":"    def test_list_block_devices(self, list_mock):"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_5cf7d058","line":509,"range":{"start_line":508,"start_character":9,"end_line":509,"end_character":52},"updated":"2016-05-26 09:25:20.000000000","message":"Need to add assert for hardware_info[\u0027boot\u0027]","commit_id":"2aa83d4907d7832ceec4b9dc84ce63ba2807e6e8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"2c0f27a398df9cec0c83a453874c53f5052ecaa4","unresolved":false,"context_lines":[{"line_number":505,"context_line":"        self.assertEqual(self.hardware.get_cpus(), hardware_info[\u0027cpu\u0027])"},{"line_number":506,"context_line":"        self.assertEqual(self.hardware.list_block_devices(),"},{"line_number":507,"context_line":"                         hardware_info[\u0027disks\u0027])"},{"line_number":508,"context_line":"        self.assertEqual(self.hardware.list_network_interfaces(),"},{"line_number":509,"context_line":"                         hardware_info[\u0027interfaces\u0027])"},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"    @mock.patch.object(hardware, \u0027list_all_block_devices\u0027)"},{"line_number":512,"context_line":"    def test_list_block_devices(self, list_mock):"}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_0d418263","line":509,"range":{"start_line":508,"start_character":9,"end_line":509,"end_character":52},"in_reply_to":"bab6814e_5cf7d058","updated":"2016-05-26 15:02:30.000000000","message":"Done","commit_id":"2aa83d4907d7832ceec4b9dc84ce63ba2807e6e8"}]}
