vtep: additions to BFD configuration and status reporting
authorAriel Tubaltsev <atubaltsev@vmware.com>
Tue, 2 Sep 2014 18:27:55 +0000 (11:27 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 3 Sep 2014 14:40:29 +0000 (07:40 -0700)
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@vmware.com>
Signed-off-by: Bruce Davie <bdavie@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
vtep/vtep.xml

index 4393a16..cf6bf74 100644 (file)
           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">
 
         <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"
         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"]]}'>
         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>