Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@virtual-blade5:/home/ubuntu# ps aux | grep qemu
libvirt+ 293706 0.7 1.1 3873556 186408 ? Sl 16:56 0:14 qemu-system-x86_64 -enable-kvm -name instance-00000005 -S -machine pc-i440fx-xenial,accel=kvm,usb=off -cpu IvyBridge,+pdpe1gb,+hypervisor,+osxsave,+pcid,+vmx,+ss -m 2000 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid f9957200-aadd-406d-ab69-de63bafb3601 -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=14.0.1,serial=6a44ecb9-e425-4472-ba78-351f856123ab,uuid=f9957200-aadd-406d-ab69-de63bafb3601,family=Virtual Machine -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-instance-00000005/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=rbd:cinder-ceph/volume-7bc898f8-d917-43a2-8575-5a8da1d448e0:id=nova-compute:key=AQD9na1YRc24DxAAMlPfGhmJM5rdh+tKC+nVfw==:auth_supported=cephx\;none:mon_host=192.168.51.85\:6789\;192.168.51.86\:6789\;192.168.51.87\:6789,format=raw,if=none,id=drive-virtio-disk0,serial=7bc898f8-d917-43a2-8575-5a8da1d448e0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:7a:fb:46,bus=pci.0,addr=0x2 -chardev file,id=charserial0,path=/var/lib/nova/instances/f9957200-aadd-406d-ab69-de63bafb3601/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -msg timestamp=on
root 331137 0.0 0.0 12944 928 pts/4 S+ 17:28 0:00 grep --color=auto qemu
root@virtual-blade5:/home/ubuntu# ifconfig -a
br-data Link encap:Ethernet HWaddr f2:15:75:f1:6b:44
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-ens3 Link encap:Ethernet HWaddr 52:54:00:ca:f0:dc
inet addr:192.168.51.83 Bcast:192.168.51.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:feca:f0dc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:220577 errors:0 dropped:0 overruns:0 frame:0
TX packets:229615 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57226681 (57.2 MB) TX bytes:69240168 (69.2 MB)
br-ex Link encap:Ethernet HWaddr c6:83:be:e6:2b:42
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-int Link encap:Ethernet HWaddr 72:63:fd:4b:c6:43
BROADCAST MULTICAST MTU:1458 Metric:1
RX packets:0 errors:0 dropped:16 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-tun Link encap:Ethernet HWaddr ca:4f:34:d3:7b:4a
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ens3 Link encap:Ethernet HWaddr 52:54:00:ca:f0:dc
inet6 addr: fe80::5054:ff:feca:f0dc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:588063 errors:0 dropped:0 overruns:0 frame:0
TX packets:697107 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:267830334 (267.8 MB) TX bytes:179514793 (179.5 MB)
ens4 Link encap:Ethernet HWaddr 52:54:00:53:54:a1
inet6 addr: fe80::5054:ff:fe53:54a1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2315 errors:0 dropped:1 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:242730 (242.7 KB) TX bytes:578 (578.0 B)
gre0 Link encap:UNSPEC HWaddr 00-00-00-00-35-34-3A-30-00-00-00-00-00-00-00-00
NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
gre_sys Link encap:Ethernet HWaddr f2:a4:8e:6a:1f:8c
inet6 addr: fe80::f0a4:8eff:fe6a:1f8c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65490 Metric:1
RX packets:95 errors:0 dropped:0 overruns:0 frame:0
TX packets:126 errors:0 dropped:8 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10245 (10.2 KB) TX bytes:10972 (10.9 KB)
gretap0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1462 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:142845 errors:0 dropped:0 overruns:0 frame:0
TX packets:142845 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:15812472 (15.8 MB) TX bytes:15812472 (15.8 MB)
lxdbr0 Link encap:Ethernet HWaddr 16:00:ae:83:e0:fd
inet addr:10.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::1400:aeff:fe83:e0fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:570 (570.0 B)
ovs-system Link encap:Ethernet HWaddr 66:26:3b:ce:22:32
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
qbrd4864311-c4 Link encap:Ethernet HWaddr 52:46:30:62:f9:40
UP BROADCAST RUNNING MULTICAST MTU:1458 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1540 (1.5 KB) TX bytes:0 (0.0 B)
qvbd4864311-c4 Link encap:Ethernet HWaddr 52:46:30:62:f9:40
inet6 addr: fe80::5046:30ff:fe62:f940/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1458 Metric:1
RX packets:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9109 (9.1 KB) TX bytes:12206 (12.2 KB)
qvod4864311-c4 Link encap:Ethernet HWaddr 5e:ce:ba:2a:e1:52
inet6 addr: fe80::5cce:baff:fe2a:e152/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1458 Metric:1
RX packets:125 errors:0 dropped:0 overruns:0 frame:0
TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12206 (12.2 KB) TX bytes:9109 (9.1 KB)
tapd4864311-c4 Link encap:Ethernet HWaddr fe:16:3e:7a:fb:46
inet6 addr: fe80::fc16:3eff:fe7a:fb46/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1458 Metric:1
RX packets:117 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11558 (11.5 KB) TX bytes:9179 (9.1 KB)
veth2E5P4V Link encap:Ethernet HWaddr fe:16:70:5a:e3:fa
inet6 addr: fe80::fc16:70ff:fe5a:e3fa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:409928 errors:0 dropped:0 overruns:0 frame:0
TX packets:306267 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:102917324 (102.9 MB) TX bytes:153827640 (153.8 MB)
vethB63Q70 Link encap:Ethernet HWaddr fe:d1:93:9f:5a:03
inet6 addr: fe80::fcd1:93ff:fe9f:5a03/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8397 errors:0 dropped:0 overruns:0 frame:0
TX packets:8088 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1820437 (1.8 MB) TX bytes:1684036 (1.6 MB)
vethN51DTV Link encap:Ethernet HWaddr fe:87:bb:1b:7e:cd
inet6 addr: fe80::fc87:bbff:fe1b:7ecd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49805 errors:0 dropped:0 overruns:0 frame:0
TX packets:53513 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5595260 (5.5 MB) TX bytes:52126457 (52.1 MB)
root@virtual-blade5:/home/ubuntu# brctl show
bridge name bridge id STP enabled interfaces
br-ens3 8000.525400caf0dc no ens3
veth2E5P4V
vethB63Q70
vethN51DTV
lxdbr0 8000.000000000000 no
qbrd4864311-c4 8000.52463062f940 no qvbd4864311-c4
tapd4864311-c4
root@virtual-blade5:/home/ubuntu# ovs-vsctl show
38abb306-dcf2-4331-8667-649dca60527c
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port int-br-data
Interface int-br-data
type: patch
options: {peer=phy-br-data}
Port br-int
Interface br-int
type: internal
Port "qvod4864311-c4"
tag: 1
Interface "qvod4864311-c4"
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port "gre-c0a83351"
Interface "gre-c0a83351"
type: gre
options: {df_default="true", in_key=flow, local_ip="192.168.51.83", out_key=flow, remote_ip="192.168.51.81"}
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "gre-c0a83350"
Interface "gre-c0a83350"
type: gre
options: {df_default="true", in_key=flow, local_ip="192.168.51.83", out_key=flow, remote_ip="192.168.51.80"}
Port "gre-c0a83352"
Interface "gre-c0a83352"
type: gre
options: {df_default="true", in_key=flow, local_ip="192.168.51.83", out_key=flow, remote_ip="192.168.51.82"}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Bridge br-data
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-data
Interface br-data
type: internal
Port phy-br-data
Interface phy-br-data
type: patch
options: {peer=int-br-data}
ovs_version: "2.6.0"
root@virtual-blade5:/home/ubuntu#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment