In May 2011, I read a request for installation Openvswitch on Qemu image. I started to play with Openvswitch and finally became fan of this project. I...
分类:
其他好文 时间:
2014-06-24 10:31:56
阅读次数:
259
In a previous tutorial we showed how to install Openvswitch on Qemu image with Microcore Linux. At the end of tutorial we created Openvswitch extensio...
分类:
其他好文 时间:
2014-06-24 10:15:40
阅读次数:
610
打开系统相册获取图片并截取,代码相对简单 1 Intent intent = new Intent(Intent.ACTION_GET_CONTENT,null); 2 intent.setType("image/*"); 3 intent.putExtra("cro...
分类:
移动开发 时间:
2014-06-24 09:45:53
阅读次数:
360
//类方法 图片 转换为二进制+(NSData *)Image_TransForm_Data:(UIImage *)image{ NSData *imageData = UIImageJPEGRepresentation(image , 0.5); //几乎是按0.5图片大小就降到原来...
分类:
移动开发 时间:
2014-06-24 08:58:06
阅读次数:
334
显示位图,你应该使用GDI+里面的Bitmap类或者Image类,这两个类都提供了方法从硬盘上的一个文件打开文件,创建相应的内存中的位图对象的工作。然后你可以使用Graphics类的DrawImage方法来绘制该位图。下面的代码初始化GDI+,显示一个打开文件对话框并且创建Bitmap对象,显示位图...
neutron是openstack的一个重要模块,也是比较难以理解和debug的模块之一。 我这里安装如图安装了经典的三个节点的Havana的Openstack 图1 分三个网络: External Network/API Network,这个网络是连接外网的,无论是用户调用Openstack的AP...
分类:
其他好文 时间:
2014-06-22 23:02:45
阅读次数:
581
原博客地址:http://blog.csdn.net/gaoxingnengjisuan NOVA是OpenStack系统的核心模块,主要负责虚拟机实例的生命周期管理、网络管理(前几个版本)、存储卷管理(前几个版本)、用户管理以及其他相关云平台管理功能,在能力上类似于Amazon EC2和Racks...
分类:
其他好文 时间:
2014-06-21 18:17:32
阅读次数:
365
在Openstack中,RPC调用是通过RabbitMQ进行的。 任何一个RPC调用,都有Client/Server两部分,分别在rpcapi.py和manager.py中实现。 这里以nova-scheduler调用nova-compute为例子。 nova/compute/rpcapi.py中有...
分类:
其他好文 时间:
2014-06-21 17:09:12
阅读次数:
279
This note summarizes articles from other places about Microsoft Windows images for OpenStack creation, along with some first hand experience. The whol...
一、替代arp, ifconfig, route等命令 显示网卡和IP地址 root@openstack:~# ip link list 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd ...
分类:
其他好文 时间:
2014-06-21 15:54:27
阅读次数:
417