Microsoft, SONiC is probabily the most populan open-source network operating system which is currently being developed by a community of network market leaders: Broadcom, Marvell, Dell, Mellanox/NVIDIA, Intel, Microsoft and others. IT supports 101 whitebox platforms (by January 2021) which you could find the latest list in https://github.com/Azure/SONiC/wiki/Supported-Devices-and-Platforms.
To test and see how Sonic works it’s better to create a virtual topology (e.g. a data center Clos topology.) with a network emulation tool like GNS3, Eve-NG etc. On Sonic Github page there is a script to make Sonic-Virtual-Switch image with GNS3 but not for EVE-NG. I make Sonic work on Even-NG. Here are the instructions:
I assume that you already installed Eve-NG and started using it.
- Copy the mssonic.yml file into “/opt/unetlab/html/templates/intel” or “/opt/unetlab/html/templates/amd” based on your cpu.
- Create a folder under “opt/unetlab/addons/qemu/” with name “mssonic-version/” . Folder name is really important since eve-ng understands that it is a a sonic image folder with naming convention. The first part of the folder name must be "mssonic" if you are using my yml file and later you could add version to the folder name, e.g: "mssonic-202012"
root@EVENG-SRLAB:~# mkdir pt/unetlab/addons/qemu/mssonic-202012
- Download sonic-vs.img and move it to this folder.https://github.com/Azure/sonic-buildimage
- Extract sonic-vs.img.gz
- Rename sonic-vs.img to virtioa.qcow2 (just rename, no convert)
root@EVENG-SRLAB:/opt/unetlab/addons/qemu/mssonic-202012# mv sonic-vs.img virtioa.qcow2
/opt/unetlab/wrappers/unl_wrapper -a fixpermission
0 comments:
Post a Comment