'Replaces all tags on specified server with the new set of tags.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#replace-tags
:param tags: List of tags to replace current server tags with.'

def update_all_tags(self, server_id, tags):

    url = ('servers/%s/tags' % server_id)
    put_body = {'tags': tags}
    (resp, body) = self.put(url, json.dumps(put_body))
    body = json.loads(body)
    schema = self.get_schema(self.schema_versions_info)
    self.validate_response(schema.update_all_tags, resp, body)
    return rest_client.ResponseBody(resp, body)
