summaryrefslogtreecommitdiff
path: root/vtep/vtep-ctl.8.in
diff options
context:
space:
mode:
authorWenyu Zhang <wenyuz@vmware.com>2016-01-29 02:22:16 -0800
committerGurucharan Shetty <guru@ovn.org>2016-02-03 07:00:16 -0800
commit993225bd48296e79b95c5ea0237ee307ebd20a0c (patch)
tree85744a3923627c12d48f0562b05d26f44fcb9777 /vtep/vtep-ctl.8.in
parent5a4bee8a022ff99ff4efe18c74412d41926146fa (diff)
downloadopenvswitch-993225bd48296e79b95c5ea0237ee307ebd20a0c.tar.gz
vtep: add logical router related commands.
Add logical router related vtep-ctl commands: vtep-ctl add-lr LR vtep-ctl del-lr LR vtep-ctl list-lr vtep-ctl lr-exists LR Signed-off-by: Wenyu Zhang <wenyuz@vmware.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'vtep/vtep-ctl.8.in')
-rw-r--r--vtep/vtep-ctl.8.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/vtep/vtep-ctl.8.in b/vtep/vtep-ctl.8.in
index 21fb6db89..129c7ed63 100644
--- a/vtep/vtep-ctl.8.in
+++ b/vtep/vtep-ctl.8.in
@@ -195,6 +195,31 @@ combination on the physical switch \fIpswitch\fR.
List the logical switch bindings for \fIport\fR on the physical switch
\fIpswitch\fR.
.
+.SS "Logical Router Commands"
+These commands examine and manipulate logical routers.
+.
+.IP "[\fB\-\-may\-exist\fR] \fBadd\-lr \fIlrouter\fR"
+Creates a new logical router named \fIlrouter\fR.
+.IP
+Without \fB\-\-may\-exist\fR, attempting to create a router that
+exists is an error. With \fB\-\-may\-exist\fR, this command does
+nothing if \fIlrouter\fR already exists.
+.
+.IP "[\fB\-\-if\-exists\fR] \fBdel\-lr \fIlrouter\fR"
+Deletes \fIlrouter\fR.
+.IP
+Without \fB\-\-if\-exists\fR, attempting to delete a router that does
+not exist is an error. With \fB\-\-if\-exists\fR, attempting to
+delete a router that does not exist has no effect.
+.
+.IP "\fBlist\-lr\fR"
+Lists all existing logical routers on standard output, one per line.
+.
+.IP "\fBlr\-exists \fIlrouter\fR"
+Tests whether \fIlrouter\fR exists. If so, \fBvtep\-ctl\fR exits
+successfully with exit code 0. If not, \fBvtep\-ctl\fR exits
+unsuccessfully with exit code 2.
+
.SS "Local MAC Binding Commands"
These commands examine and manipulate local MAC bindings for the logical
switch. The local maps are written by the VTEP to refer to MACs it has