IMO, There is no need to add "name" as seperate optional filter parameter when listing glance images because images can be filter by using the --property-filter key=value otional parameter
Steps to get glance images having name as test1:
1. Create the multiple images with same name as test
Hi,
IMO, There is no need to add "name" as seperate optional filter parameter when listing glance images because images can be filter by using the --property-filter key=value otional parameter
Steps to get glance images having name as test1:
1. Create the multiple images with same name as test
$ glance image-create --name test1
2. List the images
$ glance image-list ------- ------- ------- ------- ------+ ------- ------- ------- -----+ ------- ------- ------- ------- ------+ ------- ------- ------- -----+ 1d48-4e0f- a1bb-eaa2458ffc a9 | cirros- 0.3.5-x86_ 64-disk | 9f76-4809- 82a9-065a97e32b 62 | test | d7de-4f66- 8a1a-a3de937853 24 | test1 | e3bc-4141- 9874-f48ee1d42d b7 | test1 | fbdd-43ee- ac44-94669bef06 7c | test1 | 6725-499e- 8cbe-254116da14 d2 | test1 | 3f64-47f2- bf88-c903740bc6 64 | test1 | ------- ------- ------- ------- ------+ ------- ------- ------- -----+
+----
| ID | Name |
+----
| 7e4d2d98-
| d2cd10ee-
| 62d49d9f-
| 327ba314-
| 49e5d273-
| 077e72a8-
| 3963429e-
+----
3. List the glance images having name as test using the --property-filter optional parameter
$ glance image-list --property-filter name=test1 ------- ------- ------- ------- ------+ ------- + ------- ------- ------- ------- ------+ ------- + d7de-4f66- 8a1a-a3de937853 24 | test1 | e3bc-4141- 9874-f48ee1d42d b7 | test1 | fbdd-43ee- ac44-94669bef06 7c | test1 | 6725-499e- 8cbe-254116da14 d2 | test1 | 3f64-47f2- bf88-c903740bc6 64 | test1 | ------- ------- ------- ------- ------+ ------- +
+----
| ID | Name |
+----
| 62d49d9f-
| 327ba314-
| 49e5d273-
| 077e72a8-
| 3963429e-
+----