maas-cli get-config and set-config documentation

Bug #1136449 reported by Diogo Matsubara
10
This bug affects 2 people
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/python2.7/dist-packages/maascli/__main__.py maas maas
       [-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/python2.7/dist-packages/maascli/__main__.py maas maas get-config
       [-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/python2.7/dist-packages/maascli/__main__.py maas maas set-config
       [-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

Tags: api cli

Related branches

tags: added: api cli
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Daniel Westervelt (danwest) wrote :

just hit this as well - can't seem to find any documentation on what configs are exposed here.

Raphaël Badin (rvb)
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.