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: RegionOne
Clone repository
$ git clone https://github.com/b3lab/safir_openstack_user_manager.git
$ cd openstack_user_management
Create a virtual environment
$ virtualenv ./.venv
Switch to virtual environment
$ source ./.venv/bin/activate
Install requirements
$ pip install -r requirements.txt
Install unittest requirements
$ pip install -r test-requirements.txt