From 38741d8b2e58abb7a80e108f0ffac82b9d3ea37c Mon Sep 17 00:00:00 2001 From: zhangchi Date: Wed, 27 Mar 2019 10:45:15 +0800 Subject: [PATCH] update trio2o image filter 1. what is the problem? right now trio2o image filter can not suppport tags or created .. 2. What is the solution to the problem? update image filter function 3. What the features to be implemented in the Trio2o to realize the solution? none Signed-off-by: zhangchi co-Authored-By: tangzhuo er the commit message for your changes. Lines starting Change-Id: Ie87c8eb3f0c4355d672175b2fc911da076683314 --- trio2o/nova_apigw/controllers/image.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trio2o/nova_apigw/controllers/image.py b/trio2o/nova_apigw/controllers/image.py index b72ea3b..a186161 100644 --- a/trio2o/nova_apigw/controllers/image.py +++ b/trio2o/nova_apigw/controllers/image.py @@ -31,6 +31,10 @@ SUPPORTED_FILTERS = { 'type': 'property-image_type', 'minRam': 'min_ram', 'minDisk': 'min_disk', + 'created': 'created_at', + 'updated': 'updated_at', + 'visibility': 'visibility', + 'tags': 'tags', }