1a6df700be
Add an '--all-projects' option to a number of commands: - server delete - server start - server stop This is in addition to 'server list', which already supports this option. This option allows users to request the corresponding action on one or more servers using the server names when that server exists in another project. This is admin-only by default. As part of this work, we also introduce a 'boolenv' helper function that allows us to parse the environment variable as a boolean using 'bool_from_string' helper provided by oslo.utils. This could probably be clever and it has the unfortunate side effect of modifying the help text in environments where this is configured, but it's good enough for now. It also appears to add a new dependency, in the form of oslo.utils, but that dependency was already required by osc-lib and probably more. Change-Id: I4811f8f66dcb14ed99cc1cfb80b00e2d77afe45f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
8 lines
291 B
YAML
8 lines
291 B
YAML
---
|
|
features:
|
|
- |
|
|
The ``server delete``, ``server start`` and ``server stop`` commands now
|
|
support the ``--all-projects`` option. This allows you to perform the
|
|
specified action on a server in another project using the server name.
|
|
This is an admin-only action by default.
|