sonic-buildimage/platform/vs
lguohan 4e08f4dcc3
[docker-orchagent]: make build depends only on sairedis package (#6467)
backport c4b5b002c3

make swss build depends only on libsairedis instead of syncd. This allows to build swss without depending
on vendor sai library.

Currently, libsairedis build also buils syncd which requires vendor SAI lib. This makes difficult to build
swss docker in buster while still keeping syncd docker in stretch, as swss requires libsairedis which also
build syncd and requires vendor to provide SAI for buster. As swss docker does not really contain syncd
binary, so it is not necessary to build syncd for swss docker.

[submodule]: update sonic-sairedis

* 9a66890 2020-06-28 | [build]: add option to build without syncd (HEAD -> 201811, origin/201811) [Guohan Lu]

Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-16 13:12:14 -08: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 201811][syncd] Fix directory mount for vs syncd docker (#6200) 2020-12-13 22:42:02 -08: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 [docker-orchagent]: make build depends only on sairedis package (#6467) 2021-01-16 13:12:14 -08: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