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 ...
随机推荐
- Django修改用户名密码的方法
1.python manage.py shell 2.from django.contrib.auth.models import User 3.user=User.objects.get(usern ...
- C#判断窗体是否存在重复打开
foreach (Form f in Application.OpenForms) { f.Name //是打开窗体的Text //以下判断....... } Form2 F2 ; if(F2 == ...
- 【Android】12.1 Intent基本概念
分类:C#.Android.VS2015: 创建日期:2016-02-23 一.简介 Intent:意图,含义就是你想利用它调用哪个组件实现相关的功能,比如调用相机组件实现拍照.调用Contact组件 ...
- How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x
What is EPEL EPEL (Extra Packages for Enterprise Linux) is open source and free community based repo ...
- MySQL PLSQL Demo - 003.静态游标
drop procedure if exists p_hello_world; create procedure p_hello_world() begin declare id integer; ) ...
- mac下borderless的window(无标题栏)如何实现
子类化NSWindow: - (void)awakeFromNib { [selfsetStyleMask:NSBorderlessWindowMask]; [selfsetAcceptsMouseM ...
- SOCKET编程需要注意的问题
1.socket编程首先要做的就是加载库,有两种方法: 1.不需要加载库文件 if(!AfxSocketInit()) { AfxMessageBox("加载套接字库失败!"); ...
- 获取Django中model字段名 字段的verbose_name
obj._meta.fields 为关键 obj为model类 推荐使用函数 from django.apps import apps def getmodelfield(appname,modeln ...
- svn 版本导致
Malformed network data svn: Unable to parse URL '/svn/PROJECT/13.深大出版社/trunk/sdcbs/' svn 版本导致 1 ...
- activemq用户手册
1 JMS 在介绍ActiveMQ之前,首先简要介绍一下JMS规范. 1.1 JMS的基本构件 1.1.1 连接工厂 连接工厂是客户用来创建连接的对象,例如ActiveMQ提供的ActiveMQCon ...