)]}'
{"ironic/drivers/modules/fake.py":[{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"5f19b1f14fd0a40812b1f0cc9b5ea759991fd25d","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        return {\u0027A1\u0027: \u0027A1 description. Required.\u0027,"},{"line_number":129,"context_line":"                \u0027A2\u0027: \u0027A2 description. Optional.\u0027}"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    def validate(self, task, method, **kwargs):"},{"line_number":132,"context_line":"        if method \u003d\u003d \u0027first_method\u0027:"},{"line_number":133,"context_line":"            bar \u003d kwargs.get(\u0027bar\u0027)"},{"line_number":134,"context_line":"            if not bar:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff346bd7_6c6477ba","line":131,"range":{"start_line":131,"start_character":29,"end_line":131,"end_character":35},"updated":"2017-07-21 21:41:03.000000000","message":"BTW, (while you are at it) -- here `method` is a mandatory parameter while at the base class `VendorInterface` it is optional. Is it a deviation from the standard API?","commit_id":"3a32d69877fe7946cef8bee90a71f7a06edb21ca"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9f0d93e60dd76675218aa264a256d9d565a5e39b","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        return {\u0027A1\u0027: \u0027A1 description. Required.\u0027,"},{"line_number":129,"context_line":"                \u0027A2\u0027: \u0027A2 description. Optional.\u0027}"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    def validate(self, task, method, **kwargs):"},{"line_number":132,"context_line":"        if method \u003d\u003d \u0027first_method\u0027:"},{"line_number":133,"context_line":"            bar \u003d kwargs.get(\u0027bar\u0027)"},{"line_number":134,"context_line":"            if not bar:"}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_a532c45c","line":131,"range":{"start_line":131,"start_character":29,"end_line":131,"end_character":35},"in_reply_to":"ff346bd7_6c6477ba","updated":"2017-08-04 05:14:38.000000000","message":"Yes, you are right. But we would need to fix that through another patch.","commit_id":"3a32d69877fe7946cef8bee90a71f7a06edb21ca"}],"ironic/drivers/modules/static_management.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"31762b944dde4a365816d043f53ad3b7cf075ada","unresolved":false,"context_lines":[{"line_number":21,"context_line":"from ironic.drivers import base"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class StaticallySetBootDevice(base.ManagementInterface):"},{"line_number":25,"context_line":"    \"\"\"Mangement interface implementation"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    It statically sets the boot device to PXE."}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_3ae95cb6","line":24,"updated":"2017-08-03 20:01:18.000000000","message":"This name bothers me, it is at odds with the other ManagementInterface names.\n\nMaybe someone else can suggest something better...\n\nThis specifically sets the boot device to PXE, so if anything, it might be \u0027BootDeviceIsPXE\u0027. But ugh.\n\nI know you took this from FakeManagement. \u0027StaticManagement\u0027? nah. \u0027PXEManagement\u0027 ? dunno.","commit_id":"3a32d69877fe7946cef8bee90a71f7a06edb21ca"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9f0d93e60dd76675218aa264a256d9d565a5e39b","unresolved":false,"context_lines":[{"line_number":21,"context_line":"from ironic.drivers import base"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class StaticallySetBootDevice(base.ManagementInterface):"},{"line_number":25,"context_line":"    \"\"\"Mangement interface implementation"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    It statically sets the boot device to PXE."}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_00a73ea9","line":24,"in_reply_to":"df3967d1_3ae95cb6","updated":"2017-08-04 05:14:38.000000000","message":"Yes, choosing name was a tough one for this...\nChanging it to \u0027StaticPXEManagement\u0027 using your suggestion of \u0027PXEManagement\u0027 and prefixing \u0027Static\u0027 to indicate its being static. WDYT?","commit_id":"3a32d69877fe7946cef8bee90a71f7a06edb21ca"},{"author":{"_account_id":26340,"name":"Ilya Etingof","email":"etingof@gmail.com","username":"etingof"},"change_message_id":"5f19b1f14fd0a40812b1f0cc9b5ea759991fd25d","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class StaticallySetBootDevice(base.ManagementInterface):"},{"line_number":25,"context_line":"    \"\"\"Mangement interface implementation"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    It statically sets the boot device to PXE."},{"line_number":28,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"ff346bd7_6c2c7799","line":25,"range":{"start_line":25,"start_character":7,"end_line":25,"end_character":16},"updated":"2017-07-21 21:41:03.000000000","message":"nit: typo in word Management","commit_id":"3a32d69877fe7946cef8bee90a71f7a06edb21ca"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9f0d93e60dd76675218aa264a256d9d565a5e39b","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class StaticallySetBootDevice(base.ManagementInterface):"},{"line_number":25,"context_line":"    \"\"\"Mangement interface implementation"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    It statically sets the boot device to PXE."},{"line_number":28,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_05f87046","line":25,"range":{"start_line":25,"start_character":7,"end_line":25,"end_character":16},"in_reply_to":"ff346bd7_6c2c7799","updated":"2017-08-04 05:14:38.000000000","message":"Done","commit_id":"3a32d69877fe7946cef8bee90a71f7a06edb21ca"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"31762b944dde4a365816d043f53ad3b7cf075ada","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    def set_boot_device(self, task, device, persistent\u003dFalse):"},{"line_number":40,"context_line":"        if device not in self.get_supported_boot_devices(task):"},{"line_number":41,"context_line":"            raise exception.InvalidParameterValue(_("},{"line_number":42,"context_line":"                \"Invalid boot device %s specified.\") % device)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def get_boot_device(self, task):"},{"line_number":45,"context_line":"        return {\u0027boot_device\u0027: boot_devices.PXE, \u0027persistent\u0027: False}"}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_9a072883","line":42,"updated":"2017-08-03 20:01:18.000000000","message":"Sigh. You aren\u0027t setting anything with this...","commit_id":"3a32d69877fe7946cef8bee90a71f7a06edb21ca"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"9f0d93e60dd76675218aa264a256d9d565a5e39b","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    def set_boot_device(self, task, device, persistent\u003dFalse):"},{"line_number":40,"context_line":"        if device not in self.get_supported_boot_devices(task):"},{"line_number":41,"context_line":"            raise exception.InvalidParameterValue(_("},{"line_number":42,"context_line":"                \"Invalid boot device %s specified.\") % device)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def get_boot_device(self, task):"},{"line_number":45,"context_line":"        return {\u0027boot_device\u0027: boot_devices.PXE, \u0027persistent\u0027: False}"}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_85d340d5","line":42,"in_reply_to":"df3967d1_9a072883","updated":"2017-08-04 05:14:38.000000000","message":"I did not get you. There is nothing to set. PXE is the only supported boot device and will be always in \u0027set\u0027 state for the node, I suppose https://github.com/openstack/ironic/blob/master/ironic/drivers/pxe.py#L99-L101","commit_id":"3a32d69877fe7946cef8bee90a71f7a06edb21ca"}],"ironic/drivers/snmp.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e09eebd357a701569fa51229121a8760daea6ae3","unresolved":false,"context_lines":[{"line_number":25,"context_line":"class SNMPHardware(generic.GenericHardware):"},{"line_number":26,"context_line":"    \"\"\"SNMP Hardware type \"\"\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    @property"},{"line_number":29,"context_line":"    def supported_deploy_interfaces(self):"},{"line_number":30,"context_line":"        \"\"\"List of supported deploy interfaces.\"\"\""},{"line_number":31,"context_line":"        return [iscsi_deploy.ISCSIDeploy]"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    @property"},{"line_number":34,"context_line":"    def supported_power_interfaces(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"bf3e73b7_efcba11b","line":31,"range":{"start_line":28,"start_character":0,"end_line":31,"end_character":41},"updated":"2017-08-07 13:08:07.000000000","message":"you don\u0027t have to override this, the parent implementation is good enough (and you miss the agent deploy here)","commit_id":"bb9bb97b9b67c734a20a07f1fb9be84c46d2b222"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"fca6a64200df7e12a7e341981916d6ce00bd2b1c","unresolved":false,"context_lines":[{"line_number":25,"context_line":"class SNMPHardware(generic.GenericHardware):"},{"line_number":26,"context_line":"    \"\"\"SNMP Hardware type \"\"\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    @property"},{"line_number":29,"context_line":"    def supported_deploy_interfaces(self):"},{"line_number":30,"context_line":"        \"\"\"List of supported deploy interfaces.\"\"\""},{"line_number":31,"context_line":"        return [iscsi_deploy.ISCSIDeploy]"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    @property"},{"line_number":34,"context_line":"    def supported_power_interfaces(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"bf3e73b7_52f010ca","line":31,"range":{"start_line":28,"start_character":0,"end_line":31,"end_character":41},"in_reply_to":"bf3e73b7_efcba11b","updated":"2017-08-07 13:37:16.000000000","message":"True. Had followed existing classic driver implementation.","commit_id":"bb9bb97b9b67c734a20a07f1fb9be84c46d2b222"}],"releasenotes/notes/snmp-hardware-type-ee3d471cf5c596f4.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e09eebd357a701569fa51229121a8760daea6ae3","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    It supports the following driver interfaces:"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    * boot: ``pxe``"},{"line_number":8,"context_line":"    * deploy: ``iscsi``"},{"line_number":9,"context_line":"    * power:  ``snmp``"},{"line_number":10,"context_line":"    * management:  ``fake``"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"bf3e73b7_8fdad5e6","line":8,"updated":"2017-08-07 13:08:07.000000000","message":"I don\u0027t think we have any reasons to not support \"direct\" too, right?","commit_id":"bb9bb97b9b67c734a20a07f1fb9be84c46d2b222"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"fca6a64200df7e12a7e341981916d6ce00bd2b1c","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    It supports the following driver interfaces:"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    * boot: ``pxe``"},{"line_number":8,"context_line":"    * deploy: ``iscsi``"},{"line_number":9,"context_line":"    * power:  ``snmp``"},{"line_number":10,"context_line":"    * management:  ``fake``"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"bf3e73b7_32ed8cef","line":8,"in_reply_to":"bf3e73b7_8fdad5e6","updated":"2017-08-07 13:37:16.000000000","message":"Done","commit_id":"bb9bb97b9b67c734a20a07f1fb9be84c46d2b222"}]}
