c3db66ca0944940e79cff534a7567580e717eae9
As a pre-requisite for being able to query the database for objects that are expired, I need a way to express date comparison on the 'deleted_at' field which is common for every Watcher object. As they are coming from mixins, I decided to implement these filters with a syntax borrowed from the Django ORM where the field is suffixed by the comparison operator you want to apply: - The '__lt' suffix stands for 'less than' - The '__lte' suffix stands for 'less than or equal to' - The '__gt' suffix stands for 'greater than' - The '__gte' suffix stands for 'greater than or equal to' - The '__eq' suffix stands for 'equal to' I also added a 'uuid' filter to later on be able to filter by uuid. Partially Implements: blueprint db-purge-engine Change-Id: I763f330c1b8ea8395990d2276b71e87f5b3f3ddc
..
Except where otherwise noted, this document is licensed under Creative
Commons Attribution 3.0 License. You can view the license at:
https://creativecommons.org/licenses/by/3.0/
=======
Watcher
=======
OpenStack Watcher provides a flexible and scalable resource optimization
service for multi-tenant OpenStack-based clouds.
Watcher provides a complete optimization loop-including everything from a
metrics receiver, complex event processor and profiler, optimization processor
and an action plan applier. This provides a robust framework to realize a wide
range of cloud optimization goals, including the reduction of data center
operating costs, increased system performance via intelligent virtual machine
migration, increased energy efficiency-and more!
* Free software: Apache license
* Wiki: http://wiki.openstack.org/wiki/Watcher
* Source: https://github.com/openstack/watcher
* Bugs: http://bugs.launchpad.net/watcher
* Documentation: https://factory.b-com.com/www/watcher/doc/watcher/index.html
Description
Languages
Python
99.7%
Shell
0.3%