maas-cli get-config and set-config documentation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Raphaël Badin |
Bug Description
maas-cli maas maas get-config and maas-cli maas maas set-config could have better documentation and/or help explaining which are the config options available
See:
root@autopkgtest:~# maas-cli maas maas -h
usage: /usr/lib/
[-h] COMMAND ...
Manage the MAAS server.
optional arguments:
-h, --help show this help message and exit
drill down:
COMMAND
get-config
Get a config value.
set-config
Set a config value.
root@autopkgtest:~# maas-cli maas maas get-config -h
usage: /usr/lib/
[-h] [-d] [-k] [data [data ...]]
Get a config value.
positional arguments:
data
optional arguments:
-h, --help show this help message and exit
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check
:param name: The name of the config item to be retrieved.
:type name: basestring
root@autopkgtest:~# maas-cli maas maas set-config -h
usage: /usr/lib/
[-h] [-d] [-k] [data [data ...]]
Set a config value.
positional arguments:
data
optional arguments:
-h, --help show this help message and exit
-d, --debug Display more information about API responses.
-k, --insecure Disable SSL certificate check
:param name: The name of the config item to be set.
:type name: basestring
:param name: The value of the config item to be set.
:type value: json object
Related branches
- Jeroen T. Vermeulen (community): Approve
-
Diff: 679 lines (+435/-81)6 files modifiedsrc/maasserver/api.py (+23/-2)
src/maasserver/forms.py (+26/-73)
src/maasserver/forms_settings.py (+268/-0)
src/maasserver/tests/test_api.py (+43/-3)
src/maasserver/tests/test_forms.py (+16/-3)
src/maasserver/tests/test_forms_settings.py (+59/-0)
tags: | added: api cli |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → Fix Released |
Changed in maas: | |
milestone: | none → 13.10 |
Changed in maas: | |
status: | Fix Released → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
just hit this as well - can't seem to find any documentation on what configs are exposed here.