[ovs-git] [openvswitch/ovs] 4cf229: ovn: log dhcp responses for debugging

GitHub noreply at github.com
Wed Sep 14 23:02:44 UTC 2016


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 4cf229fa09a0780466e46c5660ce29e2246a079b
      https://github.com/openvswitch/ovs/commit/4cf229fa09a0780466e46c5660ce29e2246a079b
  Author: Ramu Ramamurthy <ramu.ramamurthy at gmail.com>
  Date:   2016-09-14 (Wed, 14 Sep 2016)

  Changed paths:
    M ovn/controller/binding.c
    M ovn/controller/pinctrl.c

  Log Message:
  -----------
  ovn: log dhcp responses for debugging

Add a few messages at INFO to help debug the vif lifecycle.
A logsearch on mac or ip helps debug what happened to the
vif and when. This helps easily correlate logs across CMS and ovn.

Logs appear like this:

2016-09-01T18:15:48Z|00014|binding|INFO|Claiming lport eee1a9af-7513-4540-9385-9e3972bfca05 for this chassis.
2016-09-01T18:15:48Z|00015|binding|INFO|Claiming fa:16:3e:01:c3:4a 10.0.0.7 fd93:b509:aa46:0:f816:3eff:fe01:c34a
2016-09-01T18:15:59Z|00016|pinctrl|INFO|DHCPOFFER fa:16:3e:01:c3:4a 10.0.0.7
2016-09-01T18:15:59Z|00017|pinctrl|INFO|DHCPACK fa:16:3e:01:c3:4a 10.0.0.7
2016-09-01T18:16:22Z|00018|binding|INFO|Releasing lport eee1a9af-7513-4540-9385-9e3972bfca05 from this chassis.
2016-09-01T18:16:22Z|00019|binding|INFO|Releasing fa:16:3e:01:c3:4a 10.0.0.7 fd93:b509:aa46:0:f816:3eff:fe01:c34a

Signed-off-by: Ramu Ramamurthy <ramu.ramamurthy at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list