openstack中nova组件Hypervisors、Floating_ips的所有python API 汇总
来源:互联网 发布:sql怎么设置两个主键 编辑:程序博客网 时间:2024/05/02 01:45
感谢朋友支持本博客,欢迎共同探讨交流,由于能力和时间有限,错误之处在所难免,欢迎指正!
如果转载,请保留作者信息。
博客地址:http://blog.csdn.net/qq_21398167
Floating_ips
class novaclient.v2.floating_ips.FloatingIP(manager,info,loaded=False)
Bases: novaclient.openstack.common.apiclient.base.Resource
Populate and bind to a manager.
Parameters: - manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
- delete()
Delete this floating IP
- class novaclient.v2.floating_ips.FloatingIPManager(api)
Bases: novaclient.base.ManagerWithFind
- create(pool=None)
Create (allocate) a floating IP for a tenant
- delete(floating_ip)
Delete (deallocate) a floating IP for a tenant
Parameters: floating_ip – The floating IP address to delete.
- get(floating_ip)
Retrieve a floating IP
- list(all_tenants=False)
List floating IPs
- resource_class
alias of FloatingIP
Hypervisors
Hypervisors interface (1.1 extension).
- class novaclient.v2.hypervisors.Hypervisor(manager,info,loaded=False)
Bases: novaclient.openstack.common.apiclient.base.Resource
Populate and bind to a manager.
Parameters: - manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
- NAME_ATTR = 'hypervisor_hostname'
- class novaclient.v2.hypervisors.HypervisorManager(api)
Bases: novaclient.base.ManagerWithFind
- get(hypervisor)
Get a specific hypervisor.
- list(detailed=True)
Get a list of hypervisors.
- resource_class
alias of Hypervisor
- search(hypervisor_match,servers=False)
Get a list of matching hypervisors.
Parameters: servers – If True, server information is also retrieved.
- statistics()
Get hypervisor statistics over all compute nodes.
Kept for backwards compatibility, new code should callhypervisor_stats.statistics() instead of hypervisors.statistics()
- uptime(hypervisor)
Get the uptime for a specific hypervisor.
- class novaclient.v2.hypervisors.HypervisorStats(manager,info,loaded=False)
Bases: novaclient.openstack.common.apiclient.base.Resource
Populate and bind to a manager.
Parameters: - manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
- class novaclient.v2.hypervisors.HypervisorStatsManager(api)
Bases: novaclient.base.Manager
- resource_class
alias of HypervisorStats
- statistics()
Get hypervisor statistics over all compute nodes.
- openstack中nova组件Hypervisors、Floating_ips的所有python API 汇总
- openstack中Nova组件servers的所有python API 汇总
- openstack中Nova组件images的所有python API 汇总
- openstack中Nova组件Networks的所有python API 汇总
- openstack中glance组件images的所有python API 汇总
- Openstack中Nova组件介绍
- OpenStack中nova组件创建虚拟机的源码流程
- python openstack API 系列(Nova)
- OpenStack 的 Nova 和 Glance 组件
- 修改openstack的nova-api的ratelimit
- OpenStack 之 nova-api 的代码结构图
- OpenStack-Nova组件理解
- OpenStack Nova 扩展API
- OpenStack : Nova API 分析
- 初识 Openstack nova-api
- OpenStack中Nova相关的服务
- openstack nova resize API 详解
- Openstack nova-api 处理过程
- stm32.cube(八)——HAL的配置文件
- 你是一个低薪程序员吗
- java学习之旅12--变量_成员变量和局部变量_常量_命名规范
- 子元素过滤器总结
- VS中代码定位解决方案中的文件
- openstack中nova组件Hypervisors、Floating_ips的所有python API 汇总
- linux下ctrl+alt+down和eclipse的复制快捷键冲突
- AngularJS Routing Using UI-Router
- Android学习笔记03: 通过setContentView切换Activity的View,保存动态修改后的视图
- LoadRunner本地网站压力测试记录1
- 网络中的商标交易
- 1027. Colors in Mars (20)
- 如何Android数据库缓存进行管理
- TCP连接资料2