Towards Extracting Semantics of Network Config Blocks
Towards Extracting Semantics of Network Config Blocks
复制标题
提取网络配置块的语义
DOI:
10.1109/compsac51774.2021.00214
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Hiroshi Esaki
中科院分区:
文献类型:
--
作者:
Kazuki Otomo;Satoru Kobayashi;Kensuke Fukuda;Akashi Osamu;Kimihiro Mizutani;Hiroshi Esaki
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.