Use tags instead of role names

Role names can be customized, yet in THT jinja2 we
have several places where conditions are based on
the role name. By using tag's such as 'storage',
'ceph' and 'ovsdpdk' we the role names become truly
customizable.

The depends-on change in TripleO common will
dynamically add tag's to role's based on role.name
for backward compatibility during deprecation
period.

Depends-On: https://review.opendev.org/758124
Change-Id: I5ab4e4a220294245f95d328391bfffec87781a09
This commit is contained in:
Harald Jensås
2020-10-12 12:56:24 +02:00
committed by Rabi Mishra
parent e9da1a2a71
commit ff4d1fbb66
43 changed files with 161 additions and 14 deletions

View File

@@ -6,6 +6,7 @@
DVR enabled Compute Node role
CountDefault: 1
tags:
- compute
- external_bridge
networks:
InternalApi: