Jump to: navigation, search

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.
* 3 - Same Command.
 
 
* 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> || 3 || --id <ID> ||
+
| --id <IMAGE_ID> || 2 || --id <ID> ||
 
|-
 
|-
| --name <NAME> || 3 || --name <NAME> ||
+
| --name <NAME> || 2 || --name <NAME> ||
 
|-
 
|-
| --store <STORE> || || ||
+
| --disk-format <DISK_FORMAT> || 2 || --disk-format <DISK_FORMAT> ||
 
|-
 
|-
| --disk-format <DISK_FORMAT> || 3 || --disk-format <DISK_FORMAT> ||
+
| --min-disk <DISK_GB> || 2 || --min-disk <MIN_DISK> ||
 
|-
 
|-
| --container-format <CONTAINER_FORMAT> || 3 || --container-format <CONTAINER_FORMAT> ||
+
| --min-ram <DISK_RAM> || 2 || --min-ram <MIN_RAM> ||
 
|-
 
|-
| --owner <TENANT_ID> || || ||
+
| --progress  || 2 || --progress ||
 
|-
 
|-
| --size <SIZE> || || ||
+
| --container-format <CONTAINER_FORMAT> || 2 || --container-format <CONTAINER_FORMAT> ||
 
|-
 
|-
| --min-disk <DISK_GB> || 3 || --min-disk <MIN_DISK> ||
+
| --file <FILE> || 2 || --file <FILE> ||  
 
|-
 
|-
| --min-ram <DISK_RAM> || 3 || --min-ram <MIN_RAM> ||
+
| --is-public {True,False} || 1 || --visibility <VISIBILITY> || Slightly different call.
 
|-
 
|-
| --location <IMAGE_URL> || || ||
+
| --is-protected {True,False} || 1 || --protected True/False || Use the slightly different call.
 
|-
 
|-
| --file <FILE> || 2 || --file <FILE> ||  
+
| --property <key=value> || 1 || --property <key=value> || Some properties will have changed.
 
|-
 
|-
| --checksum <CHECKSUM> || 1 || || The checksum could be implemented in the client, and give the same sort of answer without sending anything to the server.
+
| --human-readable || 1 || || Only needs to be changed on the client side.
 
|-
 
|-
| --copy-from <IMAGE_URL> || || ||
+
| --checksum <CHECKSUM> || 1 || || The checksum could be implemented in the client, and give the same sort of answer without sending anything to the server
 
|-
 
|-
| --is-public {True,False} || 2 || --visibility <VISIBILITY> || Slightly different call.
+
| --store <STORE> || 0 || ||
 
|-
 
|-
| --is-protected {True,False} || 2 || --protected True/False || Use the slightly different call.
+
| --owner <TENANT_ID> || 0 || ||
 
|-
 
|-
| --property <key=value> || 2 || --property <key=value> || Some properties will have changed.
+
| --size <SIZE> || 0 || ||
 
|-
 
|-
| --human-readable || || ||
+
| --location <IMAGE_URL> || 0 || ||.
 
|-
 
|-
| --progress  || 3 || --progress ||
+
| --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>