aboutsummaryrefslogtreecommitdiffstats
path: root/network/ports/net_ip_subnet_map.yaml
blob: cf59adb39cf1a3559a10b685b29bb2b6d7c473b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
heat_template_version: 2015-04-30

parameters:
  ControlPlaneIp:
    default: ''
    type: string
  ExternalIpSubnet:
    default: ''
    type: string
  InternalApiIpSubnet:
    default: ''
    type: string
  StorageIpSubnet:
    default: ''
    type: string
  StorageMgmtIpSubnet:
    default: ''
    type: string
  TenantIpSubnet:
    default: ''
    type: string
  ControlPlaneSubnetCidr: # Override this via parameter_defaults
    default: '24'
    description: The subnet CIDR of the control plane network.
    type: string

outputs:
  net_ip_subnet_map:
    description: >
      A Hash containing a mapping of network names to assigned
      IP/subnet mappings.
    value:
      ctlplane:
        list_join:
          - ''
          - - {get_param: ControlPlaneIp}
            - '/'
            - {get_param: ControlPlaneSubnetCidr}
      external: {get_param: ExternalIpSubnet}
      internal_api: {get_param: InternalApiIpSubnet}
      storage: {get_param: StorageIpSubnet}
      storage_mgmt: {get_param: StorageMgmtIpSubnet}
      tenant: {get_param: TenantIpSubnet}