sonic-buildimage/platform/vs
2019-02-02 19:39:42 +00:00
..
docker-sonic-vs [swss]: Change VrfMgrd startup order, cleanup VRF_TABLE from state DB (#2510) 2019-02-02 19:39:42 +00:00
docker-syncd-vs [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
sonic-version [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
tests [vs]: Add time.sleep(1) to make test stable (#2274) 2018-11-19 12:03:57 -08:00
create_vnet.sh [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
docker-orchagent-vs.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
docker-sonic-vs.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
docker-syncd-vs.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
kvm-image.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
one-image.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
onie.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
platform.conf [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
README.vsdocker.md [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
README.vsvm.md [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
rules.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
sonic-version.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
sonic.xml [vs]: sync changes to disk and add e1000 driver to sonic vm (#2288) 2018-11-22 12:09:21 -08:00
syncd-vs.mk [virtualswitch]: build docker-sonic-vs docker based on SAI virtual switch (#1065) 2017-10-23 22:01:42 -07:00

HOWTO Use Virtual Switch (VM)

  1. Install libvirt, kvm, qemu
sudo apt-get install libvirt-clients qemu-kvm libvirt-bin
  1. Create SONiC VM
$ virsh
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # 
virsh # create sonic.xml
Domain sonic created from sonic.xml

virsh # 
  1. Connect SONiC VM via console
$ telnet 127.0.0.1 7000
  1. Connect SONiC VM via SSH
$ ssh -p 3040 admin@127.0.0.1