...
Table of Contents maxLevel 3
Improvements
VM/CPU advanced configuration: cores_per_socket. (#1691)
Endpoints
- /v2/vm (POST)
- /v2/vm/<id>/cpu (PUT)
- /v2/vm/<id>/spec (GET)
Description
Allows the user to set advanced configuration for CPUs by setting cores_per_socket in the virtual machine creation payload.
...
Code Block |
---|
curl -X POST https://vss-api.eis.utoronto.ca/v2/vm/vm-1234 -H "Authorization: Bearer $TK" -d '{"value": {"count": 4, "cores_per_socket": 2}}' curl -X POST https://vss-api.eis.utoronto.ca/v2/vm/vm-1234 -H "Authorization: Bearer $TK" -d '{"value": 4}' |
VM/Clone and deploy to mark resulting vm as template. (#1692)
Endpoints
- /v2/vm (POST)
Description
The improvement allows to convert a resulting virtual machine into template by adding the template attribute in the new vm request payload:
Code Block | ||
---|---|---|
| ||
curl -X POST https://vss-api.eis.utoronto.ca/v2/vm -H "Authorization: Bearer $TK" -d '{"os": "centos7_64Guest", "built_from": "os_install", "client": "EIS", "cpu": {"count": 4, "cores_per_socket": 2}, "memory": 1, "usage": "Test", "description": "new release vm deployment, "folder": "group-v2658", "networks": [{"network": "dvportgroup-1111", "type": "vmxnet3"}], "disks": [{"capacity_gb": 20, "scsi": 0}, {"capacity_gb": 100, "scsi": 1}], "power_on": false, "template": true, "name": "vm-0231", "vss_service": 1}' |
Sync/VM add cores_per_socket
to local db object. (#1693)
Endpoints
- /v2/vm (GET)
Description
The cores_per_socket attribute is now available in the main virtual machine resource as follows:
Code Block | ||
---|---|---|
| ||
... "cores_per_socket": 1, "cpu_count": 1, ... |
Inventory/Add coresPerSocket
as new property. (#1694)
Endpoints
- /v2/inventory (POST)
- /inventory/options (GET)
Description
The coresPerSocket inventory property is now available to be included in the reports:
...