a2750c74f990c60dccb3c57415534189f20d5d21
The execute() method is very large - almost 150 lines, and McCabe's cyclomatic complexity 22. (watcher/decision_engine/strategy/strategies/basic_consolidation.py) I extracted some of the functionalities into helper functions to reduce the length and complexity of execute(). http://openqa.sed.hu/dashboard/index/544838?did=1 Additionally it became more readable as well, without changing its functionality. Change-Id: I760929f56e258b87d7f1d4586bcc90665f1e0d8f Closes-Bug: 1535729
..
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%