f20665008c
* [build]: put stretch debian packages under target/debs/stretch/ * in stretch build phase, all debian packages built in that stage are placed under target/debs/stretch directory. * for python-based debian packages, since they are really the same for jessie and stretch, they are placed under target/python-debs directory. Signed-off-by: Guohan Lu <gulv@microsoft.com> |
||
---|---|---|
.. | ||
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