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

GitHub noreply at github.com
Tue Nov 28 20:58:00 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 552ffa337dd2d9823ca32cd15cadac57a7c8ff45
      https://github.com/openvswitch/ovs/commit/552ffa337dd2d9823ca32cd15cadac57a7c8ff45
  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: a89e91c6abbc7a509dc71fa66831af2f1c90c3df
      https://github.com/openvswitch/ovs/commit/a89e91c6abbc7a509dc71fa66831af2f1c90c3df
  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/ovn-northd.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/a9e6958101d0...a89e91c6abbc


More information about the git mailing list