ovsdbmonitor is a GUI tool for searching Open vSwitch database.
isntall ovsdbmonitor
# cat /etc/fedora-release ;uname -ri
Fedora release 19 (Schrödinger’s Cat)
3.11.1-200.fc19.x86_64 x86_64
# yum install ovsdbmonitor
|
launch ovsdbmonitor
# ovsdbmonitor
|
File -> Preference
add IP address on which open vswitch has been installed and SSH password of root user.
File -> Netflow window
similar to ovs-dpctl dump-flow command.
[root@localhost ~]# ovs-dpctl dump-flows
in_port(1),eth(src=00:24:a5:c0:45:50,dst=78:e7:d1:7f:84:b7),eth_type(0x0800),ipv4(src=173.194.70.120,dst=192.168.11.5,proto=6,tos=0,ttl=41,frag=no),tcp(src=443,dst=57923), packets:4, bytes:384, used:2.424s, flags:P., actions:2
in_port(1),eth(src=00:24:a5:c0:45:50,dst=01:00:5e:7f:ff:fa),eth_type(0x0800),ipv4(src=192.168.11.1,dst=239.255.255.250,proto=17,tos=0,ttl=4,frag=no),udp(src=1900,dst=1900), packets:3, bytes:1074, used:0.519s, actions:2
|
make sure that open vswitch running and you allow SSH access from root user.
# systemctl status openvswitch.service
openvswitch.service - Open vSwitch Unit
Loaded: loaded (/usr/lib/systemd/system/openvswitch.service; enabled)
Active: active (exited) since 木 2013-10-03 23:15:53 JST; 54min ago
Main PID: 1393 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/openvswitch.service
10月 03 23:15:53 localhost.localdomain systemd[1]: Starting Open vSwitch Uni...
10月 03 23:15:53 localhost.localdomain systemd[1]: Started Open vSwitch Unit.
# egrep -i ^permit /etc/ssh/sshd_config
PermitRootLogin yes
|
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.