Jump to: navigation, search

Difference between revisions of "Glance-v2-v1-client-compatability"

m
m
Line 37: Line 37:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! sub-command !! Compatible !! Notes
+
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
| image-delete || || <span style="color:red">No</span> || v2 cannot accept more than one image to delete
+
| image-delete || ||  <span style="color:red">No</span> || <span style="color:red">No</span> || v2 cannot accept more than one image to delete
 
|-
 
|-
| image-delete || || <span style="color:red">No</span> || v2 does not accept a name
+
| image-delete || ||  <span style="color:red">No</span> || <span style="color:red">No</span> || v2 does not accept a name
 
|-
 
|-
 
|}
 
|}
Line 47: Line 47:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! sub-command !! Compatible !! Notes  
+
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
| image-download || || <span style="color:red">No</span> || v2 does not accept an image name. Also, note: bug 1488914
+
| image-download || || <span style="color:red">No</span> || <span style="color:green">Yes</span> || v2 does not accept an image name. Also, note: bug 1488914
 
|-
 
|-
| image-download || --file || <span style="color:green">Yes</span> ||  
+
| image-download || --file || <span style="color:green">Yes</span> || <span style="color:green">Yes</span> ||  
 
|-
 
|-
| image-download || --progress || <span style="color:green">Yes</span> ||  
+
| image-download || --progress || <span style="color:green">Yes</span> || <span style="color:green">Yes</span> ||  
 
|-
 
|-
 
|}
 
|}
Line 59: Line 59:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! sub-command !! Compatible !! Notes  
+
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
| image-list ||  || <span style="color:orange">No</span>  || v2 displays fewer fields
+
| image-list ||  || <span style="color:green">Yes</span> || <span style="color:orange">No</span>  || v2 displays fewer fields
 
|-
 
|-
| image-list || --verbose || <span style="color:orange">No</span> || v2 displays fewer fields  
+
| image-list || --verbose || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || v2 displays fewer fields  
 
|-
 
|-
| image-list || --name || <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --name || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-list || --status || <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --status || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-list || --container-format || <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --container-format || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-list || --disk-format || <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --disk-format || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-list || --size-min || <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --size-min || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-list || --size-max || <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --size-max || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-list || --property-filter || <span style="color:orange">No</span> || v2 displays fewer fields
+
| image-list || --property-filter ||  <span style="color:green">Yes</span> || <span style="color:orange">No</span> || v2 displays fewer fields
 
|-
 
|-
| image-list || --page-fize || <span style="color:orange">No</span> || v2 displays fewer fields
+
| image-list || --page-fize ||  <span style="color:green">Yes</span> || <span style="color:orange">No</span> || v2 displays fewer fields
 
|-
 
|-
| image-list || --human-readable || <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --human-readable || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-list || --sort-key ||<span style="color:red">No</span> || v2 sorts in the opposite direction
+
| image-list || --sort-key || <span style="color:green">Yes</span> ||  <span style="color:red">No</span> || v2 sorts in the opposite direction
 
|-
 
|-
| image-list || --sort-dir || <span style="color:green">Yes</span> ||
+
| image-list || --sort-dir || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || v2 displays fewer fields
 
|-
 
|-
| image-list || --is-public || <span style="color:red">No</span> || Does not exist in v2 (ignored/broken in v1?)
+
| image-list || --is-public || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2 (ignored/broken in v1?)
 
|-
 
|-
| image-list || --owner ||<span style="color:orange">No</span> || v2 displays fewer fields
+
| image-list || --owner || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || v2 displays fewer fields
 
|-
 
|-
| image-list || --all-tenants ||  <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --all-tenants || <span style="color:red">No</span> ||  <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
 
|}
 
|}
Line 97: Line 97:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! sub-command !! Compatible !! Notes
+
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
 
| image-show || || <span style="color:red">No</span> || v2 does not accept a name. Slightly different output see [2]
 
| image-show || || <span style="color:red">No</span> || v2 does not accept a name. Slightly different output see [2]
Line 109: Line 109:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! sub-command !! Compatible !! Notes
+
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
 
| image-update || || <span style="color:orange">No</span> || v2 does not accept a name. Slightly different output see [2]
 
| image-update || || <span style="color:orange">No</span> || v2 does not accept a name. Slightly different output see [2]
Line 153: Line 153:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! sub-command !! Compatible !! Notes
+
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
 
