)]}'
{"neutron/agent/_topics.py":[{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"a7c1db10e83c5e355a1ea732826e95df60e419e9","unresolved":false,"context_lines":[{"line_number":11,"context_line":"#    under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"\"\"\""},{"line_number":14,"context_line":"TODO(mlavalle): This module should be deleted once neutron-lib containing"},{"line_number":15,"context_line":"https://review.openstack.org/#/c/564381/ change is released."},{"line_number":16,"context_line":"\"\"\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from neutron_lib.api.definitions import portbindings_extended"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_7d235006","line":15,"range":{"start_line":14,"start_character":0,"end_line":15,"end_character":60},"updated":"2018-05-10 02:28:13.000000000","message":"What about adds `depends-on` in commit message to replace such `TODO` ?","commit_id":"0a308da21d52be5873f0a7b1162c27c1d9530e2d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"d11520fd4e0dab19ae7bef706dff1ace51db47eb","unresolved":false,"context_lines":[{"line_number":11,"context_line":"#    under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"\"\"\""},{"line_number":14,"context_line":"TODO(mlavalle): This module should be deleted once neutron-lib containing"},{"line_number":15,"context_line":"https://review.openstack.org/#/c/564381/ change is released."},{"line_number":16,"context_line":"\"\"\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from neutron_lib.api.definitions import portbindings_extended"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f7c97a3_c20cf3ed","line":15,"range":{"start_line":14,"start_character":0,"end_line":15,"end_character":60},"in_reply_to":"5f7c97a3_7d235006","updated":"2018-05-10 15:14:16.000000000","message":"I don\u0027t think depends on is useful here. We can remove this module when https://review.openstack.org/#/c/564381/ is RELEASED, not when it is merged. They are not the same thing","commit_id":"0a308da21d52be5873f0a7b1162c27c1d9530e2d"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"098ad7b9282a1764e6fa476b7fea52c87ac20bc7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"5f7c97a3_11f55f57","updated":"2018-06-08 23:08:11.000000000","message":"since the other patch was merged over a month, so probably will be available in neutron-lib","commit_id":"b60228aeb71078e77d9d6829f29a70ab6a38d64e"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"75a59b939716d39e882632bda498bfcf1ad64b0d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"5f7c97a3_62864dbd","in_reply_to":"5f7c97a3_11f55f57","updated":"2018-06-20 20:20:16.000000000","message":"Done","commit_id":"b60228aeb71078e77d9d6829f29a70ab6a38d64e"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"f8f6cee3f3051591ed4fbff5a7aacff67cc959a3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"5f7c97a3_99b0bbff","updated":"2018-06-21 03:51:32.000000000","message":"It turns out that we need this file because lower constraints requires neutron-lib 1.14.0. Since I don\u0027t know why boden has kept it that way, I am going to keep this file for the time being","commit_id":"9a75bf26440858a1a7c9c7993adb09214f331bb1"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d6902dbd64a68c3649d3b26da87d65f7511a2d26","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"5f7c97a3_d9887323","in_reply_to":"5f7c97a3_99b0bbff","updated":"2018-06-21 03:57:45.000000000","message":"can\u0027t we modify lower-constraints.txt ? may be boden can clarify more on this.","commit_id":"9a75bf26440858a1a7c9c7993adb09214f331bb1"}],"neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py":[{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"77327fcf112dcdb5e53f3ac220ab8fb6d38aedf9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"5f7c97a3_d8e71fe4","updated":"2018-05-09 16:37:30.000000000","message":"it should have a unit test as well in neutron.tests.unit.plugins.ml2.drivers.linuxbridge.test_linuxbridge_neutron_agent.TestLinuxBridgeRpcCallbacks","commit_id":"0a308da21d52be5873f0a7b1162c27c1d9530e2d"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"d11520fd4e0dab19ae7bef706dff1ace51db47eb","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"5f7c97a3_c25713ca","in_reply_to":"5f7c97a3_d8e71fe4","updated":"2018-05-10 15:14:16.000000000","message":"Done","commit_id":"0a308da21d52be5873f0a7b1162c27c1d9530e2d"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"4abc5ae8532d9c8141ca50a8284e693b0f494fcd","unresolved":false,"context_lines":[{"line_number":911,"context_line":"                  \"%(bridge_name)s due to binding being de-activated\","},{"line_number":912,"context_line":"                  {\u0027interface_name\u0027: interface_name,"},{"line_number":913,"context_line":"                   \u0027bridge_name\u0027: bridge_name})"},{"line_number":914,"context_line":"        self.agent.mgr.remove_interface(bridge_name, interface_name)"},{"line_number":915,"context_line":""},{"line_number":916,"context_line":"    def network_update(self, context, **kwargs):"},{"line_number":917,"context_line":"        network_id \u003d kwargs[\u0027network\u0027][\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_5968e3b8","line":914,"range":{"start_line":914,"start_character":0,"end_line":914,"end_character":68},"updated":"2018-06-21 03:41:27.000000000","message":"Just a question, if this func raises RuntimeError, and https://review.openstack.org/#/c/563803/7/neutron/plugins/ml2/rpc.py@L431  , use cast. Can we use \"call\" notify func? as we already know the located host.\nIf raises RuntimeError, the original port binding doesn\u0027t delete, then we can trace it in the server side and raise something for forbid the following process.\n\nJust a opinion, please feel free to correct.","commit_id":"9890e2e63da0e4a238a2e0cccc82125376ed2985"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"c97c4c742432afa25898e144791f6505f2458c32","unresolved":false,"context_lines":[{"line_number":911,"context_line":"                  \"%(bridge_name)s due to binding being de-activated\","},{"line_number":912,"context_line":"                  {\u0027interface_name\u0027: interface_name,"},{"line_number":913,"context_line":"                   \u0027bridge_name\u0027: bridge_name})"},{"line_number":914,"context_line":"        self.agent.mgr.remove_interface(bridge_name, interface_name)"},{"line_number":915,"context_line":""},{"line_number":916,"context_line":"    def network_update(self, context, **kwargs):"},{"line_number":917,"context_line":"        network_id \u003d kwargs[\u0027network\u0027][\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_9a0989dd","line":914,"range":{"start_line":914,"start_character":0,"end_line":914,"end_character":68},"in_reply_to":"5f7c97a3_34b08e40","updated":"2018-06-21 06:54:29.000000000","message":":). Never mind. Very nice work you have done. ↖(^ω^)↗","commit_id":"9890e2e63da0e4a238a2e0cccc82125376ed2985"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"1c1ee13e777dcccde800a98ef6f18971316e37df","unresolved":false,"context_lines":[{"line_number":911,"context_line":"                  \"%(bridge_name)s due to binding being de-activated\","},{"line_number":912,"context_line":"                  {\u0027interface_name\u0027: interface_name,"},{"line_number":913,"context_line":"                   \u0027bridge_name\u0027: bridge_name})"},{"line_number":914,"context_line":"        self.agent.mgr.remove_interface(bridge_name, interface_name)"},{"line_number":915,"context_line":""},{"line_number":916,"context_line":"    def network_update(self, context, **kwargs):"},{"line_number":917,"context_line":"        network_id \u003d kwargs[\u0027network\u0027][\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_34b08e40","line":914,"range":{"start_line":914,"start_character":0,"end_line":914,"end_character":68},"in_reply_to":"5f7c97a3_5968e3b8","updated":"2018-06-21 04:46:23.000000000","message":"Yes, that may be a good optimization. However, I am going to punt it to the future. I am going to stick to the way notifications are handled currently in the agents and focus on finishing this blueprint, given that Rocky-3 is around the corner :-)","commit_id":"9890e2e63da0e4a238a2e0cccc82125376ed2985"}],"neutron/plugins/ml2/plugin.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"2e7d7906585716be8ea26418f01b246e5dbf20e1","unresolved":false,"context_lines":[{"line_number":2194,"context_line":"                original_context, bind_context, need_notify\u003dTrue,"},{"line_number":2195,"context_line":"                try_again\u003dTrue)"},{"line_number":2196,"context_line":"            if not try_again:"},{"line_number":2197,"context_line":"                self.notifier.port_delete(context, port_id)"},{"line_number":2198,"context_line":"                return self._make_port_binding_dict(cur_context._binding)"},{"line_number":2199,"context_line":"        raise n_exc.PortBindingError(port_id\u003dport_id, host\u003dhost)"},{"line_number":2200,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_409e5bb9","side":"PARENT","line":2197,"updated":"2018-05-14 21:10:35.000000000","message":"for agents that are not ready to consume deactivate messages, wouldn\u0027t there be an issue with port_delete not being sent? or do we assume there are no drivers that may need that (I checked macvtap and sriov, they don\u0027t seem to care about port deletes but maybe there are others?..)","commit_id":"ca6a77c10b5285ead614ddd6821db30f33228b03"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"6e51b92e19d1efbc94c35e0433344296b276cd45","unresolved":false,"context_lines":[{"line_number":2194,"context_line":"                original_context, bind_context, need_notify\u003dTrue,"},{"line_number":2195,"context_line":"                try_again\u003dTrue)"},{"line_number":2196,"context_line":"            if not try_again:"},{"line_number":2197,"context_line":"                self.notifier.port_delete(context, port_id)"},{"line_number":2198,"context_line":"                return self._make_port_binding_dict(cur_context._binding)"},{"line_number":2199,"context_line":"        raise n_exc.PortBindingError(port_id\u003dport_id, host\u003dhost)"},{"line_number":2200,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_fb8287a5","side":"PARENT","line":2197,"in_reply_to":"5f7c97a3_409e5bb9","updated":"2018-06-03 23:04:57.000000000","message":"I originally thought to use the port_delete notification to support binding deactivation. Later I realized that wasn\u0027t going to be possible and decided to implement the new binding_deactivate notification. Since it\u0027s new, we need to implement it in every agent. I will be adding it to the in-tree agents and we need to indicate the need to implement it in the release notes, for those mechanism drivers out of tree that might be interested in implementing multiple port binding","commit_id":"ca6a77c10b5285ead614ddd6821db30f33228b03"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"098ad7b9282a1764e6fa476b7fea52c87ac20bc7","unresolved":false,"context_lines":[{"line_number":2193,"context_line":"                original_context, bind_context, need_notify\u003dTrue,"},{"line_number":2194,"context_line":"                try_again\u003dTrue)"},{"line_number":2195,"context_line":"            if not try_again:"},{"line_number":2196,"context_line":"                self.notifier.binding_deactivate(context, port_id,"},{"line_number":2197,"context_line":"                                                 active_binding.host,"},{"line_number":2198,"context_line":"                                                 network[\u0027id\u0027])"},{"line_number":2199,"context_line":"                return self._make_port_binding_dict(cur_context._binding)"},{"line_number":2200,"context_line":"        raise n_exc.PortBindingError(port_id\u003dport_id, host\u003dhost)"},{"line_number":2201,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_f1622316","line":2198,"range":{"start_line":2196,"start_character":58,"end_line":2198,"end_character":62},"updated":"2018-06-08 23:08:11.000000000","message":"for some reason I feel these should be keyworded since binding_deactivate is doing get on port_id and host or\nport_id\u003dport_id,\nhost\u003dactive_binding.host,\nnetwork_id\u003dnetwork[\u0027id\u0027])","commit_id":"b60228aeb71078e77d9d6829f29a70ab6a38d64e"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"76035ffd9a239b617a7e3621dc28a04d269f73da","unresolved":false,"context_lines":[{"line_number":2193,"context_line":"                original_context, bind_context, need_notify\u003dTrue,"},{"line_number":2194,"context_line":"                try_again\u003dTrue)"},{"line_number":2195,"context_line":"            if not try_again:"},{"line_number":2196,"context_line":"                self.notifier.binding_deactivate(context, port_id,"},{"line_number":2197,"context_line":"                                                 active_binding.host,"},{"line_number":2198,"context_line":"                                                 network[\u0027id\u0027])"},{"line_number":2199,"context_line":"                return self._make_port_binding_dict(cur_context._binding)"},{"line_number":2200,"context_line":"        raise n_exc.PortBindingError(port_id\u003dport_id, host\u003dhost)"},{"line_number":2201,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_65f5f682","line":2198,"range":{"start_line":2196,"start_character":58,"end_line":2198,"end_character":62},"in_reply_to":"5f7c97a3_a211c55f","updated":"2018-06-20 22:03:20.000000000","message":"I see","commit_id":"b60228aeb71078e77d9d6829f29a70ab6a38d64e"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"75a59b939716d39e882632bda498bfcf1ad64b0d","unresolved":false,"context_lines":[{"line_number":2193,"context_line":"                original_context, bind_context, need_notify\u003dTrue,"},{"line_number":2194,"context_line":"                try_again\u003dTrue)"},{"line_number":2195,"context_line":"            if not try_again:"},{"line_number":2196,"context_line":"                self.notifier.binding_deactivate(context, port_id,"},{"line_number":2197,"context_line":"                                                 active_binding.host,"},{"line_number":2198,"context_line":"                                                 network[\u0027id\u0027])"},{"line_number":2199,"context_line":"                return self._make_port_binding_dict(cur_context._binding)"},{"line_number":2200,"context_line":"        raise n_exc.PortBindingError(port_id\u003dport_id, host\u003dhost)"},{"line_number":2201,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_a211c55f","line":2198,"range":{"start_line":2196,"start_character":58,"end_line":2198,"end_character":62},"in_reply_to":"5f7c97a3_f1622316","updated":"2018-06-20 20:20:16.000000000","message":"Why, though? Looking at https://review.openstack.org/#/c/563803/6/neutron/plugins/ml2/rpc.py@406, we can see that none the stub methods in the notifier have explicit keyword arguments. Furthermore, looking at other parts in this plugin (L705, L1624, L959, L1050), none of the notifier methods are called with keywords","commit_id":"b60228aeb71078e77d9d6829f29a70ab6a38d64e"}],"neutron/tests/unit/plugins/ml2/drivers/linuxbridge/agent/test_linuxbridge_neutron_agent.py":[{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"76035ffd9a239b617a7e3621dc28a04d269f73da","unresolved":false,"context_lines":[{"line_number":1032,"context_line":"                                  \"remove_interface\") as rem_intf:"},{"line_number":1033,"context_line":"            get_br_fn.return_value \u003d \"br0\""},{"line_number":1034,"context_line":"            get_tap_fn.return_value \u003d \"tap456\""},{"line_number":1035,"context_line":"            self.lb_rpc.binding_deactivate(\"anycontext\", host\u003d\"host\","},{"line_number":1036,"context_line":"                                           network_id\u003d\"123\", port_id\u003d\"456\")"},{"line_number":1037,"context_line":"            get_br_fn.assert_called_once_with(\"123\")"},{"line_number":1038,"context_line":"            get_tap_fn.assert_called_once_with(\"456\")"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_25513e31","line":1035,"range":{"start_line":1035,"start_character":43,"end_line":1035,"end_character":55},"updated":"2018-06-20 22:03:20.000000000","message":"since context is an object type, mock.ANY can be used instead of using string.","commit_id":"9890e2e63da0e4a238a2e0cccc82125376ed2985"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"f3972e9fa9df32710f687147ebdf56b981f56fdb","unresolved":false,"context_lines":[{"line_number":1032,"context_line":"                                  \"remove_interface\") as rem_intf:"},{"line_number":1033,"context_line":"            get_br_fn.return_value \u003d \"br0\""},{"line_number":1034,"context_line":"            get_tap_fn.return_value \u003d \"tap456\""},{"line_number":1035,"context_line":"            self.lb_rpc.binding_deactivate(\"anycontext\", host\u003d\"host\","},{"line_number":1036,"context_line":"                                           network_id\u003d\"123\", port_id\u003d\"456\")"},{"line_number":1037,"context_line":"            get_br_fn.assert_called_once_with(\"123\")"},{"line_number":1038,"context_line":"            get_tap_fn.assert_called_once_with(\"456\")"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_796fdf91","line":1035,"range":{"start_line":1035,"start_character":43,"end_line":1035,"end_character":55},"in_reply_to":"5f7c97a3_25513e31","updated":"2018-06-21 03:41:58.000000000","message":"Done","commit_id":"9890e2e63da0e4a238a2e0cccc82125376ed2985"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"76035ffd9a239b617a7e3621dc28a04d269f73da","unresolved":false,"context_lines":[{"line_number":1045,"context_line":"                                  \"get_tap_device_name\") as get_tap_fn,\\"},{"line_number":1046,"context_line":"                mock.patch.object(self.lb_rpc.agent.mgr,"},{"line_number":1047,"context_line":"                                  \"remove_interface\") as rem_intf:"},{"line_number":1048,"context_line":"            self.lb_rpc.binding_deactivate(\"anycontext\", host\u003d\"other_host\","},{"line_number":1049,"context_line":"                                           network_id\u003d\"123\", port_id\u003d\"456\")"},{"line_number":1050,"context_line":"            get_br_fn.assert_not_called()"},{"line_number":1051,"context_line":"            get_tap_fn.assert_not_called()"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_e534a6fd","line":1048,"range":{"start_line":1048,"start_character":43,"end_line":1048,"end_character":55},"updated":"2018-06-20 22:03:20.000000000","message":"same here !","commit_id":"9890e2e63da0e4a238a2e0cccc82125376ed2985"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"f3972e9fa9df32710f687147ebdf56b981f56fdb","unresolved":false,"context_lines":[{"line_number":1045,"context_line":"                                  \"get_tap_device_name\") as get_tap_fn,\\"},{"line_number":1046,"context_line":"                mock.patch.object(self.lb_rpc.agent.mgr,"},{"line_number":1047,"context_line":"                                  \"remove_interface\") as rem_intf:"},{"line_number":1048,"context_line":"            self.lb_rpc.binding_deactivate(\"anycontext\", host\u003d\"other_host\","},{"line_number":1049,"context_line":"                                           network_id\u003d\"123\", port_id\u003d\"456\")"},{"line_number":1050,"context_line":"            get_br_fn.assert_not_called()"},{"line_number":1051,"context_line":"            get_tap_fn.assert_not_called()"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_19682b86","line":1048,"range":{"start_line":1048,"start_character":43,"end_line":1048,"end_character":55},"in_reply_to":"5f7c97a3_e534a6fd","updated":"2018-06-21 03:41:58.000000000","message":"Done","commit_id":"9890e2e63da0e4a238a2e0cccc82125376ed2985"}]}
