* Add ability for handling new predicates for requires
component's property
* Refactoring of exist components validation function
* Update release components according to new DSL model
Implements: blueprint component-registry-improvements
Change-Id: I6175e28118dac494d48968e3f8c51e89ab74a34b
Depends-On: Iab03bf5e36800c8aea0e054719d40ca42a542b73
So far Nailgun always assumes that restrictions are strict, and doesn't
care about explicit (specified in restriction) `strict` value. This
commit fixes that, and if some restriction has an explicit `strict`
option it will be taken into account.
Change-Id: I5ef0e91f42cd708be5df56da461af4d7b568ae42
Closes-Bug: #1587773
Currently restrictions skip only attributes with 'hide' action.
Attributes with 'disabled' action(except 'checkboxes' and group attributes)
should be skipped as well to avoid regex validation.
Change-Id: I3869f1d8a3e4f322f38b94da8d7f267b3ebfa611
Closes-Bug: #1580077
Since Nailgun contains attributes restriction
mechanism it's possible to verify attributes
restrictions. This commit applies restrictions
checks into validation for both node attributes
and cluster attributes.
Change-Id: I269da9a7a7df5fea336c07784b37d6ced1641993
Closes-Bug: #1567394
nailgun.errors have a huge set of exceptions but without hierarchy. This
patch remove exception generation from dict and make it explicitly with
python classes and add some exceptions hierarchy. Now all network errors
inherit from NetworkException and same for other exceptions.
Change-Id: I9a2c6b358ea02a16711da74562308664ad7aed97
Closes-bug: #1566195
Added support for the following custom control types:
* text_list
* textarea_list
Implements: blueprint dynamic-fields
Change-Id: I3b8b0068c98cdc5823534ea9721a17a3d1ee92fe
This change introduces new field 'restrictions' for networks
On cluster create and on attributes update, network metadata validates
restrictions if specified.
Networks with restrictions should be created or removed depends on cluster
attributes matches specified restrictions.
Implements: blueprint fuel-integrate-ironic (partially)
Change-Id: I65a0d27e7c4c95360d4745f7e9cdd948bb20fdd3
Add validation for cluster attributes. Do it so that it doesn't break
compatibility with current tests. Validate regexpes if they are provided.
Change-Id: I9c1fc04dab45aecf3e32615172654d11844df7c3
Closes-Bug: #1447407
Logic for processing limits ported from UI side
DocImpact related to: bp create-role-with-nailgun-api
Change-Id: I321cf8ff0c6e63312d908f409131fe93fb388ae4
* provides implementation for checking
restrictions which behavior desribed in openstack.yaml
file for attributes and vmware_attribute on nailgun side.
* pre-deployment checking for vmware consistency
Change-Id: I2124bbf3fd8d2f7fd586c9859f63b169354b8ad7