paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Network Change Validation with Relational NetKAT

基于关系式 NetKAT 的网络变更验证
POPL 10(POPL)2026匹配度 3/10 · 论文属于形式化验证/DSL与自动机方向,提出 Relational NetKAT 用于网络变更验证,并具备理论语义、编译算法与工业基准评估;但研究方向集中在网络配置验证,未涉及 ML/Agentic 程序、LLM 增强静态分析、浮点程序分析或贝叶斯程序分析等用户核心交叉点。引用 3 inbox
Han Xu, Zachary Kincaid, Ratul Mahajan, David Walker
crossref: 2026-09-10

AI 速览

一句话:提出 Relational NetKAT 规格语言与转换器/自动机算法,以验证网络变更是否符合意图。

网络变更常因实现与意图不一致而引入错误。本文提出关系式 NetKAT(RN)规格语言:工程师给出迹关系 R,将变更前网络的包迹映射到变更后网络的预期包迹,再与实际迹比较以发现错误。迹关系由迹插入、删除、包变换等组合子及连接、并、迭代等正则算子复合而成。作者将迹关系编译为新型 NetKAT 转换器,并构造自动机识别 NetKAT 自动机在转换器下的像;结合已有 NetKAT 等价判定即可验证变更。文章给出指称语义、证明编译正确、实现工具,并在生产网络与 Amazon Batfish 基准上评估。

问题
网络变更容易因配置实现与运维意图不一致而产生错误,需要一种能表达意图并自动检查变更后网络行为是否符合预期的方法。
方法
提出关系式 NetKAT 规格语言,用组合子构造前后包迹之间的迹关系,并将其编译为 NetKAT 转换器,进而构造识别像语言的自动机,复用 NetKAT 等价判定进行验证;同时给出指称语义和正确性证明。
评估
实现了网络变更验证工具,并在来自生产网络和 Amazon Batfish 工具包的基准集上进行评估。
原文摘要(Abstract)

Relational NetKAT (RN) is a new specification language for network change validation. Engineers use RN to specify intended changes by providing a trace relation R , which maps existing packet traces in the pre-change network to intended packet traces in the post-change network. The intended set of traces may then be checked against the actual post-change traces to uncover errors in implementation. Trace relations are constructed compositionally from a language of combinators that include trace insertion, trace deletion, and packet transformation, as well as regular operators for concatenation, union, and iteration of relations. We provide algorithms for converting trace relations into a new form of NetKAT transducer and also for constructing an automaton that recognizes the image of a NetKAT automaton under a NetKAT transducer. These algorithms, together with existing decision procedures for NetKAT automaton equivalence, suffice for validating network changes. We provide a denotational semantics for our specification language, prove our compilation algorithms correct, implement a tool for network change validation, and evaluate it on a set of benchmarks drawn from a production network and Amazon’s Batfish toolkit.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{XuKMW26,
  title = {Network Change Validation with Relational NetKAT},
  author = {Han Xu and Zachary Kincaid and Ratul Mahajan and David Walker},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {POPL},
  year = {2026},
  doi = {10.1145/3776656}
}