mbox series

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

Message ID 20170929150523.8833-1-jkbs@redhat.com
Headers show
Series Make router ports always appear as up | expand

Message

Jakub Sitnicki Sept. 29, 2017, 3:05 p.m. UTC
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