Jump to: navigation, search

Difference between revisions of "Glance-v2-v1-functionality-changes"

(The changes between v1 and v2 in terms of functionality.)
 
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.
 
* 0 - The Ugly - No functionality similarities between v1 and v2.
 
* 0 - The Ugly - No functionality similarities between v1 and v2.
 
--architecture <ARCHITECTURE>
 
--protected [True|False]
 
--name <NAME>
 
--instance-uuid <INSTANCE_UUID>
 
--min-disk <MIN_DISK>
 
--visibility <VISIBILITY>
 
--kernel-id <KERNEL_ID>
 
--tags <TAGS> [<TAGS> ...]
 
--os-version <OS_VERSION>
 
--disk-format <DISK_FORMAT>
 
--self <SELF>        (READ-ONLY)
 
--os-distro <OS_DISTRO>
 
--id <ID>
 
--owner <OWNER>
 
--ramdisk-id <RAMDISK_ID>
 
--min-ram <MIN_RAM>
 
--container-format <CONTAINER_FORMAT>
 
--property <key=value>
 
--file <FILE>
 
--progress
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 29: Line 9:
 
! V1 Command !! Rating!! V2 Command !! Notes
 
! V1 Command !! Rating!! V2 Command !! Notes
 
|-
 
|-
| --id <IMAGE_ID> ||  
+
| --id <IMAGE_ID> || 3 || --id <ID> ||
 +
|-
 +
| --name <NAME> || 3 || --name <NAME> ||
 +
|-
 +
| --store <STORE> ||  || ||
 +
|-
 +
| --disk-format <DISK_FORMAT> || 3 || --disk-format <DISK_FORMAT> ||
 +
|-
 +
| --container-format <CONTAINER_FORMAT> || 3 ||  --container-format <CONTAINER_FORMAT> ||
 +
|-
 +
| --owner <TENANT_ID> ||  || ||
 +
|-
 +
| --size <SIZE> ||  || ||
 
|-
 
|-
| --name <NAME> ||  
+
| --min-disk <DISK_GB> || 3 || --min-disk <MIN_DISK> ||
 
|-
 
|-
| --store <STORE> ||  
+
| --min-ram <DISK_RAM> || 3 || --min-ram <MIN_RAM> ||
 
|-
 
|-
| --disk-format <DISK_FORMAT> ||  
+
| --location <IMAGE_URL> ||  || ||
 
|-
 
|-
| --container-format <CONTAINER_FORMAT> ||  
+
| --file <FILE> || 2 || --file <FILE> ||  
 
|-
 
|-
| --owner <TENANT_ID> ||  
+
| --checksum <CHECKSUM> || 1 || || The checksum could be implemented in the client, and give the same sort of answer without sending anything to the server.
 
|-
 
|-
| --size <SIZE> ||  
+
| --copy-from <IMAGE_URL> ||  || ||
 
|-
 
|-
| --min-disk <DISK_GB> ||  
+
| --is-public {True,False} || 2 || --visibility <VISIBILITY> || Slightly different call.
 
|-
 
|-
| --min-ram <DISK_RAM> ||  
+
| --is-protected {True,False} || 2 || --protected True/False || Use the slightly different call.
 
|-
 
|-
| --location <IMAGE_URL> ||  
+
| --property <key=value> || 2 || --property <key=value> || Some properties will have changed.
 
|-
 
|-
| --file <FILE> ||  
+
| --human-readable || || ||
 
|-
 
|-
| --checksum <CHECKSUM> ||  
+
| --progress  || 3 || --progress ||
 
|-
 
|-
| --copy-from <IMAGE_URL> ||  
+
|  || || --instance-uuid <INSTANCE_UUID> ||
 
|-
 
|-
| --is-public {True,False} ||  
+
| || || --architecture <ARCHITECTURE> ||
 
|-
 
|-
| --is-protected {True,False} || 2 || --protected [True|False] || Use the slightly different call.
+
| || || --kernel-id <KERNEL_ID> ||
 
|-
 
|-
| --property <key=value> ||  
+
| || || --ramdisk-id <RAMDISK_ID> ||
 
|-
 
|-
| --human-readable ||  
+
| || || --tags <TAGS> [<TAGS> ...] ||
 
|-
 
|-
| --progress  ||  
+
| || || --os-version <OS_VERSION> ||
 
|-
 
|-
| ||  
+
| || || --os-distro <OS_DISTRO> ||
 
|}
 
|}

Revision as of 16:22, 15 September 2015

This page uses the following rating system.

  • 3 - Same Command.
  • 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> 3 --id <ID>
--name <NAME> 3 --name <NAME>
--store <STORE>
--disk-format <DISK_FORMAT> 3 --disk-format <DISK_FORMAT>
--container-format <CONTAINER_FORMAT> 3 --container-format <CONTAINER_FORMAT>
--owner <TENANT_ID>
--size <SIZE>
--min-disk <DISK_GB> 3 --min-disk <MIN_DISK>
--min-ram <DISK_RAM> 3 --min-ram <MIN_RAM>
--location <IMAGE_URL>
--file <FILE> 2 --file <FILE>
--checksum <CHECKSUM> 1 The checksum could be implemented in the client, and give the same sort of answer without sending anything to the server.
--copy-from <IMAGE_URL>
--is-public {True,False} 2 --visibility <VISIBILITY> Slightly different call.
--is-protected {True,False} 2 --protected True/False Use the slightly different call.
--property <key=value> 2 --property <key=value> Some properties will have changed.
--human-readable
--progress 3 --progress
--instance-uuid <INSTANCE_UUID>
--architecture <ARCHITECTURE>
--kernel-id <KERNEL_ID>
--ramdisk-id <RAMDISK_ID>
--tags <TAGS> [<TAGS> ...]
--os-version <OS_VERSION>
--os-distro <OS_DISTRO>