openstack中nova组件Hypervisors、Floating_ips的全部python API 汇总
感谢朋友支持本博客,欢迎共同探讨交流,因为能力和时间有限。错误之处在所难免,欢迎指正!
假设转载。请保留作者信息。
博客地址:http://blog.csdn.net/qq_21398167
原博文地址:http://blog.csdn.net/qq_21398167/article/details/46620189
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组件简解
一.Nova组件概述 计算节点通过Nova Computer进行虚拟机创建,通过libvirt调用kvm创建虚拟机,nova之间通信通过rabbitMQ队列进行通信. Nova位于Openstack架 ...
- openstack中Nova组件images的全部python API 汇总
感谢朋友支持本博客.欢迎共同探讨交流,因为能力和时间有限,错误之处在所难免.欢迎指正! 假设转载,请保留作者信息. 博客地址:http://blog.csdn.net/qq_21398167 原博文地 ...
- openstack中Nova组件Networks的全部python API 汇总
感谢朋友支持本博客.欢迎共同探讨交流.因为能力和时间有限.错误之处在所难免,欢迎指正! 假设转载,请保留作者信息. 博客地址:http://blog.csdn.net/qq_21398167 原博文地 ...
- Openstack计算Nova组件
欢迎来到虚拟机的世界,如果我们将Openstack环境里运行在各个无力节点上的各种服务看座生命体,而不是死的指令集合,那么就是一个虚拟机的世界. Openstack的计算组件,也就是Nova项目实现了 ...
- OpenStack 的Nova组件详解
Open Stack Compute Infrastructure (Nova) Nova是OpenStack云中的计算组织控制器.支持OpenStack云中实例(instances)生命周期的所有活 ...
- openstack中Neutron组件简解
一.Neutron概述 Neutron 的设计目标是实现"网络即服务(Networking as a Service)".为了达到这一目标,在设计上遵循了基于 SDN 实现网络虚拟 ...
- openstack中Keystone组件简解
一.Keystone服务概述 在Openstack框架中,keystone(Openstack Identity Service)的功能是负责验证身份.校验服务规则和发布服务令牌的,它实现了Opens ...
- openstack中Glance组件简解
一.Glance组件介绍 1.概念 Glance是OpenStack镜像服务,用来注册.登陆和检索虚拟机镜像.Glance服务提供了一个REST API,使你能够查询虚拟机镜像元数据和检索的实际镜像. ...
- openstack中Cinder组件简解
一,Cinder组件介绍 概念 cinder组件作用: 块存储服务,为运行实例提供稳定的数据块存储服务 块存储服务,提供对 volume 从创建到删除整个生命周期的管理 二,常用操作 1.Volume ...
随机推荐
- angular学习笔记(二)-创建angular模块
如果在页面的html标签(或任意标签)中添加ng-app,表示对整个页面应用angular来管理. 他是一个模块. 模块有助于把东西从全局命名空间中隔离. 今天学习如何自定义创建模块: <!DO ...
- ny12 喷水装置(二)
喷水装置(二) 时间限制:3000 ms | 内存限制:65535 KB 难度:4 描述 有一块草坪,横向长w,纵向长为h,在它的橫向中心线上不同位置处装有n(n<=10000)个点状的 ...
- LeetCode: Anagrams 解题报告
AnagramsGiven an array of strings, return all groups of strings that are anagrams. Note: All inputs ...
- jquery 拦截 post 等请求实现aop效果
$(function(){ jQuery.extend({ put: function( url, data, callback, type ) { // shift arguments if dat ...
- Android开发日记(五)
从服务器端传递多个数据 先在服务器端设置cs文件 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using Syst ...
- mysql主从复制的介绍
引用:https://my.oschina.net/u/255939/blog/505598 MySQL复制就是一台MySQL服务器(slave)从另一台MySQL服务器(master)进行日志的复制 ...
- 【C#】访问泛型中的List列表数据
光看标题的确不好说明问题,下面描述一下问题场景: 已知后端自定义的返回的Json数据结构如下: response: { "message": "返回成功", & ...
- Hadoop计算中的Shuffle过程(转)
Hadoop计算中的Shuffle过程 作者:左坚 来源:清华万博 时间:2013-07-02 15:04:44.0 Shuffle过程是MapReduce的核心,也被称为奇迹发生的地方.要想理解Ma ...
- Android——ArrayList 、LinkList、List 区别 & 迭代器iterator的使用 & HashMap、Hashtable、LinkedHashMap、TreeMap
ArrayList .LinkList.List 区别 & 迭代器iterator的使用 & HashMap.Hashtable.LinkedHashMap.TreeMap 一.几个 ...
- spring4和hibernate4整合的步骤
基本的整合步骤如下: 由于在spring中可以直接实现自动装配bean对象,所以可以直接将hibernate中的配置属性移植过来: 1. 装配dataSource对象 <!-- 配置数据源 -- ...