Fix heat template for cassandra

Reasons:
 - heat template for cassandra misses OS::Neutron::Port resource which is 
   required for NICs that can be applied to an instance.

Changes:
 - adding OS::Neutron::Port cassandra heat template.

Change-Id: I9661ae5d6e0695b7fd56d97cc6cd6ab874a3b5d0
Closes-Bug: #1308131
This commit is contained in:
Denis Makogon 2014-04-15 19:01:02 +03:00 committed by Denis M.
parent 2f703fe36e
commit 50bd204846
1 changed files with 10 additions and 0 deletions

View File

@ -18,6 +18,16 @@ Parameters:
TenantId:
Type: String
Resources:
{% for port in ports %}
{{ port.name }}:
Type: OS::Neutron::Port
Properties:
network_id: "{{ port.net_id }}"
security_groups: [{Ref: CassandraDbaasSG}]
{% if port.fixed_ip %}
fixed_ips: [{"ip_address": "{{ port.fixed_ip }}"}]
{% endif %}
{% endfor %}
BaseInstance:
Type: AWS::EC2::Instance
Metadata: