Glance-v2-v1-functionality-changes
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> |