Fix dependency for nested attributes

Nested get_attr functions in {{network.name}}VirtualIP/VipMap
can't determine which attributes of Networks are used until
after ServiceNetMap's attribute values are available.

Change-Id: I418a06a59ff46feedcc22cb6f87b707fae3a9874
This commit is contained in:
rabi 2023-02-10 21:13:20 +05:30
parent 8f3f285568
commit 16b0e650ca
1 changed files with 4 additions and 0 deletions

View File

@ -936,6 +936,10 @@ resources:
# creates the network architecture
Networks:
type: OS::TripleO::Network
# Because of nested get_attr functions in *VirtualIP/VipMap,
# we can't determine which attributes of Networks are used until after
# ServiceNetMap's attribute values are available.
depends_on: ServiceNetMap
properties:
CtlplaneNetworkCidrs: {get_attr: [ControlVirtualIP, network, tags]}