Add network vip mapping into service data
Make it possible to resolve network virtual ips from
within a service template. The data is transported in
the existing ServiceData property wich is wired into
all services.
The data can be consumed in service templates, replacing
the need for hiera interpolation for network virtual ips.
Related: RHBZ#1791338
Closes-Bug: #1860545
Change-Id: I24c239174d8d066bd2cb4300a21fa1d38a3e80cd
(cherry picked from commit eac636c9e6
)
This commit is contained in:
parent
d93f9e7def
commit
027555d944
|
@ -407,6 +407,7 @@ resources:
|
||||||
ServiceNetMap: {get_attr: [ServiceNetMap, service_net_map]}
|
ServiceNetMap: {get_attr: [ServiceNetMap, service_net_map]}
|
||||||
ServiceData:
|
ServiceData:
|
||||||
net_cidr_map: {get_attr: [NetCidrMapValue, value]}
|
net_cidr_map: {get_attr: [NetCidrMapValue, value]}
|
||||||
|
net_vip_map: {get_attr: [VipMap, net_ip_map]}
|
||||||
EndpointMap: {get_attr: [EndpointMapData, value]}
|
EndpointMap: {get_attr: [EndpointMapData, value]}
|
||||||
DefaultPasswords: {get_attr: [DefaultPasswords, passwords]}
|
DefaultPasswords: {get_attr: [DefaultPasswords, passwords]}
|
||||||
RoleName: {{role.name}}
|
RoleName: {{role.name}}
|
||||||
|
|
Loading…
Reference in New Issue