)]}'
{"neutron_tempest_plugin/api/base.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"e6e8441e1c5527c8fb0447fed633efc7a3a0555e","unresolved":false,"context_lines":[{"line_number":722,"context_line":"        if trunk[\u0027sub_ports\u0027]:"},{"line_number":723,"context_line":"            # Removes trunk ports before deleting it"},{"line_number":724,"context_line":"            cls._try_delete_resource(client.remove_subports, trunk[\u0027id\u0027],"},{"line_number":725,"context_line":"                                     trunk[\u0027sub_ports\u0027])"},{"line_number":726,"context_line":""},{"line_number":727,"context_line":"        # we have to detach the interface from the server before"},{"line_number":728,"context_line":"        # the trunk can be deleted."}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_6a72ba4c","line":725,"updated":"2018-07-26 09:31:09.000000000","message":"shouldn\u0027t You try to remove sub_ports with same client as is used to delete trunk port?","commit_id":"78242475c27155784252f80dc07c82b9c8f38fce"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"50834dfb82a4fd0c17993aca119d3f5f5674287d","unresolved":false,"context_lines":[{"line_number":722,"context_line":"        if trunk[\u0027sub_ports\u0027]:"},{"line_number":723,"context_line":"            # Removes trunk ports before deleting it"},{"line_number":724,"context_line":"            cls._try_delete_resource(client.remove_subports, trunk[\u0027id\u0027],"},{"line_number":725,"context_line":"                                     trunk[\u0027sub_ports\u0027])"},{"line_number":726,"context_line":""},{"line_number":727,"context_line":"        # we have to detach the interface from the server before"},{"line_number":728,"context_line":"        # the trunk can be deleted."}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_cf7e771a","line":725,"in_reply_to":"5f7c97a3_63ebc5dc","updated":"2018-07-26 14:32:52.000000000","message":"right :)","commit_id":"78242475c27155784252f80dc07c82b9c8f38fce"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"592b03e0a7bd449c2b5d7d2286d774b488481089","unresolved":false,"context_lines":[{"line_number":722,"context_line":"        if trunk[\u0027sub_ports\u0027]:"},{"line_number":723,"context_line":"            # Removes trunk ports before deleting it"},{"line_number":724,"context_line":"            cls._try_delete_resource(client.remove_subports, trunk[\u0027id\u0027],"},{"line_number":725,"context_line":"                                     trunk[\u0027sub_ports\u0027])"},{"line_number":726,"context_line":""},{"line_number":727,"context_line":"        # we have to detach the interface from the server before"},{"line_number":728,"context_line":"        # the trunk can be deleted."}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_63ebc5dc","line":725,"in_reply_to":"5f7c97a3_6a72ba4c","updated":"2018-07-26 12:02:18.000000000","message":"Indeed is what this is doing. Client has been obtained from trunk at line 716.","commit_id":"78242475c27155784252f80dc07c82b9c8f38fce"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"e6e8441e1c5527c8fb0447fed633efc7a3a0555e","unresolved":false,"context_lines":[{"line_number":729,"context_line":"        parent_port \u003d {}"},{"line_number":730,"context_line":""},{"line_number":731,"context_line":"        def is_parent_port_detached():"},{"line_number":732,"context_line":"            parent_port.update(cls.client.show_port(trunk[\u0027port_id\u0027])[\u0027port\u0027])"},{"line_number":733,"context_line":"            return not parent_port[\u0027device_id\u0027]"},{"line_number":734,"context_line":""},{"line_number":735,"context_line":"        if not is_parent_port_detached():"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_4a8d7e27","line":732,"range":{"start_line":732,"start_character":31,"end_line":732,"end_character":41},"updated":"2018-07-26 09:31:09.000000000","message":"why cls.client instead of \"client\" from L716?","commit_id":"78242475c27155784252f80dc07c82b9c8f38fce"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"592b03e0a7bd449c2b5d7d2286d774b488481089","unresolved":false,"context_lines":[{"line_number":729,"context_line":"        parent_port \u003d {}"},{"line_number":730,"context_line":""},{"line_number":731,"context_line":"        def is_parent_port_detached():"},{"line_number":732,"context_line":"            parent_port.update(cls.client.show_port(trunk[\u0027port_id\u0027])[\u0027port\u0027])"},{"line_number":733,"context_line":"            return not parent_port[\u0027device_id\u0027]"},{"line_number":734,"context_line":""},{"line_number":735,"context_line":"        if not is_parent_port_detached():"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_63f8a549","line":732,"range":{"start_line":732,"start_character":31,"end_line":732,"end_character":41},"in_reply_to":"5f7c97a3_4a8d7e27","updated":"2018-07-26 12:02:18.000000000","message":"Done","commit_id":"78242475c27155784252f80dc07c82b9c8f38fce"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"e6e8441e1c5527c8fb0447fed633efc7a3a0555e","unresolved":false,"context_lines":[{"line_number":734,"context_line":""},{"line_number":735,"context_line":"        if not is_parent_port_detached():"},{"line_number":736,"context_line":"            cls.os_primary.compute.InterfacesClient().delete_interface("},{"line_number":737,"context_line":"                parent_port[\u0027device_id\u0027], trunk[\u0027port_id\u0027])"},{"line_number":738,"context_line":"            utils.wait_until_true(is_parent_port_detached)"},{"line_number":739,"context_line":""},{"line_number":740,"context_line":"        client.delete_trunk(trunk[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_ca98ae68","line":737,"updated":"2018-07-26 09:31:09.000000000","message":"here also, shouldn\u0027t be \"client\" from L716 used?","commit_id":"78242475c27155784252f80dc07c82b9c8f38fce"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"592b03e0a7bd449c2b5d7d2286d774b488481089","unresolved":false,"context_lines":[{"line_number":734,"context_line":""},{"line_number":735,"context_line":"        if not is_parent_port_detached():"},{"line_number":736,"context_line":"            cls.os_primary.compute.InterfacesClient().delete_interface("},{"line_number":737,"context_line":"                parent_port[\u0027device_id\u0027], trunk[\u0027port_id\u0027])"},{"line_number":738,"context_line":"            utils.wait_until_true(is_parent_port_detached)"},{"line_number":739,"context_line":""},{"line_number":740,"context_line":"        client.delete_trunk(trunk[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_03821100","line":737,"in_reply_to":"5f7c97a3_ca98ae68","updated":"2018-07-26 12:02:18.000000000","message":"It looks like Nova compute client, while trunk is created using a Neutron client. I copied this code from one of the tests.","commit_id":"78242475c27155784252f80dc07c82b9c8f38fce"}]}
