fb34651cc2
The main purpose of that patch is to allow creation of "virtual" container_skel, that will not generate any containers in inventory, but will contain all containers of corresponsive hosts. That might be useful in usecases like AZs, or when deployer simply wants to create custom groups and include all bare metal hosts along with all containers on them to the same group. Such behaviour can be triggered when empty belongs_to is provided for container_skel along with is_nest property. Then container_skel item will contain host-containers and it's children. Change-Id: Ic5570bfe9f0f54d1ea1e067834c11e6c390a2686
45 lines
657 B
Plaintext
45 lines
657 B
Plaintext
---
|
|
|
|
component_skel:
|
|
pod1_containers:
|
|
belongs_to:
|
|
- pod1_all
|
|
pod1_hosts:
|
|
belongs_to:
|
|
- pod1_all
|
|
|
|
pod2_containers:
|
|
belongs_to:
|
|
- pod2_all
|
|
pod2_hosts:
|
|
belongs_to:
|
|
- pod2_all
|
|
|
|
pod3_containers:
|
|
belongs_to:
|
|
- pod3_all
|
|
pod3_hosts:
|
|
belongs_to:
|
|
- pod3_all
|
|
|
|
pod4_containers:
|
|
belongs_to:
|
|
- pod3_all
|
|
pod4_hosts:
|
|
belongs_to:
|
|
- pod3_all
|
|
|
|
container_skel:
|
|
pod1_containers:
|
|
properties:
|
|
is_nest: True
|
|
pod2_containers:
|
|
properties:
|
|
is_nest: True
|
|
pod3_containers:
|
|
properties:
|
|
is_nest: True
|
|
pod4_containers:
|
|
properties:
|
|
is_nest: True
|