ovn: Add logical port 'enabled' state.
authorRussell Bryant <rbryant@redhat.com>
Tue, 23 Jun 2015 18:22:08 +0000 (14:22 -0400)
committerBen Pfaff <blp@nicira.com>
Thu, 25 Jun 2015 00:27:06 +0000 (17:27 -0700)
commit95a9a275ccaefc02848fdbbe2fe726812b23a838
tree8cbf1b630025b89b5d99d8f06e66538660fa3acf
parent99635791adde88469a2a472af009eb7fa6117c60
ovn: Add logical port 'enabled' state.

This patch adds a new column to the Logical_Port table of the
OVN_Northbound database called 'enabled'.  The purpose is to allow a
port to be administratively enabled or disabled.  It is sometimes
useful to keep a port and its related configuration, but temporarily
disable it, which means no traffic is allowed in or out of the port.

The implementation is fairly non-invasive as it only required minor
changes to the logical pipeline.

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ovn/northd/ovn-northd.c
ovn/ovn-nb.ovsschema
ovn/ovn-nb.xml