Difference between revisions of "Glance-v2-v1-functionality-changes"
Line 1: | Line 1: | ||
This page uses the following rating system. | This page uses the following rating system. | ||
− | |||
* 2 - The Good - Version 2 functionality that can be mapped onto v1 without problems. | * 2 - The Good - Version 2 functionality that can be mapped onto v1 without problems. | ||
* 1 - The Bad - Partial functionality in version 2 compared to version 1. | * 1 - The Bad - Partial functionality in version 2 compared to version 1. | ||
Line 9: | Line 8: | ||
! V1 Command !! Rating!! V2 Command !! Notes | ! V1 Command !! Rating!! V2 Command !! Notes | ||
|- | |- | ||
− | | --id <IMAGE_ID> || | + | | --id <IMAGE_ID> || 2 || --id <ID> || |
|- | |- | ||
− | | --name <NAME> || | + | | --name <NAME> || 2 || --name <NAME> || |
|- | |- | ||
− | | -- | + | | --disk-format <DISK_FORMAT> || 2 || --disk-format <DISK_FORMAT> || |
|- | |- | ||
− | | --disk | + | | --min-disk <DISK_GB> || 2 || --min-disk <MIN_DISK> || |
|- | |- | ||
− | | -- | + | | --min-ram <DISK_RAM> || 2 || --min-ram <MIN_RAM> || |
|- | |- | ||
− | | -- | + | | --progress || 2 || --progress || |
|- | |- | ||
− | | -- | + | | --container-format <CONTAINER_FORMAT> || 2 || --container-format <CONTAINER_FORMAT> || |
|- | |- | ||
− | | -- | + | | --file <FILE> || 2 || --file <FILE> || |
|- | |- | ||
− | | -- | + | | --is-public {True,False} || 1 || --visibility <VISIBILITY> || Slightly different call. |
|- | |- | ||
− | | -- | + | | --is-protected {True,False} || 1 || --protected True/False || Use the slightly different call. |
|- | |- | ||
− | | -- | + | | --property <key=value> || 1 || --property <key=value> || Some properties will have changed. |
|- | |- | ||
− | | -- | + | | --human-readable || 1 || || Only needs to be changed on the client side. |
|- | |- | ||
− | | -- | + | | --checksum <CHECKSUM> || 1 || || The checksum could be implemented in the client, and give the same sort of answer without sending anything to the server |
|- | |- | ||
− | | -- | + | | --store <STORE> || 0 || || |
|- | |- | ||
− | | -- | + | | --owner <TENANT_ID> || 0 || || |
|- | |- | ||
− | | -- | + | | --size <SIZE> || 0 || || |
|- | |- | ||
− | | -- | + | | --location <IMAGE_URL> || 0 || ||. |
|- | |- | ||
− | | -- | + | | --copy-from <IMAGE_URL> || 0 || || |
|- | |- | ||
− | | || || --instance-uuid <INSTANCE_UUID> || | + | | || 0 || --instance-uuid <INSTANCE_UUID> || |
|- | |- | ||
− | | || || --architecture <ARCHITECTURE> || | + | | || 0 || --architecture <ARCHITECTURE> || |
|- | |- | ||
− | | || || --kernel-id <KERNEL_ID> || | + | | || 0 || --kernel-id <KERNEL_ID> || |
|- | |- | ||
− | | || || --ramdisk-id <RAMDISK_ID> || | + | | || 0 || --ramdisk-id <RAMDISK_ID> || |
|- | |- | ||
− | | || || --tags <TAGS> [<TAGS> ...] || | + | | || 0 || --tags <TAGS> [<TAGS> ...] || |
|- | |- | ||
− | | || || --os-version <OS_VERSION> || | + | | || 0 || --os-version <OS_VERSION> || |
|- | |- | ||
− | | || || --os-distro <OS_DISTRO> || | + | | || 0 || --os-distro <OS_DISTRO> || |
|} | |} |
Revision as of 16:35, 15 September 2015
This page uses the following rating system.
- 2 - The Good - Version 2 functionality that can be mapped onto v1 without problems.
- 1 - The Bad - Partial functionality in version 2 compared to version 1.
- 0 - The Ugly - No functionality similarities between v1 and v2.
V1 Command | Rating | V2 Command | Notes |
---|---|---|---|
--id <IMAGE_ID> | 2 | --id <ID> | |
--name <NAME> | 2 | --name <NAME> | |
--disk-format <DISK_FORMAT> | 2 | --disk-format <DISK_FORMAT> | |
--min-disk <DISK_GB> | 2 | --min-disk <MIN_DISK> | |
--min-ram <DISK_RAM> | 2 | --min-ram <MIN_RAM> | |
--progress | 2 | --progress | |
--container-format <CONTAINER_FORMAT> | 2 | --container-format <CONTAINER_FORMAT> | |
--file <FILE> | 2 | --file <FILE> | |
--is-public {True,False} | 1 | --visibility <VISIBILITY> | Slightly different call. |
--is-protected {True,False} | 1 | --protected True/False | Use the slightly different call. |
--property <key=value> | 1 | --property <key=value> | Some properties will have changed. |
--human-readable | 1 | Only needs to be changed on the client side. | |
--checksum <CHECKSUM> | 1 | The checksum could be implemented in the client, and give the same sort of answer without sending anything to the server | |
--store <STORE> | 0 | ||
--owner <TENANT_ID> | 0 | ||
--size <SIZE> | 0 | ||
--location <IMAGE_URL> | 0 | . | |
--copy-from <IMAGE_URL> | 0 | ||
0 | --instance-uuid <INSTANCE_UUID> | ||
0 | --architecture <ARCHITECTURE> | ||
0 | --kernel-id <KERNEL_ID> | ||
0 | --ramdisk-id <RAMDISK_ID> | ||
0 | --tags <TAGS> [<TAGS> ...] | ||
0 | --os-version <OS_VERSION> | ||
0 | --os-distro <OS_DISTRO> |