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:
parent
2f703fe36e
commit
50bd204846
|
@ -18,6 +18,16 @@ Parameters:
|
||||||
TenantId:
|
TenantId:
|
||||||
Type: String
|
Type: String
|
||||||
Resources:
|
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:
|
BaseInstance:
|
||||||
Type: AWS::EC2::Instance
|
Type: AWS::EC2::Instance
|
||||||
Metadata:
|
Metadata:
|
||||||
|
|
Loading…
Reference in New Issue