summaryrefslogtreecommitdiff
path: root/ovn/utilities
diff options
context:
space:
mode:
authorHan Zhou <zhouhan@gmail.com>2018-01-29 14:04:48 -0800
committerBen Pfaff <blp@ovn.org>2018-02-01 11:32:29 -0800
commit0cca6870a9d5d0a8197d52c19cd24bd3cf3852d9 (patch)
tree77ace316f717b137923adb813b49e0e931602389 /ovn/utilities
parent93f558421aadcd4fc0ff758bd61612c23747c72a (diff)
downloadopenvswitch-0cca6870a9d5d0a8197d52c19cd24bd3cf3852d9.tar.gz
ovn-nbctl: update manpage for lsp-set-type.
Signed-off-by: Han Zhou <zhouhan@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn/utilities')
-rw-r--r--ovn/utilities/ovn-nbctl.8.xml44
1 files changed, 43 insertions, 1 deletions
diff --git a/ovn/utilities/ovn-nbctl.8.xml b/ovn/utilities/ovn-nbctl.8.xml
index 3688d35b3..f5ad36021 100644
--- a/ovn/utilities/ovn-nbctl.8.xml
+++ b/ovn/utilities/ovn-nbctl.8.xml
@@ -280,7 +280,49 @@
<dt><code>lsp-set-type</code> <var>port</var> <var>type</var></dt>
<dd>
- Set the type for the logical port. No special types have been implemented yet.
+ <p>
+ Set the type for the logical port. The type must be one of the following:
+ </p>
+
+ <dl>
+ <dt><code>(empty string)</code></dt>
+ <dd>
+ A VM (or VIF) interface.
+ </dd>
+
+ <dt><code>router</code></dt>
+ <dd>
+ A connection to a logical router.
+ </dd>
+
+ <dt><code>localnet</code></dt>
+ <dd>
+ A connection to a locally accessible network from each ovn-controller
+ instance. A logical switch can only have a single localnet port
+ attached. This is used to model direct connectivity to an existing
+ network.
+ </dd>
+
+ <dt><code>localport</code></dt>
+ <dd>
+ A connection to a local VIF. Traffic that arrives on a localport is
+ never forwarded over a tunnel to another chassis. These ports are
+ present on every chassis and have the same address in all of them.
+ This is used to model connectivity to local services that run on
+ every hypervisor.
+ </dd>
+
+ <dt><code>l2gateway</code></dt>
+ <dd>
+ A connection to a physical network.
+ </dd>
+
+ <dt><code>vtep</code></dt>
+ <dd>
+ A port to a logical switch on a VTEP gateway.
+ </dd>
+ </dl>
+
</dd>
<dt><code>lsp-get-type</code> <var>port</var></dt>