Update disk size via API?
-
I've been automating my infrastructure, and I've noticed that disk extending has become a repetitive action:
- power off vm - extend disk - power on vm - extend disk - extend lvmThe last 2 steps seem easy to implement with ansible, though the first 3 ones seem rather impossible without the API.
Any status updates on the API?
-
What do you mean? You can already do this via the API

-
Can you link the docs please?
This is what I was looking at initially:
https://xen-orchestra.com/docs/restapi.html#collections-request -
You can with the JSON-RPC API. The REST API is still very young, and we only started to modify objects during January release.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login