SDN数据平面软件一致性测试用例生成方法
作者:
作者单位:

作者简介:

张雯雯(1995-),女,学士,主要研究领域为软件定义网络;章玥(1981-),女,博士,副教授,CCF专业会员,主要研究领域为软件定义网络,网络管理,通信软件;许天予(1995-),男,学士,主要研究领域为软件定义网络;郑孝遥(1981-),男,博士,副教授,CCF专业会员,主要研究领域为信息安全,个性化推荐.

通讯作者:

章玥,E-mail:yzhang@sei.ecnu.edu.cn

中图分类号:

基金项目:

国家重点研发计划(2018YFB2101301);上海市高可信计算重点实验室开放课题(07dz22304201607);国家自然科学基金(61772034);安徽省自然科学基金(1808085MF172);高校优秀青年人才支持计划(gxyqZD2019010)


SDN Data Plane Software Conformance Test Case Generation Method
Author:
Affiliation:

Fund Project:

National Key Research and Development Program of China (2018YFB2101301); Open Project Fund of Shanghai Key Lab for Trustworthy Computing (07dz22304201607); National Nature Science Foundation of China (61772034); Natural Science Foundation of Anhui Province (1808085MF172); Youth Elite Support Plan in Universities of Anhui Province (gxyqZD2019010)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    SDN(software-defined network)旨在解决架构复杂且分散的传统网络出现的问题,使网络具有更强的灵活性.P4编程语言的特征在于用户可以直接根据自己对处理数据包的需求定义P4程序,然后经过编译过程,生成适配文件将用户需求配置到网络设备.面向P4编程语言的SDN数据平面一致性测试,是将一致性测试用例发送给P4网络设备,评估实际输出和预期输出的一致程度.一致性测试用例是执行一致性测试的载体,而传统的人工构造测试用例是一项繁琐耗时费力的工作.重点分析了面向P4编程语言的SDN数据平面软件一致性测试用例设计原则和生成方法,给出了一致性测试用例覆盖标准,设计了命令信息实体结构和测试用例实体结构,以装载P4程序的simple_switch虚拟交换机为测试对象,说明一致性测试用例生成过程,实现了一个用于P4网络设备一致性测试的测试用例自动生成工具,并验证了该工具自动生成测试用例的有效性,实现了一致性测试用例构造过程简易性.

    Abstract:

    SDN (software-defined network) is designed to solve the problems of traditional networks with complex and scattered architecture, making the network more flexible.The characteristic of the P4 programming language is that users can directly define P4 programs according to their needs for processing data packets,and then compile and configure user requirements to network equipment through the adaptation file.The SDN data plane conformance test for the P4 programming language is to send the consistency test cases to the P4 network equipment to evaluate the consistency of the actual output and the expected output.Conformance test cases are the carriers for performing conformance tests,and the traditional manual construction of test cases is a tedious and time-consuming work.This article focuses on the design principles and generation method of SDN data plane software conformance test cases for P4 programming language, gives the conformance test case coverage standards,designs the command information entity structure and the test case entity structure, and uses the simple_switch virtual switch loaded with the P4 program as the test object to illustrate the conformance test case generation process.This paper also implements an automatic test case generation tool for P4 network device conformance testing, and verifies the effectiveness of the tool to automatically generate test cases, and realizes the simplicity of the conformance test case construction process

    参考文献
    相似文献
    引证文献
引用本文

张雯雯,许天予,章玥,郑孝遥. SDN数据平面软件一致性测试用例生成方法.软件学报,2020,31(9):2709-2722

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2019-07-01
  • 最后修改日期:2019-08-18
  • 录用日期:
  • 在线发布日期: 2020-01-17
  • 出版日期: 2020-09-06
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号