ovn-nbctl: Add sanity checking for lswitch-add.
authorBen Pfaff <blp@ovn.org>
Sun, 8 May 2016 16:21:29 +0000 (09:21 -0700)
committerBen Pfaff <blp@ovn.org>
Sun, 8 May 2016 16:26:09 +0000 (09:26 -0700)
commit4ff6642f3c1dd8949c2f42b3310ee2523ee970a6
treedf22b0fedfb5a81ef64a9118f0fed8746d646299
parentd24d33728d92f22ece563bb9cbc15e70ef10d6ff
ovn-nbctl: Add sanity checking for lswitch-add.

I don't think anyone really wants the painful behavior of creating multiple
logical switches with the same name to be the default.  This commit retains
the possibility of doing that in case someone really wants it, but refuses
by default for sanity.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
ovn/utilities/ovn-nbctl.8.xml
ovn/utilities/ovn-nbctl.c
tests/ovn-nbctl.at