Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / all-nodes-validation.yaml
1 heat_template_version: pike
2
3 description: >
4   Software Config to drive validations that occur on all nodes.
5   Note, you need the heat-config-script element built into your
6   images, due to the script group below.
7
8 parameters:
9   PingTestIps:
10     default: ''
11     description: A string containing a space separated list of IP addresses used to ping test each available network interface.
12     type: string
13   ValidateFqdn:
14     default: false
15     description: Optional validation to ensure FQDN as set by Nova matches the name set in /etc/hosts.
16     type: boolean
17   ValidateNtp:
18     default: true
19     description: Validation to ensure at least one time source is accessible.
20     type: boolean
21
22 resources:
23   AllNodesValidationsImpl:
24     type: OS::Heat::SoftwareConfig
25     properties:
26       group: script
27       inputs:
28         - name: ping_test_ips
29           default: {get_param: PingTestIps}
30         - name: validate_fqdn
31           default: {get_param: ValidateFqdn}
32         - name: validate_ntp
33           default: {get_param: ValidateNtp}
34       config: {get_file: ./validation-scripts/all-nodes.sh}
35
36 outputs:
37   OS::stack_id:
38     description: The ID of the AllNodesValidationsImpl resource.
39     value: {get_resource: AllNodesValidationsImpl}