5015cc6dd8
The ControlPlanePort interface changed in the deployed-server ressource. It now takes an additional fixed_ips parameters. This add the required parameter and is required for FFU testing in CI. Adjust the validation to take the fixed_ips discrepancies between two different templates interfaces in deployed-neutron-port and ctlplane-port. Change-Id: I58af23129bcba04a367d0169dcafd53d33ab42f2 Closes-Bug: #1755837
37 lines
727 B
YAML
37 lines
727 B
YAML
heat_template_version: queens
|
|
|
|
parameters:
|
|
network:
|
|
type: string
|
|
default: ctlplane
|
|
fixed_ips:
|
|
default: []
|
|
type: json
|
|
name:
|
|
type: string
|
|
replacement_policy:
|
|
type: string
|
|
default: AUTO
|
|
ControlPlaneSubnet:
|
|
default: ctlplane-subnet
|
|
description: The name of the undercloud Neutron control plane subnet
|
|
type: string
|
|
|
|
resources:
|
|
|
|
ControlPlanePort:
|
|
type: OS::Neutron::Port
|
|
properties:
|
|
network: ctlplane
|
|
fixed_ips: [{subnet: {get_param: ControlPlaneSubnet}}]
|
|
name:
|
|
list_join:
|
|
- '-'
|
|
- - {get_param: name}
|
|
- port
|
|
replacement_policy: AUTO
|
|
|
|
outputs:
|
|
fixed_ips:
|
|
value: {get_attr: [ControlPlanePort, fixed_ips]}
|