)]}'
{"rally/plugins/openstack/context/nova/keypairs.py":[{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"6884b4072d771b463988e2212cd81294a4d51b21","unresolved":false,"context_lines":[{"line_number":26,"context_line":"@context.configure(name\u003d\"keypair\", order\u003d310)"},{"line_number":27,"context_line":"class Keypair(context.Context):"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    def _generate_keypair(self, credential, public_key\u003dNone):"},{"line_number":30,"context_line":"        nova_client \u003d osclients.Clients(credential).nova()"},{"line_number":31,"context_line":"        # NOTE(hughsaunders): If keypair exists, it should re-generate name."},{"line_number":32,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_20ccf134","line":29,"range":{"start_line":29,"start_character":43,"end_line":29,"end_character":59},"updated":"2016-11-23 12:59:16.000000000","message":"we need to transmit here public_key. In this case, keypair context should accept it. You need to extend Keypair class with config schema(like https://github.com/openstack/rally/blob/master/rally/plugins/openstack/context/nova/servers.py#L36-L74) with one parameter(non required) - public_key","commit_id":"8239330b68fcbdc3756ead4bba827bc73196c5a4"},{"author":{"_account_id":23435,"name":"zhangzhihui","email":"zhangzh.fnst@cn.fujitsu.com","username":"zhangzhang"},"change_message_id":"a481e53b40d368a96da19b5baf621e7355e9fb7c","unresolved":false,"context_lines":[{"line_number":26,"context_line":"@context.configure(name\u003d\"keypair\", order\u003d310)"},{"line_number":27,"context_line":"class Keypair(context.Context):"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    def _generate_keypair(self, credential, public_key\u003dNone):"},{"line_number":30,"context_line":"        nova_client \u003d osclients.Clients(credential).nova()"},{"line_number":31,"context_line":"        # NOTE(hughsaunders): If keypair exists, it should re-generate name."},{"line_number":32,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a74a57a_0cd46745","line":29,"range":{"start_line":29,"start_character":43,"end_line":29,"end_character":59},"in_reply_to":"5a74a57a_20ccf134","updated":"2016-11-24 06:12:53.000000000","message":"Thank you for your suggestion, but I am planning to do it in another patch.","commit_id":"8239330b68fcbdc3756ead4bba827bc73196c5a4"}]}
