Jump to: navigation, search

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

m
m
Line 39: Line 39:
 
! 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:red">No</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 cannot accept more than one image to delete
 
|-
 
|-
| image-delete || ||  <span style="color:red">No</span> || <span style="color:red">No</span> || v2 does not accept a name
+
| image-delete || ||  <span style="color:red">No</span> || <span style="color:Yes">No</span> || v2 does not accept a name
 
|-
 
|-
 
|}
 
|}
Line 99: Line 99:
 
! command !! sub-command !! Input Compatible !! Output 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> || <span style="color:orange">No</span> || v2 does not accept a name. Slightly different output see [2]
 
|-
 
|-
| image-show || --human-readable || <span style="color:orange">No</span> || Slightly different output see [2]
+
| image-show || --human-readable || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [2]
 
|-
 
|-
| image-show || --max-column-width || <span style="color:green">Yes</span> ||
+
| image-show || --max-column-width || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [2]
 
|-
 
|-
 
|}
 
|}
Line 111: Line 111:
 
! command !! sub-command !! Input Compatible !! Output 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:red">No</span> || <span style="color:orange">No</span> || v2 does not accept a name. Slightly different output see [2]
 
|-
 
|-
| image-update || --name || <span style="color:orange">No</span> || Slightly different output see [3]
+
| image-update || --name || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]
 
|-
 
|-
| image-update || --disk-format || <span style="color:orange">No</span> || Slightly different output see [3]
+
| image-update || --disk-format || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]
 
|-
 
|-
| image-update || --container-format || <span style="color:orange">No</span> || Slightly different output see [3]
+
| image-update || --container-format || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]
 
|-
 
|-
| image-update || --owner || <span style="color:orange">No</span> || Slightly different output see [3]. (v1 returns 0 indicating success -- bug?)
+
| image-update || --owner || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]. (v1 returns 0 indicating success -- bug?)
 
|-
 
|-
| image-update || --container-format || <span style="color:orange">No</span> || Slightly different output see [3]
+
| image-update || --container-format || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]
 
|-
 
|-
| image-update || --size || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --size ||  <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-update || --min-disk || <span style="color:orange">No</span> || Slightly different output see [3]
+
| image-update || --min-disk || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]
 
|-
 
|-
| image-update || --min-ram || <span style="color:orange">No</span> || Slightly different output see [3]
+
| image-update || --min-ram || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]
 
|-
 
|-
| image-update || --location || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --location || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-update || --file || <span style="color:orange">No</span> || Slightly different output see [3]
+
| image-update || --file || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]
 
|-
 
|-
| image-update || --checksum || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --checksum || <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 || --copy-from || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
| image-update || --is-public || <span style="color:red">No</span> || Replaced with visibility 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-protected || <span style="color:red">No</span> || Does not exist 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 || --property || <span style="color:orange">No</span> || Slightly different output see [3]
+
| image-update || --property || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [3]
 
|-
 
|-
| image-update || --purge-props || <span style="color:red">No</span> || Does not exist in v2
+
| image-update || --purge-props || <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 || --human-readable || <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
+
| image-update || --progress || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
 
|}
 
|}
Line 155: Line 155:
 
! command !! sub-command !! Input Compatible !! Output 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> || <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> || Does not exist in v2
+
| member-create || --can-share || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
 
|}
 
|}
Line 165: Line 165:
 
! command !! sub-command !! Input Compatible !! Output 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> || <span style="color:green">Yes</span> || v2 does not support a name
 
|-
 
|-
 
|}
 
|}
Line 173: Line 173:
 
! command !! sub-command !! Input Compatible !! Output 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:green">Yes</span> || <span style="color:red">No</span> || v2 displays different output
 
|-
 
|-
| member-list || --tenant-id || <span style="color:red">No</span> || Does not exist in v2
+
| member-list || --tenant-id || <span style="color:red">No</span> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
 
|}
 
|}

Revision as of 12:20, 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 No v2 does not accept a name. Slightly different output see [2]
image-show --human-readable Yes No Slightly different output see [2]
image-show --max-column-width Yes No Slightly different output see [2]
command sub-command Input Compatible Output Compatible Notes
image-update No No v2 does not accept a name. Slightly different output see [2]
image-update --name Yes No Slightly different output see [3]
image-update --disk-format Yes No Slightly different output see [3]
image-update --container-format Yes No Slightly different output see [3]
image-update --owner Yes No Slightly different output see [3]. (v1 returns 0 indicating success -- bug?)
image-update --container-format Yes No Slightly different output see [3]
image-update --size No No Does not exist in v2
image-update --min-disk Yes No Slightly different output see [3]
image-update --min-ram Yes No Slightly different output see [3]
image-update --location No No Does not exist in v2
image-update --file Yes No Slightly different output see [3]
image-update --checksum No No Does not exist in v2
image-update --copy-from No No Does not exist in v2
image-update --is-public No No Replaced with visibility in v2
image-update --is-protected No No Does not exist in v2
image-update --property Yes No Slightly different output see [3]
image-update --purge-props No No Does not exist in v2
image-update --human-readable No No Does not exist in v2
image-update --progress No 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 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 No Does not exist in v2