95 Commits

Author SHA1 Message Date
Tetiana Lashchova
87e8b11d0b Add sahara.plugin custom constraint
Change-Id: I042cfd88b07e393c1d6d2e8622a9135cdd485ee5
2015-09-07 21:28:44 +03:00
Sirushti Murugesan
063f80ffdf Add console_scripts entry points for all heat services
As a follow-up to Ibfd54e7b1bae700e4fb49a32e5bf7c00d1f104d9,
moving all the scripts from bin/ to setuptools entry points.

The devstack change is here: Iffb6d09bfef593d854b38e68200ae6039c4727e7

partial blueprint upgrade-tests

Change-Id: Ic8f5b8dc85098de752bbf673c4b15c06fdc4162a
2015-09-03 02:03:59 +00:00
huangtianhua
4b0247dc92 Add and apply cinder backup constraint
Add custom constraint for cinder backup and apply
it to related resources property.

Change-Id: I6e7f0dae98fae6f36b46ca6fcf02f77f79f942dd
Blueprint: add-cinder-backup-constraint
2015-08-20 08:11:58 +00:00
Kanagaraj Manickam
c0ea9ffa27 Monasca client plugin
Adds monasca client plugin 'monasca' and notification
constraint 'monasca.notification'

implements blueprint support-monasca-alarm-notification

Co-authored-by: Sergey Kraynev <skraynev@mirantis.com>

Change-Id: I4533ee8ff67c6cc608c366bc66f30c20df2a56a5
2015-08-11 10:04:03 +05:30
Jenkins
9a75dcb793 Merge "Add keystone.user custom constraint" 2015-08-04 11:26:11 +00:00
ricolin
7c941a38af move ceilometer constraints to common constraint
seperate out common ceilometer constraints

Change-Id: Ia562afe7fed57a3698fae9dbe11149988583bdc0
2015-08-03 13:18:31 +08:00
ricolin
3f68d5485e move network constraints from neutron to common constraint
seperate out common network constraints (ip_addr, cidr, and mac_addr)

Change-Id: I617035e379c4e86ac0ce4c77f26ebfca5b3d691a
2015-08-03 12:56:34 +08:00
Jenkins
e3608159cd Merge "collect common constraints" 2015-08-03 03:54:18 +00:00
ricolin
35a866ca83 collect common constraints
Create directory for common constraints and collect constraints.

Change-Id: Ie0800baa5415a71b67ede22313b0d57b198e8dc4
2015-08-02 00:32:07 +08:00
ricolin
943ccd2937 add new constraints to ceilometer
Add timezone and cron_expression constraints.
this is required by time_constraints in Ceilometer alarm resources.
Change-Id: I2b348d9eb0f1d1ebf1407dbaeeb975dfa86b40d5
Partial-Bug: #1447942
2015-08-01 01:03:41 +08:00
Bryan Jones
b3be2f46d1 Add keystone.user custom constraint
This the first patch of two to allow roles to be added to existing
users. This patch implements the keystone.user custom constraint,
allowing users to specify the names of existing keystone users in
their templates.

Change-Id: I9041f907a7bb227ba5c31353f431426c82c3ae47
Partial-Bug: #1477218
2015-07-29 21:32:21 +00:00
Kanagaraj Manickam
8db24258c2 Adds designate.domain constraint
Adds custom constraint for the designate domain.

implements blueprint: heat-designate-resource

Change-Id: I2a0c9b5af9d6aaa9c8a74b5a266f26f05dfffd56
2015-07-06 09:51:13 +05:30
Jenkins
b8e7674c0c Merge "Add nova.network custom constraint" 2015-07-01 09:15:13 +00:00
Steven Hardy
0d99ede046 HOT version 2015-10-15, remove Fn::Select
Bump the HOT version for the Liberty release, currently planned
for 2015-10-15 [1]

This is the same as 2015-04-30 other than the removal of the
last remaining CFN compatible function, Fn::Select, which should
now be replaced by path based attributes/parameters, e.g:

{get_attr: [aResource, anAttribute, <list index>]}
{get_param: [aListParam, <list index>]}

[1] https://wiki.openstack.org/wiki/Liberty_Release_Schedule

Change-Id: I10e5b12b84a6de01dd3f8a37a2d6cb644f319049
2015-06-26 10:21:50 +01:00
Oleksii Chuprykov
c360efb2ac Add nova.network custom constraint
It is needed, for example, for validation of nova_network property
in ManilaShareNetwork resource.

Change-Id: Id9f71706e34a347f688e54ff32373533ce80019a
2015-06-25 12:00:37 +00:00
Jenkins
54e530c94f Merge "Implement create-delete-check for Manila::Share" 2015-06-23 10:58:01 +00:00
kairat_kushaev
2e5d2b5e05 Implement create-delete-check for Manila::Share
Implement handle_create, handle_delete and
handle_check for Manila::Share - shared mountable filesystem.

