)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"fd90b51b8661d1041df8cbac437f06b63f258b9a","unresolved":false,"context_lines":[{"line_number":10,"context_line":"the proxy process is up. It will now also check that the NAT"},{"line_number":11,"context_line":"and filter rules were added via the iptables manager."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This is to allow us to move the metadata management out of the"},{"line_number":14,"context_line":"L3 agent and into its own L3 agent driver."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: Iaa9b475a4294db96a9645829d362e090b61ed3a2"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a961159_df274810","line":13,"updated":"2014-12-23 21:20:53.000000000","message":"(No action required) Does that imply that the tests added here are going to be separated too?","commit_id":"24a703c386764e0b478d6113fb51316ddf3c089f"}],"neutron/agent/linux/iptables_manager.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"852451041f2986130a7b4312aa2e50595ad9764c","unresolved":false,"context_lines":[{"line_number":364,"context_line":"            requested_table \u003d {4: self.ipv4, 6: self.ipv6}[ip_version][table]"},{"line_number":365,"context_line":"        except KeyError:"},{"line_number":366,"context_line":"            return []"},{"line_number":367,"context_line":"        return requested_table._get_chain_rules(chain, wrap)"},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"    def is_chain_empty(self, table, chain, ip_version\u003d4, wrap\u003dTrue):"},{"line_number":370,"context_line":"        return not self.get_chain(table, chain, ip_version, wrap)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_6124de60","line":367,"updated":"2014-11-26 17:19:45.000000000","message":"Now that we use the method from outside its class, should we rename it into e.g. get_chain_rules?","commit_id":"24a703c386764e0b478d6113fb51316ddf3c089f"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"fd90b51b8661d1041df8cbac437f06b63f258b9a","unresolved":false,"context_lines":[{"line_number":364,"context_line":"            requested_table \u003d {4: self.ipv4, 6: self.ipv6}[ip_version][table]"},{"line_number":365,"context_line":"        except KeyError:"},{"line_number":366,"context_line":"            return []"},{"line_number":367,"context_line":"        return requested_table._get_chain_rules(chain, wrap)"},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"    def is_chain_empty(self, table, chain, ip_version\u003d4, wrap\u003dTrue):"},{"line_number":370,"context_line":"        return not self.get_chain(table, chain, ip_version, wrap)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_7f09f493","line":367,"in_reply_to":"3a961159_0f29b736","updated":"2014-12-23 21:20:53.000000000","message":"+1\n\nI was thinking that it was a grey area given that the classes are in the same module, but that presumes that the classes won\u0027t ever move around.","commit_id":"24a703c386764e0b478d6113fb51316ddf3c089f"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"577d95d29f9e4c82cf200419f6c5cbff550387cc","unresolved":false,"context_lines":[{"line_number":364,"context_line":"            requested_table \u003d {4: self.ipv4, 6: self.ipv6}[ip_version][table]"},{"line_number":365,"context_line":"        except KeyError:"},{"line_number":366,"context_line":"            return []"},{"line_number":367,"context_line":"        return requested_table._get_chain_rules(chain, wrap)"},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"    def is_chain_empty(self, table, chain, ip_version\u003d4, wrap\u003dTrue):"},{"line_number":370,"context_line":"        return not self.get_chain(table, chain, ip_version, wrap)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_0f29b736","line":367,"in_reply_to":"5a890539_6124de60","updated":"2014-12-12 21:07:04.000000000","message":"+1","commit_id":"24a703c386764e0b478d6113fb51316ddf3c089f"}],"neutron/tests/functional/agent/test_l3_agent.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e8c21b4995a137f31cc63c7eb8861e0357bab273","unresolved":false,"context_lines":[{"line_number":316,"context_line":"        return result"},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"    def _assert_metadata_chains(self, router):"},{"line_number":319,"context_line":"        metadata_port_filter \u003d lambda rule: rule.rule.find("},{"line_number":320,"context_line":"            str(self.agent.conf.metadata_port)) !\u003d -1"},{"line_number":321,"context_line":"        self.assertTrue(self._get_rule(router.iptables_manager,"},{"line_number":322,"context_line":"                                       \u0027nat\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a890539_3029468a","line":319,"updated":"2014-11-26 16:01:47.000000000","message":"The following seems clearer:\n\n  lambda rule: str(self.agent.conf.metadata_port) in rule.rule","commit_id":"805cb50895585b22a4770624fca05390deaf5cfe"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"60e83bc41eac73a145a320ff220e60e3bd6064ad","unresolved":false,"context_lines":[{"line_number":316,"context_line":"        return result"},{"line_number":317,"context_line":""},{"line_number":318,"context_line":"    def _assert_metadata_chains(self, router):"},{"line_number":319,"context_line":"        metadata_port_filter \u003d lambda rule: rule.rule.find("},{"line_number":320,"context_line":"            str(self.agent.conf.metadata_port)) !\u003d -1"},{"line_number":321,"context_line":"        self.assertTrue(self._get_rule(router.iptables_manager,"},{"line_number":322,"context_line":"                                       \u0027nat\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a890539_50a9728f","line":319,"in_reply_to":"5a890539_3029468a","updated":"2014-11-26 16:08:29.000000000","message":"Done","commit_id":"805cb50895585b22a4770624fca05390deaf5cfe"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"fd90b51b8661d1041df8cbac437f06b63f258b9a","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        self.assertFalse(router.iptables_manager.is_chain_empty("},{"line_number":311,"context_line":"            \u0027nat\u0027, \u0027float-snat\u0027))"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"    def _get_rule(self, iptables_manager, table, chain, predicate):"},{"line_number":314,"context_line":"        rules \u003d iptables_manager.get_chain(table, chain)"},{"line_number":315,"context_line":"        result \u003d next(rule for rule in rules if predicate(rule))"},{"line_number":316,"context_line":"        return result"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_bfe8bcb3","line":313,"updated":"2014-12-23 21:20:53.000000000","message":"YAGNI I don\u0027t see a good reason to pass the predicate here given that this method is currently single-purpose.  Consider refactoring accordingly.","commit_id":"24a703c386764e0b478d6113fb51316ddf3c089f"}]}
