Towards Extracting Semantics of Network Config Blocks

Towards Extracting Semantics of Network Config Blocks
复制标题

提取网络配置块的语义

DOI:
10.1109/compsac51774.2021.00214
复制
发表时间:
2021
期刊:
IEEE 45th Annual Computers, Software, and Applications Conference (COMPSAC 2021)
影响因子:
--
通讯作者:
Hiroshi Esaki
Hiroshi Esaki
中科院分区:
--
文献类型:
--
作者:
Kazuki Otomo;Satoru Kobayashi;Kensuke Fukuda;Akashi Osamu;Kimihiro Mizutani;Hiroshi Esaki

文献摘要

相似文献

配置网络设备是网络运营商的主要任务。然而,理解并持续更新网络配置文件(config)并不是一件容易的事情,特别是在大规模和复杂的网络中。在本文中,我们提出了一种语义的方法,以提供更好的理解这样的配置文件,不同的基于语法的方法。工作的核心思想是通过NLP中的文档嵌入技术提取配置文件块的语义。这种提取使我们能够理解上下文的配置块的语义相似性度量,而不是语法相似性的。此外,这种方法可以自然地扩展到附加的技术文档,如供应商的手册文档,以添加更多的特定信息的语义的语义。我们首先讨论了质量的几种嵌入技术所获得的语义,通过使用聚类评价。接下来,我们证明了我们的方法的有效性与两个案例研究与真实的网络路由器:(1)类似的配置块检测和(2)自动标记的配置块与供应商的文档。
Configuring network devices is a main task of network operators. However, understanding and consistently updating network configuration files (config) is not an easy task especially in a large-scale and complicated networks. In this paper, we propose a semantic approach to provide better understanding of such config files, different from syntax based approaches. The key idea of the work is to extract semantics of blocks of the config files by document embedding techniques in NLP. This extraction enables us to understand context of config blocks with semantic similarity metrics instead of syntax similarity ones. Furthermore, this approach can be naturally extended to additional technical documents such as vendor’s manual documents to add more specific information on the semantics of configs. We first discuss the quality of the obtained semantics for several embedding techniques, by using clustering evaluations. We next demonstrate the effectiveness of our approach with two case studies with real network configs: (1) similar config block detection and (2) automatic labeling of config block with vendor’s documents.