You may use this library with the register panel patch that we forked from openstack/horizon
$ git clone https://github.com/b3lab/safir_openstack_user_manager.git
$ cd openstack_user_management/
$ sudo pip install .Make sure you have the clouds.yaml file including the credentials to connect to your OpenStack platform inside /etc/openstack directory.
clouds:
cloud-admin:
auth:
auth_url: http://<controller_hostname>:5000/v3
password: <password>
project_name: admin
username: admin
project_domain_name: default
user_domain_name: default
domain_name: Default
identity_api_version: '3'
region_name: RegionOneClone repository
$ git clone https://github.com/b3lab/safir_openstack_user_manager.git
$ cd openstack_user_managementCreate a virtual environment
$ virtualenv ./.venvSwitch to virtual environment
$ source ./.venv/bin/activateInstall requirements
$ pip install -r requirements.txtInstall unittest requirements
$ pip install -r test-requirements.txt