From 61d1b19770ed87bd86d29fbb79c7df0d84fe401e Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 20 Jun 2011 15:05:06 -0700 Subject: demo of membership using keystone in sampledata --- bin/sampledata.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/sampledata.sh b/bin/sampledata.sh index 6f73e06c..40a316fb 100755 --- a/bin/sampledata.sh +++ b/bin/sampledata.sh @@ -33,10 +33,14 @@ # Roles ./keystone-manage $* role add Admin +./keystone-manage $* role add Member ./keystone-manage $* role grant Admin admin ./keystone-manage $* role grant Admin joeadmin 1234 ./keystone-manage $* role grant Admin joeadmin ANOTHER:TENANT +# Add a user to a tenant with role Member +./keystone-manage $* role grant Member joeuser 0000 + #BaseURLs ./keystone-manage $* baseURLs add RegionOne swift http://swift.publicinternets.com/v1/AUTH_%tenant_id% http://swift.admin-nets.local:8080/ http://127.0.0.1:8080/v1/AUTH_%tenant_id% 1 ./keystone-manage $* baseURLs add RegionOne nova_compat http://nova.publicinternets.com/v1.0/ http://127.0.0.1:8774/v1.0 http://localhost:8774/v1.0 1 -- cgit