Skip to content

Commit

Permalink
vtep: additions to BFD configuration and status reporting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ariel Tubaltsev authored and shettyg committed Sep 3, 2014
1 parent e0a801c commit 16ee140
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vtep/vtep.xml
Expand Up @@ -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">
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"]]}'>
Expand Down Expand 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>
Expand Down

0 comments on commit 16ee140

Please sign in to comment.