[ovs-git] [openvswitch/ovs] 7ec80b: ovn-northd: Refactor logic for logical port 'up' s...

GitHub noreply at github.com
Tue Nov 28 21:04:02 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: 7ec80bfb00f4d3a0a21acea448f1064a980be796
      https://github.com/openvswitch/ovs/commit/7ec80bfb00f4d3a0a21acea448f1064a980be796
  Author: Jakub Sitnicki <jkbs at redhat.com>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M ovn/northd/ovn-northd.c

  Log Message:
  -----------
  ovn-northd: Refactor logic for logical port 'up' state update

No functional change.  Make it obvious that we determine the logical
port 'up' state by checking for bound chassis, and update the NB DB only
when state has not been set yet or current state is different.

Signed-off-by: Jakub Sitnicki <jkbs at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Mark Michelson <mmichels at redhat.com>
Acked-by: Miguel Angel Ajo <majopela at redhat.com>


  Commit: 5d6bd09ffad3ec233c67a7295e8b9c98cfb33cad
      https://github.com/openvswitch/ovs/commit/5d6bd09ffad3ec233c67a7295e8b9c98cfb33cad
  Author: Jakub Sitnicki <jkbs at redhat.com>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M ovn/northd/ovn-northd.c
    M ovn/ovn-nb.xml
    M tests/automake.mk
    A tests/ovn-northd.at
    M tests/testsuite.at

  Log Message:
  -----------
  ovn-northd; Treat logical ports of router type as always being up

Employ the simplest possible approach to determine the state of logical
ports that connect to logical routers by hardcoding it to always up.
This is intended to be less surprising than the current approach where
router ports appear as being down (with the exception of ones linking to
gateway routers, which are bound).

Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2017-August/045202.html
Signed-off-by: Jakub Sitnicki <jkbs at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Mark Michelson <mmichels at redhat.com>
Acked-by: Miguel Angel Ajo <majopela at redhat.com>


Compare: https://github.com/openvswitch/ovs/compare/c4c5da914f51...5d6bd09ffad3


More information about the git mailing list