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

VERCEL: 通过最小二乘法验证和纠正配置错误

VERCEL: Verification and Rectification of Configuration Errors with Least Squares

Indian Institute of Technology Bombay(印度理工学院孟买分校)

Abhiram Singh, Sidharth Sharma, Ashwin Gumaste

AI总结:

Vercel通过最小二乘法实现网络配置错误的验证与纠正,提供高效且可扩展的解决方案。

摘要:

我们提出了Vercel,一种基于线性代数可计算、算法表达性强且数学上优雅的领域网络验证和自动故障纠正工具。Vercel通过将数据包头部抽象为标准基向量,创建一个端口特定的转发矩阵A,表示路由器沿端口转发的一组数据包头部/前缀。通过将此矩阵A和向量b(表示所有考虑中的头部集合)相等,我们可以应用最小二乘法(产生列秩无关的解)来计算哪些头部在目的地可达。可达性现在 simply 意味着评估向量b是否在A的列空间中,这可以通过最小二乘法高效计算。此外,向量表示和最小二乘法的使用为理解网络行为开辟了新可能。例如,我们可以将规则、路由策略、what-if场景映射到基本的线性代数形式A x = b,以及确定如何正确配置转发表。我们展示了Vercel在不同数据集上的性能优于NetPlumber、Veriflow、APKeep、AP Verifier等现有工具。当规则以批处理方式验证时,Vercel几乎与Deltanet一样快,并提供了更好的可扩展性、表达性和内存效率。Vercel的一个关键特点是,在评估可达性时,工具可以结合意图,并将这些意图转换为自动配置的表项,这意味着一个推荐/纠正系统。

英文摘要:

We present Vercel, a network verification and automatic fault rectification tool that is based on a computationally tractable, algorithmically expressive, and mathematically aesthetic domain of linear algebra. Vercel works on abstracting out packet headers into standard basis vectors that are used to create a port-specific forwarding matrix $\mathcal{A}$, representing a set of packet headers/prefixes that a router forwards along a port. By equating this matrix $\mathcal{A}$ and a vector $b$ (that represents the set of all headers under consideration), we are able to apply \textit{least squares} (which produces a column rank agnostic solution) to compute which headers are reachable at the destination. Reachability now simply means evaluating if vector $b$ is in the column space of $\mathcal{A}$, which can efficiently be computed using least squares. Further, the use of vector representation and least squares opens new possibilities for understanding network behavior. For example, we are able to map rules, routing policies, what-if scenarios to the fundamental linear algebraic form, $\mathcal{A}x=b$, as well as determine how to configure forwarding tables appropriately. We show Vercel is faster than the state-of-art such as NetPlumber, Veriflow, APKeep, AP Verifier, when measured over diverse datasets. Vercel is almost as fast as Deltanet, when rules are verified in batches and provides better scalability, expressiveness and memory efficiency. A key highlight of Vercel is that while evaluating for reachability, the tool can incorporate intents, and transform these into auto-configurable table entries, implying a recommendation/correction system.

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

↑