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 ...
随机推荐
- [leetcode] Longest Palindromic Substring 多种解法
非常经典的题目,求字符串中的最长回文子串. (1)最朴素的解法 ---暴力 复杂度O(N³) 这也是最easy想到的方法.最外层循环枚举起点i,第二层循环从i+1開始向后枚举,第三层推断是不是回文串. ...
- ny14 会场安排问题
会场安排问题 时间限制:3000 ms | 内存限制:65535 KB 难度:4 描述 学校的小礼堂每天都会有许多活动,有时间这些活动的计划时间会发生冲突,需要选择出一些活动进行举办.小刘的工 ...
- scrollTop兼容封装
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8&quo ...
- C#中实现Windows系统流氓监控程序
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; usin ...
- style弹出带滚动条的虚拟窗口
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content ...
- JAVA-JSP动作元素之include
相关资料:<21天学通Java Web开发> 结果总结:1.<jsp:xxx /> 或着<jsp:xxx > </jsp:xxx>2.与存取JavaBe ...
- Sketch Up常见问题
墙上开门洞用铅笔在墙上画好矩形(2m*1m)->用推拉(P)工具双击左键
- 【转】【Unity】实现全局管理类的几种方式
本文原作者未知,转载自:http://blog.csdn.net/ycl295644/article/details/42458477 如何在Unity中实现全局管理类?由于Unity脚本的运行机制和 ...
- 如何在linux下实现mysql数据库每天自动备份
建备份文件夹: mkdir mysql_data_bak 建脚本文件: touch autobackupmysql.sh 打开文件 vi autobackupmysql.sh 在脚本中加入如下内容: ...
- [shell]shell脚本统计数值大小
#! /bin/bash array=( ... ) var1= var2= ;i<=;i++)); do array[i]="$( cat /sys/bus/iio/devices/ ...