)]}'
{"openstackclient/volume/v1/type.py":[{"author":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"change_message_id":"aeb7bb80c0676bddc4881b08f02be9f4451d7daf","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    def take_action(self, parsed_args):"},{"line_number":51,"context_line":"        self.log.debug(\u0027take_action(%s)\u0027 % parsed_args)"},{"line_number":52,"context_line":"        volume_client \u003d self.app.client_manager.volume"},{"line_number":53,"context_line":"        volume_type \u003d volume_client.volume_types.create(parsed_args.name)"},{"line_number":54,"context_line":"        volume_type._info.pop(\u0027extra_specs\u0027)"},{"line_number":55,"context_line":"        if parsed_args.property:"},{"line_number":56,"context_line":"            result \u003d volume_type.set_keys(parsed_args.property)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9ad9bd40_3b4d123f","line":53,"updated":"2014-05-05 20:25:59.000000000","message":"Create does not take extra_specs:\n\nhttps://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/volume_types.py#L95","commit_id":"37231b5801162c9fcbd2a704a6660021dda6327d"},{"author":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"change_message_id":"aeb7bb80c0676bddc4881b08f02be9f4451d7daf","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        volume_type \u003d volume_client.volume_types.create(parsed_args.name)"},{"line_number":54,"context_line":"        volume_type._info.pop(\u0027extra_specs\u0027)"},{"line_number":55,"context_line":"        if parsed_args.property:"},{"line_number":56,"context_line":"            result \u003d volume_type.set_keys(parsed_args.property)"},{"line_number":57,"context_line":"            volume_type._info.update({\u0027properties\u0027: utils.format_dict(result)})"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        info \u003d {}"}],"source_content_type":"text/x-python","patch_set":3,"id":"9ad9bd40_db6506b6","line":56,"updated":"2014-05-05 20:25:59.000000000","message":"The set_keys method returns the properties:\n\nhttps://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/volume_types.py#L44","commit_id":"37231b5801162c9fcbd2a704a6660021dda6327d"},{"author":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"change_message_id":"df722b3d6a90dfec847559262ab815f5a89381cf","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        if parsed_args.property:"},{"line_number":56,"context_line":"            result \u003d volume_type.set_keys(parsed_args.property)"},{"line_number":57,"context_line":"            volume_type._info.update({\u0027properties\u0027: utils.format_dict(result)})"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        info \u003d {}"},{"line_number":60,"context_line":"        info.update(volume_type._info)"},{"line_number":61,"context_line":"        return zip(*sorted(six.iteritems(info)))"}],"source_content_type":"text/x-python","patch_set":3,"id":"9ad9bd40_1b804e45","line":58,"updated":"2014-05-05 20:23:07.000000000","message":"Output looks like:\n\n    (.venv)terry@brat:~/hp/scratch$ os volume type create --property volume_backend_name\u003d\"amphibian\" newt\n    +------------+--------------------------------------+\n    | Field      | Value                                |\n    +------------+--------------------------------------+\n    | id         | e1bde75b-10a8-4723-96e5-2f9c5bf3b53e |\n    | name       | newt                                 |\n    | properties | volume_backend_name\u003d\u0027amphibian\u0027      |\n    +------------+--------------------------------------+\n    (.venv)terry@brat:~/hp/scratch$","commit_id":"37231b5801162c9fcbd2a704a6660021dda6327d"}]}
