In the ovn-nbctl manpage, --template was missing for lb-add. This commit
fixes the documentation.

Reported-at: https://issues.redhat.com/browse/FDP-1050
Signed-off-by: Rosemarie O'Riorden <rosema...@redhat.com>
---
 ovs                       |  2 +-
 utilities/ovn-nbctl.8.xml | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ovs b/ovs
index bb0593334..400db9746 160000
--- a/ovs
+++ b/ovs
@@ -1 +1 @@
-Subproject commit bb059333496a9b48d6d798b6b32108c9f2720479
+Subproject commit 400db974617abe5330a726c2c1e15f9a9efd849a
diff --git a/utilities/ovn-nbctl.8.xml b/utilities/ovn-nbctl.8.xml
index aa0291375..c33944193 100644
--- a/utilities/ovn-nbctl.8.xml
+++ b/utilities/ovn-nbctl.8.xml
@@ -1345,7 +1345,7 @@
 
     <h2>Load Balancer Commands</h2>
     <dl>
-        <dt>[<code>--may-exist</code> | <code>--add-duplicate</code> | 
<code>--reject</code> | <code>--event</code>] <code>lb-add</code> <var>lb</var> 
<var>vip</var> <var>ips</var> [<var>protocol</var>]</dt>
+        <dt>[<code>--may-exist</code> | <code>--add-duplicate</code> | 
<code>--reject</code> | <code>--event</code> | <code>--template</code>] 
<code>lb-add</code> <var>lb</var> <var>vip</var> <var>ips</var> 
[<var>protocol</var>]</dt>
       <dd>
         <p>
          Creates a new load balancer named <var>lb</var> with the provided
@@ -1395,6 +1395,15 @@
          <code>--reject</code> one.
         </p>
 
+        <p>
+         If the load balancer is created with <code>--template</code> option,
+         local template variables may be used as arguments. These variables
+         are stored in Chassis_Template_Var. To see the supported variable
+         formats, see <code>ovn-nb</code>(5). The following example adds a
+         templated load balancer: <code>ovn-nbctl --template lb-add lb1
+         ^vip:^vport ^backend udp ipv4</code>.
+        </p>
+
         <p>
          The following example adds a load balancer.
         </p>
-- 
2.48.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to