Changeset I49255255 has added an 'is_base' attribute for Image Schema
properties, thus allowing to differentiate between base and custom image
properties, but the client hasn't make any use of it.
This patch adds appropriate attribute to SchemaProperty class and a
helper method which allows to validate if the given property is base or
not.
The added helper method (is_base_property) should not be confused with
the existing is_core_property: the latter just checks if the property is
known to the schema, regardless of its being base or not.
Reviewed: https:/ /review. fuel-infra. org/11394 ci/fuel- 6.1/2014. 2
Submitter: mos-infra-ci <>
Branch: openstack-
Commit: 8bd93a94aabfa57 19ce50dfefeb834 0ff5aeee42
Author: Alexander Tivelkov <email address hidden>
Date: Wed Sep 16 22:12:34 2015
Expose 'is_base' schema property attribute
Changeset I49255255 has added an 'is_base' attribute for Image Schema
properties, thus allowing to differentiate between base and custom image
properties, but the client hasn't make any use of it.
This patch adds appropriate attribute to SchemaProperty class and a
helper method which allows to validate if the given property is base or
not.
The added helper method (is_base_property) should not be confused with
the existing is_core_property: the latter just checks if the property is
known to the schema, regardless of its being base or not.
Change-Id: I7c397196dad9ae 5494ed2f8f3aace f3fc1ce70d8
Partial-Bug: #1421439