Added ability to add a user to a role. 79/37079/6
authorspisarski <s.pisarski@cablelabs.com>
Fri, 7 Jul 2017 21:26:24 +0000 (15:26 -0600)
committerspisarski <s.pisarski@cablelabs.com>
Tue, 11 Jul 2017 14:10:28 +0000 (08:10 -0600)
commit9881e7e312b1927d9be52ae02dccc5f9df3982df
tree167feaba570b4e29368260d82284bd398564c71d
parent5f3fe6856f07bd1289bac532264eccf6cba68d77
Added ability to add a user to a role.

This functionality was requested as the SNAPS-OO integration tests
currently have the ability to run these tests in custom projects with
custom users and certain OpenStack installations are not allowing
some of the integration tests functions unless the new user has been
added to the 'admin' role.

Change-Id: I255cfa089a14bbcb434a6cd33b2a1dfae66206b5
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
snaps/openstack/create_project.py
snaps/openstack/create_user.py
snaps/openstack/tests/create_project_tests.py
snaps/openstack/tests/create_user_tests.py
snaps/openstack/tests/os_source_file_test.py
snaps/openstack/utils/keystone_utils.py
snaps/openstack/utils/tests/keystone_utils_tests.py