arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.12870cs.NI
收藏

测试覆盖率网络测试

Test Coverage for Network Configurations

Xieyang Xu, Weixin Deng, Ryan Beckett, Ratul Mahajan, David Walker

摘要:

我们开发了NetCov,这是第一个揭示哪些网络配置行正在接受一套网络测试的工具。它可以帮助网络工程师改进测试套件,从而提高网络可靠性。其开发中的一个关键挑战是,许多网络测试测试数据平面,而不是直接测试配置(控制平面)。我们必须能够有效地推断哪些配置元素对测试的数据平面元素有贡献,即使这些贡献是非本地的(在远程设备上)或不确定的。NetCov使用基于信息流图的模型,精确捕获各种形式的贡献和可扩展的方法来延迟推断贡献。使用它,我们表明,现有的测试套件的Internet2(在美国的全国性骨干网络)只覆盖26%的配置线。来自NetCov的反馈使得定义新的测试以提高覆盖率变得很容易。对于Internet2来说,仅仅增加三个这样的测试就可以覆盖额外的17%的线路。

英文摘要:

We develop NetCov, the first tool to reveal which network configuration lines are being tested by a suite of network tests. It helps network engineers improve test suites and thus increase network reliability. A key challenge in its development is that many network tests test the data plane instead of testing the configurations (control plane) directly. We must be able to efficiently infer which configuration elements contribute to tested data plane elements, even when such contributions are non-local (on remote devices) or non-deterministic. NetCov uses an information flow graph based model that precisely captures various forms of contributions and a scalable method to lazily infer contributions. Using it, we show that an existing test suite for Internet2 (a nation-wide backbone network in the USA) covers only 26% of the configuration lines. The feedback from NetCov makes it easy to define new tests that improve coverage. For Internet2, adding just three such tests covers an additional 17% of the lines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