@@ -125,7 +125,9 @@
<p>
Creates on <var>switch</var> a logical switch port named
<var>port</var> that is a child of <var>parent</var> that is
- identified with VLAN ID <var>tag_request</var>. If
+ identified with VLAN ID <var>tag_request</var>.
+ <var>Tag_request</var> must be between <code>0</code>
and
+ <code>4095</code>, inclusive. If
<var>tag_request</var> is <code>0</code>,
<code>ovn-northd</code>
generates a tag that is unique in the scope of
<var>parent</var>.
This is useful in cases such as virtualized container
environments
@@ -798,7 +798,7 @@ nbctl_lsp_add(struct ctl_context *ctx)
parent_name = ctx->argv[3];
if (!ovs_scan(ctx->argv[4], "%"SCNd64, &tag)
|| tag < 0 || tag > 4095) {
- ctl_fatal("%s: invalid tag", ctx->argv[4]);
+ ctl_fatal("%s: invalid tag, the tag in range 0 to 4095.",
ctx->argv[4]);
}
} else {