Jump to: navigation, search

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

m
m
Line 3: Line 3:
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
| image-create || || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output see [1] 
+
| image-create || || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
|-
 
|-
| image-create || --id || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output see [1] 
+
| image-create || --id || <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 see [1] 
+
| 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> || <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 see [1]
+
| image-create || --min-disk || <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 see [1]
+
| 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> || <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 see [1]
+
| image-create || --owner || <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 see [1]
+
| 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> || <span style="color:red">No</span> || Does not exist in v2
Line 29: Line 29:
 
| 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> || <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 see [1]
+
| image-create || --property || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output  
 
|-
 
|-
| image-create || --progress || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output see [1]
+
| image-create || --progress || <span style="color:green">Yes</span> || <span style="color:orange">No</span> ||  Slightly different output  
 
|-
 
|-
|}
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
Line 43: Line 40:
 
| 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:Yes">No</span> || v2 does not accept a name
 
|-
 
|-
|}
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
Line 55: Line 49:
 
| image-download || --progress || <span style="color:green">Yes</span> || <span style="color:green">Yes</span> ||  
 
| image-download || --progress || <span style="color:green">Yes</span> || <span style="color:green">Yes</span> ||  
 
|-
 
|-
|}
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
Line 93: Line 84:
 
| 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> ||  <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
|}
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
| 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 || || <span style="color:red">No</span> || <span style="color:orange">No</span> || v2 does not accept a name. Slightly different output  
 
|-
 
|-
| image-show || --human-readable || <span style="color:green">Yes</span> || <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  
 
|-
 
|-
| image-show || --max-column-width || <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> ||  <span style="color:orange">No</span> || Slightly different output  
 
|-
 
|-
|}
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
|-
 
|-
| 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 || || <span style="color:red">No</span> || <span style="color:orange">No</span> || v2 does not accept a name. Slightly different output  
 
|-
 
|-
| image-update || --name || <span style="color:green">Yes</span> || <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  
 
|-
 
|-
| image-update || --disk-format || <span style="color:green">Yes</span> || <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  
 
|-
 
|-
| image-update || --container-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:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output  
 
|-
 
|-
| 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 || --owner || <span style="color:green">Yes</span> || <span style="color:orange">No</span> || Slightly different output . (v1 returns 0 indicating success -- bug?)
 
|-
 
|-
| image-update || --container-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: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> || <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 see [3]
+
| image-update || --min-disk || <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 see [3]
+
| 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> || <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 see [3]
+
| 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> || <span style="color:red">No</span> || Does not exist in v2
Line 141: Line 126:
 
| 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> || <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 see [3]
+
| 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> || <span style="color:red">No</span> || Does not exist in v2
Line 149: Line 134:
 
| 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> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
|}
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
Line 159: Line 141:
 
| 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> || <span style="color:red">No</span> || Does not exist in v2
 
|-
 
|-
|}
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
Line 167: Line 146:
 
| member-delete || || <span style="color:red">No</span> || <span style="color:green">Yes</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
 
|-
 
|-
|}
 
 
{| class="wikitable"
 
 
|-
 
|-
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  
 
! command !! sub-command !! Input Compatible !! Output Compatible!! Notes  

Revision as of 12:24, 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 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 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 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
image-create --progress Yes No Slightly different output
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
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 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 No Does not exist in v2
image-update --file Yes No Slightly different output
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
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