#containerの作成
swift -A http://PROXY_VIP:8080/auth/v1.0 -U yattarou:yattarou -K yattarou post -r '.r:*' Container_Name
#indexの作成
swift -A http://PROXY_VIP:8080/auth/v1.0 -U yattarou:yattarou -K yattarou post -m 'web-index:index.html' Container_Name
#list設定
swift -A http://PROXY_VIP:8080/auth/v1.0 -U yattarou:yattarou -K yattarou post -m 'web-listings: true' Container_Name
#ACLの確認
swift -A http://PROXY_VIP:8080/auth/v1.0 -U yattarou:yattarou -K yattarou stat Container_Name
Account: AUTH_system
Container: Container_Name
Objects: 1
Bytes: 12
Read ACL: .r:*
Write ACL:
Sync To:
Sync Key:
Meta Web-Listings: true
Meta Web-Index: index.html
2012年11月22日木曜日
Openstack Swift ACL太郎
SwiftのACLの方法でおじゃる。
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