OpenFlow协议测试技术研究
发布时间:2018-12-15 05:48
【摘要】:OpenFlow是一种新兴的网络协议,它的核心思想是将路由器的控制功能和转发功能相分离,以软件方式来实现。OpenFlow是软件定义网络(SDN)架构下控制平面和数据平面间的第一个标准通信接口协议。它瞄准了当今网络最大的软肋——可控性,因而甫一推出就受到了广泛的关注和支持,对网络的创新发展起到了巨大的推动作用。然而,作为一个新兴的协议,不同厂商对OpenFlow的理解可能存在偏差,实现方式也可能各不相同。这种情况下,OpenFlow的协议测试技术就显得愈发重要。 网络协议测试包括协议功能和协议性能两方面,一般包括四个方面:一致性测试、互通性测试、性能测试和鲁棒性测试。而一致性测试是其它三种测试的基础,是整个协议测试技术的灵魂。协议一致性测试是依据协议的标准化描述对协议的实现进行测试,从而判断一个协议的实现与协议的标准是否相一致的测试过程。 对于协议一致性测试的要求和方法,国际标准化组织在1991年专门制定了一套国际标准——ISO/IEC9646(OSI一致性测试方法及框架),并在1994年出了第二版进行了改进。在1997年,中国电子工业部发布了该标准的中文版本,即GB/T17178,其中对协议一致性测试方法有非常明确和详细的规定。虽然GB/T17178主要针对OSI协议一致性测试,但是其中对协议一致性测试的一般要求和测试目的等规定具有一定的普适性,对OpenFlow协议的一致性测试方法研究具有重要指导作用。 本文主要做了以下方面的研究: 一、依据GB/T17178标准中的规定,结合OpenFlow协议的特点,根据行为和功能的不同将一个完整OpenFlow测试套细化为不同的测试例,使其覆盖了基本互连测试组和能力行为测试组,并参考开源工具OFTest的测试例,得到了层次化的OpenFlow一致性测试模型。将测试用例结构化,可以使测试设计有条理,能够较为全面地覆盖一致性测试应该覆盖的点,且便于测试用例的扩充。 二、利用OFTest软件中已包含的测试函数以及测试所用API,对所有的测试用例或直接调用函数或利用API来包装,并对OpenFlow交换机进行了一致性测试实现,并对典型的测试项进行了详细分析。
[Abstract]:OpenFlow is a new network protocol. Its core idea is to separate the control function and forwarding function of router. OpenFlow is the first standard communication interface protocol between control plane and data plane under the software defined network (SDN) architecture. It aims at the greatest weakness of the network today-controllability, so it has received extensive attention and support as soon as it was launched, and has played a huge role in promoting the innovation and development of the network. However, as an emerging protocol, different vendors may have different understanding of OpenFlow and different implementation methods. In this case, OpenFlow protocol testing technology becomes more and more important. Network protocol testing includes two aspects: protocol function and protocol performance, generally including four aspects: conformance test, interoperability test, performance test and robustness test. Conformance testing is the foundation of the other three tests and the soul of the whole protocol testing technology. Protocol conformance testing is a process of testing the implementation of a protocol according to the standard description of the protocol, so as to determine whether the implementation of a protocol is consistent with the standard of the protocol. For the requirements and methods of protocol conformance testing, the International Organization for Standardization (ISO) formulated a set of international standards-ISO/IEC9646 (OSI conformance testing method and framework) in 1991, and improved the second edition in 1994. In 1997, the Ministry of Electronic Industry of China issued the Chinese version of the standard, that is, GB/T17178, which has very clear and detailed regulations on protocol conformance testing methods. Although GB/T17178 is mainly aimed at conformance testing of OSI protocol, the general requirements and purpose of conformance testing are generally applicable, which is important for the research of conformance testing methods of OpenFlow protocol. This paper mainly studies the following aspects: first, according to the provisions of the GB/T17178 standard, combined with the characteristics of the OpenFlow protocol, according to the behavior and function of a complete OpenFlow test suite into different test cases, It covers the basic interconnection test group and the capability behavior test group, and a hierarchical OpenFlow conformance test model is obtained by referring to the test examples of open source tool OFTest. By structuring the test cases, the test design can be organized, the points that should be covered by the conformance test can be covered comprehensively, and the expansion of the test cases can be facilitated. Second, using the test function included in the OFTest software and the API, used in the test to wrap all the test cases or call the function directly or use API to wrap, and the conformance test of the OpenFlow switch is implemented. The typical test items are analyzed in detail.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.04
本文编号:2380089
[Abstract]:OpenFlow is a new network protocol. Its core idea is to separate the control function and forwarding function of router. OpenFlow is the first standard communication interface protocol between control plane and data plane under the software defined network (SDN) architecture. It aims at the greatest weakness of the network today-controllability, so it has received extensive attention and support as soon as it was launched, and has played a huge role in promoting the innovation and development of the network. However, as an emerging protocol, different vendors may have different understanding of OpenFlow and different implementation methods. In this case, OpenFlow protocol testing technology becomes more and more important. Network protocol testing includes two aspects: protocol function and protocol performance, generally including four aspects: conformance test, interoperability test, performance test and robustness test. Conformance testing is the foundation of the other three tests and the soul of the whole protocol testing technology. Protocol conformance testing is a process of testing the implementation of a protocol according to the standard description of the protocol, so as to determine whether the implementation of a protocol is consistent with the standard of the protocol. For the requirements and methods of protocol conformance testing, the International Organization for Standardization (ISO) formulated a set of international standards-ISO/IEC9646 (OSI conformance testing method and framework) in 1991, and improved the second edition in 1994. In 1997, the Ministry of Electronic Industry of China issued the Chinese version of the standard, that is, GB/T17178, which has very clear and detailed regulations on protocol conformance testing methods. Although GB/T17178 is mainly aimed at conformance testing of OSI protocol, the general requirements and purpose of conformance testing are generally applicable, which is important for the research of conformance testing methods of OpenFlow protocol. This paper mainly studies the following aspects: first, according to the provisions of the GB/T17178 standard, combined with the characteristics of the OpenFlow protocol, according to the behavior and function of a complete OpenFlow test suite into different test cases, It covers the basic interconnection test group and the capability behavior test group, and a hierarchical OpenFlow conformance test model is obtained by referring to the test examples of open source tool OFTest. By structuring the test cases, the test design can be organized, the points that should be covered by the conformance test can be covered comprehensively, and the expansion of the test cases can be facilitated. Second, using the test function included in the OFTest software and the API, used in the test to wrap all the test cases or call the function directly or use API to wrap, and the conformance test of the OpenFlow switch is implemented. The typical test items are analyzed in detail.
【学位授予单位】:北京邮电大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.04
【参考文献】
相关期刊论文 前3条
1 王丽君;刘永强;张健;;基于OpenFlow的未来互联网试验技术研究[J];电信网技术;2011年06期
2 黄宝座;赵喜求;;OpenFlow技术及应用优势分析[J];电脑知识与技术;2012年25期
3 郭春梅;张如辉;毕学尧;;SDN网络技术及其安全性研究[J];信息网络安全;2012年08期
,本文编号:2380089
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2380089.html