| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
H402 one line docstring needs punctuation
Change-Id: Ie848453cace318d8310cdf0234c512f4c1121119
|
|
|
|
|
|
| |
H403 multi line docstring end on new line
Change-Id: I33249651026b54ef346214965e909835288bb14e
|
|
|
|
|
|
| |
H401 docstring should not start with a space
Change-Id: I761665ea9aff1f55de9f629ff8d108ba141eaf79
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the context of openstack.common.scheduler:
base_filter.BaseFilterManager and base_weight.BaseWeightManager had
duplicated code.
This patch breaks that code out into a shared base class:
base_handler.BaseHandler
Change-Id: Ie5232c6dd9876a75170beda71adde90fc6bb4153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
filter is a python builtin function so importing it pollutes ones name
space.
It is now renamed to base_filter.
We also rename weight to base_weight, just to be consistent in the
naming conventions.
We add a test for base_filter.
Fixes bug 1175829
Change-Id: I46e0fa696d2f39081b5568c701b0a70c54f271ab
|
|
|
|
|
|
|
|
|
|
| |
fixes bug 1154745
The previous update (https://review.openstack.org/#/c/24103/) missed
header files that contained "OpenStack, LLC". This change corrects the
missed files to reflect the OpenStack Foundation.
Change-Id: I9c6de265267485ef2c82ea7e6d8643e82134d102
|
|
|
|
|
|
|
|
|
|
|
|
| |
Boolean values for capabilities don't work because extra_specs are
all converted to unicode. The scheduler will then check, for example,
if the boolean 'True' is equal to the unicode string 'True', and will
always return False. This patch allows admins to specify '<is> True'
in extra_specs, which will compare successfully to boolean True.
Fixes bug: 1146306
Change-Id: Id0e6dcfb71eb0943a16bba551ec23c4d57206550
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added "is not" usage with examples
Fixed "not in" usage description
https://review.openstack.org/#/c/20576/
and
https://review.openstack.org/#/c/20879/
Fixes a previous "not X in Y" grep corner case
Change-Id: I92ae642887de734a8562a528003d8092f5ff27d4
|
|
|
|
|
|
|
|
|
|
|
| |
Filter scheduler is being used for more than one core projects (Nova
and Cinder as of writing), the implementation shared a lot of common
code. This patch is to move base weigher (weighing function), weigher
handler for filter scheduler into oslo to reduce possible porting.
implement bp: common-weights
Change-Id: I2d1b37438663b53e035cc262875a283e5e2ee970
|
|
Filter scheduler is being used for more than one core projects (Nova
and Cinder as of writing), the implementation shared a lot of common
code. This patch moves base filter/filter handler class as well as
common filter implementation for filter scheduler into oslo to reduce
possible porting.
implement bp: common-filters
Change-Id: If0b1dee79c410c98e152230b55c1ec5dbcdef27c
|