Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We are pleased to announce we released the ITS Cloud API v3.913.1 with the following improvements and bug fixes:

Table of Contents
maxLevel3

Improvements

VM/SCSI support sharing mode (create, update) (#1431) 

Endpoints

  • /v2/vm/<vm-id>/controller/scsi (POST)
  • /v2/vm/<vm-id>/controller/scsi/<bus>/sharing (PUT)
  • /v2/vss/vm-disk-scsi-controller-sharing (GET)

Description

SCSI controllers now support advanced settings such as sharing for both new controllers and existing controllers. SCSI controllers can be created using the following payloads:

...

Note

This is NOT a breaking change. Current method to create SCSI controllers with a list of SCSI types is still supported. The API will transform the list of valid capacities into objects.

VM/Disk support backing_mode in disk payload (create and update disk) (#1432) 

VM/Disk support backing_sharing in disk payload (create and update disk) (#1433)

Endpoints

  • /v2/vm/<vm-id>/disk (POST)
  • /v2/vm/<vm-id>/spec (GET)
  • /v2/vm (POST)

Description

Before this version, disks were created by providing an array or list of numbers which defined the new disk capacity, however in some cases there might be the need of creating a disk with a different backing mode such as independent_persistent or which are excluded from snapshots and make the revert or removal faster. 

...

Code Block
languagepy
title/vss/vm-disk-sharing
collapsetrue
{
	"_links": {
	"self": "https://vss-api-dev.eis.utoronto.ca/v2/vss/vm-disk-mode",
	"vss": "https://vss-api-dev.eis.utoronto.ca/v2/vss"
	},
	"data": [
		{
		"description": "The virtual disk is shared between multiple virtual machines.",
		"type": "sharingmultiwriter"
	},
	{
		"description": "The virtual disk is not shared.",
		"type": "sharingnone"
	}
	],
	"meta": {
	"count": 2,
	"time": "0.00171s",
	"user": "josem"
	}
}


VM/Add last_powered_on, last_powered_off, last_shutdown_on and decommissioned_on attributes  (#1437)

Endpoints

  • /v2/vm

Description

Virtual Machine summary provides last_powered_on, last_powered_off, last_shutdown which are updated based on VSS API tasks or vSphere events.

Bug Fixes

VM/Remove VSS option from vm causes ValueError: list.remove(x): x not in list (#1434)

Endpoints

  • /vm/<vm-id>/vss/option/<option> (DELETE)

VM/Performance throws IndexError: list index out of range when performance manager not providing metrics (#1435)

Endpoints

  • /vm/<vm-id>/performance (GET)

VM/Release IP issues when decommissioning a VM (#1435)

Endpoints

  • /vm/<vm-id> (DELETE)