c0eb90b96c
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com> |
||
---|---|---|
.. | ||
docker-sonic-vs | ||
docker-syncd-vs | ||
sonic-version | ||
tests | ||
create_vnet.sh | ||
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