sonic-buildimage/platform/vs
Renuka Manavalan 0bca6b8468
1) Build debug docker image for each docker (#3104)
2) Install debug tools in every debug docker image
3) Install available debug symbols in debug docker image
4) Provide additional host/docker mapping for host dirs /src & /debug
    4.1) The one-image will have source code under /src
    4.2) /debug is mapped as rw. User can put his core file there and use this dir to
         collect debug session logs too.
5) Build debug image using debug dockers
6) Source code is archived into /src of debug image
7) The welcome banner is extended to display these additional facilities in debug image.
2019-07-09 08:55:03 -07: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 [vstest]: Test for quagga livelock fix (#2751) 2019-04-16 15:34:38 +00:00
create_vnet.sh [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
docker-orchagent-vs.mk 1) Build debug docker image for each docker (#3104) 2019-07-09 08:55:03 -07:00
docker-sonic-vs.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
docker-syncd-vs.mk 1) Build debug docker image for each docker (#3104) 2019-07-09 08:55:03 -07:00
kvm-image.mk [vs]: build sonic vs kvm image (#2269) 2018-11-20 22:32:40 -08:00
one-image.mk 1) Build debug docker image for each docker (#3104) 2019-07-09 08:55:03 -07: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