| member-create || || <span style="color:red">No</span> || v2 does not support a name
 
| member-create || || <span style="color:red">No</span> || v2 does not support a name
Line 163: Line 163:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! sub-command !! Compatible !! Notes  
+
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
 
| member-delete || || <span style="color:red">No</span> || v2 does not support a name
 
| member-delete || || <span style="color:red">No</span> || v2 does not support a name
Line 171: Line 171:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! sub-command !! Compatible !! Notes
+
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
 
| member-list || --image-id || <span style="color:orange">No</span> || v2 displays different output
 
| member-list || --image-id || <span style="color:orange">No</span> || v2 displays different output

Revision as of 12:07, 28 August 2015

command sub-command Input Compatible Output Compatible Notes
image-create Yes No Slightly different output see [1]
image-create --id Yes No Slightly different output see [1]
image-create --owner Yes No Slightly different output see [1]
image-create --size No No Does not exist in v2
image-create --min-disk Yes No Slightly different output see [1]
image-create --min-ram Yes No Slightly different output see [1]
image-create --location No No Does not exist in v2
image-create --owner Yes No Slightly different output see [1]
image-create --file Yes No Slightly different output see [1]
image-create --checksum No No Does not exist in v2
image-create --copy-from No No Does not exist in v2
image-create --is-public No No Replaced with --visibility v2
image-create --is-protected No No Does not exist in v2
image-create --property Yes No Slightly different output see [1]
image-create --progress Yes No Slightly different output see [1]
command sub-command Input Compatible Output Compatible Notes
image-delete No No v2 cannot accept more than one image to delete
image-delete No No v2 does not accept a name
command sub-command Input Compatible Output Compatible Notes
image-download No Yes v2 does not accept an image name. Also, note: bug 1488914
image-download --file Yes Yes
image-download --progress Yes Yes
command sub-command Input Compatible Output Compatible Notes
image-list Yes No v2 displays fewer fields
image-list --verbose Yes No v2 displays fewer fields
image-list --name No No Does not exist in v2
image-list --status No No Does not exist in v2
image-list --container-format No No Does not exist in v2
image-list --disk-format No No Does not exist in v2
image-list --size-min No No Does not exist in v2
image-list --size-max No No Does not exist in v2
image-list --property-filter Yes No v2 displays fewer fields
image-list --page-fize Yes No v2 displays fewer fields
image-list --human-readable No No Does not exist in v2
image-list --sort-key Yes No v2 sorts in the opposite direction
image-list --sort-dir Yes No v2 displays fewer fields
image-list --is-public No No Does not exist in v2 (ignored/broken in v1?)
image-list --owner Yes No v2 displays fewer fields
image-list --all-tenants No No Does not exist in v2
command sub-command Input Compatible Output Compatible Notes
image-show No v2 does not accept a name. Slightly different output see [2]
image-show --human-readable No Slightly different output see [2]
image-show --max-column-width Yes
command sub-command Input Compatible Output Compatible Notes
image-update No v2 does not accept a name. Slightly different output see [2]
image-update --name No Slightly different output see [3]
image-update --disk-format No Slightly different output see [3]
image-update --container-format No Slightly different output see [3]
image-update --owner No Slightly different output see [3]. (v1 returns 0 indicating success -- bug?)
image-update --container-format No Slightly different output see [3]
image-update --size No Does not exist in v2
image-update --min-disk No Slightly different output see [3]
image-update --min-ram No Slightly different output see [3]
image-update --location No Does not exist in v2
image-update --file No Slightly different output see [3]
image-update --checksum No Does not exist in v2
image-update --copy-from No Does not exist in v2
image-update --is-public No Replaced with visibility in v2
image-update --is-protected No Does not exist in v2
image-update --property No Slightly different output see [3]
image-update --purge-props No Does not exist in v2
image-update --human-readable No Does not exist in v2
image-update --progress No Does not exist in v2
command sub-command Input Compatible Output Compatible Notes
member-create No v2 does not support a name
member-create --can-share No Does not exist in v2
command sub-command Input Compatible Output Compatible Notes
member-delete No v2 does not support a name
command sub-command Input Compatible Output Compatible Notes
member-list --image-id No v2 displays different output
member-list --tenant-id No Does not exist in v2