aboutsummaryrefslogtreecommitdiffstats
path: root/deployed-server/ctlplane-port.yaml
blob: eb10fba05d70df094d2a3ddfaa10d7225b9857a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
heat_template_version: 2014-10-16

parameters:
  Hostname:
    type: string

resources:

  ControlPlanePort:
    type: OS::Neutron::Port
    properties:
      network: ctlplane
      name:
        list_join:
          - '-'
          - - {get_param: Hostname}
            - ctlplane
            - port
      replacement_policy: AUTO

outputs:
  ip_address:
    value: {get_attr: [ControlPlanePort, fixed_ips, 0, ip_address]}