image list: Add Checksum column
The checksum could potentially be useful for spotting duplicated images or checking if images with the same name are identical or different. Closes-Bug: #1602073 Change-Id: Ia0c41970c846d550de14297e18bc738e847e5a3b
This commit is contained in:
parent
5a21eb2555
commit
8bbf30498e
@ -378,6 +378,7 @@ class ListImage(command.Lister):
|
|||||||
'Disk Format',
|
'Disk Format',
|
||||||
'Container Format',
|
'Container Format',
|
||||||
'Size',
|
'Size',
|
||||||
|
'Checksum',
|
||||||
'Status',
|
'Status',
|
||||||
'is_public',
|
'is_public',
|
||||||
'protected',
|
'protected',
|
||||||
@ -390,6 +391,7 @@ class ListImage(command.Lister):
|
|||||||
'Disk Format',
|
'Disk Format',
|
||||||
'Container Format',
|
'Container Format',
|
||||||
'Size',
|
'Size',
|
||||||
|
'Checksum',
|
||||||
'Status',
|
'Status',
|
||||||
'Visibility',
|
'Visibility',
|
||||||
'Protected',
|
'Protected',
|
||||||
|
@ -490,6 +490,7 @@ class ListImage(command.Lister):
|
|||||||
'Disk Format',
|
'Disk Format',
|
||||||
'Container Format',
|
'Container Format',
|
||||||
'Size',
|
'Size',
|
||||||
|
'Checksum',
|
||||||
'Status',
|
'Status',
|
||||||
'visibility',
|
'visibility',
|
||||||
'protected',
|
'protected',
|
||||||
@ -502,6 +503,7 @@ class ListImage(command.Lister):
|
|||||||
'Disk Format',
|
'Disk Format',
|
||||||
'Container Format',
|
'Container Format',
|
||||||
'Size',
|
'Size',
|
||||||
|
'Checksum',
|
||||||
'Status',
|
'Status',
|
||||||
'Visibility',
|
'Visibility',
|
||||||
'Protected',
|
'Protected',
|
||||||
|
@ -363,6 +363,7 @@ class TestImageList(TestImage):
|
|||||||
'Disk Format',
|
'Disk Format',
|
||||||
'Container Format',
|
'Container Format',
|
||||||
'Size',
|
'Size',
|
||||||
|
'Checksum',
|
||||||
'Status',
|
'Status',
|
||||||
'Visibility',
|
'Visibility',
|
||||||
'Protected',
|
'Protected',
|
||||||
@ -378,6 +379,7 @@ class TestImageList(TestImage):
|
|||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
|
'',
|
||||||
'public',
|
'public',
|
||||||
False,
|
False,
|
||||||
image_fakes.image_owner,
|
image_fakes.image_owner,
|
||||||
|
@ -643,6 +643,7 @@ class TestImageList(TestImage):
|
|||||||
'Disk Format',
|
'Disk Format',
|
||||||
'Container Format',
|
'Container Format',
|
||||||
'Size',
|
'Size',
|
||||||
|
'Checksum',
|
||||||
'Status',
|
'Status',
|
||||||
'Visibility',
|
'Visibility',
|
||||||
'Protected',
|
'Protected',
|
||||||
@ -658,6 +659,7 @@ class TestImageList(TestImage):
|
|||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
|
'',
|
||||||
self._image.visibility,
|
self._image.visibility,
|
||||||
self._image.protected,
|
self._image.protected,
|
||||||
self._image.owner,
|
self._image.owner,
|
||||||
|
4
releasenotes/notes/bug_1602073-5deb58deeafbc8be.yaml
Normal file
4
releasenotes/notes/bug_1602073-5deb58deeafbc8be.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Add "Checksum" column to output of "image list --long"
|
||||||
|
[Bug `1602073 <https://bugs.launchpad.net/bugs/1602073>`_]
|
Loading…
x
Reference in New Issue
Block a user