资源简介
openflow源代码,
介绍各个结构体,datapath,controller
可以直接用boot.sh进行安装
代码片段和文件信息
/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
* Junior University
*
* We are making the OpenFlow specification and associated documentation
* (Software) available for public use and benefit with the expectation
* that others will use modify and enhance the Software and contribute
* those enhancements back to the community. However since we would
* like to make the Software available for broadest use with as few
* restrictions as possible permission is hereby granted free of
* charge to any person obtaining a copy of this Software to deal in
* the Software under the copyrights without restriction including
* without limitation the rights to use copy modify merge publish
* distribute sublicense and/or sell copies of the Software and to
* permit persons to whom the Software is furnished to do so subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
* EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY WHETHER IN AN
* ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* The name and trademarks of copyright holder(s) may NOT be used in
* advertising or publicity pertaining to the Software or any
* derivatives without specific written prior permission.
*/
#include
#include
#include
#include
#include
#include
#include
#include “command-line.h“
#include “compiler.h“
#include “daemon.h“
#include “fault.h“
#include “learning-switch.h“
#include “ofpbuf.h“
#include “openflow/openflow.h“
#include “poll-loop.h“
#include “rconn.h“
#include “timeval.h“
#include “util.h“
#include “vconn-ssl.h“
#include “vconn.h“
#include “vlog-socket.h“
#include “vlog.h“
#define THIS_MODULE VLM_controller
#define MAX_SWITCHES 16
#define MAX_LISTENERS 16
struct switch_ {
struct lswitch *lswitch;
struct rconn *rconn;
};
/* Learn the ports on which MAC addresses appear? */
static bool learn_macs = true;
/* Set up flows? (If not every packet is processed at the controller.) */
static bool setup_flows = true;
/* --max-idle: Maximum idle time in seconds before flows expire. */
static int max_idle = 60;
static int do_switching(struct switch_ *);
static void new_switch(struct switch_ * struct vconn * const char *name);
static void parse_options(int argc char *argv[]);
static void usage(void) NO_RETURN;
int
main(int argc char *argv[])
{
struct switch_ switches[MAX_SWITCHES];
struct pvconn *listeners[MAX_LISTENERS];
int n_switches n_li
- 上一篇:STM32的流水灯程序
- 下一篇:VxWorks及Tornado集成开发环境的使用
相关资源
- csdnwzz_10164836.zip
- csdnhuaong_9801475.zip
- MSDN中文帮助手册
- floodlight+mininet环境配置+入门
- 天津大学计算机网络SDN实验报告
- openflow中文版.zip
- csdnforwindows.zip
- Esp8266进阶之路Windows系统搭建8266的本
- 项目二-51单片机-倒车雷达控制系统设
- 算法大全可用于数学建模、编程开发
- VMware NSX-V网络虚拟化设计指南-中文版
- 2.1 软件定义网络的基本架构-课件- 软
- 分段路由Segment Routing大规模SDN部署必
- 分布式SDN控制器实现报告
- MINGHUE-CSDN留言源码.rar
- [MSDN]Csharp编程指南+参考手册lyf
- CSDN博客器v2.5
- 西安电子科技大学计算机学院面向对
- vs2017HelpViewer 2.3 中文版 MSDN 可
- https___download.csdn.net_download_yaoweijiao_
- SDN在云数据中心的应用
- 中国软件定义广域网SD-WAN生态与技术
- CSDN工程伦理经典案例.pptx
- SDN技术白皮书
- NFV技术白皮书
- OpenCollada_3dsMax插件解压密码www.csdn.n
- OV5640_Nexys_Video_CSDN.7z
- Deploying ACI
- 图解openflow_高清扫描版pdf
- wireshark数据包分析实战详解解压密码
评论
共有 条评论