[ovs-dev] [PATCH 0/2] ovn: Add administrative state to logical ports.

Russell Bryant rbryant at redhat.com
Tue Jun 23 18:22:07 UTC 2015


While working on OpenStack Neutron integration for OVN, I came across a small
feature gap.  The Neutron API supports setting a port as administratively down.
One way to implement that would be to delete ports from OVN while
administratively down.  However, it seemed to me that it would be nice to keep
the list of ports that currently exist in sync between the CMS (Neutron in this
case) and OVN.  This patch is a first attempt at supporting this OVN by updating
the Pipeline to drop packets to/from a port that is administratively down.

 [PATCH 1/2] ovn: Add logical port 'enabled' state.
 [PATCH 2/2] ovn: Add get/set-enabled to ovn-nbctl.

 northd/ovn-northd.c |   14 +++++++++---
 ovn-nb.ovsschema    |    1 
 ovn-nb.xml          |    7 ++++++
 ovn-nbctl.8.xml     |   13 +++++++++++
 ovn-nbctl.c         |   59 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 91 insertions(+), 3 deletions(-)

-- 
Russell Bryant



More information about the dev mailing list