)]}'
{"ironic/conductor/utils.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"15945b6f4e0eed0e9a09482a73aadb465ae7fe0c","unresolved":false,"context_lines":[{"line_number":462,"context_line":"        raise exception.InvalidParameterValue(\u0027; \u0027.join(errors))"},{"line_number":463,"context_line":""},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"def hardware_interface_extension_manager(interface):"},{"line_number":466,"context_line":"    \"\"\"Get a Stevedore extension manager for given hardware interface.\"\"\""},{"line_number":467,"context_line":"    return stevedore.extension.ExtensionManager("},{"line_number":468,"context_line":"        \u0027ironic.hardware.interfaces.%s\u0027 % interface,"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_30bcd9db","line":465,"updated":"2016-11-09 18:21:33.000000000","message":"I\u0027d prefer to have it in common/driver_factory along with other stevedore-related stuff.","commit_id":"48c55a4a099971fcd2ac0866cb47c807b4b6793c"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"51019f326d0832df86010ae2c82a92e7ae04b288","unresolved":false,"context_lines":[{"line_number":462,"context_line":"        raise exception.InvalidParameterValue(\u0027; \u0027.join(errors))"},{"line_number":463,"context_line":""},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"def hardware_interface_extension_manager(interface):"},{"line_number":466,"context_line":"    \"\"\"Get a Stevedore extension manager for given hardware interface.\"\"\""},{"line_number":467,"context_line":"    return stevedore.extension.ExtensionManager("},{"line_number":468,"context_line":"        \u0027ironic.hardware.interfaces.%s\u0027 % interface,"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_df9801c3","line":465,"in_reply_to":"9a629dbe_30bcd9db","updated":"2016-11-09 22:47:49.000000000","message":"Agree. This also only seems to be used in tests. Should we move it into the next patch (or move the code that uses it here)? Inclined to think we should, because the commit message doesn\u0027t mention it either.","commit_id":"48c55a4a099971fcd2ac0866cb47c807b4b6793c"}],"ironic/drivers/modules/noop.py":[{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"51019f326d0832df86010ae2c82a92e7ae04b288","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# under the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"\"\"\""},{"line_number":16,"context_line":"No-op inteface implementatios for use with optional interfaces."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Note that unlike fake implementatios, these do not pass validation and raise"},{"line_number":19,"context_line":"exceptions for user-accessible actions."}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_5f6071a5","line":16,"updated":"2016-11-09 22:47:49.000000000","message":"Hrm, these aren\u0027t really \"no-op\", that implies they do nothing. I wonder if we should call them FailConsole, etc?\n\nSame implementations typo here.","commit_id":"48c55a4a099971fcd2ac0866cb47c807b4b6793c"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"15945b6f4e0eed0e9a09482a73aadb465ae7fe0c","unresolved":false,"context_lines":[{"line_number":15,"context_line":"\"\"\""},{"line_number":16,"context_line":"No-op inteface implementatios for use with optional interfaces."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Note that unlike fake implementatios, these do not pass validation and raise"},{"line_number":19,"context_line":"exceptions for user-accessible actions."},{"line_number":20,"context_line":"\"\"\""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_9cd06121","line":18,"range":{"start_line":18,"start_character":22,"end_line":18,"end_character":36},"updated":"2016-11-09 18:21:33.000000000","message":"nit - implementations.","commit_id":"48c55a4a099971fcd2ac0866cb47c807b4b6793c"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"51019f326d0832df86010ae2c82a92e7ae04b288","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    \"\"\"Noop network interface."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    Unlike other interfaces here, it is only exposed internally,"},{"line_number":74,"context_line":"    so all methods do nothing instead of failing."},{"line_number":75,"context_line":"    \"\"\""},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    def add_provisioning_network(self, task):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_bf298d39","line":74,"updated":"2016-11-09 22:47:49.000000000","message":"Well, it isn\u0027t only exposed internally, right? We ask users to configure this interface if they aren\u0027t using Neutron.","commit_id":"48c55a4a099971fcd2ac0866cb47c807b4b6793c"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"5ecb287acf82e2c2d0adc4f02239fefa62ed82f6","unresolved":false,"context_lines":[{"line_number":15,"context_line":"\"\"\""},{"line_number":16,"context_line":"Dummy interface implementations for use as defaults with optional interfaces."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Note that unlike fake implementatios, these do not pass validation and raise"},{"line_number":19,"context_line":"exceptions for user-accessible actions."},{"line_number":20,"context_line":"\"\"\""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"9a629dbe_03557fc4","line":18,"range":{"start_line":18,"start_character":22,"end_line":18,"end_character":36},"updated":"2016-11-11 11:56:14.000000000","message":"implementations","commit_id":"7591dcedfb1bc4e2f443af6445afb0319ec07ba5"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"5ecb287acf82e2c2d0adc4f02239fefa62ed82f6","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"class NoConsole(FailMixin, base.ConsoleInterface):"},{"line_number":43,"context_line":"    \"\"\"Console interface implementation that raises errors on all requests.\"\"\""},{"line_number":44,"context_line":"    stop_console \u003d get_console \u003d start_console \u003d _fail"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"class NoRescue(FailMixin, base.RescueInterface):"}],"source_content_type":"text/x-python","patch_set":4,"id":"9a629dbe_23e0c395","line":44,"updated":"2016-11-11 11:56:14.000000000","message":"According to docstring Consoleinterface validate() can\u0027t raise UnsupportedDriverExtension [0] \nlooks like we need to update docstrings with UnsupportedDriverExtension.\n\n\n[0] https://github.com/openstack/ironic/blob/ac51ae41ec97e6809f5d7b6445529e5609cb7487/ironic/drivers/base.py#L563","commit_id":"7591dcedfb1bc4e2f443af6445afb0319ec07ba5"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e448e11a15d9550993810e9a82ec79333894efc7","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"class NoConsole(FailMixin, base.ConsoleInterface):"},{"line_number":43,"context_line":"    \"\"\"Console interface implementation that raises errors on all requests.\"\"\""},{"line_number":44,"context_line":"    stop_console \u003d get_console \u003d start_console \u003d _fail"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"class NoRescue(FailMixin, base.RescueInterface):"}],"source_content_type":"text/x-python","patch_set":4,"id":"9a629dbe_e375ebca","line":44,"in_reply_to":"9a629dbe_23e0c395","updated":"2016-11-11 11:57:28.000000000","message":"See parent patch, I\u0027m moving everything to one validate","commit_id":"7591dcedfb1bc4e2f443af6445afb0319ec07ba5"}],"ironic/tests/unit/drivers/modules/test_noop.py":[{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"51019f326d0832df86010ae2c82a92e7ae04b288","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from ironic.tests import base"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"class NoopIntefacesTestCase(base.TestCase):"},{"line_number":24,"context_line":"    iface_types \u003d [\u0027console\u0027, \u0027inspect\u0027, \u0027network\u0027, \u0027raid\u0027, \u0027rescue\u0027, \u0027vendor\u0027]"},{"line_number":25,"context_line":"    task \u003d mock.Mock(node\u003dmock.Mock(driver\u003d\u0027pxe_foobar\u0027, spec\u003d[\u0027driver\u0027]),"},{"line_number":26,"context_line":"                     spec\u003d[\u0027node\u0027])"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_1f199922","line":23,"updated":"2016-11-09 22:47:49.000000000","message":"Nit: s/Intefaces/Interfaces/","commit_id":"48c55a4a099971fcd2ac0866cb47c807b4b6793c"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"665fd589f3c964fc09280ce385820d3c30ba1a37","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from ironic.tests import base"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"# TODO(dtantsur): move to ironic.common.driver_factory"},{"line_number":24,"context_line":"def hardware_interface_extension_manager(interface):"},{"line_number":25,"context_line":"    \"\"\"Get a Stevedore extension manager for given hardware interface.\"\"\""},{"line_number":26,"context_line":"    return stevedore.extension.ExtensionManager("}],"source_content_type":"text/x-python","patch_set":4,"id":"9a629dbe_e3f6cb8d","line":23,"updated":"2016-11-11 11:49:41.000000000","message":"Ah, now I get why you needed this, sorry :|\n\nAny reason not to put it in driver_factory now, or just because it isn\u0027t used in code yet?","commit_id":"7591dcedfb1bc4e2f443af6445afb0319ec07ba5"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"f5d5f54c9ed70ccfebd492c39d81ae71a5f22402","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from ironic.tests import base"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"# TODO(dtantsur): move to ironic.common.driver_factory"},{"line_number":24,"context_line":"def hardware_interface_extension_manager(interface):"},{"line_number":25,"context_line":"    \"\"\"Get a Stevedore extension manager for given hardware interface.\"\"\""},{"line_number":26,"context_line":"    return stevedore.extension.ExtensionManager("}],"source_content_type":"text/x-python","patch_set":4,"id":"9a629dbe_4398571c","line":23,"in_reply_to":"9a629dbe_83598f90","updated":"2016-11-11 11:57:04.000000000","message":"That was me. :P\n\nLooking again, this is only used in the one test that tests this method. Looks like it makes testing thing.get_properties() a bit less code, but other than that I see no reason for it to be in this patch.","commit_id":"7591dcedfb1bc4e2f443af6445afb0319ec07ba5"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4c3a03d426aba1073db44bbd3dd8e7dc3d165668","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from ironic.tests import base"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"# TODO(dtantsur): move to ironic.common.driver_factory"},{"line_number":24,"context_line":"def hardware_interface_extension_manager(interface):"},{"line_number":25,"context_line":"    \"\"\"Get a Stevedore extension manager for given hardware interface.\"\"\""},{"line_number":26,"context_line":"    return stevedore.extension.ExtensionManager("}],"source_content_type":"text/x-python","patch_set":4,"id":"9a629dbe_83598f90","line":23,"in_reply_to":"9a629dbe_e3f6cb8d","updated":"2016-11-11 11:54:17.000000000","message":"\u003e just because it isn\u0027t used in code yet?\n\nThis. I think someone requested it on the previous patchset.","commit_id":"7591dcedfb1bc4e2f443af6445afb0319ec07ba5"}]}
