SONiC Testbed是一套開放的虛擬化 SONiC 測試平台,透過虛擬機器(Virtual Machine, VM)和 Docker 模擬真實網路拓撲,測試 SONiC 設備的行為是否符合預期,並透過自動化測試,大量減少測試時間與成本維護,提升測試結果可信度。然而建立測試環境需要受支援的實體扇出交換器(Fanout Switch),由於購置100G交換機成本過高,若只是早期產品開發階段,只須測試少量端口(port)的基本轉發功能驗證,若使用實體扇出交換器勢必會大幅墊高開發成本,因此,本論文主要提出一種架構,能夠在測試平台環境下新增軟體扇出交換器,實現以低廉的硬體成本,進行開源的網路作業系統全功能測試。
SONiC Testbed is an open virtualized SONiC test platform that simulates the actual network topology through virtual machines (VM) and Docker containers to test whether the behavior of SONiC equipment meets expectations. In addition, the testbed automates the test to reduce testing time and cost significantly and enhance the credibility of the test results. However, establishing a test environment requires a supported physical fanout switch. Moreover, the cost of purchasing a 100G switch is high, and only a few ports are needed to conduct the test in the early product development stage. Therefore, using a physical fanout switch to validate the basic forwarding function significantly increases the development cost. In this thesis, we propose a framework of a software-based fanout switch connecting the testbed to test the behavior of SONiC devices. The test platform environment can conduct the full-featured testing of open-source network operating systems at a low hardware cost.