6d68ce08e1
This change adds templates that are used to create network and port definition templates for each network that is defined in network_data.yaml. In order to render the templates, additional fields have been added to the network_data.yaml file. If this optional data is present, it will be used to populate the default parameter values in the network template. The only required parameters in the network_data.yaml file is the network name. If the network will have IPv6 addresses, then ipv6: true must be set on the network. The existing networks have been modeled in the network_data.yaml, but until these templates are removed from the j2_excludes.yaml file they will not be generated on the fly. Any additional networks will have templates generated. This change also removes an unnecessary conditional from the networks.j2.yaml file, since InternalApiNetwork doesn't need to be reformatted as InternalNetwork (it's only used in this one file). A follow-up patch will remove the existing network definitions so all networks are created dynamically. Change-Id: If074f87494a46305c990a0ea332c7b576d3c6ed8 Depends-On: Iab8aca2f1fcaba0c8f109717a4b3068f629c9aab Partially-Implements: blueprint composable-networks
47 lines
1.6 KiB
YAML
47 lines
1.6 KiB
YAML
# This template specifies which j2 rendered templates
|
|
# should be excluded in the render process from
|
|
# tripleo-common/tripleo_common/actions/templates.py
|
|
|
|
name:
|
|
- puppet/controller-role.yaml
|
|
- puppet/compute-role.yaml
|
|
- puppet/blockstorage-role.yaml
|
|
- puppet/objectstorage-role.yaml
|
|
- puppet/cephstorage-role.yaml
|
|
- network/internal_api.yaml
|
|
- network/external.yaml
|
|
- network/storage.yaml
|
|
- network/storage_mgmt.yaml
|
|
- network/tenant.yaml
|
|
- network/management.yaml
|
|
- network/internal_api_v6.yaml
|
|
- network/external_v6.yaml
|
|
- network/storage_v6.yaml
|
|
- network/storage_mgmt_v6.yaml
|
|
- network/tenant_v6.yaml
|
|
- network/management_v6.yaml
|
|
- network/ports/internal_api.yaml
|
|
- network/ports/external.yaml
|
|
- network/ports/storage.yaml
|
|
- network/ports/storage_mgmt.yaml
|
|
- network/ports/tenant.yaml
|
|
- network/ports/management.yaml
|
|
- network/ports/internal_api_v6.yaml
|
|
- network/ports/external_v6.yaml
|
|
- network/ports/storage_v6.yaml
|
|
- network/ports/storage_mgmt_v6.yaml
|
|
- network/ports/tenant_v6.yaml
|
|
- network/ports/management_v6.yaml
|
|
- network/ports/internal_api_from_pool.yaml
|
|
- network/ports/external_from_pool.yaml
|
|
- network/ports/storage_from_pool.yaml
|
|
- network/ports/storage_mgmt_from_pool.yaml
|
|
- network/ports/tenant_from_pool.yaml
|
|
- network/ports/management_from_pool.yaml
|
|
- network/ports/internal_api_from_pool_v6.yaml
|
|
- network/ports/external_from_pool_v6.yaml
|
|
- network/ports/storage_from_pool_v6.yaml
|
|
- network/ports/storage_mgmt_from_pool_v6.yaml
|
|
- network/ports/tenant_from_pool_v6.yaml
|
|
- network/ports/management_from_pool_v6.yaml
|