Jump to: navigation, search

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

(The changes between v1 and v2 in terms of functionality.)
 
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
* 0 - The Ugly - No functionality similarities between v1 and v2.
 
* 0 - The Ugly - No functionality similarities between v1 and v2.
  
--architecture <ARCHITECTURE>
+
This is based on the glanceclient and what will run in v1 compared to v2.
--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
 
  
 +
==== Image Create ====
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! 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> ||
 
|-
 
|-
| --store <STORE> ||  
+
| --disk-format <DISK_FORMAT> || 2 || --disk-format <DISK_FORMAT> ||
 
|-
 
|-
| --disk-format <DISK_FORMAT> ||  
+
| --min-disk <DISK_GB> || 2 || --min-disk <MIN_DISK> ||
 
|-
 
|-
| --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> ||  
+
| --file <FILE> || 2 || --file <FILE> ||  
 
|-
 
|-
| --min-ram <DISK_RAM> ||  
+
| --is-public {True,False} || 1 || --visibility <VISIBILITY> || Slightly different call.
 
|-
 
|-
| --location <IMAGE_URL> ||  
+
| --is-protected {True,False} || 1 || --protected True/False || Slightly different call.
 
|-
 
|-
| --file <FILE> ||  
+
| --property <key=value> || 1 || --property <key=value> || Some properties will have changed.
 
|-
 
|-
| --checksum <CHECKSUM> ||  
+
| --human-readable || 1 || || Could be implemented client side.
 
|-
 
|-
| --copy-from <IMAGE_URL> ||  
+
| --checksum <CHECKSUM> || 1 || || Could be implemented client side.
 
|-
 
|-
| --is-public {True,False} ||  
+
| --store <STORE> || 0 || ||
 
|-
 
|-
| --is-protected {True,False} || 2 || --protected [True|False] || Use the slightly different call.
+
| --owner <TENANT_ID> || 0 || ||
 
|-
 
|-
| --property <key=value> ||  
+
| --size <SIZE> || 0 || ||
 
|-
 
|-
| --human-readable ||  
+
| --location <IMAGE_URL> || 0 || ||.
 
|-
 
|-
| --progress  ||  
+
| --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> ||
 
|}
 
|}

Latest revision as of 10:09, 16 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.

This is based on the glanceclient and what will run in v1 compared to v2.

Image Create

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 Slightly different call.
--property <key=value> 1 --property <key=value> Some properties will have changed.
--human-readable 1 Could be implemented client side.
--checksum <CHECKSUM> 1 Could be implemented client side.
--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>