diff options
| author | Rui Chen <chenrui.momo@gmail.com> | 2016-09-23 15:26:48 +0800 |
|---|---|---|
| committer | Rui Chen <chenrui.momo@gmail.com> | 2016-10-10 09:36:47 +0800 |
| commit | 29f78500dba1aa258e4e94e331a7a48c38ce58e2 (patch) | |
| tree | f59d54e54f03b1f85115f0726a3f3a2eaed18640 /openstackclient/api/auth_plugin.py | |
| parent | 762f2f2c34814b8bfc615696918d8cb49b93a1dd (diff) | |
| download | python-openstackclient-29f78500dba1aa258e4e94e331a7a48c38ce58e2.tar.gz | |
Redefine set/unset command devref
Now we have some use cases about set/unset properties,
try to redefine devref to find out a best and easiest
solution to keep commands simple and clearly.
Five use cases exist in property action, "append",
"update", "remove", "clean", "override", the following
rules can cover all these use cases:
1. append ==> "set --property new-key=value"
2. update ==> "set --property existed-key=new-value"
3. remove ==> "unset --property existed-key"
4. clean ==> "set --no-property"
5. clean ==> "unset --all-property"
6. override ==> "set --no-property --property new-key=value"
Related blueprint support-no-property-in-aggregate and
blueprint allow-overwrite-set-options.
Change-Id: If86daf6989d8e0ad0dc6e590d7636be7d5203a18
Diffstat (limited to 'openstackclient/api/auth_plugin.py')
0 files changed, 0 insertions, 0 deletions
