- Two SONiC VMs are deployed with Terraform.
- VMs are connected via virtual network.
(default) (default)
eth0| |eth0
---+--- ---+---
| s1 | | s2 |
---+--- ---+---
|Ethernet0 Ethernet0|
---------------c1---------------
- libvirt
- qemu-kvm
- Terraform
- terraform-provider-libvirt
Put sonic-vs.img
into modules/sonic/.
- Run Terraform.
cd terraform-libvirt-sonic-example
terraform init
terraform apply
- Edit
"mac"
in/etc/sonic/config_db.json
and reboot Vm.