)]}'
{"metalsmith/_instance.py":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"9f8553bf02d0176b4d39af4e6de9402f0c954e6c","unresolved":true,"context_lines":[{"line_number":128,"context_line":"                port \u003d self._connection.network.get_port(vif)"},{"line_number":129,"context_line":"                if port.network_id not in Instance.network_cache:"},{"line_number":130,"context_line":"                    Instance.network_cache[port.network_id] \u003d ("},{"line_number":131,"context_line":"                        self._connection.network.get_network(port.network_id))"},{"line_number":132,"context_line":"                port.network \u003d Instance.network_cache[port.network_id]"},{"line_number":133,"context_line":"                result.append(port)"},{"line_number":134,"context_line":"            except os_exc.ResourceNotFound:"}],"source_content_type":"text/x-python","patch_set":1,"id":"2179d2f2_3bd89cae","line":131,"updated":"2023-02-07 22:28:42.000000000","message":"Do we know how many times this gets called? I would think once, but maybe it might make sense to call once and reconcile?","commit_id":"9c2252ea88e0fb331d25198ba7286680d92d9ac7"},{"author":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"change_message_id":"4b0c214b787deb32cbd8cef7cf8c2d2bfaa11c8e","unresolved":true,"context_lines":[{"line_number":128,"context_line":"                port \u003d self._connection.network.get_port(vif)"},{"line_number":129,"context_line":"                if port.network_id not in Instance.network_cache:"},{"line_number":130,"context_line":"                    Instance.network_cache[port.network_id] \u003d ("},{"line_number":131,"context_line":"                        self._connection.network.get_network(port.network_id))"},{"line_number":132,"context_line":"                port.network \u003d Instance.network_cache[port.network_id]"},{"line_number":133,"context_line":"                result.append(port)"},{"line_number":134,"context_line":"            except os_exc.ResourceNotFound:"}],"source_content_type":"text/x-python","patch_set":1,"id":"dff31c43_d2320902","line":131,"in_reply_to":"2179d2f2_3bd89cae","updated":"2023-02-08 13:09:23.000000000","message":"For the tripleo case, the network is actually the same for all ports. So with this change we end up calling get_network once only. In other usecases it would call get_network once for each network attached to some node.","commit_id":"9c2252ea88e0fb331d25198ba7286680d92d9ac7"}]}
