)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"7b118d0378166d0023d0864560a4ffbeee5353b8","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add a get_resources() method to the pollsters"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is a first step towards improving the central agent so that we can run"},{"line_number":10,"context_line":"multiple ones at once while keeping the same behaviour."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ia9d3d3c4f667671d55ac31ad38a180a069b65140"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"AAAATn%2F%2Fsg4%3D","line":10,"updated":"2013-10-30 10:27:25.000000000","message":"Can you add more information, and maybe a blueprint related to this commit?","commit_id":"953b23c1cc9b40b16382de935af43fd6ad171fc0"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"f938e7a1ed634101a429196cb725e8e96c3867cd","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add a get_resources() method to the pollsters"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is a first step towards improving the central agent so that we can run"},{"line_number":10,"context_line":"multiple ones at once while keeping the same behaviour."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ia9d3d3c4f667671d55ac31ad38a180a069b65140"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"AAAATn%2F%2FsDY%3D","line":10,"in_reply_to":"AAAATn%2F%2Fseg%3D","updated":"2013-10-30 12:26:47.000000000","message":"Oh I don\u0027t mean to necessarily write an entire blueprint, but maybe that could fit one that already exist?","commit_id":"953b23c1cc9b40b16382de935af43fd6ad171fc0"},{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"adec8ac754a6aee3516ea414efb9d84070c7179e","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add a get_resources() method to the pollsters"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is a first step towards improving the central agent so that we can run"},{"line_number":10,"context_line":"multiple ones at once while keeping the same behaviour."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ia9d3d3c4f667671d55ac31ad38a180a069b65140"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"AAAATn%2F%2Fseg%3D","line":10,"in_reply_to":"AAAATn%2F%2Fsg4%3D","updated":"2013-10-30 10:34:07.000000000","message":"OK, I\u0027ll write the blueprint.","commit_id":"953b23c1cc9b40b16382de935af43fd6ad171fc0"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"523b9a830a1d457f23e1831a6bd7d7652633a83e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"multiple ones at once while keeping the same behaviour."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This is a first step towards implementing"},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ceilometer/+spec/task-distribution-for-central-agents."},{"line_number":14,"context_line":"Then, we\u0027ll need to add an \u0027id\u0027 parameter to the pollsters\u0027 get_samples()"},{"line_number":15,"context_line":"methods, which will allow us to distribute polling tasks to a central agent."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"AAAATn%2F%2BfXY%3D","line":13,"updated":"2013-11-25 15:11:24.000000000","message":"Good syntax is to have:\n\nBlueprint: task-distribution-for-central-agents\n\none one line usually :)","commit_id":"8133e60d0a8a7120ab1788e639df93283b4e8641"}],"ceilometer/compute/plugin.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"7b118d0378166d0023d0864560a4ffbeee5353b8","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    \"\"\"Base class for plugins that support the polling API on the compute node."},{"line_number":30,"context_line":"    \"\"\""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    def get_resources(self, manager):"},{"line_number":33,"context_line":"        for instance in manager.inspector.inspect_instances():"},{"line_number":34,"context_line":"            yield instance.UUID"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2Fsho%3D","line":32,"updated":"2013-10-30 10:27:25.000000000","message":"@staticmethod","commit_id":"953b23c1cc9b40b16382de935af43fd6ad171fc0"}],"tests/compute/pollsters/test_net.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"7b118d0378166d0023d0864560a4ffbeee5353b8","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        self.inspector.inspect_instances().AndReturn(fake_instances)"},{"line_number":101,"context_line":"        self.inspector.inspect_vnics(\u0027fake_name\u0027).AndReturn(self.vnics)"},{"line_number":102,"context_line":"        self.mox.ReplayAll()"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        mgr \u003d manager.AgentManager()"},{"line_number":105,"context_line":"        pollster \u003d net.IncomingBytesPollster()"},{"line_number":106,"context_line":"        vnic_ids \u003d list(pollster.get_resources(mgr))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2FshA%3D","line":103,"updated":"2013-10-30 10:27:25.000000000","message":"Would you be kind enough to write this test not using mox?\nWe are deprecating it.","commit_id":"953b23c1cc9b40b16382de935af43fd6ad171fc0"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"f938e7a1ed634101a429196cb725e8e96c3867cd","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        self.inspector.inspect_instances().AndReturn(fake_instances)"},{"line_number":101,"context_line":"        self.inspector.inspect_vnics(\u0027fake_name\u0027).AndReturn(self.vnics)"},{"line_number":102,"context_line":"        self.mox.ReplayAll()"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        mgr \u003d manager.AgentManager()"},{"line_number":105,"context_line":"        pollster \u003d net.IncomingBytesPollster()"},{"line_number":106,"context_line":"        vnic_ids \u003d list(pollster.get_resources(mgr))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2FsDQ%3D","line":103,"in_reply_to":"AAAATn%2F%2Fses%3D","updated":"2013-10-30 12:26:47.000000000","message":"It\u0027s ok to mix mox and mock, we don\u0027t mind.","commit_id":"953b23c1cc9b40b16382de935af43fd6ad171fc0"},{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"adec8ac754a6aee3516ea414efb9d84070c7179e","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        self.inspector.inspect_instances().AndReturn(fake_instances)"},{"line_number":101,"context_line":"        self.inspector.inspect_vnics(\u0027fake_name\u0027).AndReturn(self.vnics)"},{"line_number":102,"context_line":"        self.mox.ReplayAll()"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"        mgr \u003d manager.AgentManager()"},{"line_number":105,"context_line":"        pollster \u003d net.IncomingBytesPollster()"},{"line_number":106,"context_line":"        vnic_ids \u003d list(pollster.get_resources(mgr))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2Fses%3D","line":103,"in_reply_to":"AAAATn%2F%2FshA%3D","updated":"2013-10-30 10:34:07.000000000","message":"Would it be ok to mix mox and mock inside the same file ? Or maybe we should first move to mock for this file, then add the test for get_resources(). What do you think is best ?","commit_id":"953b23c1cc9b40b16382de935af43fd6ad171fc0"}]}
