Hi Ben,
Thank you for your advice.
ovn-nbctl: the improvement to the ovn-nbctl manpage.
If there are multiple logical switches or routers with a duplicate name,
the configuration is slightly different. You should configure the logical
switches or routers using the UUID instead of the name.
Signed-off-by: nickcooper-zhangtonghao <[email protected]>
diff --git a/ovn/utilities/ovn-nbctl.8.xml b/ovn/utilities/ovn-nbctl.8.xml
index c2ca420..b4b8501 100644
--- a/ovn/utilities/ovn-nbctl.8.xml
+++ b/ovn/utilities/ovn-nbctl.8.xml
@@ -50,7 +50,9 @@
<code>--may-exist</code>, adding a duplicate name succeeds but does
not create a new logical switch. With <code>--add-duplicate</code>,
the command really creates a new logical switch with a duplicate
- name. It is an error to specify both options.
+ name. It is an error to specify both options. If there are multiple
+ logical switches with a duplicate name, configure the logical
switches
+ using the UUID instead of the <var>switch</var> name.
</p>
</dd>
@@ -267,7 +269,9 @@
<code>--may-exist</code>, adding a duplicate name succeeds but does
not create a new logical router. With <code>--add-duplicate</code>,
the command really creates a new logical router with a duplicate
- name. It is an error to specify both options.
+ name. It is an error to specify both options. If there are multiple
+ logical routers with a duplicate name, configure the logical routers
+ using the UUID instead of the <var>router</var> name.
</p>
</dd>
> On Jul 2, 2016, at 8:35 AM, Ben Pfaff <[email protected]> wrote:
>
> On Fri, Jul 01, 2016 at 12:38:54AM +0800, nickcooper-zhangtonghao wrote:
>> When I create one or more logical router named ’null', using 'ovn-nbctl
>> lr-add’, there is no error information.
>> This is arguably an ovn-nbctl bug.
>
> It's not a bug. Any number of unnamed logical switches or logical
> routers may exist.
>
> If the documentation is unclear then please submit an improvement to the
> ovn-nbctl manpge.
>
> Thanks,
>
> Ben.
Thanks,
nick
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev