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 lvm
The 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.