博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
keystone 命令简要说明
阅读量:7117 次
发布时间:2019-06-28

本文共 2873 字,大约阅读时间需要 9 分钟。

hot3.png

catalog:keystone  catalog  可以显示所有已有的servicekeystone  catalog --service service-type  显示某个service信息endpoint: endpoint-create     Create a new endpoint associated with a serviceendpoint-delete     Delete a service endpoint endpoint-get endpoint-list       List configured service endpointskeystone  help endpoint-create--region 
Endpoint region region表示不同的范围,类似c++中命名空间,把服务“隔离“。 --service-id
, --service_id
ID of service associated with Endpoint --publicurl
Public URL endpoint --adminurl
Admin URL endpoint --internalurl
Internal URL endpointkeystone help endpoint-get --service
Service type to select --endpoint-type
Endpoint type to select # adminurl,publicurl,internalurl --attr
Service attribute to match for selection --value
Value of attribute to matchrole:指定一个名字就ok,创建role后,根据policy文件去决定具有那些访问权限。由SA去分配和管理。role-create Create new role role-delete Delete role role-get Display role detailsrole-list List all rolesservice,即服务,给catalog添加service。service-create Add service to Service Catalogservice-delete Delete service from Service Catalogservice-get Display service from Service Catalogservice-list List all services in Service Catalog--name
Name of new service (must be unique)--type
Service type (one of: identity, compute, network, image, or object-store)--description
Description of servicetenant,即资源。tenant-create Create new tenanttenant-delete Delete tenanttenant-get Display tenant detailstenant-list List all tenantstenant-update Update tenant name, description, enabled statuskeystone help tenant-create--name
New tenant name (must be unique)--description
Description of new tenant (default is none) --enabled
Initial tenant enabled status (default true)user,即用户,访问api或资源的抽象体。 user-create Create new useruser-delete Delete user user-get Display user details. user-list List users user-password-update Update user passwordkeystone help user-create--name
New user name (must be unique) --tenant-id
# 可以不指定,推迟通过user-role-add关联到某个tenant New user default tenant --pass
New user password --email
New user email address --enabled
Initial user enabled status (default true)keystone help user-list--tenant-id
Tenant ID; lists all users if not specifiedkeystone help user-role-add--user-id
, --user_id
User ID --role-id
, --role_id
Role ID --tenant-id
Tenant IDkeystone help user-role-list 查看推迟关联的user对应的tenant信息--user-id
List roles granted to a user --tenant-id
List roles granted on a tenantkeystone help user-role-remove--user-id
, --user_id
User ID --role-id
, --role_id
Role ID --tenant-id
Tenant ID注意:update 是分开的。user-password-update: update password user-update :Update user's name, email, and enabled status

转载于:https://my.oschina.net/u/138210/blog/152664

你可能感兴趣的文章
CentOS 6.5 apache源码安装2.0版
查看>>
文件属性设置常量
查看>>
如何理解阻塞和非阻塞同步和异步
查看>>
马哥LINUX高薪LINUX高薪就业入门教程-虚拟机篇幅-学习笔记-11
查看>>
杭电 hdu 2503
查看>>
ie6下png透明
查看>>
linux里边的显示结果有乱码(输入LANG=en无效)
查看>>
Citrix XenDesktop发布Centos 7.2桌面(三)--基本配置Centos7.2
查看>>
移动开发必备!15款jQuery Mobile插件
查看>>
es6从零学习(三):Class的基本用法
查看>>
二十一、当锚点遇到fixed(margin和padding)
查看>>
SpringMVC向前台返回JSON
查看>>
java内存管理浅析
查看>>
oracle trigger
查看>>
fio 使用总结
查看>>
service docker start 报错 :Failed to start docker.se
查看>>
谈成长,谈创新——QClub成都0615活动纪要
查看>>
NSInteger 与 NSUInteger 和 int与 NSInteger 区别(转)
查看>>
Hadoop WritableComparable接口
查看>>
第 九 天 : 复 习 中 ( 二 )
查看>>