[tripleo-common] Enhance List Roles action to provide full contents
Enhance existing ListRolesAction which lists roles currently selected for deployment by reaching to deployment plan for roles_data.yaml object to optionally include entire contents of each role rather than just role names.
input: { container: <planName>, detail: true }
output:
[
{
name: 'BlockStorage',
description: 'Cinder Block Storage node role',
networks: ['InternalApi', 'Storage', 'StorageMgmt'],
servicesDef
...
},
...
]
This action differs from ListAvailableRo
'roles directory' - roles available for use in deployment
'roles_data.yaml' - roles which are selected to be used for deployment. Any changes to roles configuration is stored here (e.g. networks assignment). That is why we need to duplicate the data.
Blueprint information
- Status:
- Complete
- Approver:
- Emilien Macchi
- Priority:
- High
- Drafter:
- Jiri Tomasek
- Direction:
- Approved
- Assignee:
- Ryan Brady
- Definition:
- Approved
- Series goal:
- Accepted for queens
- Implementation:
-
Implemented
- Milestone target:
-
queens-2
- Started by
- Julie Pichon
- Completed by
- Julie Pichon
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
[WIP] Enhances Roles List
[jpichon 2017.11.10] The linked review seems to have merged, updating status to Implemented.
Work Items
Dependency tree

* Blueprints in grey have been implemented.