7b26e59422
- using click framework - added api client - allow interactions between code and service endpoints - documention on the command line - updated gitignore Change-Id: Ibe359025f5b35606d876c29fa88e04048f276cc8
11 lines
376 B
Bash
Executable File
11 lines
376 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ -x $(which openstack) ]; then
|
|
pip install python-openstackclient
|
|
fi
|
|
|
|
openstack domain create 'ucp'
|
|
openstack project create --domain 'ucp' 'service'
|
|
openstack user create --domain ucp --project service --project-domain 'ucp' --password armada armada
|
|
openstack role add --project-domain ucp --user-domain ucp --user armada --project service admin
|