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

使网络配置对人类友好

Making Network Configuration Human Friendly

Changjie Wang, Mariano Scazzariello, Alireza Farshin, Dejan Kostic, Marco Chiesa

AI总结:

本文提出NETBUDDY,利用LLM将自然语言需求转换为底层网络API,通过细粒度步骤和自愈代码生成方法实现从零生成及运行时修改网络配置,并基于GPT-4和Kathará模拟器验证了其可行性。

摘要:

本文探讨了利用大型语言模型(LLMs)使网络配置对人类友好、简化网络设备配置并最大程度减少错误的机会。我们研究了这些模型在将高级策略和需求(即以自然语言指定)转换为底层网络API方面的有效性,这需要理解硬件和协议。更具体地说,我们提出了NETBUDDY,用于从零开始生成网络配置并在运行时进行修改。NETBUDDY将网络配置的生成拆分为细粒度步骤,并依赖自愈代码生成方法来更好地利用LLMs的全部潜力。我们首先彻底研究了使用这些模型生成功能完整且正确配置的挑战,然后通过构建一个概念验证解决方案来评估实现NETBUDDY的可行性,该方案使用GPT-4将一组高级需求转换为P4和BGP配置,并使用Kathará网络模拟器运行它们。

英文摘要:

This paper explores opportunities to utilize Large Language Models (LLMs) to make network configuration human-friendly, simplifying the configuration of network devices and minimizing errors. We examine the effectiveness of these models in translating high-level policies and requirements (i.e., specified in natural language) into low-level network APIs, which requires understanding the hardware and protocols. More specifically, we propose NETBUDDY for generating network configurations from scratch and modifying them at runtime. NETBUDDY splits the generation of network configurations into fine-grained steps and relies on self-healing code-generation approaches to better take advantage of the full potential of LLMs. We first thoroughly examine the challenges of using these models to produce a fully functional & correct configuration, and then evaluate the feasibility of realizing NETBUDDY by building a proof-of-concept solution using GPT-4 to translate a set of high-level requirements into P4 and BGP configurations and run them using the Kathará network emulator.

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

↑