)]}'
{"neutron/plugins/ml2/rpc.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"fd8c2669799a66176576aac71fda5ba48b1b2a8e","unresolved":false,"context_lines":[{"line_number":315,"context_line":"        if not port_context:"},{"line_number":316,"context_line":"            # port deleted"},{"line_number":317,"context_line":"            return"},{"line_number":318,"context_line":"        port \u003d port_context.current"},{"line_number":319,"context_line":"        if (status \u003d\u003d n_const.PORT_STATUS_ACTIVE and"},{"line_number":320,"context_line":"            port[portbindings.HOST_ID] !\u003d host):"},{"line_number":321,"context_line":"                return"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f1d235d_1db517ce","line":318,"updated":"2017-07-07 13:40:15.000000000","message":"So is this needed?  It should be the same as on L305.","commit_id":"d40ebd0cf1d36771ad9352be5f1f75f0b47ce196"},{"author":{"_account_id":7016,"name":"Swaminathan Vasudevan","email":"swvasude@cisco.com","username":"souminathan"},"change_message_id":"7f1d173bfdec405cf7c4d5748e65f2c16a8246ff","unresolved":false,"context_lines":[{"line_number":315,"context_line":"        if not port_context:"},{"line_number":316,"context_line":"            # port deleted"},{"line_number":317,"context_line":"            return"},{"line_number":318,"context_line":"        port \u003d port_context.current"},{"line_number":319,"context_line":"        if (status \u003d\u003d n_const.PORT_STATUS_ACTIVE and"},{"line_number":320,"context_line":"            port[portbindings.HOST_ID] !\u003d host):"},{"line_number":321,"context_line":"                return"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f1d235d_8a09d496","line":318,"in_reply_to":"3f1d235d_1db517ce","updated":"2017-07-07 19:05:57.000000000","message":"It seems that the port_context has the portbindings.HOST_ID info and the port does not have that info.\nSo I am wondering is that the \u0027context\u0027 that is causing it to not retrieve the full port dict in here.","commit_id":"d40ebd0cf1d36771ad9352be5f1f75f0b47ce196"},{"author":{"_account_id":7016,"name":"Swaminathan Vasudevan","email":"swvasude@cisco.com","username":"souminathan"},"change_message_id":"a5d28cc6d867de32054e5f68a2ccc40c1852a48f","unresolved":false,"context_lines":[{"line_number":315,"context_line":"        if not port_context:"},{"line_number":316,"context_line":"            # port deleted"},{"line_number":317,"context_line":"            return"},{"line_number":318,"context_line":"        port \u003d port_context.current"},{"line_number":319,"context_line":"        if (status \u003d\u003d n_const.PORT_STATUS_ACTIVE and"},{"line_number":320,"context_line":"            port[portbindings.HOST_ID] !\u003d host):"},{"line_number":321,"context_line":"                return"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f1d235d_f1839fa8","line":318,"in_reply_to":"3f1d235d_1db517ce","updated":"2017-07-07 17:31:33.000000000","message":"Yes this may not be needed any more, since we are already retrieving the port details in #L305.","commit_id":"d40ebd0cf1d36771ad9352be5f1f75f0b47ce196"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"b1e1914df01efc9f8caffd0413689206686e028e","unresolved":false,"context_lines":[{"line_number":315,"context_line":"                                               port[\u0027device_id\u0027])):"},{"line_number":316,"context_line":"                # don\u0027t setup ACTIVE forwarding entries unless bound to this"},{"line_number":317,"context_line":"                # host or if it\u0027s an HA port (which is special-cased in the"},{"line_number":318,"context_line":"                # mech driver)"},{"line_number":319,"context_line":"                return"},{"line_number":320,"context_line":"        port_context.current[\u0027status\u0027] \u003d status"},{"line_number":321,"context_line":"        port_context.current[portbindings.HOST_ID] \u003d host"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f1a1f67_ff8fdd72","side":"PARENT","line":318,"range":{"start_line":318,"start_character":29,"end_line":318,"end_character":30},"updated":"2017-07-20 15:12:16.000000000","message":"accidental deletion?","commit_id":"8326a65a5e3c70c66a5297c618d0202c9395cc3f"},{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"b1e1914df01efc9f8caffd0413689206686e028e","unresolved":false,"context_lines":[{"line_number":320,"context_line":"                                                   port[\u0027device_owner\u0027],"},{"line_number":321,"context_line":"                                                   port[\u0027device_id\u0027])):"},{"line_number":322,"context_line":"                # don\u0027t setup ACTIVE forwarding entries unless bound to this"},{"line_number":323,"context_line":"                # host or if it\u0027s an HA port (which is special-cased in the"},{"line_number":324,"context_line":"                # mech driver"},{"line_number":325,"context_line":"                return"},{"line_number":326,"context_line":"            port_context.current[\u0027status\u0027] \u003d status"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f1a1f67_7f7ced71","line":323,"range":{"start_line":323,"start_character":45,"end_line":323,"end_character":46},"updated":"2017-07-20 15:12:16.000000000","message":"Open Bracket with no close","commit_id":"660292ffaa5489506594c94169ceb5aeab8a0020"},{"author":{"_account_id":7016,"name":"Swaminathan Vasudevan","email":"swvasude@cisco.com","username":"souminathan"},"change_message_id":"e869d98d326c5de5e8b7b4ec8a32511ddae3f928","unresolved":false,"context_lines":[{"line_number":320,"context_line":"                                                   port[\u0027device_owner\u0027],"},{"line_number":321,"context_line":"                                                   port[\u0027device_id\u0027])):"},{"line_number":322,"context_line":"                # don\u0027t setup ACTIVE forwarding entries unless bound to this"},{"line_number":323,"context_line":"                # host or if it\u0027s an HA port (which is special-cased in the"},{"line_number":324,"context_line":"                # mech driver"},{"line_number":325,"context_line":"                return"},{"line_number":326,"context_line":"            port_context.current[\u0027status\u0027] \u003d status"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f1a1f67_b39e39b6","line":323,"range":{"start_line":323,"start_character":45,"end_line":323,"end_character":46},"in_reply_to":"1f1a1f67_7f7ced71","updated":"2017-07-20 19:18:27.000000000","message":"will fix it.","commit_id":"660292ffaa5489506594c94169ceb5aeab8a0020"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"9678b377a1cc79cc904c20d8d51af09833b32748","unresolved":false,"context_lines":[{"line_number":307,"context_line":"            return"},{"line_number":308,"context_line":"        # NOTE: DVR ports are already handled and updated through l2pop"},{"line_number":309,"context_line":"        # and so we don\u0027t need to update it again here"},{"line_number":310,"context_line":"        if port[\u0027device_owner\u0027] !\u003d n_const.DEVICE_OWNER_DVR_INTERFACE:"},{"line_number":311,"context_line":"            port_context \u003d plugin.get_bound_port_context("},{"line_number":312,"context_line":"                rpc_context, port_id)"},{"line_number":313,"context_line":"            if not port_context:"}],"source_content_type":"text/x-python","patch_set":6,"id":"ff346bd7_576a2980","line":310,"updated":"2017-07-24 22:00:32.000000000","message":"using \u0027\u003d\u003d\u0027 here with a return would minimize changes below since indentation wouldn\u0027t need to change.","commit_id":"70b4e6a263e818f5dfb01f21f08ab5e18271df1c"},{"author":{"_account_id":26262,"name":"1912294464","email":"1912294464@qq.com","username":"1912294464"},"change_message_id":"78dda951b1405b6bbe8951c03672710f90b83d86","unresolved":false,"context_lines":[{"line_number":305,"context_line":"        port \u003d ml2_db.get_port(rpc_context, port_id)"},{"line_number":306,"context_line":"        if not port:"},{"line_number":307,"context_line":"            return"},{"line_number":308,"context_line":"        # NOTE: DVR ports are already handled and updated through l2pop"},{"line_number":309,"context_line":"        # and so we don\u0027t need to update it again here"},{"line_number":310,"context_line":"        if port[\u0027device_owner\u0027] \u003d\u003d n_const.DEVICE_OWNER_DVR_INTERFACE:"},{"line_number":311,"context_line":"            return"},{"line_number":312,"context_line":"        port_context \u003d plugin.get_bound_port_context("}],"source_content_type":"text/x-python","patch_set":7,"id":"ff82abbf_5e4ff869","line":309,"range":{"start_line":308,"start_character":8,"end_line":309,"end_character":54},"updated":"2017-11-30 02:17:13.000000000","message":"Hello,DVR ports will not be handle while restart neutron-openvswitch-agent.So it will result in this bug (https://bugs.launchpad.net/neutron/+bug/1681979)","commit_id":"9e9a8a07c3cb1eed074399af36affe857011133e"}],"neutron/tests/unit/plugins/ml2/drivers/l2pop/test_mech_driver.py":[{"author":{"_account_id":18051,"name":"David Shaughnessy","email":"david.shaughnessy@intel.com","username":"davidsha"},"change_message_id":"4e6ad649b486a85701ae31fbf2f019e87a4e7f33","unresolved":false,"context_lines":[{"line_number":345,"context_line":"        # Both HA agents should create tunnels to HOST4 and among themselves."},{"line_number":346,"context_line":"        # Both HA agents should be notified to other agents."},{"line_number":347,"context_line":"        router \u003d self._create_ha_router()"},{"line_number":348,"context_line":""},{"line_number":349,"context_line":"        directory.add_plugin(plugin_constants.L3, self.plugin)"},{"line_number":350,"context_line":"        with self.subnet(network\u003dself._network, enable_dhcp\u003dFalse) as snet:"},{"line_number":351,"context_line":"            host_arg \u003d {portbindings.HOST_ID: HOST_4, \u0027admin_state_up\u0027: True}"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f1a1f67_c43c8894","side":"PARENT","line":348,"updated":"2017-07-19 12:51:14.000000000","message":"Nit: accidental removal?","commit_id":"8326a65a5e3c70c66a5297c618d0202c9395cc3f"},{"author":{"_account_id":7016,"name":"Swaminathan Vasudevan","email":"swvasude@cisco.com","username":"souminathan"},"change_message_id":"e869d98d326c5de5e8b7b4ec8a32511ddae3f928","unresolved":false,"context_lines":[{"line_number":345,"context_line":"        # Both HA agents should create tunnels to HOST4 and among themselves."},{"line_number":346,"context_line":"        # Both HA agents should be notified to other agents."},{"line_number":347,"context_line":"        router \u003d self._create_ha_router()"},{"line_number":348,"context_line":""},{"line_number":349,"context_line":"        directory.add_plugin(plugin_constants.L3, self.plugin)"},{"line_number":350,"context_line":"        with self.subnet(network\u003dself._network, enable_dhcp\u003dFalse) as snet:"},{"line_number":351,"context_line":"            host_arg \u003d {portbindings.HOST_ID: HOST_4, \u0027admin_state_up\u0027: True}"}],"source_content_type":"text/x-python","patch_set":5,"id":"1f1a1f67_53ada5e8","side":"PARENT","line":348,"in_reply_to":"1f1a1f67_c43c8894","updated":"2017-07-20 19:18:27.000000000","message":"Sure will fix it.","commit_id":"8326a65a5e3c70c66a5297c618d0202c9395cc3f"}]}
