码迷,mamicode.com
首页 >  
搜索关键字:open close principle    ( 32684个结果
HDU 1195 Open the Lock (双向广搜)
题意:给你初始4个数字和目标4个数字,问是否能由初始经过变换到目标数字; 变换规则:每个数字可以加1(9+1=1)或减1(1-1=9),或交换相邻的数字(最左和最右不是相邻的)。 双向广搜:分别对初始和目标数字进行广搜,vis数组用1和2标记两种已搜索的数字,用mp数组记录状态的步数。 当从前往后搜可以到达2或从后往前搜可以到达1状态则就可以了。。。 #in...
分类:其他好文   时间:2014-06-22 19:38:26    阅读次数:231
nginx源码分析--监听套接字的创建 套接字的监听 HTTP请求创建连接
作为一个web服务器,那么肯定是有监听套接字的,这个监听套接字是用于接收HTTP请求的,这个监听套接字的创建是根据配置文件的内容来创建的,在nginx.conf文件中有多少个地址就需要创建多少个监听套接字。这里不说各个结构体的构造 只说大体情况! 1)、首先在main函数中调用了ngx_init_cycle()函数,在这个函数的最后调用了ngx_open_listening_sockets函...
分类:其他好文   时间:2014-06-22 16:45:32    阅读次数:139
[转]基于 Open vSwitch 的 OpenFlow 实践
Open vSwitch 概述 Open vSwitch(下面简称为 OVS)是由 Nicira Networks 主导的,运行在虚拟化平台(例如 KVM,Xen)上的虚拟交换机。在虚拟化平台上,OVS 可以为动态变化的端点提供 2 层交换功能,很好的控制虚拟网络中的访问策略、网络隔离、流量监控等等...
分类:其他好文   时间:2014-06-21 16:01:23    阅读次数:411
Open vSwitch Advanced Features Tutorial
Open vSwitch Advanced Features Tutorial=======================================Many tutorials cover the basics of OpenFlow. This is not such atutorial....
分类:其他好文   时间:2014-06-21 16:00:06    阅读次数:271
[转]Network flow monitoring with Open vSwitch
With network virtualization, the software switches (such as Open vSwitch) on the servers act like the edge switches. So, to gain insights into the net...
分类:Web程序   时间:2014-06-21 15:34:13    阅读次数:324
[转]SSL on Open vSwitch and ovs controller
There are two places that SSL will need to be configured if SSL is to be used between the controller and the Open vSwtich. The instructions below assu...
分类:其他好文   时间:2014-06-21 15:30:08    阅读次数:161
[转]Examining Open vSwitch Traffic Patterns
In this post, I want to provide some additional insight on how the use of Open vSwitch (OVS) affects—or doesn’t affect, in some cases—how a Linux host...
分类:其他好文   时间:2014-06-21 15:01:41    阅读次数:334
Openvswitch手册(1)
Openvswitch是一个virutal swtich, 支持Open Flow协议,当然也有一些硬件Switch也支持Open Flow协议,他们都可以被统一的Controller管理,从而实现物理机和虚拟机的网络联通。 Open Switch定义了一系列Flow Table,通过它来控制包的流...
分类:其他好文   时间:2014-06-21 14:54:57    阅读次数:248
[转]Configuring Open vSwitch
(image from Anatomy of an open source cloud) A cloud data center consists of large numbers of physical servers, each running a hypervisor with one or ...
分类:其他好文   时间:2014-06-21 14:48:04    阅读次数:225
[转]Open vSwitch with SSL and Mininet
Open vSwitch with SSL and Mininet By default, Mininet uses the unencrypted port in Open vSwitch for OpenFlow. This makes total sense since the purpose...
分类:Web程序   时间:2014-06-21 14:35:59    阅读次数:475
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!