)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"1b80afe601d2c4beee03affddaa5f9b4aba8fdba","unresolved":false,"context_lines":[{"line_number":10,"context_line":"resource provider or not."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Iea76d85c532b6bded2654062997738295ffc2f5b"},{"line_number":13,"context_line":"Needed-By: https://review.openstack.org/574783"},{"line_number":14,"context_line":"Partial-Bug: #1578989"},{"line_number":15,"context_line":"See-Also: https://review.openstack.org/502306 (nova spec)"},{"line_number":16,"context_line":"See-Also: https://review.openstack.org/508149 (neutron spec)"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"5f7c97a3_49a2f640","line":13,"updated":"2018-06-26 11:46:32.000000000","message":"The correct format for Needed-By is to use a commit ID, so the proper line would be:\n\n    Needed-By: 207c6a819254d91cbb7caf0850cbaebbe289866e","commit_id":"465a4798c54e567f1da7a97066b851a51841b4be"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"07e4a25b458b85d558ec67b47e9126d761e4b3b6","unresolved":false,"context_lines":[{"line_number":10,"context_line":"resource provider or not."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Iea76d85c532b6bded2654062997738295ffc2f5b"},{"line_number":13,"context_line":"Needed-By: https://review.openstack.org/574783"},{"line_number":14,"context_line":"Partial-Bug: #1578989"},{"line_number":15,"context_line":"See-Also: https://review.openstack.org/502306 (nova spec)"},{"line_number":16,"context_line":"See-Also: https://review.openstack.org/508149 (neutron spec)"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"5f7c97a3_77046c14","line":13,"in_reply_to":"5f7c97a3_14417636","updated":"2018-06-26 13:14:25.000000000","message":"My apologies, I thought it was only for Depends-On - but I reread the documentation and you are indeed correct.  Thanks for correcting me!","commit_id":"465a4798c54e567f1da7a97066b851a51841b4be"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"868310902dfb1211a0d413ed37bb8e0b282d10f8","unresolved":false,"context_lines":[{"line_number":10,"context_line":"resource provider or not."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Iea76d85c532b6bded2654062997738295ffc2f5b"},{"line_number":13,"context_line":"Needed-By: https://review.openstack.org/574783"},{"line_number":14,"context_line":"Partial-Bug: #1578989"},{"line_number":15,"context_line":"See-Also: https://review.openstack.org/502306 (nova spec)"},{"line_number":16,"context_line":"See-Also: https://review.openstack.org/508149 (neutron spec)"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"5f7c97a3_14417636","line":13,"in_reply_to":"5f7c97a3_49a2f640","updated":"2018-06-26 12:40:20.000000000","message":"Do you mean a gerrit change id? How does a person or the gate know which repo contains a git commit sha1?\n\nWhen we allowed the use of full gerrit change urls for the Depends-On field, didn\u0027t we also allow it for Needed-By?","commit_id":"465a4798c54e567f1da7a97066b851a51841b4be"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"161735da7196794bac91255cc0792889a1c9df4d","unresolved":false,"context_lines":[{"line_number":10,"context_line":"resource provider or not."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Iea76d85c532b6bded2654062997738295ffc2f5b"},{"line_number":13,"context_line":"Needed-By: https://review.openstack.org/574783"},{"line_number":14,"context_line":"Partial-Bug: #1578989"},{"line_number":15,"context_line":"See-Also: https://review.openstack.org/502306 (nova spec)"},{"line_number":16,"context_line":"See-Also: https://review.openstack.org/508149 (neutron spec)"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"5f7c97a3_347edce2","line":13,"in_reply_to":"5f7c97a3_77046c14","updated":"2018-06-27 10:16:32.000000000","message":"No problem.","commit_id":"465a4798c54e567f1da7a97066b851a51841b4be"}],"neutron_lib/plugins/ml2/api.py":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"7661710f3c11c4a98e2f6d8edd31f178946e11d7","unresolved":false,"context_lines":[{"line_number":423,"context_line":"        For ports having an allocation in Placement decide while"},{"line_number":424,"context_line":"        binding if this mechanism driver is responsible for the"},{"line_number":425,"context_line":"        physical network interface represented by the resource"},{"line_number":426,"context_line":"        provider in Placement. Find the resource provider UUID in"},{"line_number":427,"context_line":"        context.current[\u0027binding:profile\u0027][\u0027allocation\u0027]."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"        Default implementation returns False (backward compatibility)."},{"line_number":430,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_6b9d6155","line":427,"range":{"start_line":426,"start_character":31,"end_line":427,"end_character":57},"updated":"2018-06-26 15:46:35.000000000","message":"Why do we need this, the UUID of the RP is passed separately to this function  as \u0027rp\u0027","commit_id":"465a4798c54e567f1da7a97066b851a51841b4be"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"161735da7196794bac91255cc0792889a1c9df4d","unresolved":false,"context_lines":[{"line_number":423,"context_line":"        For ports having an allocation in Placement decide while"},{"line_number":424,"context_line":"        binding if this mechanism driver is responsible for the"},{"line_number":425,"context_line":"        physical network interface represented by the resource"},{"line_number":426,"context_line":"        provider in Placement. Find the resource provider UUID in"},{"line_number":427,"context_line":"        context.current[\u0027binding:profile\u0027][\u0027allocation\u0027]."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"        Default implementation returns False (backward compatibility)."},{"line_number":430,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_54b6f88a","line":427,"range":{"start_line":426,"start_character":31,"end_line":427,"end_character":57},"in_reply_to":"5f7c97a3_6b9d6155","updated":"2018-06-27 10:16:32.000000000","message":"Thanks for catching this, the inconsistent signature was the result of some unfinished thinking.\n\nBasically to ask the question \"who\u0027s responsible?\" the rp uuid should be enough. No need for the port context. But the current agent based mechanism drivers need the port context for an efficient implementation - so they don\u0027t have to linearly search possibly thousands of agent configuration blobs.\n\nSo originally I had the idea to make the rp a mandatory parameter and the port context an optional parameter. And first raise a NotImplementedError from the agent mechanism driver base when port context is not given.\n\nBut now I realize this is all premature generalization because we don\u0027t know how a 2nd type of allocation will look like, so I\u0027ll just stick to always expecting the whole port context. That\u0027s why I also renamed the method.","commit_id":"465a4798c54e567f1da7a97066b851a51841b4be"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"7661710f3c11c4a98e2f6d8edd31f178946e11d7","unresolved":false,"context_lines":[{"line_number":426,"context_line":"        provider in Placement. Find the resource provider UUID in"},{"line_number":427,"context_line":"        context.current[\u0027binding:profile\u0027][\u0027allocation\u0027]."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"        Default implementation returns False (backward compatibility)."},{"line_number":430,"context_line":"        \"\"\""},{"line_number":431,"context_line":"        return False"},{"line_number":432,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_2bbc49b3","line":429,"updated":"2018-06-26 15:46:35.000000000","message":"Do I understand correctly that those ML2 drivers that want to  support bandwidth based placement (and therefore reporting bandwidth inventory to placement) needs to implement this function?","commit_id":"465a4798c54e567f1da7a97066b851a51841b4be"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"161735da7196794bac91255cc0792889a1c9df4d","unresolved":false,"context_lines":[{"line_number":426,"context_line":"        provider in Placement. Find the resource provider UUID in"},{"line_number":427,"context_line":"        context.current[\u0027binding:profile\u0027][\u0027allocation\u0027]."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"        Default implementation returns False (backward compatibility)."},{"line_number":430,"context_line":"        \"\"\""},{"line_number":431,"context_line":"        return False"},{"line_number":432,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_74621418","line":429,"in_reply_to":"5f7c97a3_2bbc49b3","updated":"2018-06-27 10:16:32.000000000","message":"Yes. Added that to the docstring.","commit_id":"465a4798c54e567f1da7a97066b851a51841b4be"}]}
