)]}'
{"ironicclient/osc/v1/baremetal_port.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"745ed32d05ed77c2ca71557d0e9d8a0b1f8df5d3","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            \"--pxe-enabled\","},{"line_number":269,"context_line":"            action\u003d\u0027store_true\u0027,"},{"line_number":270,"context_line":"            help\u003d_(\"Indicates that this Port should be used when \""},{"line_number":271,"context_line":"                   \"PXE booting this Node\")"},{"line_number":272,"context_line":"        )"},{"line_number":273,"context_line":"        pxe_enabled_group.add_argument("},{"line_number":274,"context_line":"            \"--pxe-disabled\","}],"source_content_type":"text/x-python","patch_set":1,"id":"9f0e0f27_11f85cc2","line":271,"updated":"2017-06-09 10:38:30.000000000","message":"is it worth mentioning that this is the default?","commit_id":"cc8e9242701037e1566ebeaa58018197285c4684"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5415fa640b0e38ca0e578bb84831b9c7d7f09e56","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            \"--pxe-enabled\","},{"line_number":269,"context_line":"            action\u003d\u0027store_true\u0027,"},{"line_number":270,"context_line":"            help\u003d_(\"Indicates that this Port should be used when \""},{"line_number":271,"context_line":"                   \"PXE booting this Node\")"},{"line_number":272,"context_line":"        )"},{"line_number":273,"context_line":"        pxe_enabled_group.add_argument("},{"line_number":274,"context_line":"            \"--pxe-disabled\","}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_5451efd7","line":271,"in_reply_to":"9f0e0f27_11f85cc2","updated":"2017-06-12 21:20:39.000000000","message":"++","commit_id":"cc8e9242701037e1566ebeaa58018197285c4684"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"745ed32d05ed77c2ca71557d0e9d8a0b1f8df5d3","unresolved":false,"context_lines":[{"line_number":272,"context_line":"        )"},{"line_number":273,"context_line":"        pxe_enabled_group.add_argument("},{"line_number":274,"context_line":"            \"--pxe-disabled\","},{"line_number":275,"context_line":"            action\u003d\u0027store_true\u0027,"},{"line_number":276,"context_line":"            help\u003d_(\"Indicates that this Port should not be used when \""},{"line_number":277,"context_line":"                   \"PXE booting this Node\")"},{"line_number":278,"context_line":"        )"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f0e0f27_f1f4c8d1","line":275,"updated":"2017-06-09 10:38:30.000000000","message":"you can change this to dest\u003d\"pxe_enabled\", action\u003d\"store_false\". then these two arguments will change the same namespace variable.","commit_id":"cc8e9242701037e1566ebeaa58018197285c4684"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5415fa640b0e38ca0e578bb84831b9c7d7f09e56","unresolved":false,"context_lines":[{"line_number":272,"context_line":"        )"},{"line_number":273,"context_line":"        pxe_enabled_group.add_argument("},{"line_number":274,"context_line":"            \"--pxe-disabled\","},{"line_number":275,"context_line":"            action\u003d\u0027store_true\u0027,"},{"line_number":276,"context_line":"            help\u003d_(\"Indicates that this Port should not be used when \""},{"line_number":277,"context_line":"                   \"PXE booting this Node\")"},{"line_number":278,"context_line":"        )"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_341af37c","line":275,"in_reply_to":"9f0e0f27_f1f4c8d1","updated":"2017-06-12 21:20:39.000000000","message":"yup, that works too. I\u0027m not sure I see any advantage to it but sure.","commit_id":"cc8e9242701037e1566ebeaa58018197285c4684"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"699e714fa5fcccd3fe09fba19f734cb1a998580e","unresolved":false,"context_lines":[{"line_number":260,"context_line":"            action\u003d\u0027append\u0027,"},{"line_number":261,"context_line":"            help\u003d_(\"Key/value metadata describing local link connection \""},{"line_number":262,"context_line":"                   \"information. Valid keys are switch_info, switch_id, \""},{"line_number":263,"context_line":"                   \"port_id; switch_id and port_id are obligatory (repeat \""},{"line_number":264,"context_line":"                   \"option to specify multiple keys).\")"},{"line_number":265,"context_line":"        )"},{"line_number":266,"context_line":"        pxe_enabled_group \u003d parser.add_mutually_exclusive_group(required\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_07163d56","line":263,"range":{"start_line":263,"start_character":30,"end_line":263,"end_character":65},"updated":"2017-06-15 16:12:54.000000000","message":"Is there any test that makes sure the required values are set? I don\u0027t see one.","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"6515989981e388da889dc5e1df78c89f9b9b54a4","unresolved":false,"context_lines":[{"line_number":260,"context_line":"            action\u003d\u0027append\u0027,"},{"line_number":261,"context_line":"            help\u003d_(\"Key/value metadata describing local link connection \""},{"line_number":262,"context_line":"                   \"information. Valid keys are switch_info, switch_id, \""},{"line_number":263,"context_line":"                   \"port_id; switch_id and port_id are obligatory (repeat \""},{"line_number":264,"context_line":"                   \"option to specify multiple keys).\")"},{"line_number":265,"context_line":"        )"},{"line_number":266,"context_line":"        pxe_enabled_group \u003d parser.add_mutually_exclusive_group(required\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_6a77f8a1","line":263,"range":{"start_line":263,"start_character":30,"end_line":263,"end_character":65},"in_reply_to":"7f231b9d_07163d56","updated":"2017-06-15 16:16:26.000000000","message":"I hope it is in the ironic API..","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"02b20e02a8f20264c90de5be5f1dc33a4c7d26fe","unresolved":false,"context_lines":[{"line_number":260,"context_line":"            action\u003d\u0027append\u0027,"},{"line_number":261,"context_line":"            help\u003d_(\"Key/value metadata describing local link connection \""},{"line_number":262,"context_line":"                   \"information. Valid keys are switch_info, switch_id, \""},{"line_number":263,"context_line":"                   \"port_id; switch_id and port_id are obligatory (repeat \""},{"line_number":264,"context_line":"                   \"option to specify multiple keys).\")"},{"line_number":265,"context_line":"        )"},{"line_number":266,"context_line":"        pxe_enabled_group \u003d parser.add_mutually_exclusive_group(required\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_4aa1dcf7","line":263,"range":{"start_line":263,"start_character":30,"end_line":263,"end_character":65},"in_reply_to":"7f231b9d_07163d56","updated":"2017-06-15 16:17:09.000000000","message":"No, the actual code that checks for this is at the REST API (server) level. This string is for information to the user. I copied it from CreateBaremetalPort above L60.","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"e07dd3def80c46e1b056c59ee865de82065cc0ad","unresolved":false,"context_lines":[{"line_number":260,"context_line":"            action\u003d\u0027append\u0027,"},{"line_number":261,"context_line":"            help\u003d_(\"Key/value metadata describing local link connection \""},{"line_number":262,"context_line":"                   \"information. Valid keys are switch_info, switch_id, \""},{"line_number":263,"context_line":"                   \"port_id; switch_id and port_id are obligatory (repeat \""},{"line_number":264,"context_line":"                   \"option to specify multiple keys).\")"},{"line_number":265,"context_line":"        )"},{"line_number":266,"context_line":"        pxe_enabled_group \u003d parser.add_mutually_exclusive_group(required\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_6a85b859","line":263,"range":{"start_line":263,"start_character":30,"end_line":263,"end_character":65},"in_reply_to":"7f231b9d_6a77f8a1","updated":"2017-06-15 16:17:28.000000000","message":"Right, I was thinking it might be nice to fail early in the client. But if people are happy with the API doing the failure...","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"43ee6bb02ea45fc7b4ed24d14fba68b7e2eb7c2c","unresolved":false,"context_lines":[{"line_number":267,"context_line":"        pxe_enabled_group.add_argument("},{"line_number":268,"context_line":"            \"--pxe-enabled\","},{"line_number":269,"context_line":"            dest\u003d\u0027pxe_enabled\u0027,"},{"line_number":270,"context_line":"            default\u003dNone,"},{"line_number":271,"context_line":"            action\u003d\u0027store_true\u0027,"},{"line_number":272,"context_line":"            help\u003d_(\"Indicates that this port should be used when \""},{"line_number":273,"context_line":"                   \"PXE booting this node (default)\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_34fe6537","line":270,"range":{"start_line":270,"start_character":0,"end_line":270,"end_character":25},"updated":"2017-06-13 08:16:02.000000000","message":"default\u003dNone is redundant","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"e38f0efb7668363d52acd8d8c4d82b16e3d8a28c","unresolved":false,"context_lines":[{"line_number":267,"context_line":"        pxe_enabled_group.add_argument("},{"line_number":268,"context_line":"            \"--pxe-enabled\","},{"line_number":269,"context_line":"            dest\u003d\u0027pxe_enabled\u0027,"},{"line_number":270,"context_line":"            default\u003dNone,"},{"line_number":271,"context_line":"            action\u003d\u0027store_true\u0027,"},{"line_number":272,"context_line":"            help\u003d_(\"Indicates that this port should be used when \""},{"line_number":273,"context_line":"                   \"PXE booting this node (default)\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_b314c1a1","line":270,"range":{"start_line":270,"start_character":0,"end_line":270,"end_character":25},"in_reply_to":"7f231b9d_34fe6537","updated":"2017-06-13 13:26:36.000000000","message":"Actually, it isn\u0027t redundant. The default is False (and True below) [1] if it isn\u0027t explicitly mentioned. w/o this, the unit tests fail. That\u0027s how I found out. Furthermore, based on the test failures, my guess is that the default value here (vs any default in L278) is used for pxe_enabled. Anyway, that\u0027s why I think there are pros to the other way I had coded this; easier to understand and to not make a mistake ;). But I learned something :-)\n\n[1] https://docs.python.org/2/library/argparse.html#action","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"d40439d61cb334e9ac1acbaa42fc4c92feb27c96","unresolved":false,"context_lines":[{"line_number":267,"context_line":"        pxe_enabled_group.add_argument("},{"line_number":268,"context_line":"            \"--pxe-enabled\","},{"line_number":269,"context_line":"            dest\u003d\u0027pxe_enabled\u0027,"},{"line_number":270,"context_line":"            default\u003dNone,"},{"line_number":271,"context_line":"            action\u003d\u0027store_true\u0027,"},{"line_number":272,"context_line":"            help\u003d_(\"Indicates that this port should be used when \""},{"line_number":273,"context_line":"                   \"PXE booting this node (default)\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_330e713b","line":270,"range":{"start_line":270,"start_character":0,"end_line":270,"end_character":25},"in_reply_to":"7f231b9d_b314c1a1","updated":"2017-06-13 13:29:05.000000000","message":"Wow, good to know. Thanks for the explanation.","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"43ee6bb02ea45fc7b4ed24d14fba68b7e2eb7c2c","unresolved":false,"context_lines":[{"line_number":275,"context_line":"        pxe_enabled_group.add_argument("},{"line_number":276,"context_line":"            \"--pxe-disabled\","},{"line_number":277,"context_line":"            dest\u003d\u0027pxe_enabled\u0027,"},{"line_number":278,"context_line":"            default\u003dNone,"},{"line_number":279,"context_line":"            action\u003d\u0027store_false\u0027,"},{"line_number":280,"context_line":"            help\u003d_(\"Indicates that this port should not be used when \""},{"line_number":281,"context_line":"                   \"PXE booting this node\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_b49f1502","line":278,"range":{"start_line":278,"start_character":0,"end_line":278,"end_character":25},"updated":"2017-06-13 08:16:02.000000000","message":"ditto","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"}],"releasenotes/notes/osc-port-set-llc-pxeenabled-21fd8ea1982af17e.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"745ed32d05ed77c2ca71557d0e9d8a0b1f8df5d3","unresolved":false,"context_lines":[{"line_number":8,"context_line":"      port_id; switch_id and port_id are obligatory (repeat option to specify"},{"line_number":9,"context_line":"      multiple keys)."},{"line_number":10,"context_line":"    * ``--pxe-enabled``: Indicates that this Port should be used when PXE"},{"line_number":11,"context_line":"      booting this Node"},{"line_number":12,"context_line":"    * ``--pxe-disabled``: Indicates that this Port should not be used when PXE"},{"line_number":13,"context_line":"      booting this Node"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9f0e0f27_d101c4b1","line":11,"updated":"2017-06-09 10:38:30.000000000","message":"nit: why upper-case Node?","commit_id":"cc8e9242701037e1566ebeaa58018197285c4684"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"5415fa640b0e38ca0e578bb84831b9c7d7f09e56","unresolved":false,"context_lines":[{"line_number":8,"context_line":"      port_id; switch_id and port_id are obligatory (repeat option to specify"},{"line_number":9,"context_line":"      multiple keys)."},{"line_number":10,"context_line":"    * ``--pxe-enabled``: Indicates that this Port should be used when PXE"},{"line_number":11,"context_line":"      booting this Node"},{"line_number":12,"context_line":"    * ``--pxe-disabled``: Indicates that this Port should not be used when PXE"},{"line_number":13,"context_line":"      booting this Node"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"7f231b9d_f4b59bef","line":11,"in_reply_to":"9f0e0f27_d101c4b1","updated":"2017-06-12 21:20:39.000000000","message":"cuz I copy/pasted from the output of the Help. And that string is Node cuz I copy/pasted from what was in baremetal port create. But yeah, not good.","commit_id":"cc8e9242701037e1566ebeaa58018197285c4684"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"1b8e17042365a3e1b98c6a0d3c9a8e8f5a2678d3","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    For ``openstack baremetal port set``, adds these options:"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"    * ``--local-link-connection \u003ckey\u003dvalue\u003e``: Key/value metadata describing"},{"line_number":7,"context_line":"      local link connection information. Valid keys are switch_info, switch_id,"},{"line_number":8,"context_line":"      port_id; switch_id and port_id are obligatory (repeat option to specify"},{"line_number":9,"context_line":"      multiple keys)."},{"line_number":10,"context_line":"    * ``--pxe-enabled``: Indicates that this port should be used when PXE"},{"line_number":11,"context_line":"      booting this node (default)"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7f231b9d_4a7c3c82","line":8,"range":{"start_line":7,"start_character":56,"end_line":8,"end_character":37},"updated":"2017-06-15 16:16:26.000000000","message":"These values might be nicer looking if they were ``quoted``\n\nBut just a style suggestion.","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7236e5e558065879fc4db11554dec40cd4a2352d","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    For ``openstack baremetal port set``, adds these options:"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"    * ``--local-link-connection \u003ckey\u003dvalue\u003e``: Key/value metadata describing"},{"line_number":7,"context_line":"      local link connection information. Valid keys are switch_info, switch_id,"},{"line_number":8,"context_line":"      port_id; switch_id and port_id are obligatory (repeat option to specify"},{"line_number":9,"context_line":"      multiple keys)."},{"line_number":10,"context_line":"    * ``--pxe-enabled``: Indicates that this port should be used when PXE"},{"line_number":11,"context_line":"      booting this node (default)"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7f231b9d_ca0bac27","line":8,"range":{"start_line":7,"start_character":56,"end_line":8,"end_character":37},"in_reply_to":"7f231b9d_4a7c3c82","updated":"2017-06-15 16:35:18.000000000","message":"I agree with you. It isn\u0027t that important here, but I got this string from doing a \u0027help\u0027 -- the help string should quote them. Which I had copied. A small patch to address it would be welcome :-)","commit_id":"28aa4b9958c2f786fe168552372c3da2f90deb1d"}]}
