Jump to: navigation, search

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

m
m
Line 9: Line 9:
 
| image-create || --owner || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output   
 
| image-create || --owner || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output   
 
|-
 
|-
| image-create || --size || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2   
+
| image-create || --size || <span style="color:red">No</span> || || Does not exist in v2   
 
|-
 
|-
 
| image-create || --min-disk || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output   
 
| image-create || --min-disk || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output   
Line 15: Line 15:
 
| image-create || --min-ram || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output   
 
| image-create || --min-ram || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output   
 
|-
 
|-
| image-create || --location || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-create || --location || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
| image-create || --owner || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output  
 
| image-create || --owner || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output  
Line 21: Line 21:
 
| image-create || --file || <span style="color:green">Yes</span> ||  <span style="color:orange">No</span> ||  Slightly different output  
 
| image-create || --file || <span style="color:green">Yes</span> ||  <span style="color:orange">No</span> ||  Slightly different output  
 
|-
 
|-
| image-create || --checksum || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-create || --checksum || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
| image-create || --copy-from || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-create || --copy-from || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
| image-create || --is-public || <span style="color:red">No</span> || <span style="color:red">No</span> || Replaced with --visibility v2
+
| image-create || --is-public || <span style="color:red">No</span> || || Replaced with --visibility v2
 
|-
 
|-
| image-create || --is-protected || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-create || --is-protected || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
| image-create || --property || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output  
 
| image-create || --property || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output  
Line 36: Line 36:
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
| image-delete || ||  <span style="color:red">No</span> || <span style="color:Yes">No</span> || v2 cannot accept more than one image to delete
+
| image-delete || ||  <span style="color:red">No</span> || <span style="color:green">Yes</span> || v2 cannot accept more than one image to delete
 
|-
 
|-
| image-delete || ||  <span style="color:red">No</span> || <span style="color:Yes">No</span> || v2 does not accept a name
+
| image-delete || ||  <span style="color:red">No</span> || <span style="color:green">Yes</span> || v2 does not accept a name
 
|-
 
|-
 
|-
 
|-
Line 58: Line 58:
 
| image-list || --name || <span style="color:red">No</span> || <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> || <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 || --container-format || <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 || --disk-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 || --size-min || <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-max || <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 || --property-filter ||  <span style="color:green">Yes</span> || <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
Line 72: Line 72:
 
| image-list || --page-fize ||  <span style="color:green">Yes</span> || <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> || <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --human-readable || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
| 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-key || <span style="color:green">Yes</span> ||  <span style="color:red">No</span> || v2 sorts in the opposite direction
Line 78: Line 78:
 
| image-list || --sort-dir || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || v2 displays fewer fields
 
| 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> || <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> || || Does not exist in v2 (ignored/broken in v1?)
 
|-
 
|-
 
| image-list || --owner || <span style="color:green">Yes</span> || <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> ||  <span style="color:red">No</span> || Does not exist in v2
+
| image-list || --all-tenants || <span style="color:red">No</span> ||  || Does not exist in v2
 
|-
 
|-
 
|-
 
|-
Line 108: Line 108:
 
| image-update || --container-format || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
| image-update || --container-format || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
|-
 
|-
| image-update || --size ||  <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --size ||  <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
| image-update || --min-disk || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
| image-update || --min-disk || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
Line 114: Line 114:
 
| image-update || --min-ram || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
| image-update || --min-ram || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
|-
 
|-
| image-update || --location || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --location || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
| image-update || --file || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
| image-update || --file || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
|-
 
|-
| image-update || --checksum || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --checksum || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
| image-update || --copy-from || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --copy-from || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
| image-update || --is-public || <span style="color:red">No</span> || <span style="color:red">No</span> || Replaced with visibility in v2
+
| image-update || --is-public || <span style="color:red">No</span> || || Replaced with visibility in v2
 
|-
 
|-
| image-update || --is-protected || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --is-protected || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
| image-update || --property || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
| image-update || --property || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
|-
 
|-
| image-update || --purge-props || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --purge-props || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
| image-update || --human-readable || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --human-readable || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
| image-update || --progress || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --progress || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
|-
 
|-
Line 139: Line 139:
 
| member-create || || <span style="color:red">No</span> || <span style="color:green">Yes</span> || v2 does not support a name, displays additional output
 
| member-create || || <span style="color:red">No</span> || <span style="color:green">Yes</span> || v2 does not support a name, displays additional output
 
|-
 
|-
| member-create || --can-share || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| member-create || --can-share || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
|-
 
|-
Line 151: Line 151:
 
| member-list || --image-id ||  <span style="color:green">Yes</span> || <span style="color:red">No</span> || v2 displays different output
 
| member-list || --image-id ||  <span style="color:green">Yes</span> || <span style="color:red">No</span> || v2 displays different output
 
|-
 
|-
| member-list || --tenant-id || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
+
| member-list || --tenant-id || <span style="color:red">No</span> || || Does not exist in v2
 
|-
 
|-
 
|}
 
|}

Revision as of 12:32, 28 August 2015

command sub-command Input Compatible Output Compatible Notes
image-create Yes No Slightly different output
image-create --id Yes No Slightly different output
image-create --owner Yes No Slightly different output
image-create --size No Does not exist in v2
image-create --min-disk Yes No Slightly different output
image-create --min-ram Yes No Slightly different output
image-create --location No Does not exist in v2
image-create --owner Yes No Slightly different output
image-create --file Yes No Slightly different output
image-create --checksum No Does not exist in v2
image-create --copy-from No Does not exist in v2
image-create --is-public No Replaced with --visibility v2
image-create --is-protected No Does not exist in v2
image-create --property Yes No Slightly different output
image-create --progress Yes No Slightly different output
command sub-command Input Compatible Output Compatible Notes
image-delete No Yes v2 cannot accept more than one image to delete
image-delete No Yes 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 Does not exist in v2
image-list --container-format No Does not exist in v2
image-list --disk-format No Does not exist in v2
image-list --size-min No Does not exist in v2
image-list --size-max 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 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 Does not exist in v2 (ignored/broken in v1?)
image-list --owner Yes No v2 displays fewer fields
image-list --all-tenants No Does not exist in v2
command sub-command Input Compatible Output Compatible Notes
image-show No No v2 does not accept a name. Slightly different output
image-show --human-readable Yes No Slightly different output
image-show --max-column-width Yes No Slightly different output
command sub-command Input Compatible Output Compatible Notes
image-update No No v2 does not accept a name. Slightly different output
image-update --name Yes No Slightly different output
image-update --disk-format Yes No Slightly different output
image-update --container-format Yes No Slightly different output
image-update --owner Yes No Slightly different output . (v1 returns 0 indicating success -- bug?)
image-update --container-format Yes No Slightly different output
image-update --size No Does not exist in v2
image-update --min-disk Yes No Slightly different output
image-update --min-ram Yes No Slightly different output
image-update --location No Does not exist in v2
image-update --file Yes No Slightly different output
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 Yes No Slightly different output
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 Yes v2 does not support a name, displays additional output
member-create --can-share No Does not exist in v2
command sub-command Input Compatible Output Compatible Notes
member-delete No Yes v2 does not support a name
command sub-command Input Compatible Output Compatible Notes
member-list --image-id Yes No v2 displays different output
member-list --tenant-id No Does not exist in v2