sonic-buildimage/platform/vs
Prince Sunny 2c6b0d0412 [orchagent] Use mac address from config_db instead of from eth0 (#4166)
* Use mac address from config_db instead of eth0
2020-02-25 16:39:53 +00:00
..
docker-sonic-vs [orchagent] Use mac address from config_db instead of from eth0 (#4166) 2020-02-25 16:39:53 +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]: Force10-S6000 buffer settings for virtual switch (#2515) 2019-07-13 19:49:50 +00:00
docker-syncd-vs.mk [docker-syncd-vs]: fix syncd target for docker-syncd-vs. 2019-07-15 19:53:04 +00: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