diff options
author | Jinwoo 'Joseph' Suh <jsuh@isi.edu> | 2012-07-21 19:51:20 -0400 |
---|---|---|
committer | Jinwoo 'Joseph' Suh <jsuh@isi.edu> | 2012-08-14 17:40:47 -0400 |
commit | 90f77d71fe5815f08fe12e77e7645c6025ee0191 (patch) | |
tree | 02149f3ec91c65a78ae8c7d4ea6af8fbb4cfcf7b /nova/exception.py | |
parent | 3801059632a80a254391ee931e5427c2352ef0c6 (diff) | |
download | nova-90f77d71fe5815f08fe12e77e7645c6025ee0191.tar.gz nova-90f77d71fe5815f08fe12e77e7645c6025ee0191.tar.xz nova-90f77d71fe5815f08fe12e77e7645c6025ee0191.zip |
Added several operators on instance_type_extra_specs.
The following operators on instance_type_extra_specs were added in
compute_capabilities_filter.py:
= (equal to or greater than as a number; same as vcpus case)
== (equal to as a number)
!= (not equal to as a number)
>= (greater than or equal to as a number)
<= (less than or equal to as a number)
s== (equal to as a string)
s!= (not equal to as a string)
s>= (greater than or equal to as a string)
s> (greater than as a string)
s<= (less than or equal to as a string)
s< (less than as a string)
<in> (substring)
<or> (find one of these)
If the first word in the instance_type_extra_spec is not one of the
keywords above, it is ignored.
E.g.: ">= 5", "s== 2.1.0", "<in> gcc", and "<or> fpu <or> gpu"
For more information, please refer:
blueprint instance-type-extra-specs-extension.
Change-Id: Ief23d00449798577c6910aaef85f0cba26323c61
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions