Trove系列(三)—Trove的功能管理功能介绍
Trove的功能管理功能Trove的功能管理功能包括给各种不同的版本的 datastore 安装不同的 功能。 本管理功能只适用于激活/去活全系统的功能。唯一例外的是数据存储功能列表功能,该功能对所有的用户都适用, 用户能够据此决定一个指定数据库版本的行为。一个具体的例子: “卷支持”, 具有此功能的 datastore 版本将在服务器上创建块存储卷。不具有此功能的 datastore 版本(例如)将不会创建块存储卷。
功能列表初始版本支持的功能:卷支持功能 - 当创建一个实例时, 服务器上将部署一个cinder卷。root 用户支持 -- 当创建一个实例时, root用户密码将返回给用户。最终将要支持的功能:多用户功能数据库功能安全组功能
API 函数
API详细描述:List Capabilities (GET)应答消息结构:
{ "capabilities": { [ { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Volume Support", "description": "If enabled, a cinder volume will be created and attached to the database server" "enabled": true } ] }} List capabilities for a datastore version应答消息结构:{ "capabilities": { [ { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Volume Support", "description": "If enabled, a cinder volume will be created and attached to the database server" } ] }
}
Add a capability to a datastore version请求消息结构:{ "capability_id": "550e8400-e29b-41d4-a716-446655440000"}应答消息结构:{ "capabilities": { [ { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Volume Support", "description": "If enabled, a cinder volume will be created and attached to the database server" } ] }}Delete Capabilities (DELETE)DELETE /capabilities/{capability_id}Response200 OK No body
Database 模式在Trove 数据库中将要创建两条数据库条目:功能列表和数据存储版本功能列表。 这些数据库条目将存储这些功能列表以及这些功能与数据存储之间的关联。功能列表:
数据存储功能列表:
最新文章
- 基于SSH框架的学生公寓管理系统的质量属性
- DDD领域驱动设计之聚合、实体、值对象
- MySQL物理文件组成
- DBAPI部署
- awk 以HWI开头,并且:相邻两行的第一个字段完全相同;
- 李洪强漫谈iOS开发[C语言-006]-程序的描述方式
- C++类与对象
- Android学习笔记(九)一个例子弄清Service与Activity通信
- hdu3949 XOR xor高斯消元
- iOS获取网络时间与转换格式
- C语言字符串函数大全
- linux下 mysql 学习(一)
- CLR之委托的揭秘(一)
- python之optparse模块
- Spring MVC 学习总结(一)——MVC概要与环境配置 转载自【张果】博客
- php 下载文件的头信息 Determine Content Type
- Oracle数据库联机重定义讲解及错误处理
- python中几种循环体
- gevent mysql
- Centos7常见问题及解决方法
热门文章
- 简单ORM工具的设计和编写,自己项目中曾经用过的
- Centos 7.x系统安装后的初始化配置
- window.onload的一些说明
- 微信小程序中target与currentTarget
- Spring接受前台的数据超过256出现如下异常:
- poj2528 Mayor's posters【线段树】
- pandas将DataFrame的列变成行索引
- ZOJ 4029 - Now Loading!!! - [前缀和+二分]
- 高并发服务器建议调小 TCP 协议的 time_wait 超时时间。
- address sizes : 46 bits physical, 48 bits virtual