1dec175241
This change converts the existing NIC templates to jinja2 in order to dynamically render the ports and networks according to the network_data.yaml. If networks are added to the network_data.yaml file, parameters will be added to all NIC templates. The YAML files (as output from jinja with the default network_data.yaml) are present as an example. The roles in roles_data.yaml are used to produce NIC configs for the standard and custom composable roles. In order to keep the ordering of NICs the same in the multiple-nics templates, the order of networks was changed in the network_data.yaml file. This is reflected in the network templates, and in some of the files that is the only change. The roles and roles_data.yaml were modified to include a legacy name for the NIC config templates for the built-in roles Controller, Compute, Object Storage, Block Storage, Ceph Storage, Compute-DPDK, and Networker roles. There will now be a file produced with the legacy name, but also one produced with the <role>-role.j2.yaml format (along with environment files to help use the new filenames). Note this change also fixes some typos as well as a number of templates that had VLANs with device: entries which were ignored. Closes-Bug: 1737041 Depends-On: I49c0245c36de3103671080fd1c8cfb3432856f35 Change-Id: I3bdb7d00dab5a023dd8b9c94c0f89f84357ae7a4
68 lines
2.8 KiB
YAML
68 lines
2.8 KiB
YAML
###############################################################################
|
|
# Role: Compute #
|
|
###############################################################################
|
|
- name: Compute
|
|
description: |
|
|
Basic Compute Node role
|
|
CountDefault: 1
|
|
networks:
|
|
- InternalApi
|
|
- Tenant
|
|
- Storage
|
|
HostnameFormatDefault: '%stackname%-novacompute-%index%'
|
|
# Deprecated & backward-compatible values (FIXME: Make parameters consistent)
|
|
# Set uses_deprecated_params to True if any deprecated params are used.
|
|
uses_deprecated_params: True
|
|
deprecated_param_image: 'NovaImage'
|
|
deprecated_param_extraconfig: 'NovaComputeExtraConfig'
|
|
deprecated_param_metadata: 'NovaComputeServerMetadata'
|
|
deprecated_param_scheduler_hints: 'NovaComputeSchedulerHints'
|
|
deprecated_param_ips: 'NovaComputeIPs'
|
|
deprecated_server_resource_name: 'NovaCompute'
|
|
deprecated_nic_config_name: 'compute.yaml'
|
|
disable_upgrade_deployment: True
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::Aide
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CephClient
|
|
- OS::TripleO::Services::CephExternal
|
|
- OS::TripleO::Services::CertmongerUser
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::ComputeCeilometerAgent
|
|
- OS::TripleO::Services::ComputeNeutronCorePlugin
|
|
- OS::TripleO::Services::ComputeNeutronL3Agent
|
|
- OS::TripleO::Services::ComputeNeutronMetadataAgent
|
|
- OS::TripleO::Services::ComputeNeutronOvsAgent
|
|
- OS::TripleO::Services::Docker
|
|
- OS::TripleO::Services::Fluentd
|
|
- OS::TripleO::Services::Ipsec
|
|
- OS::TripleO::Services::Iscsid
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::LoginDefs
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::NeutronBgpVpnBagpipe
|
|
- OS::TripleO::Services::NeutronLinuxbridgeAgent
|
|
- OS::TripleO::Services::NeutronVppAgent
|
|
- OS::TripleO::Services::NovaCompute
|
|
- OS::TripleO::Services::NovaLibvirt
|
|
- OS::TripleO::Services::NovaMigrationTarget
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::OpenDaylightOvs
|
|
- OS::TripleO::Services::Rhsm
|
|
- OS::TripleO::Services::RsyslogSidecar
|
|
- OS::TripleO::Services::Securetty
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::SkydiveAgent
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Sshd
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::Tuned
|
|
- OS::TripleO::Services::Vpp
|
|
- OS::TripleO::Services::OVNController
|
|
- OS::TripleO::Services::OVNMetadataAgent
|
|
- OS::TripleO::Services::Ptp
|