[Kimchi-devel] [PATCH 0/5] API to list system users and groups
Aline Manera
alinefm at linux.vnet.ibm.com
Thu Apr 17 21:04:39 UTC 2014
From: Aline Manera <alinefm at br.ibm.com>
While setting users and groups to a VM the user needs to know what
are the available values.
So add the following API:
- /host/users: to list system users
- /host/groups: to list system groups
Aline Manera (5):
Create a new common collection named SimpleCollection
Add API to list system users and groups
Update users/groups verification based on new API
Remove unused code
Update test cases
src/kimchi/auth.py | 22 ----------------------
src/kimchi/control/base.py | 17 +++++++++++++++++
src/kimchi/control/host.py | 14 +++++++++++++-
src/kimchi/control/plugins.py | 19 ++-----------------
src/kimchi/i18n.py | 4 ++--
src/kimchi/mockmodel.py | 30 ++++++++++++++++++++++++------
src/kimchi/model/host.py | 18 ++++++++++++++++++
src/kimchi/model/vms.py | 20 ++++++++++++--------
tests/test_authorization.py | 19 -------------------
tests/test_model.py | 8 ++++----
tests/test_rest.py | 24 ++++++++++++++++++++----
11 files changed, 112 insertions(+), 83 deletions(-)
--
1.7.10.4
More information about the Kimchi-devel
mailing list