导航

 

新增placement API,部分替代了原先的nova api的部分功能接口

可在此页面查看API详情及示例:https://specs.openstack.org/openstack/nova-specs/specs/newton/implemented/generic-resource-pools.html

 具体的变更内容可以参见:http://www.cnblogs.com/sammyliu/p/6575368.html

有部分bug修复和新功能改进

openstack快速简单的搭建方式,使用packstack:http://blog.csdn.net/huoyunshen88/article/details/19754079

ceph模块的api文档参见:http://docs.ceph.com/docs/master/api/

ceph模块的更新与源码,以及api的改动需要在ceph网站上查看

import rados

try:
        cluster = rados.Rados(conffile='')
except TypeError as e:
        print 'Argument validation error: ', e
        raise e

print "Created cluster handle."

try:
        cluster.connect()
except Exception as e:
        print "connection error: ", e
        raise e
finally:
        print "Connected to the cluster."

 创建ceph存储:http://blog.csdn.net/eric_sunah/article/details/41649185

ceph的API集成:https://www.oschina.net/translate/openstack-ceph-integration

posted on 2017-03-22 16:31  slqt  阅读(268)  评论(0编辑  收藏  举报