Hi

This patchset attempts to address the missing feedback channel when
database changes performed by ovs-vsctl lead to configuration errors
when ovs-vswitchd reconfigures.

I chose to also include INFO messages for now but it is certainly
an option to limit it to WARN and ERROR.

Example:
$ sudo ovs-vsctl add-port ovsbr tooloooooooooooooong
2012-11-29T16:26:55Z [netdev_linux] WARN: ethtool command ETHTOOL_GFLAGS on 
network device tooloooooooooooooong failed: No such device
2012-11-29T16:26:55Z [dpif] WARN: system@ovs-system: failed to add 
tooloooooooooooooong as port: Invalid argument
2012-11-29T16:26:55Z [bridge] WARN: bridge ovsbr: using default bridge Ethernet 
address ee:d9:68:b4:7b:4a
2012-11-29T16:26:55Z [bridge] WARN: bridge ovsbr: using default bridge Ethernet 
address ee:d9:68:b4:7b:4a
2012-11-29T16:26:55Z [bridge] INFO: ovs-vswitchd (Open vSwitch) 1.9.90
$ sudo ovs-vsctl del-port ovsbr tooloooooooooooooong
2012-11-29T16:27:22Z [bridge] WARN: bridge ovsbr: using default bridge Ethernet 
address ee:d9:68:b4:7b:4a
2012-11-29T16:27:22Z [bridge] INFO: ovs-vswitchd (Open vSwitch) 1.9.90
$ 

Thomas Graf (4):
  vlog: callback registration interface to receive vlog messages
  bridge: add console log to database
  ovs-vsctl: show-console command
  ovs-vsctl: Print console after waiting for database reload

 lib/vlog.c                 |  40 ++++++++++++++++-
 lib/vlog.h                 |   8 +++-
 utilities/ovs-vsctl.8.in   |  11 +++++
 utilities/ovs-vsctl.c      |  77 +++++++++++++++++++++++++++++++-
 vswitchd/bridge.c          | 109 +++++++++++++++++++++++++++++++++++++++++++++
 vswitchd/vswitch.ovsschema |   7 ++-
 vswitchd/vswitch.xml       |   4 ++
 7 files changed, 251 insertions(+), 5 deletions(-)

-- 
1.7.11.7

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to