Skip to content

iMasaruOki/terraform-libvirt-sonic-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

terraform-provider-libvirt SONiC example

Abstract

  • Two SONiC VMs are deployed with Terraform.
  • VMs are connected via virtual network.

Topology

(default)                      (default)
eth0|                              |eth0
 ---+---                        ---+---
 | s1  |                        | s2  |
 ---+---                        ---+---
    |Ethernet0            Ethernet0|
    ---------------c1---------------

Requirement

  • libvirt
  • qemu-kvm
  • Terraform
  • terraform-provider-libvirt

Prepare

Put sonic-vs.img into modules/sonic/.

Usage

  1. Run Terraform.
cd terraform-libvirt-sonic-example
terraform init
terraform apply
  1. Edit "mac" in /etc/sonic/config_db.json and reboot Vm.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages