summaryrefslogtreecommitdiffstats
path: root/doc/user/sharp.rst
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-02-07 22:50:01 +0100
committerMark Stapp <mjs@voltanet.io>2020-02-25 16:55:51 +0100
commitc9e5adba735ca856e2294f95e01917a6a80e0aaa (patch)
treedc8e58726cd777902db5c9739570be6bc8f1e296 /doc/user/sharp.rst
parentMerge pull request #5813 from mjstapp/zapi_labels_use_nh (diff)
downloadfrr-c9e5adba735ca856e2294f95e01917a6a80e0aaa.tar.xz
frr-c9e5adba735ca856e2294f95e01917a6a80e0aaa.zip
sharpd: add support for install/remove lsps
First round of support for exercising the lsp and ftn paths using sharpd. This supports lsp-only, and binding to ipv4 prefix. Also use the common lib nexthop-to-zapi helper api instead of sharpd's open-coded version. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'doc/user/sharp.rst')
-rw-r--r--doc/user/sharp.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/user/sharp.rst b/doc/user/sharp.rst
index 111e9dc9e..199685cdf 100644
--- a/doc/user/sharp.rst
+++ b/doc/user/sharp.rst
@@ -86,3 +86,20 @@ keyword. At present, no sharp commands will be preserved in the config.
Allow end user to dump associated data with the nexthop tracking that
may have been turned on.
+
+.. index:: sharp lsp
+.. clicmd:: sharp lsp (0-100000) nexthop-group NAME [prefix A.B.C.D/M TYPE [instance (0-255)]]
+
+ Install an LSP using the specified in-label, with nexthops as
+ listed in nexthop-group ``NAME``. The LSP is installed as type
+ ZEBRA_LSP_SHARP. If ``prefix`` is specified, an existing route with
+ type ``TYPE`` (and optional ``instance`` id) will be updated to use
+ the LSP.
+
+.. index:: sharp remove lsp
+.. clicmd:: sharp remove lsp (0-100000) nexthop-group NAME [prefix A.B.C.D/M TYPE [instance (0-255)]]
+
+ Remove a SHARPD LSP that uses the specified in-label, where the
+ nexthops are specified in nexthop-group ``NAME``. If ``prefix`` is
+ specified, remove label bindings from the route of type ``TYPE``
+ also.