ovn: Add column enabled to table Logical_Router
authorJunoZhu <zhunatuzi@gmail.com>
Mon, 18 Apr 2016 08:38:33 +0000 (04:38 -0400)
committerBen Pfaff <blp@ovn.org>
Fri, 22 Apr 2016 16:21:07 +0000 (09:21 -0700)
commit5412db307420a0e39f2e594d23dd893621f8f92f
treeb4077ce286473bfe7b0cc600be89ec01b22c81eb
parent7f796a85783828b572bb65986932daaecd9e099f
ovn: Add column enabled to table Logical_Router

This patch add column "enabled" to table Logical_Router for
setting router administrative state.

The type of "enabled" is bool.

If the administrative state is false, delete all the flows
relevant to the logical router from table Logical_Flow.

Signed-off-by: Na Zhu <nazhu@cn.ibm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/northd/ovn-northd.8.xml
ovn/northd/ovn-northd.c
ovn/ovn-nb.ovsschema
ovn/ovn-nb.xml
tests/ovn.at