Difference between revisions of "Sahara/ModifyClusterTemplate"
< Sahara
(→Release Note) |
(→Test/Demo Plan) |
||
Line 44: | Line 44: | ||
==Test/Demo Plan== | ==Test/Demo Plan== | ||
− | # | + | # Using the modify function, change the values what you want. |
− | # | + | # Confirm the values of node group template was changed. |
==Unresolved issues== | ==Unresolved issues== |
Revision as of 07:49, 10 September 2013
Contents
Summary
Modifying a Cluster template
Release Note
Currently there is 'cluster_templates_update()' function. However that function just return the not_implemented() function contained the 501 error("This API operation isn't implemented") In the backend, 'cluster_templates_update()' function should be implement completely as defining some new functions.
In the dashboard, Create the new file using 'create.py' and 'copy.py'.
When this is implemented, savanna dashboard will show the 'modify template' butten in 'Actions' part and it can be modify a cluster template.
User stories
- User want to change some content of template, they will click the 'modify template' button.
- Savanna dashboard will show the selected value.
- User can be modify some values they want to change.
Design
- Backend
- Savanna Dashboard
Implementation
- Rest API process
- Implement and add 'cluster_template_update' class of each process
- Savanna dashboard
- Add 'update template' button
Code Changes
- Rest API process
- /api/v10.py
- /service/api.py
- /conductor/api.py
- /manager.py
- /db/api.py
- /sqlalchemy/api.py
- savanna dashboard
- /cluster_templates/tables.py
- /cluster_templates/urls.py
- /cluster_templates/views.py
- /api/cluster_templates.py
Test/Demo Plan
- Using the modify function, change the values what you want.
- Confirm the values of node group template was changed.