6e71cc7887
* syncd changes to disk and add e1000 driver to sonic vm * add pg_profile_lookup.ini Signed-off-by: Guohan Lu <gulv@microsoft.com> * update swss and sairedis sairedis: * d146572 2018-11-22 | Fix interface name used on link message using lane map (#386) swss: * c74dc60 2018-11-22 | [vstest]: use eth1~32 as physical interface name in vs docker (#700) (HEAD -> master, origin/master, origin/HEAD) [lguohan] * 6007e7f 2018-11-22 | [portmgrd]: Fix setting default port admin status and MTU (#691) [stepanblyschak] * 6c70f6d 2018-11-22 | [portsorch] Fix port queue index init bug (#505) [yangbashuang] * 70ac79b 2018-11-21 | [gitignore]: Update all binary names in the ignore list (#698) [Shuotian Cheng] * 2a3626c 2018-11-21 | [test]: Remove duplicate legacy ACL tests (#699) [Shuotian Cheng] * 8099811 2018-11-20 | [aclorch]: Remove unnecessary warning message (#696) [Shuotian Cheng] * 63d8ebc 2018-11-18 | [portsorch]: Remove duplicate local variables - port (#690) [Shuotian Cheng] * 28dc042 2018-11-18 | Remove default docker name value of swss. (#692) [Jipan Yang] 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