ÅäÅ«È£Ãâhttp://www.chonnom.com/bbs/board.php?bo_table=OpenStack&wr_id=324ÅäÅ«ÀúÀå# export OS_TOKEN=XXXXXXXXXXXXXXXXXXXXX
¿äûµÈ ÅäÅ«À¸·Î Project list È£Ãâ #
curl -s -H "X-Auth-Token: $OS_TOKEN" http://con-201-4:5000/v3/projects | python -mjson.tool{
"links": {
"next": null,
"previous": null,
"self": "http://con-201-4:5000/v3/projects"
},
"projects": [
{
"description": "Service Project",
"domain_id": "cb3c6412332b4577bc1d37caa6296652",
"enabled": true,
"id": "2a05af4299034df987f8b1afbfbb94ad",
"is_domain": false,
"links": {
"self": "http://con-201-4:5000/v3/projects/2a05af4299034df987f8b1afbfbb94ad"
},
"name": "service",
"parent_id": "cb3c6412332b4577bc1d37caa6296652"
},
{
"description": "Admin Project",
"domain_id": "cb3c6412332b4577bc1d37caa6296652",
"enabled": true,
"id": "8d6078c9e216458c9935c01d742bc8e7",
"is_domain": false,
"links": {
"self": "http://con-201-4:5000/v3/projects/8d6078c9e216458c9935c01d742bc8e7"
},
"name": "admin",
"parent_id": "cb3c6412332b4577bc1d37caa6296652"
},
{
"description": "jyh1 Project",
"domain_id": "cb3c6412332b4577bc1d37caa6296652",
"enabled": true,
"id": "dc45c3f3b88f4cc99499933f3d852d8a",
"is_domain": false,
"links": {
"self": "http://con-201-4:5000/v3/projects/dc45c3f3b88f4cc99499933f3d852d8a"
},
"name": "jyh1",
"parent_id": "cb3c6412332b4577bc1d37caa6296652"
}
]
}
ÅäÅ«ÇØÁ¦ # unset OS_TOKEN