l2switch专题

opendaylight(Li) l2switch 源代码分析(3)--packethandler

本文介绍packethander工程,该工程用于对进入到controller的packet进行解析并分发到不同的 模块进行处理。 工程分为四个部分: config文件夹:packethander的配置信息,如plugin的部署顺序,初始化时的配置。 implementation文件夹:service的具体实现,包含了java和yang。 model文件夹:定义了packet相关

opendaylight(Li) l2switch 源代码分析(2)--parent

本文主要介绍l2switch中的parent工程,该工程定义了运行L2switch所使用的依赖模块以及版本等。 该工程下只有一个pom.xml文件,下面对该文件中的主要内容进行说明: 1. <parent>     <groupId>org.opendaylight.odlparent</groupId>     <artifactId>odlparent</artifac

opendaylight(Li) l2switch 源代码分析(1)--代码的整体结构和整体pom.xml

opendaylight l2switch提供了L2 switch的功能,下面通过对源代码进行解说来介绍该项目的功能。 一、源代码整体结构 1.l2switch的源代码github地址为: https://github.com/opendaylight/l2switch.git 2.L2switch构架 parent    定义了运行L2switch所使用的依赖模块