0bca6b8468
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. |
||
---|---|---|
.. | ||
docker-sonic-vs | ||
docker-syncd-vs | ||
sonic-version | ||
tests | ||
create_vnet.sh | ||
docker-orchagent-vs.mk | ||
docker-sonic-vs.mk | ||
docker-syncd-vs.mk | ||
kvm-image.mk | ||
one-image.mk | ||
onie.mk | ||
platform.conf | ||
README.vsdocker.md | ||
README.vsvm.md | ||
rules.mk | ||
sonic-version.mk | ||
sonic.xml | ||
syncd-vs.mk |
HOWTO Use Virtual Switch (VM)
- Install libvirt, kvm, qemu
sudo apt-get install libvirt-clients qemu-kvm libvirt-bin
- 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 #
- Connect SONiC VM via console
$ telnet 127.0.0.1 7000
- Connect SONiC VM via SSH
$ ssh -p 3040 admin@127.0.0.1