diff options
author | tzumainn <tzumainn@redhat.com> | 2017-10-13 05:21:26 -0400 |
---|---|---|
committer | Tomas Sedovic <tomas@sedovic.cz> | 2017-10-13 11:21:26 +0200 |
commit | b450ff75888f7801094ca88957a237f33f5e85f1 (patch) | |
tree | 744495b2d7d95dcb4b487c3bb5a9b8340eff0bbd /roles/openstack-stack/templates/heat_stack_server.yaml.j2 | |
parent | 2bb21a8e26cce69b9da722463a6b78860902d3e5 (diff) | |
download | openshift-b450ff75888f7801094ca88957a237f33f5e85f1.tar.gz openshift-b450ff75888f7801094ca88957a237f33f5e85f1.tar.bz2 openshift-b450ff75888f7801094ca88957a237f33f5e85f1.tar.xz openshift-b450ff75888f7801094ca88957a237f33f5e85f1.zip |
Allow the specification of server group policies when provisioning openstack (#747)
* Allow for the specifying of server policies during OpenStack provisioning
* documentation for openstack server group policies
* add doc link detailing allowed policies
* changed default to anti-affinity
Diffstat (limited to 'roles/openstack-stack/templates/heat_stack_server.yaml.j2')
-rw-r--r-- | roles/openstack-stack/templates/heat_stack_server.yaml.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openstack-stack/templates/heat_stack_server.yaml.j2 b/roles/openstack-stack/templates/heat_stack_server.yaml.j2 index fc797941e..66c2491a9 100644 --- a/roles/openstack-stack/templates/heat_stack_server.yaml.j2 +++ b/roles/openstack-stack/templates/heat_stack_server.yaml.j2 @@ -98,6 +98,11 @@ parameters: description: OpenShift Node Labels default: {"region": "default" } + scheduler_hints: + type: json + description: Server scheduler hints. + default: {} + outputs: name: @@ -154,6 +159,7 @@ resources: host-type: { get_param: type } sub-host-type: { get_param: subtype } node_labels: { get_param: node_labels } + scheduler_hints: { get_param: scheduler_hints } {% if use_trunk_ports|default(false)|bool %} trunk-port: |