Change-Id: I9d3351ba0151fdaedb62f71759813a23f57b0623
Implements: partial blueprint add-manila-resources
2015-06-23 12:25:20 +03:00
Sergey Vilgelm
432430d2c6 Switch to oslo.service
oslo.service has graduated, so heat should consume it.

Change-Id: I9c1899eb37505e64967e9cb77da23bb169498aba
Closes-Bug: #1466851
2015-06-23 08:30:39 +02:00
Jenkins
c512e0fb87 Merge "Update version for Liberty" 2015-06-22 14:22:09 +00:00
Doug Hellmann
423110ef6e Update version for Liberty
Update the version for Liberty, switching from date-based versioning
to pre-versioning using SemVer. See
http://lists.openstack.org/pipermail/openstack-dev/2015-May/065211.html
and
http://lists.openstack.org/pipermail/openstack-dev/2015-June/067082.html
for details.

Also new version was updated in resources with SupportStatus version 2015.2.

Change-Id: I6a35fa0dda798fad93b804d00a46af80f08d475c
2015-06-22 04:13:01 -04:00
Jenkins
c0d32fd421 Merge "make heat-manage a console_script entry point" 2015-06-22 00:34:27 +00:00
Robert Pothier
6bcc8a373d Move Magnum client into main tree
This moves the magnum client plugin out of contrib into the main tree.

Change-Id: Ie520bcb27530394af0afef8335e3d57d7dc26121
Implements: partial blueprint magnum-resources
2015-06-18 11:25:36 -04:00
Sean Dague
79dd4b423c make heat-manage a console_script entry point
pbr has extra sauce for correctly making installed cli tools not do
unneeded pkg_resources metadata checks (that can only end in tears) if
those scripts are installed via the console_script entry
point. heat-manage looks like it is ready to be used this way.

Other scripts should be converted in the future to avoid erroneous
errors due to library metadata mismatch, which these tools should not
care about.

Change-Id: Ibfd54e7b1bae700e4fb49a32e5bf7c00d1f104d9
2015-06-17 22:07:45 +05:30
Julien Danjou
6015b725f7 Use pbr new autodoc feature
This relies on the new pbr feature that autogenerates the documentation.

Change-Id: Ie3287dfc6a9a4566eb1c444af63ae86954c69e68
2015-06-16 11:35:02 +02:00
Miguel Grinberg
c31a9533fa Move mistral resources in-tree
This change relocates the mistral resources from the contrib area into the main
resource tree. It was originally added to contrib/ because of the project's
incubation status, and more specifically because the client is not in the
global-requirements.txt file. However, when this was discussed at the summit in
Vancouver, the decision was to move the resources to main tree but skip
registration if the client is not installed. This will save users from the
trouble of installing it as a plugin.

Change-Id: I6eeef5fa2b080df610e52620d2b935450d8d49e3
2015-06-09 10:19:52 -07:00
Miguel Grinberg
61dd55a927 Move manila resources in-tree
This change relocates the manila resources from the contrib area into the main
resource tree. It was originally added to contrib/ because of the project's
incubation status, and more specifically because the client is not in the
global-requirements.txt file. However, when this was discussed at the summit in
Vancouver, the decision was to move the resources to main tree but skip
registration if the client is not installed. This will save users from the
trouble of installing it as a plugin.

Change-Id: I9f43eba2abea351e1c5427b0968cbccab355992c
2015-06-08 19:09:27 +00:00
Jenkins
fcc176b913 Merge "Move keystone resources in-tree" 2015-06-03 01:58:37 +00:00
Miguel Grinberg
8d2ff5f773 Move keystone resources in-tree
This change relocates the keystone resources from the contrib area into
the main resource tree.

Change-Id: I6670ff797acfd4a0dbea4d3a68d8c5fa4709ae4e
2015-06-01 09:50:46 -07:00
Thomas Herve
ae701b3641 Move zaqar client into main tree
Moves the zaqar client plugin out of contrib into the main tree.

blueprint software-config-zaqar

Change-Id: I8a947e7b16b818d50b10688999d916c73a2297fd
2015-05-27 14:51:28 +02:00
Jenkins
f81cb5dbd1 Merge "Add CIDR format validation" 2015-05-15 17:40:44 +00:00
Ethan Lynn
1446be2865 Add CIDR format validation
Add a new constraint for CIDR format validation.

Implemented: blueprint enhance-property-constraints
Change-Id: Ica70147b713992c8523b92b12db0172a2966719c
2015-05-15 10:42:10 +08:00
Jenkins
656cb46dab Merge "Add mac address format validation" 2015-05-14 20:50:51 +00:00
Jenkins
e27831cc95 Merge "Add address format check for property" 2015-05-14 05:40:07 +00:00
Ethan Lynn
3753da351f Add mac address format validation
This patch adds constraint for mac address validation.

Implemented: blueprint enhance-property-constraints
Change-Id: I8770177f96dc220bbfaf120a61877d77ddca5510
2015-05-13 13:20:55 +08:00
Ethan Lynn
e7aeb452f4 Add address format check for property
Some resource receive IP address as property, this patch adds
custom constraint for IP address format validation.

Implemented: blueprint enhance-property-constraints
Change-Id: Ie4ad71418aa355a4e24ac6c2a33bd85c19c5ef11
2015-05-12 16:07:48 +08:00
Thomas Herve
934d4caca5 Move barbican client in main tree
Move the barbican client out of contrib into the main tree, to have it
available by default.

blueprint barbican-as-secret-backend

Change-Id: Id3fabae3f3c949634d22fad0bd425c7bfce509c8
2015-05-07 13:51:06 +02:00
Thierry Carrez
17dc00ce33 Open Liberty development
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.

Change-Id: Ied8b9042d45301c75d18ed8f767982f4130bb559
2015-04-07 10:06:05 +02:00
Jenkins
55df1256e2 Merge "Add trove flavor custom constraint" 2015-03-12 15:53:02 +00:00
Tetiana Lashchova
6064eea7c8 Add trove flavor custom constraint
Change-Id: I08f866434beef9074dc554eb8693dd5ac421df6e
2015-03-12 15:16:44 +02:00
huangtianhua
a1336e2527 Move resource inheritance class to engine/resources
Move the resources which inherit from 'Resource'
to engine/resources, such as stack_resource,
stack_user and signal_responder, and move
non-resources to engine/, such as iso_8601.py module.

Change-Id: Ic26c34cc8d34ca03ce674dc8c6ac32c10885b75f
Implements: blueprint reorganize-resources-code-structure
2015-03-10 18:07:46 +08:00
Jenkins
f1fd6e9f06 Merge ""repeat" function for HOT templates" 2015-03-01 21:22:29 +00:00
Miguel Grinberg
8d5f4cf005 "repeat" function for HOT templates
This change adds a "repeat" function, which provides a loop control
structure that iterates over the items in a list replacing each item in
a template.

Change-Id: I4785d7f6f7ee84ddfee08789ca5fc86d54f8e23f
Implements: blueprint repeat-function
2015-02-27 20:26:03 +00:00
Sergey Kraynev
8ac934471a Add sahara image constraint
Sahara uses images with specific tags. These images should be registered
in Sahara, otherwise you will get error during creation.
This patch adds constraint for sahara images.

Change-Id: Idce140ca65cd396cd1febcc052898717d378f88d
2015-02-26 06:39:24 -05:00
Jens Rosenboom
a99fe6a760 Make import of oslo libraries namespaceless
See https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages

Closes-Bug: 1423174
Change-Id: I48680ce6e7ce91005c147ab4388203946171d433
2015-02-18 22:54:10 +01:00
Steven Hardy
70112c103a Move logging to use oslo_log library
The oslo-incubator log modlule has been removed, so port to the oslo_log
library.  Note this uses the new (non namespaced, e.g oslo.log) import
convention, we'll need to align other imports in a future commit.

Some import reordering was required due to pedantic H30[57] checks, and
the services have all been converted to initialize the oslo_log library
as this is done differently to the log.py in incubator.

Change-Id: Ib5a97123fe1b287bc531e42d7887c13ba6205628
2015-02-17 09:23:34 +00:00
Thomas Herve
ec6ff6f670 Use oslo.config generator
Replace usage of old incubator configuration generator by the
oslo.config tool.

tools/config/generate_sample.sh has been replaced by tox -egenconfig.

heat_integrationtests/generate_sample.sh has been replaced by
oslo-config-generator
--config-file=heat_integrationtests/config-generator.conf

Change-Id: I6d95df203b556c8ec2088d40a446427f7087b9a7
2015-01-02 13:14:20 +01:00
huangtianhua
537860e2f9 Add cinder volume type constraint for resources
Add cinder volume type constraint for resources.

Change-Id: I2860418b8d4ee8ec076c35836d48a2c60aea7274
Notes: missed in bp/cinder-custom-constraints
2014-12-12 15:51:28 +08:00
Jenkins
6a3137de22 Merge "Remove Python 2.6 classifier" 2014-12-10 20:29:43 +00:00
huangtianhua
9d146f489d Add cinder snapshot custom constraint
Add cinder snapshot custom constraint to validate
the existent of the snapshot not wait creation.

Change-Id: I4140dfc212eeb4830632c8450e8c8faad3d165f6
Implements: blueprint cinder-custom-constraints
2014-12-04 02:44:28 +00:00
huangtianhua
65fd9c30e8 Add cinder volume custom constraint
Add cinder volume custom constraint to validate
the existent of the volume not wait creation.

Change-Id: Idf4b7139eff2532e71aff48ff4a965c9e52a0921
Implements: blueprint cinder-custom-constraints
2014-12-03 01:56:10 +00:00