In recent years, the open source operating system OpenWrt has become a popular option for replacing proprietary firmware on networking devices such as home routers or access points. In order to configure an OpenWrt system, like setting up firewall rules, the user has to either sign in to the web interface or use SSH to manually change configuration files on the device. While the current approach is sufficient for small home networks, it only allows for limited automation of management tasks and configuration management becomes time-consuming, for example, on larger campus networks where access control lists on OpenWrt access points need updates regularly. This paper describes our efforts to implement the RESTCONF configuration management protocol standardized by the IETF on OpenWrt systems that have limited CPU and memory resources. We detail our design choices that make our implementation resource efficient for the use cases we target and we compare our implementation against other similar solutions. Our implementation is available on GitHub under an open source license.
翻译:近年来,开源操作系统OpenWrt已成为替代家庭路由器或接入点等网络设备专有固件的热门选择。为了配置OpenWrt系统(如设置防火墙规则),用户必须登录Web界面或使用SSH手动更改设备上的配置文件。虽然当前的方法足以满足小型家庭网络的需求,但仅允许在管理任务有限自动化,而在需要定期更新OpenWrt访问点上的访问控制列表等情况下,配置管理变得耗时费力,特别是在较大的校园网络中。本文描述了我们在OpenWrt系统上实现RESTCONF配置管理协议的努力,该协议由IETF标准化,适用于具有有限CPU和内存资源的设备。我们详细介绍了我们的设计选择,使我们的实现旨在针对目标用例时资源高效,并将我们的实现与其他类似的解决方案进行了比较。我们的实现可在GitHub上使用开源许可证获得。