Skip to content

Instantly share code, notes, and snippets.

@sombrafam
Created February 23, 2017 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sombrafam/5e7b881e81ed3f59969198f74e984ac9 to your computer and use it in GitHub Desktop.
Save sombrafam/5e7b881e81ed3f59969198f74e984ac9 to your computer and use it in GitHub Desktop.
ubuntu@virtual-blade3:~$ ps aux | grep qemu
libvirt+ 183478 6.6 1.6 3959088 264744 ? Sl 15:06 8:34 qemu-system-x86_64 -enable-kvm -name instance-00000004 -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 dd60ae1b-2cc9-42c7-a1db-e500fed0c515 -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=14.0.1,serial=53773d8e-7275-4108-a9c6-db66d0f75e30,uuid=dd60ae1b-2cc9-42c7-a1db-e500fed0c515,family=Virtual Machine -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-instance-00000004/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-bb3af184-e43d-457d-8d95-6cee1d9809e8: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=bb3af184-e43d-457d-8d95-6cee1d9809e8,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,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:51:b8:ec,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/dd60ae1b-2cc9-42c7-a1db-e500fed0c515/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 -vnc 127.0.0.1:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on
ubuntu 332703 0.0 0.0 12952 996 pts/5 S+ 17:15 0:00 grep --color=auto qemu
ubuntu@virtual-blade3:~$
ubuntu@virtual-blade3:~$
ubuntu@virtual-blade3:~$ ifconfig -a
br-data Link encap:Ethernet HWaddr 6a:07:e4:3c:91:4e
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:b6:37:e7
inet addr:192.168.51.81 Bcast:192.168.51.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:feb6:37e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:268267 errors:0 dropped:0 overruns:0 frame:0
TX packets:274133 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:96095101 (96.0 MB) TX bytes:72226113 (72.2 MB)
br-ex Link encap:Ethernet HWaddr 7e:9a:25:c5:7f:4b
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 4e:a0:7a:29:2d:41
BROADCAST MULTICAST MTU:1458 Metric:1
RX packets:0 errors:0 dropped:64 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 56:2d:44:73:3a:47
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:b6:37:e7
inet6 addr: fe80::5054:ff:feb6:37e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:612890 errors:0 dropped:0 overruns:0 frame:0
TX packets:646724 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:202519284 (202.5 MB) TX bytes:242055113 (242.0 MB)
ens4 Link encap:Ethernet HWaddr 52:54:00:48:8f:b6
inet6 addr: fe80::5054:ff:fe48:8fb6/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 22:89:26:f4:ac:2f
inet6 addr: fe80::2089:26ff:fef4:ac2f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:65490 Metric:1
RX packets:204 errors:0 dropped:0 overruns:0 frame:0
TX packets:277 errors:0 dropped:8 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22552 (22.5 KB) TX bytes:23351 (23.3 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:171312 errors:0 dropped:0 overruns:0 frame:0
TX packets:171312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:26280925 (26.2 MB) TX bytes:26280925 (26.2 MB)
lxdbr0 Link encap:Ethernet HWaddr 92:f7:57:b1:cc:97
inet addr:10.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::90f7:57ff:feb1:cc97/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 52:e4:33:1c:94:7e
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)
qbrb76a6949-00 Link encap:Ethernet HWaddr 62:6b:e0:26:72:19
UP BROADCAST RUNNING MULTICAST MTU:1458 Metric:1
RX packets:36 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:3672 (3.6 KB) TX bytes:0 (0.0 B)
qvbb76a6949-00 Link encap:Ethernet HWaddr 62:6b:e0:26:72:19
inet6 addr: fe80::606b:e0ff:fe26:7219/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1458 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0 frame:0
TX packets:284 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23200 (23.2 KB) TX bytes:27835 (27.8 KB)
qvob76a6949-00 Link encap:Ethernet HWaddr 7a:ef:d5:83:53:bb
inet6 addr: fe80::78ef:d5ff:fe83:53bb/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1458 Metric:1
RX packets:284 errors:0 dropped:0 overruns:0 frame:0
TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27835 (27.8 KB) TX bytes:23200 (23.2 KB)
tapb76a6949-00 Link encap:Ethernet HWaddr fe:16:3e:51:b8:ec
inet6 addr: fe80::fc16:3eff:fe51:b8ec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1458 Metric:1
RX packets:162 errors:0 dropped:0 overruns:0 frame:0
TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15664 (15.6 KB) TX bytes:14019 (14.0 KB)
vethK6G4YG Link encap:Ethernet HWaddr fe:32:01:26:9b:02
inet6 addr: fe80::fc32:1ff:fe26:9b02/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:127211 errors:0 dropped:0 overruns:0 frame:0
TX packets:125735 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:114493366 (114.4 MB) TX bytes:18378022 (18.3 MB)
vethTS8X6N Link encap:Ethernet HWaddr fe:6f:2f:0e:5f:6d
inet6 addr: fe80::fc6f:2fff:fe0e:5f6d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:203670 errors:0 dropped:0 overruns:0 frame:0
TX packets:187841 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:50926860 (50.9 MB) TX bytes:74459418 (74.4 MB)
vethXW5614 Link encap:Ethernet HWaddr fe:c3:59:d3:b1:d6
inet6 addr: fe80::fcc3:59ff:fed3:b1d6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60908 errors:0 dropped:0 overruns:0 frame:0
TX packets:51855 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11470255 (11.4 MB) TX bytes:17073473 (17.0 MB)
ubuntu@virtual-blade3:~$ brctl show
bridge name bridge id STP enabled interfaces
br-ens3 8000.525400b637e7 no ens3
vethK6G4YG
vethTS8X6N
vethXW5614
lxdbr0 8000.000000000000 no
qbrb76a6949-00 8000.626be0267219 no qvbb76a6949-00
tapb76a6949-00
ubuntu@virtual-blade3:~$ ovs-vsctl show
ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (Permission denied)
ubuntu@virtual-blade3:~$ sudo ovs-vsctl show
f729fce5-be36-4504-a1f6-3472929fde0a
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 int-br-data
Interface int-br-data
type: patch
options: {peer=phy-br-data}
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qvob76a6949-00"
tag: 2
Interface "qvob76a6949-00"
Bridge br-data
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port phy-br-data
Interface phy-br-data
type: patch
options: {peer=int-br-data}
Port br-data
Interface br-data
type: internal
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Port "gre-c0a83353"
Interface "gre-c0a83353"
type: gre
options: {df_default="true", in_key=flow, local_ip="192.168.51.81", out_key=flow, remote_ip="192.168.51.83"}
Port "gre-c0a83350"
Interface "gre-c0a83350"
type: gre
options: {df_default="true", in_key=flow, local_ip="192.168.51.81", out_key=flow, remote_ip="192.168.51.80"}
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
ovs_version: "2.6.0"
ubuntu@virtual-blade3:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment