aboutsummaryrefslogtreecommitdiffstats
path: root/network/ports/net_vip_map_external_v6.yaml
blob: 12db8d2d2e2f701e9b167672b9f269475bffa76b (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
heat_template_version: ocata

parameters:
  # Set these via parameter defaults to configure external VIPs
  ControlPlaneIP:
    default: ''
    type: string
  ExternalNetworkVip:
    default: ''
    type: string
  InternalApiNetworkVip:
    default: ''
    type: string
  StorageNetworkVip:
    default: ''
    type: string
  StorageMgmtNetworkVip:
    default: ''
    type: string
  # The following are unused in this template
  ControlPlaneIp:
    default: ''
    type: string
  ExternalIp:
    default: ''
    type: string
  ExternalIpUri:
    default: ''
    type: string
  InternalApiIp:
    default: ''
    type: string
  InternalApiIpUri:
    default: ''
    type: string
  StorageIp:
    default: ''
    type: string
  StorageIpUri:
    default: ''
    type: string
  StorageMgmtIp:
    default: ''
    type: string
  StorageMgmtIpUri:
    default: ''
    type: string

outputs:
  net_ip_map:
    description: >
      A Hash containing a mapping of network names to assigned IPs
      for a specific machine.
    value:
      ctlplane: {get_param: ControlPlaneIP}
      external: {get_param: ExternalNetworkVip}
      internal_api: {get_param: InternalApiNetworkVip}
      storage: {get_param: StorageNetworkVip}
      storage_mgmt: {get_param: StorageMgmtNetworkVip}
      ctlplane_uri: {get_param: ControlPlaneIP}
      external_uri:
        list_join:
          - ''
          - - '['
            - {get_param: ExternalNetworkVip}
            - ']'
      internal_api_uri:
        list_join:
          - ''
          - - '['
            - {get_param: InternalApiNetworkVip}
            - ']'
      storage_uri:
        list_join:
          - ''
          - - '['
            - {get_param: StorageNetworkVip}
            - ']'
      storage_mgmt_uri:
        list_join:
          - ''
          - - '['
            - {get_param: StorageMgmtNetworkVip}
            - ']'