[ovs-dev] [PATCH] vtep: additions to BFD configuration and status reporting

Ariel Ariel
Tue Sep 2 20:58:04 UTC 2014


From: Ariel Tubaltsev <atubaltsev at vmware.com>

This commit adds default values for some BFD configuration keys
(bfd_config_local:bfd_dst_mac and bfd_params:enable). It also adds new
BFD status keys (bfd_enabled and bfd_info).

Signed-off-by: Ariel Tubaltsev <atubaltsev at vmware.com>
Signed-off-by: Bruce Davie <bdavie at vmware.com>
---
 vtep/vtep.xml |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/vtep/vtep.xml b/vtep/vtep.xml
index 4393a16..cf6bf74 100644
--- a/vtep/vtep.xml
+++ b/vtep/vtep.xml
@@ -360,6 +360,7 @@
           Set to an Ethernet address in the form
           <var>xx</var>:<var>xx</var>:<var>xx</var>:<var>xx</var>:<var>xx</var>:<var>xx</var>
           to set the MAC expected as destination for received BFD packets.
+          The default is <code>00:23:20:00:00:01</code>.
         </column>
 
         <column name="bfd_config_local" key="bfd_dst_ip">
@@ -398,6 +399,7 @@
 
         <column name="bfd_params" key="enable" type='{"type": "boolean"}'>
           True to enable BFD on this tunnel.
+          The default is False.
         </column>
 
         <column name="bfd_params" key="min_rx"
@@ -459,6 +461,15 @@
         HSC clears all key-value pairs from <ref column="bfd_status"/>.
       </p>
 
+      <column name="bfd_status" key="enabled"
+        type='{"type": "boolean"}'>
+        Set to true if the BFD session has been successfully
+        enabled. Set to false if the VTEP cannot support BFD or has
+        insufficient resources to enable BFD on this tunnel. The NVC
+        will disable the BFD monitoring on the other side of the tunnel
+        once this value is set to false.
+      </column>
+
       <column name="bfd_status" key="state"
         type='{"type": "string",
               "enum": ["set", ["admin_down", "down", "init", "up"]]}'>
@@ -490,6 +501,11 @@
         remote endpoint's BFD session thinks is wrong.  The error messages
         are defined in section 4.1 of [RFC 5880].
       </column>
+
+      <column name="bfd_status" key="info">
+        A short message providing further information about the BFD status
+        (possibly including reasons why BFD could not be enabled).
+      </column>
       </group>
     </group>
   </table>
-- 
1.7.9.5




More information about the dev mailing list