)]}'
{"neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"8d5cf38be9a79a8cf2ba0f022e6ce4c47b78600c","unresolved":false,"context_lines":[{"line_number":337,"context_line":"    def _restore_local_vlan_map(self):"},{"line_number":338,"context_line":"        self._local_vlan_hints \u003d {}"},{"line_number":339,"context_line":"        # skip INVALID and UNASSIGNED to match scan_ports behavior"},{"line_number":340,"context_line":"        cur_ports \u003d [p for p in self.int_br.get_vif_ports()"},{"line_number":341,"context_line":"                     if p.ofport not in (ovs_lib.INVALID_OFPORT,"},{"line_number":342,"context_line":"                                         ovs_lib.UNASSIGNED_OFPORT)]"},{"line_number":343,"context_line":"        port_names \u003d [p.port_name for p in cur_ports]"}],"source_content_type":"text/x-python","patch_set":4,"id":"3aaa91ec_0a9be966","line":340,"updated":"2016-06-27 06:19:19.000000000","message":"can we pass a flag to get_vif_ports to indicate which ports not to return.\nThat saves a extra loop over all of the ports.","commit_id":"fc782f9ca76dc72851b8c94c0199a0654a20b17b"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"869d8d637da5ff8cdd6371e8aa8cf2bbaff3cc44","unresolved":false,"context_lines":[{"line_number":337,"context_line":"    def _restore_local_vlan_map(self):"},{"line_number":338,"context_line":"        self._local_vlan_hints \u003d {}"},{"line_number":339,"context_line":"        # skip INVALID and UNASSIGNED to match scan_ports behavior"},{"line_number":340,"context_line":"        cur_ports \u003d [p for p in self.int_br.get_vif_ports()"},{"line_number":341,"context_line":"                     if p.ofport not in (ovs_lib.INVALID_OFPORT,"},{"line_number":342,"context_line":"                                         ovs_lib.UNASSIGNED_OFPORT)]"},{"line_number":343,"context_line":"        port_names \u003d [p.port_name for p in cur_ports]"}],"source_content_type":"text/x-python","patch_set":4,"id":"3aaa91ec_cf2ee4a4","line":340,"in_reply_to":"3aaa91ec_0a9be966","updated":"2016-06-27 20:30:45.000000000","message":"I\u0027ll send an update with this change, test update was a little painful...","commit_id":"fc782f9ca76dc72851b8c94c0199a0654a20b17b"}],"neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"6f70196449b1d0b0dd4d80b2917943d5dfe269d8","unresolved":false,"context_lines":[{"line_number":232,"context_line":"            self.assertEqual(expected,"},{"line_number":233,"context_line":"                             self.agent.agent_state[\u0027agent_type\u0027])"},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"    def _test_restore_local_vlan_maps(self, tag1, tag2, segmentation_id\u003d\u00271\u0027):"},{"line_number":236,"context_line":"        port1 \u003d mock.Mock()"},{"line_number":237,"context_line":"        port2 \u003d mock.Mock()"},{"line_number":238,"context_line":"        port1.port_name \u003d \u0027fake_port1\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_7a1f2c6c","line":235,"updated":"2016-06-24 01:48:25.000000000","message":"This test looks like the pre-revert one, so will need an update.","commit_id":"1f2e0b1055c690f99cd9ad0980d1dc8440cb0479"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"8f05a34124fe122e6921aeb22a5b8f55ddc2d437","unresolved":false,"context_lines":[{"line_number":232,"context_line":"            self.assertEqual(expected,"},{"line_number":233,"context_line":"                             self.agent.agent_state[\u0027agent_type\u0027])"},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"    def _test_restore_local_vlan_maps(self, tag1, tag2, segmentation_id\u003d\u00271\u0027):"},{"line_number":236,"context_line":"        port1 \u003d mock.Mock()"},{"line_number":237,"context_line":"        port2 \u003d mock.Mock()"},{"line_number":238,"context_line":"        port1.port_name \u003d \u0027fake_port1\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_1a29c137","line":235,"in_reply_to":"3aaa91ec_7a1f2c6c","updated":"2016-06-24 05:51:41.000000000","message":"Done","commit_id":"1f2e0b1055c690f99cd9ad0980d1dc8440cb0479"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"7bc61ffe45d9b6be886ce6fe2760e4de67b655da","unresolved":false,"context_lines":[{"line_number":261,"context_line":"        # this is for the call inside _restore_local_vlan_map()"},{"line_number":262,"context_line":"        get_ports \u003d [{\u0027name\u0027: port.port_name,"},{"line_number":263,"context_line":"                      \u0027other_config\u0027: local_vlan_map,"},{"line_number":264,"context_line":"                      \u0027tag\u0027: tag}]"},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"        with mock.patch.object(self.agent.int_br,"},{"line_number":267,"context_line":"                               \u0027get_ports_attributes\u0027,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1aa78d24_0bdd7e14","line":264,"updated":"2016-07-04 06:47:28.000000000","message":"i guess it\u0027s simpler to test get_vif_ports as a separate test case.","commit_id":"db817fd5434fb87afe1f8e8e05b282d68ff9dc31"}]}
