)]}'
{"tools/ovn_migration/tripleo_environment/playbooks/roles/migration/tasks/cleanup-dataplane.yml":[{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"50f3a73e5ecf5443dace57a6052cd553ae53f87f","unresolved":true,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: Cleanup neutron trunk subports"},{"line_number":21,"context_line":"  shell: |"},{"line_number":22,"context_line":"    for p in `ovs-vsctl show | egrep \u0027spi-|spt-\u0027 | grep Interface | awk \u0027{print $2}\u0027`"},{"line_number":23,"context_line":"    do"},{"line_number":24,"context_line":"      # p will be having quotes. Eg. \"spi-xxxx\". So strip the quotes"},{"line_number":25,"context_line":"      p\u003d`echo $p | sed -e \u0027s/\"//g\u0027`"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"f5dfe731_ff87d45c","line":22,"range":{"start_line":22,"start_character":14,"end_line":22,"end_character":84},"updated":"2021-10-08 15:08:01.000000000","message":"How about\n\n ovs-vsctl list interface | awk \u0027/name[ ]*: sp[it]-/ { print $3 }\u0027\n\nand you won\u0027t even need L25","commit_id":"e64ca4b08997e1c10c9d2ba0e4cebc947c8eae32"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"ade0004cd8d2dc9e3d78e79e3980a56b9f6399f7","unresolved":true,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: Cleanup neutron trunk subports"},{"line_number":21,"context_line":"  shell: |"},{"line_number":22,"context_line":"    for p in `ovs-vsctl show | egrep \u0027spi-|spt-\u0027 | grep Interface | awk \u0027{print $2}\u0027`"},{"line_number":23,"context_line":"    do"},{"line_number":24,"context_line":"      # p will be having quotes. Eg. \"spi-xxxx\". So strip the quotes"},{"line_number":25,"context_line":"      p\u003d`echo $p | sed -e \u0027s/\"//g\u0027`"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9a679ddd_d1a314c9","line":22,"range":{"start_line":22,"start_character":14,"end_line":22,"end_character":84},"in_reply_to":"2024ce5c_547dcef8","updated":"2021-10-08 17:34:48.000000000","message":"Great idea. Thx :)","commit_id":"e64ca4b08997e1c10c9d2ba0e4cebc947c8eae32"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"35ae0281cb3cc2333c3f2fbb0f87eea41b79728f","unresolved":true,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: Cleanup neutron trunk subports"},{"line_number":21,"context_line":"  shell: |"},{"line_number":22,"context_line":"    for p in `ovs-vsctl show | egrep \u0027spi-|spt-\u0027 | grep Interface | awk \u0027{print $2}\u0027`"},{"line_number":23,"context_line":"    do"},{"line_number":24,"context_line":"      # p will be having quotes. Eg. \"spi-xxxx\". So strip the quotes"},{"line_number":25,"context_line":"      p\u003d`echo $p | sed -e \u0027s/\"//g\u0027`"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"2024ce5c_547dcef8","line":22,"range":{"start_line":22,"start_character":14,"end_line":22,"end_character":84},"in_reply_to":"f5dfe731_ff87d45c","updated":"2021-10-08 15:10:46.000000000","message":"Or even better\n\n ovs-vsctl list interface | awk \u0027/name[ ]*: sp[it]-/ { print $3 }\u0027 | xargs -n1 ovs-vsctl del-port\n\nand the for loop will not be needed at all","commit_id":"e64ca4b08997e1c10c9d2ba0e4cebc947c8eae32"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"cc5eb2ccf8a797a371cdfb876862212ac04e6b3f","unresolved":true,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"- name: Cleanup neutron trunk subports"},{"line_number":15,"context_line":"  shell: |"},{"line_number":16,"context_line":"    ovs-vsctl list interface | awk \u0027/name[ ]*: sp[it]-/ { print $3 }\u0027 | xargs -n1 ovs-vsctl del-port"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"- name: Clean neutron datapath security groups from iptables"},{"line_number":19,"context_line":"  shell: |"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"6dea62a0_d13c00d8","line":16,"range":{"start_line":16,"start_character":50,"end_line":16,"end_character":52},"updated":"2021-10-18 10:55:46.000000000","message":"why is that for?","commit_id":"bf6831e0d2ad33ff751f06d568abe6cedff4d717"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"718281850ec36ebe4be7a8381bc973fde08c6431","unresolved":true,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"- name: Cleanup neutron trunk subports"},{"line_number":15,"context_line":"  shell: |"},{"line_number":16,"context_line":"    ovs-vsctl list interface | awk \u0027/name[ ]*: sp[it]-/ { print $3 }\u0027 | xargs -n1 ovs-vsctl del-port"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"- name: Clean neutron datapath security groups from iptables"},{"line_number":19,"context_line":"  shell: |"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"82f92b47_2d2f5eb2","line":16,"range":{"start_line":16,"start_character":50,"end_line":16,"end_character":52},"in_reply_to":"2e262dad_dcd6b2ea","updated":"2021-10-18 11:58:31.000000000","message":"to make sure that all spi-XXX and spt-XXX ports are cleaned.","commit_id":"bf6831e0d2ad33ff751f06d568abe6cedff4d717"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"c17329256149df79badbd5152890560bc29c8d64","unresolved":true,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"- name: Cleanup neutron trunk subports"},{"line_number":15,"context_line":"  shell: |"},{"line_number":16,"context_line":"    ovs-vsctl list interface | awk \u0027/name[ ]*: sp[it]-/ { print $3 }\u0027 | xargs -n1 ovs-vsctl del-port"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"- name: Clean neutron datapath security groups from iptables"},{"line_number":19,"context_line":"  shell: |"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"2e262dad_dcd6b2ea","line":16,"range":{"start_line":16,"start_character":50,"end_line":16,"end_character":52},"in_reply_to":"6dea62a0_d13c00d8","updated":"2021-10-18 10:56:15.000000000","message":"what*","commit_id":"bf6831e0d2ad33ff751f06d568abe6cedff4d717"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"e335d37184bd80e7aa0b97cdbc91d16e7fde830c","unresolved":true,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"- name: Cleanup neutron trunk subports"},{"line_number":15,"context_line":"  shell: |"},{"line_number":16,"context_line":"    ovs-vsctl list interface | awk \u0027/name[ ]*: sp[it]-/ { print $3 }\u0027 | xargs -n1 ovs-vsctl del-port"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"- name: Clean neutron datapath security groups from iptables"},{"line_number":19,"context_line":"  shell: |"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"29fe15dc_133b3b9c","line":16,"range":{"start_line":16,"start_character":50,"end_line":16,"end_character":52},"in_reply_to":"82f92b47_2d2f5eb2","updated":"2021-10-25 12:27:41.000000000","message":"Ahhh yes, you are right. We have \"spi\" and \"spt\", I forgot about that.","commit_id":"bf6831e0d2ad33ff751f06d568abe6cedff4d717"}]}
