[ovs-dev] [PATCH 0/2] Make router ports always appear as up

Jakub Sitnicki jkbs at redhat.com
Fri Sep 29 15:05:21 UTC 2017


Hi,

This is an attempt at making the 'up' state of logical ports less
surprising to the users. Currently logical ports of 'router' type will
appear as down, which causes confusion.

This patch set takes the simplest possible approach and sets the
'router' logical ports to always 'up'. This comes for free, that is
without any need for additional look-ups when ovn-northd is processing
changes in SB DB.

However, it could be complicated further, for example by taking into
consideration administratively set state of corresponding logical
router port ('enabled' column), if the community & users would see it
as useful.

Thanks,
Jakub

Jakub Sitnicki (2):
  ovn-northd: Refactor logic for logical port 'up' state update
  ovn-northd; Treat logical ports of router type as always being up

 ovn/northd/ovn-northd.c |  7 ++---
 ovn/ovn-nb.xml          | 26 +++++++++++++------
 tests/ovn-northd.at     | 69 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 89 insertions(+), 13 deletions(-)

--
2.9.5


More information about the dev mailing list