)]}'
{"nova/network/linux_net.py":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"b5e3de479c3b6abe6dffd3b2457d0dd44ba00c52","unresolved":false,"context_lines":[{"line_number":616,"context_line":""},{"line_number":617,"context_line":""},{"line_number":618,"context_line":"def metadata_accept():"},{"line_number":619,"context_line":"    \"\"\"Create the filter accept rule for metadata.\"\"\""},{"line_number":620,"context_line":"    if CONF.metadata_host !\u003d \u0027127.0.0.1\u0027:"},{"line_number":621,"context_line":"        iptables_manager.ipv4[\u0027filter\u0027].add_rule(\u0027INPUT\u0027,"},{"line_number":622,"context_line":"                                                 \u0027-s 0.0.0.0/0 -d %s \u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAQn%2F%2F6KU%3D","line":619,"updated":"2013-07-19 12:10:36.000000000","message":"The fix is good, but it seems like we could compact it a little:\n\nhost_filter \u003d \u0027-d %s\u0027 % CONF.metadata_host\nif CONF.metadata_host \u003d\u003d \u0027127.0.0.1\u0027:\n    host_filter \u003d \u0027-m addrtype --dst-type LOCAL\u0027\n\n(or equiv)\n\nThen only have on add_rule coll. which just makes it less code duplication for finding bugs later.","commit_id":"becbf6a51765d5b4331f5cd0c76c622542538d3e"}]}
