)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"808d393da041a7a13857d88fc286548c86dcb9af","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Federico Ressi \u003cfressi@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-12-14 12:36:47 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Update test_trunk after adding new ip command tool."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I61563b7132f9911ad588d35f7f01125ef4c70cd2"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":24,"id":"3f79a3b5_d145dc14","line":7,"updated":"2018-12-14 22:09:22.000000000","message":"It seems like there is a lot more here than just changing to a new command tool.  It looks like you significantlky refactored how this code works.  Can you add a descriptive paragraph here that summarizes the changes you made and what drove you to them?","commit_id":"84a93cf54d30c890611b13a3120700ee73afe69a"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"0ed438bcbdee213766a6c680000b0be5482ceb41","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Federico Ressi \u003cfressi@redhat.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-12-14 12:36:47 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Update test_trunk after adding new ip command tool."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I61563b7132f9911ad588d35f7f01125ef4c70cd2"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":24,"id":"3f79a3b5_93a853d7","line":7,"in_reply_to":"3f79a3b5_d145dc14","updated":"2018-12-21 09:49:22.000000000","message":"Done","commit_id":"84a93cf54d30c890611b13a3120700ee73afe69a"}],"neutron_tempest_plugin/scenario/test_trunk.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"4d032729e188628bae97e561ab973d6382bb3e4a","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    def _is_port_down(self, port):"},{"line_number":100,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"},{"line_number":101,"context_line":"        return port[\u0027status\u0027] \u003d\u003d \u0027DOWN\u0027"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _is_port_active(self, port):"},{"line_number":104,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_1efb34bf","line":101,"range":{"start_line":101,"start_character":34,"end_line":101,"end_character":38},"updated":"2018-11-21 08:36:45.000000000","message":"You can use constants defined in https://github.com/openstack/neutron-lib/blob/master/neutron_lib/constants.py#L25 here (neutron-lib is already in requirements of this project)","commit_id":"6c3b1ce952a63cb877cba3b96b58f634fa600864"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"19338c3499e49138a0b92333115c1b23c4817484","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    def _is_port_down(self, port):"},{"line_number":100,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"},{"line_number":101,"context_line":"        return port[\u0027status\u0027] \u003d\u003d \u0027DOWN\u0027"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _is_port_active(self, port):"},{"line_number":104,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_6d74fd37","line":101,"range":{"start_line":101,"start_character":34,"end_line":101,"end_character":38},"in_reply_to":"3f79a3b5_1efb34bf","updated":"2018-11-21 12:21:25.000000000","message":"Done","commit_id":"6c3b1ce952a63cb877cba3b96b58f634fa600864"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"6511efc74b31fb88ac8f2232f2f316e888082179","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    def _is_port_down(self, port):"},{"line_number":100,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"},{"line_number":101,"context_line":"        return port[\u0027status\u0027] \u003d\u003d \u0027DOWN\u0027"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _is_port_active(self, port):"},{"line_number":104,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_cd467157","line":101,"range":{"start_line":101,"start_character":34,"end_line":101,"end_character":38},"in_reply_to":"3f79a3b5_1efb34bf","updated":"2018-11-21 12:08:30.000000000","message":"cool!","commit_id":"6c3b1ce952a63cb877cba3b96b58f634fa600864"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"4d032729e188628bae97e561ab973d6382bb3e4a","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _is_port_active(self, port):"},{"line_number":104,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"},{"line_number":105,"context_line":"        return port[\u0027status\u0027] \u003d\u003d \u0027ACTIVE\u0027"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    def _is_trunk_active(self, trunk):"},{"line_number":108,"context_line":"        trunk.update(self.client.show_trunk(trunk[\u0027id\u0027])[\u0027trunk\u0027])"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_3ef630d7","line":105,"range":{"start_line":105,"start_character":34,"end_line":105,"end_character":40},"updated":"2018-11-21 08:36:45.000000000","message":"ditto","commit_id":"6c3b1ce952a63cb877cba3b96b58f634fa600864"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"19338c3499e49138a0b92333115c1b23c4817484","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _is_port_active(self, port):"},{"line_number":104,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"},{"line_number":105,"context_line":"        return port[\u0027status\u0027] \u003d\u003d \u0027ACTIVE\u0027"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    def _is_trunk_active(self, trunk):"},{"line_number":108,"context_line":"        trunk.update(self.client.show_trunk(trunk[\u0027id\u0027])[\u0027trunk\u0027])"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_4d77c13d","line":105,"range":{"start_line":105,"start_character":34,"end_line":105,"end_character":40},"in_reply_to":"3f79a3b5_3ef630d7","updated":"2018-11-21 12:21:25.000000000","message":"Done","commit_id":"6c3b1ce952a63cb877cba3b96b58f634fa600864"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"4d032729e188628bae97e561ab973d6382bb3e4a","unresolved":false,"context_lines":[{"line_number":250,"context_line":"        collections.namedtuple(\u0027ServerWithTrunkPort\u0027,"},{"line_number":251,"context_line":"                               [\u0027port\u0027, \u0027subport\u0027, \u0027trunk\u0027, \u0027floating_ip\u0027,"},{"line_number":252,"context_line":"                                \u0027server\u0027, \u0027ssh_client\u0027])):"},{"line_number":253,"context_line":"    pass"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_be0a40cd","line":253,"updated":"2018-11-21 08:36:45.000000000","message":"nit: IMO it would be more readable if it would be defined on top of file","commit_id":"6c3b1ce952a63cb877cba3b96b58f634fa600864"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"19338c3499e49138a0b92333115c1b23c4817484","unresolved":false,"context_lines":[{"line_number":250,"context_line":"        collections.namedtuple(\u0027ServerWithTrunkPort\u0027,"},{"line_number":251,"context_line":"                               [\u0027port\u0027, \u0027subport\u0027, \u0027trunk\u0027, \u0027floating_ip\u0027,"},{"line_number":252,"context_line":"                                \u0027server\u0027, \u0027ssh_client\u0027])):"},{"line_number":253,"context_line":"    pass"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_8d795933","line":253,"in_reply_to":"3f79a3b5_be0a40cd","updated":"2018-11-21 12:21:25.000000000","message":"Done","commit_id":"6c3b1ce952a63cb877cba3b96b58f634fa600864"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"fa305ca9cef6b530ea9726054f43bf3eaf976c15","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        collections.namedtuple(\u0027ServerWithTrunkPort\u0027,"},{"line_number":37,"context_line":"                               [\u0027port\u0027, \u0027subport\u0027, \u0027trunk\u0027, \u0027floating_ip\u0027,"},{"line_number":38,"context_line":"                                \u0027server\u0027, \u0027ssh_client\u0027])):"},{"line_number":39,"context_line":"    pass"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"class TrunkTest(base.BaseTempestTestCase):"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_6d6ac483","line":39,"updated":"2018-12-18 10:09:36.000000000","message":"can\u0027t it be just:\n\n    ServerWithTrunkPort \u003d collections.namedtuple(\n        \u0027ServerWithTrunkPort\u0027,\n        \u0027port\u0027, \u0027subport\u0027, \u0027trunk\u0027, \u0027floating_ip\u0027, \u0027server\u0027, \u0027ssh_client\u0027)\n\n?","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"5c1b77284fb11a56ac1d9ef0876216192af16bd4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        collections.namedtuple(\u0027ServerWithTrunkPort\u0027,"},{"line_number":37,"context_line":"                               [\u0027port\u0027, \u0027subport\u0027, \u0027trunk\u0027, \u0027floating_ip\u0027,"},{"line_number":38,"context_line":"                                \u0027server\u0027, \u0027ssh_client\u0027])):"},{"line_number":39,"context_line":"    pass"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"class TrunkTest(base.BaseTempestTestCase):"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_7386d762","line":39,"in_reply_to":"3f79a3b5_6d6ac483","updated":"2018-12-21 10:47:32.000000000","message":"Done","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"fa305ca9cef6b530ea9726054f43bf3eaf976c15","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        # setup basic topology for servers we can log into"},{"line_number":51,"context_line":"        cls.rand_name \u003d name \u003d data_utils.rand_name("},{"line_number":52,"context_line":"            cls.__name__.rsplit(\u0027.\u0027, 1)[-1])"},{"line_number":53,"context_line":"        cls.network \u003d cls.create_network(name\u003dname)"},{"line_number":54,"context_line":"        cls.subnet \u003d cls.create_subnet(network\u003dcls.network, name\u003dname)"},{"line_number":55,"context_line":"        cls.router \u003d cls.create_router_by_client()"},{"line_number":56,"context_line":"        cls.create_router_interface(cls.router[\u0027id\u0027], cls.subnet[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_4de26801","line":53,"range":{"start_line":53,"start_character":46,"end_line":53,"end_character":50},"updated":"2018-12-18 10:09:36.000000000","message":"from where this \"name\" comes? I don\u0027t see it anywhere","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"},{"author":{"_account_id":29093,"name":"Le, Huifeng","email":"huifeng.le@intel.com","username":"hle"},"change_message_id":"ef9fc8472a4a172f78712ecfed7ba5fa72830403","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        # setup basic topology for servers we can log into"},{"line_number":51,"context_line":"        cls.rand_name \u003d name \u003d data_utils.rand_name("},{"line_number":52,"context_line":"            cls.__name__.rsplit(\u0027.\u0027, 1)[-1])"},{"line_number":53,"context_line":"        cls.network \u003d cls.create_network(name\u003dname)"},{"line_number":54,"context_line":"        cls.subnet \u003d cls.create_subnet(network\u003dcls.network, name\u003dname)"},{"line_number":55,"context_line":"        cls.router \u003d cls.create_router_by_client()"},{"line_number":56,"context_line":"        cls.create_router_interface(cls.router[\u0027id\u0027], cls.subnet[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_e78b4c13","line":53,"range":{"start_line":53,"start_character":46,"end_line":53,"end_character":50},"in_reply_to":"3f79a3b5_4de26801","updated":"2018-12-18 13:19:52.000000000","message":"How about using \"name\u003dcls.rand_name\" here to keep  consistency with other place?","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"5c1b77284fb11a56ac1d9ef0876216192af16bd4","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        # setup basic topology for servers we can log into"},{"line_number":51,"context_line":"        cls.rand_name \u003d name \u003d data_utils.rand_name("},{"line_number":52,"context_line":"            cls.__name__.rsplit(\u0027.\u0027, 1)[-1])"},{"line_number":53,"context_line":"        cls.network \u003d cls.create_network(name\u003dname)"},{"line_number":54,"context_line":"        cls.subnet \u003d cls.create_subnet(network\u003dcls.network, name\u003dname)"},{"line_number":55,"context_line":"        cls.router \u003d cls.create_router_by_client()"},{"line_number":56,"context_line":"        cls.create_router_interface(cls.router[\u0027id\u0027], cls.subnet[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_b3d54f4a","line":53,"range":{"start_line":53,"start_character":46,"end_line":53,"end_character":50},"in_reply_to":"3f79a3b5_e78b4c13","updated":"2018-12-21 10:47:32.000000000","message":"Done","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"fa305ca9cef6b530ea9726054f43bf3eaf976c15","unresolved":false,"context_lines":[{"line_number":116,"context_line":"                                  **params)[\u0027server\u0027]"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"    def _is_port_down(self, port):"},{"line_number":119,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"},{"line_number":120,"context_line":"        return port[\u0027status\u0027] \u003d\u003d constants.DOWN"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    def _is_port_active(self, port):"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_8da3a045","line":119,"range":{"start_line":119,"start_character":13,"end_line":119,"end_character":19},"updated":"2018-12-18 10:09:36.000000000","message":"why this \"update\" here?","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"fa305ca9cef6b530ea9726054f43bf3eaf976c15","unresolved":false,"context_lines":[{"line_number":120,"context_line":"        return port[\u0027status\u0027] \u003d\u003d constants.DOWN"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    def _is_port_active(self, port):"},{"line_number":123,"context_line":"        port.update(self.client.show_port(port[\u0027id\u0027])[\u0027port\u0027])"},{"line_number":124,"context_line":"        return port[\u0027status\u0027] \u003d\u003d constants.ACTIVE"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    def _is_trunk_active(self, trunk):"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_2da28c41","line":123,"updated":"2018-12-18 10:09:36.000000000","message":"and here","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"fa305ca9cef6b530ea9726054f43bf3eaf976c15","unresolved":false,"context_lines":[{"line_number":195,"context_line":"        for vm in (vm1, vm2):"},{"line_number":196,"context_line":"            self.wait_for_server_active(server\u003dvm.server)"},{"line_number":197,"context_line":"            self._wait_for_trunk_active(vm.trunk)"},{"line_number":198,"context_line":"            vm.ssh_client.exec_command(\"date\")"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"        # create a few more networks and ports for subports"},{"line_number":201,"context_line":"        # check limit of networks per project"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_cd3f58dc","line":198,"updated":"2018-12-18 10:09:36.000000000","message":"why this additional check is necessary?","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"5c1b77284fb11a56ac1d9ef0876216192af16bd4","unresolved":false,"context_lines":[{"line_number":195,"context_line":"        for vm in (vm1, vm2):"},{"line_number":196,"context_line":"            self.wait_for_server_active(server\u003dvm.server)"},{"line_number":197,"context_line":"            self._wait_for_trunk_active(vm.trunk)"},{"line_number":198,"context_line":"            vm.ssh_client.exec_command(\"date\")"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"        # create a few more networks and ports for subports"},{"line_number":201,"context_line":"        # check limit of networks per project"}],"source_content_type":"text/x-python","patch_set":26,"id":"3f79a3b5_53107baa","line":198,"in_reply_to":"3f79a3b5_cd3f58dc","updated":"2018-12-21 10:47:32.000000000","message":"This check actually waits for connectivity on main port is ready","commit_id":"e55a8a655078fd5e28db2d16d9d5bff3eb13cb1c"}]}
