'Update server.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#update-server
Most parameters except the following are passed to the API without
any changes.
:param disk_config: The name is changed to OS-DCF:diskConfig'

def update_server(self, server_id, **kwargs):

    if ('disk_config' in kwargs):
        kwargs['OS-DCF:diskConfig'] = kwargs.pop('disk_config')
    post_body = json.dumps({'server': kwargs})
    (resp, body) = self.put(('servers/%s' % server_id), post_body)
    body = json.loads(body)
    schema = self.get_schema(self.schema_versions_info)
    self.validate_response(schema.update_server, resp, body)
    return rest_client.ResponseBody(resp, body)
