)]}'
{"neutron/agent/linux/l3_tc_lib.py":[{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"e5b1f344f56015a5f310bc9a30bdaefbd1f05677","unresolved":false,"context_lines":[{"line_number":26,"context_line":"FILTER_ID_REGEX \u003d re.compile(r\"filter protocol ip u32 fh (\\w+::\\w+) *\")"},{"line_number":27,"context_line":"# NOTE(slaweq): in iproute 4.15 chain value was added to filter output and this"},{"line_number":28,"context_line":"# needs to be included in REGEX"},{"line_number":29,"context_line":"FILTER_ID_WITH_CHAIN_INDEX_REGEX \u003d re.compile("},{"line_number":30,"context_line":"    r\"filter protocol ip u32 chain \\d+ fh (\\w+::\\w+) *\")"},{"line_number":31,"context_line":"FILTER_STATS_REGEX \u003d re.compile(r\"Sent (\\w+) bytes (\\w+) pkts *\")"},{"line_number":32,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"bfdaf3ff_6209c22a","line":29,"range":{"start_line":29,"start_character":0,"end_line":29,"end_character":32},"updated":"2019-01-15 04:22:29.000000000","message":"you can continue to do this with one regex by replacing \"fh\" in the first with \"(fh|chain \\d+ fh)\", and then adjusting the code below to skip the first() match index.","commit_id":"8ff031efa9924e16b2fc5448680bc8853992cef8"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"3e299e9fea3fc70232e2fc0e79438fb42cec3030","unresolved":false,"context_lines":[{"line_number":26,"context_line":"FILTER_ID_REGEX \u003d re.compile(r\"filter protocol ip u32 fh (\\w+::\\w+) *\")"},{"line_number":27,"context_line":"# NOTE(slaweq): in iproute 4.15 chain value was added to filter output and this"},{"line_number":28,"context_line":"# needs to be included in REGEX"},{"line_number":29,"context_line":"FILTER_ID_WITH_CHAIN_INDEX_REGEX \u003d re.compile("},{"line_number":30,"context_line":"    r\"filter protocol ip u32 chain \\d+ fh (\\w+::\\w+) *\")"},{"line_number":31,"context_line":"FILTER_STATS_REGEX \u003d re.compile(r\"Sent (\\w+) bytes (\\w+) pkts *\")"},{"line_number":32,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"bfdaf3ff_a884685f","line":29,"range":{"start_line":29,"start_character":0,"end_line":29,"end_character":32},"in_reply_to":"bfdaf3ff_6209c22a","updated":"2019-01-15 10:52:20.000000000","message":"I was never good in regex :/\nThat is very good idea. Thx a lot :)","commit_id":"8ff031efa9924e16b2fc5448680bc8853992cef8"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"f14e205171b3c4dd25130b8de2aa416bdb7c6701","unresolved":false,"context_lines":[{"line_number":74,"context_line":"        filter_lines \u003d filters_output.split(\u0027\\n\u0027)"},{"line_number":75,"context_line":"        for line in filter_lines:"},{"line_number":76,"context_line":"            line \u003d line.strip()"},{"line_number":77,"context_line":"            m \u003d FILTER_ID_REGEX.match(line)"},{"line_number":78,"context_line":"            if not m:"},{"line_number":79,"context_line":"                m \u003d FILTER_ID_WITH_CHAIN_INDEX_REGEX.match(line)"},{"line_number":80,"context_line":"            if m:"},{"line_number":81,"context_line":"                filter_id \u003d m.group(1)"},{"line_number":82,"context_line":"                # It matched, so ip/32 is not here. continue"}],"source_content_type":"text/x-python","patch_set":1,"id":"bfdaf3ff_48570704","line":79,"range":{"start_line":77,"start_character":16,"end_line":79,"end_character":64},"updated":"2019-01-14 21:46:35.000000000","message":"may be use \"or\" to simplify ?\nm \u003d FILTER_ID_REGEX.match(line) or \\\n     FILTER_ID_WITH_CHAIN_INDEX_REGEX.match(line)","commit_id":"8ff031efa9924e16b2fc5448680bc8853992cef8"},{"author":{"_account_id":25618,"name":"Paweł Suder","email":"pawel@suder.info","username":"SuderPawel"},"change_message_id":"639c1b0bbcef57353be7160569164a89d11227aa","unresolved":false,"context_lines":[{"line_number":25,"context_line":"QDISC_OUT_REGEX \u003d re.compile(r\"qdisc htb (\\w+:) *\")"},{"line_number":26,"context_line":"# NOTE(slaweq): in iproute 4.15 chain value was added to filter output and this"},{"line_number":27,"context_line":"# needs to be included in REGEX"},{"line_number":28,"context_line":"FILTER_ID_REGEX \u003d re.compile("},{"line_number":29,"context_line":"    r\"filter protocol ip u32 (fh|chain \\d+ fh) (\\w+::\\w+) *\")"},{"line_number":30,"context_line":"FILTER_STATS_REGEX \u003d re.compile(r\"Sent (\\w+) bytes (\\w+) pkts *\")"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"bfdaf3ff_e0d33937","line":28,"range":{"start_line":28,"start_character":0,"end_line":28,"end_character":15},"updated":"2019-01-17 07:09:58.000000000","message":"I checked if that is tested and it seems to be no test directly related to this string.","commit_id":"2e67e4b7ca580641bc3f5ec70aa9857131d83ad7"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"5b44aee632fe0ee8f5c44f43b9b82cec86788d18","unresolved":false,"context_lines":[{"line_number":26,"context_line":"# NOTE(slaweq): in iproute 4.15 chain value was added to filter output and this"},{"line_number":27,"context_line":"# needs to be included in REGEX"},{"line_number":28,"context_line":"FILTER_ID_REGEX \u003d re.compile("},{"line_number":29,"context_line":"    r\"filter protocol ip u32 (fh|chain \\d+ fh) (\\w+::\\w+) *\")"},{"line_number":30,"context_line":"FILTER_STATS_REGEX \u003d re.compile(r\"Sent (\\w+) bytes (\\w+) pkts *\")"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_40e62519","line":29,"range":{"start_line":29,"start_character":29,"end_line":29,"end_character":46},"updated":"2019-01-21 15:25:08.000000000","message":"We could also have used non-capturing parentheses \"(?:xxx)\" to skip modifying the indexes, but updating indexes works too","commit_id":"e788d294584add2407f601a46f90b08082cccc5f"}],"neutron/tests/unit/agent/linux/test_l3_tc_lib.py":[{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"19bfe69933c55d90b4bc51a2516608aa44914faf","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"TC_INGRESS_FILTERS_BASE \u003d ("},{"line_number":29,"context_line":"    \u0027filter protocol ip u32 \\n\u0027"},{"line_number":30,"context_line":"    \u0027filter protocol ip u32 %(chain_value)sfh 800: ht divisor 1 \\n\u0027"},{"line_number":31,"context_line":"    \u0027filter protocol ip u32 %(chain_value)sfh %(filter_id1)s order 2048 key \u0027"},{"line_number":32,"context_line":"    \u0027ht 800 bkt 0 \u0027"},{"line_number":33,"context_line":"    \u0027flowid :1  (rule hit 0 success 0)\\n\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_bdfce23e","line":30,"range":{"start_line":30,"start_character":41,"end_line":30,"end_character":45},"updated":"2019-01-21 02:00:10.000000000","message":"nit: people may forget the blank space.","commit_id":"e788d294584add2407f601a46f90b08082cccc5f"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"19bfe69933c55d90b4bc51a2516608aa44914faf","unresolved":false,"context_lines":[{"line_number":85,"context_line":"    \u0027ref 1 bind 1\\n\u0027"},{"line_number":86,"context_line":"    \u0027\\n\u0027"},{"line_number":87,"context_line":"    \u0027 Sent 111 bytes 222 pkts (dropped 0, overlimits 0)\\n\u0027) % {"},{"line_number":88,"context_line":"        \"chain_value\": \"chain 1 \","},{"line_number":89,"context_line":"        \"filter_id2\": FILETER_ID_2,"},{"line_number":90,"context_line":"        \"fip2\": FLOATING_IP_2}"},{"line_number":91,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_9d99de20","line":88,"range":{"start_line":88,"start_character":31,"end_line":88,"end_character":32},"updated":"2019-01-21 02:00:10.000000000","message":"ditto","commit_id":"e788d294584add2407f601a46f90b08082cccc5f"}]}
