aboutsummaryrefslogtreecommitdiffstats
path: root/network/ports/net_ip_subnet_map.yaml
blob: 2f933eaa63109b9462ee3e7cc9f4d10ed1551a92 (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
44
45
46
47
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
  ManagementIpSubnet:
    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}
      management: {get_param: ManagementIpSubnet}