)]}'
{"neutron/privileged/agent/linux/utils.py":[{"author":{"_account_id":12171,"name":"Moshe Levi","email":"moshele@nvidia.com","username":"moshele"},"change_message_id":"bd03533760635e20d7c480251b7f4b1a74692c10","unresolved":true,"context_lines":[{"line_number":95,"context_line":"@privileged.default.entrypoint"},{"line_number":96,"context_line":"def devlink_show_port_representor(pr_name):"},{"line_number":97,"context_line":"    \"\"\"Retrieve the information of a port representor\"\"\""},{"line_number":98,"context_line":"    cmd \u003d [\u0027devlink\u0027, \u0027port\u0027, \u0027show\u0027, pr_name, \u0027-jp\u0027]"},{"line_number":99,"context_line":"    output \u003d processutils.execute(*cmd)"},{"line_number":100,"context_line":"    output \u003d jsonutils.loads(output)"},{"line_number":101,"context_line":"    for pci, port in output[\u0027port\u0027].items():"}],"source_content_type":"text/x-python","patch_set":5,"id":"fc2e4c0a_18097306","line":98,"updated":"2022-12-08 07:26:34.000000000","message":"pyroute2 support devlink [1]. It better to extend pyroute2 if commands are missing.\n\n[1] - https://github.com/svinota/pyroute2/blob/595ab3f3a30e01b23c3dbe469a10f73085266eef/pyroute2/devlink.py","commit_id":"0eb0b48b814b1a6487bd290ff37bd213a4526af1"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"63383915e18b5ea0608fdeeeb3873f21f0d0c30d","unresolved":false,"context_lines":[{"line_number":95,"context_line":"@privileged.default.entrypoint"},{"line_number":96,"context_line":"def devlink_show_port_representor(pr_name):"},{"line_number":97,"context_line":"    \"\"\"Retrieve the information of a port representor\"\"\""},{"line_number":98,"context_line":"    cmd \u003d [\u0027devlink\u0027, \u0027port\u0027, \u0027show\u0027, pr_name, \u0027-jp\u0027]"},{"line_number":99,"context_line":"    output \u003d processutils.execute(*cmd)"},{"line_number":100,"context_line":"    output \u003d jsonutils.loads(output)"},{"line_number":101,"context_line":"    for pci, port in output[\u0027port\u0027].items():"}],"source_content_type":"text/x-python","patch_set":5,"id":"be39e2a5_c1fee071","line":98,"in_reply_to":"43160b9c_d3095068","updated":"2022-12-14 10:39:30.000000000","message":"--\u003e https://review.opendev.org/c/openstack/neutron/+/867526\n\nThe current patch will be implemented on top of ^^^","commit_id":"0eb0b48b814b1a6487bd290ff37bd213a4526af1"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"228751b63298fa073843a1ccbf6c13495a400759","unresolved":true,"context_lines":[{"line_number":95,"context_line":"@privileged.default.entrypoint"},{"line_number":96,"context_line":"def devlink_show_port_representor(pr_name):"},{"line_number":97,"context_line":"    \"\"\"Retrieve the information of a port representor\"\"\""},{"line_number":98,"context_line":"    cmd \u003d [\u0027devlink\u0027, \u0027port\u0027, \u0027show\u0027, pr_name, \u0027-jp\u0027]"},{"line_number":99,"context_line":"    output \u003d processutils.execute(*cmd)"},{"line_number":100,"context_line":"    output \u003d jsonutils.loads(output)"},{"line_number":101,"context_line":"    for pci, port in output[\u0027port\u0027].items():"}],"source_content_type":"text/x-python","patch_set":5,"id":"43160b9c_d3095068","line":98,"in_reply_to":"fc2e4c0a_18097306","updated":"2022-12-08 16:00:22.000000000","message":"This is something I need to check now in my dev. If pyroute2 provides the needed info, I\u0027ll implement it.","commit_id":"0eb0b48b814b1a6487bd290ff37bd213a4526af1"}]}
