Request #4280
Role should store vm_template name instead of ID
| Status: | Pending | Start date: | 01/10/2016 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | OneFlow | |||
| Target version: | - | |||
| Pull request: |
Description
Hello,
When creating a service, each role store the ID of the VM template in vm_template.
{ "name": "frontend", "vm_template": 0 },
It could be better to store the VM template name, for example:
{ "name": "frontend", "vm_template_name": "frontend-with-nginx", "vm_template_uname": "oneadmin" },
Regards.
This will make it consistent with how the VM template refers to disks and networks.