openstack基础知识
安然_随心
这个作者很懒,什么都没留下…
展开
-
nova 远程访问
原文地址:http://www.tuicool.com/articles/7fqMN3Z http://blog.csdn.net/ztejiagn/article/details/8813772 http://www.cnblogs.com/popsuper1982/p/3800227.html https://docs.openstack.org/admin-guide/compute-r转载 2017-05-02 11:46:33 · 2284 阅读 · 0 评论 -
Nova 中的一些基本概念(1)
Nova中的几个重要的概念:(1)server:Instance,可以是虚拟机实例或是物理机或是计算机系统中的容器。server必须是命名的。在openstack compute API中,server就是一个虚拟机实例,物理机或是一个容器。(2)Flavor:一个虚拟硬件配置模块,配置包括:磁盘,内存,CPU时间分配优先级等。(3)Flavor Extra Specs:(4)Image:一个文翻译 2017-05-09 18:02:03 · 4916 阅读 · 1 评论 -
compute manager(1) :init_host(self)(没写完)
初始化host : 步骤:加载whitelist (不知道这个是干什么用的)检测 host placement(如果placement API不可用,则应用抛出异常。host compute driver层的初始化通过InstanceList 类获取该host上的示例列表instaces检测是否延迟IP绑定,如果时,通过driver配置init_virt_events ,不知道具体干什原创 2017-05-09 10:18:36 · 583 阅读 · 0 评论 -
python中的一点小知识与库(5)
目录: 1. 不可变对象 2. 关于迭代器 3. 内建函数 4. 类特殊方法,属性 5. 装饰器一、不可变对象python中的不可变对象:str,integer,tuple(和JAVA还是挺像的,Java中的String,Integer,Long都是不可变的)可变类型(immutable)类型:list, dict 二、关于迭代器1.什么是迭代可以直接作用于for循环的对象统称为可迭代对象原创 2017-05-16 21:53:33 · 528 阅读 · 0 评论 -
Python eventlet
原文地址: http://www.cnblogs.com/Security-Darren/p/4168233.html http://www.2cto.com/net/201610/553556.html http://blog.csdn.net/gaoxingnengjisuan/article/details/12913275eventlet是python库函数,一个是处理和网络相关的转载 2017-05-08 10:54:58 · 13966 阅读 · 0 评论 -
python中的一点小知识与库(4)
目录 12. atexit模块 13. time模块 14. types 模块 15. gc 模块 16. fileinput 模块 17. shutil 模块 18. tempfile 模块 19. StringIO ,cStringIO 模块 20. mmap 模块 21. with关键字 22. yield关键字 23. threading模块 24. mulip原创 2017-05-16 12:55:08 · 882 阅读 · 0 评论 -
python中的一点小知识与库(3)
目录: 8. operator 模块 9. 集合类型简单说明 10. copy 模块 11. sys 模块 12. 八、operator 模块operator模块是python中内置的操作符函数接口,它定义了一些算术和比较内置操作的函数。operator模块是用c实现的,所以执行速度比python代码快。1.逻辑操作from operator import *a = [1, 2, 3]转载 2017-05-15 16:18:20 · 365 阅读 · 0 评论 -
python中的一点小知识与库(2)
目录: 4. exceptions 处理 5. os 模块 6. re模块 7. math 模块四. exceptions 处理exceptions 模块提供了标准异常的层次结构. Python 启动的时候会自动导入这个模块, 并且将它加入到 _ builtin _ 模块中. 也就是说, 一般不需要手动导入这个模块.py3没有这个模块,已经内置了,不需要添加标准异常: • Excep转载 2017-05-02 20:02:34 · 523 阅读 · 0 评论 -
oslo Transport Driver实现指南
原文地址 :https://docs.openstack.org/developer/oslo.messaging/driver-dev-guide.html#module-oslo_messaging._drivers.base翻译 2017-05-04 18:41:12 · 942 阅读 · 0 评论 -
oslo openstack
英文原文:http://docs.OpenStack.org/developer/oslo.messaging/index.html目录1.Transport 2.Executors 3.Target 4.RPC Server 5.RPC Client 6.Notifier 7.Notification Driver 8.Notification Listener 9.Seriali翻译 2017-05-04 18:07:20 · 1729 阅读 · 0 评论 -
WSGI
目录: TOC # 1. WSGI 简介 2. webob 3. Paste Deploy一、WSGI 简介官网:http://wsgi.readthedocs.io/en/latest/what.html http://wsgi.readthedocs.io/en/latest/learn.html原文地址:http://blog.csdn.net/sraing/article/deta转载 2017-05-12 15:25:29 · 1000 阅读 · 0 评论 -
Nova(project version:2017-5 版)源码初步阅读(1)
一、关于Manager1.功能用法:看一下作者怎么说:Managers are responsible for a certain aspect of the system. It is a logical grouping of code relating to a portion of the system. In general other components should be usi翻译 2017-05-04 09:46:55 · 542 阅读 · 0 评论 -
Routes
一、关于Routes Routes是一个Rails routes系统的python实现,用来在URLs 和 应用action之间做映射。同时,Routes可用来产生简洁明了的RestFull形式的URLs。Routes做映射时,支持基于域、cookies,HTTP 方法或是预定义的函数的映射,同时支持子域映射。官网文献:http://routes.readthedocs.io/en/latest/1翻译 2017-05-11 17:20:22 · 431 阅读 · 0 评论 -
Nova 中的一些基本概念与操作(2)
目录: 1. 基本操作-请求和响应数据格式 2. Nova 命令行工具简要说明 3. 开发指南 4. 开发指南 :Adding a Method to the OpenStack API 5. 开发指南 : Placement API 6. 开发指南 : Policy一、基本操作-请求和响应数据格式非常琐碎,所以就不翻译了。开发人员应该在用到时去确认请求和响应格式,且对支持的请求翻译 2017-05-11 15:59:15 · 3474 阅读 · 0 评论 -
Nova(project version:2017-5 版)源码初步阅读(1)
一、关于Manager1.功能用法:看一下作者怎么说:Managers are responsible for a certain aspect of the system. It is a logical grouping of code relating to a portion of the system. In general other components should b原创 2018-10-04 21:58:24 · 499 阅读 · 0 评论