Openstack Project Methods
These methods allow you to manage OpenStack projects for your account.
These methods complement the standard OpenStack APIs .
-
openstack.project.add_user()
Adds an account OpenStack user to an OpenStack project resulting in access
being granted to the user in the Horizon dashboard and via the OpenStack
APIs.
Parameters: |
- project_id (String) – The tenant/project ID of the OpenStack project Invalid API key. Ensure this value has at most 32 characters.
- username (String) – The username Username can only contain numbers, letters, dots, dashes and underscores, and can’t start with a dot. Ensure this value has at most 50 characters.
|
-
openstack.project.list_users()
Lists users for an OpenStack project.
Parameters: | project_id (String) – The tenant/project ID of the OpenStack project Invalid API key. Ensure this value has at most 32 characters. |
Returns: | a list of dictionaries where each dictionary is as described in |
openstack.user.info().
-
openstack.project.remove_user()
Removes an account OpenStack user from an OpenStack project resulting in
access being revoked from the user in the Horizon dashboard and via the
OpenStack APIs.
Parameters: |
- project_id (String) – The tenant/project ID of the OpenStack project Invalid API key. Ensure this value has at most 32 characters.
- username (String) – The username Username can only contain numbers, letters, dots, dashes and underscores, and can’t start with a dot. Ensure this value has at most 50 characters.
|