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:
@@ -378,6 +378,7 @@ class ListImage(command.Lister):
|
||||
'Disk Format',
|
||||
'Container Format',
|
||||
'Size',
|
||||
'Checksum',
|
||||
'Status',
|
||||
'is_public',
|
||||
'protected',
|
||||
@@ -390,6 +391,7 @@ class ListImage(command.Lister):
|
||||
'Disk Format',
|
||||
'Container Format',
|
||||
'Size',
|
||||
'Checksum',
|
||||
'Status',
|
||||
'Visibility',
|
||||
'Protected',
|
||||
|
@@ -490,6 +490,7 @@ class ListImage(command.Lister):
|
||||
'Disk Format',
|
||||
'Container Format',
|
||||
'Size',
|
||||
'Checksum',
|
||||
'Status',
|
||||
'visibility',
|
||||
'protected',
|
||||
@@ -502,6 +503,7 @@ class ListImage(command.Lister):
|
||||
'Disk Format',
|
||||
'Container Format',
|
||||
'Size',
|
||||
'Checksum',
|
||||
'Status',
|
||||
'Visibility',
|
||||
'Protected',
|
||||
|
@@ -363,6 +363,7 @@ class TestImageList(TestImage):
|
||||
'Disk Format',
|
||||
'Container Format',
|
||||
'Size',
|
||||
'Checksum',
|
||||
'Status',
|
||||
'Visibility',
|
||||
'Protected',
|
||||
@@ -378,6 +379,7 @@ class TestImageList(TestImage):
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'public',
|
||||
False,
|
||||
image_fakes.image_owner,
|
||||
|
@@ -643,6 +643,7 @@ class TestImageList(TestImage):
|
||||
'Disk Format',
|
||||
'Container Format',
|
||||
'Size',
|
||||
'Checksum',
|
||||
'Status',
|
||||
'Visibility',
|
||||
'Protected',
|
||||
@@ -658,6 +659,7 @@ class TestImageList(TestImage):
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
self._image.visibility,
|
||||
self._image.protected,
|
||||
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>`_]
|
Reference in New Issue
Block a user