Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
nadershinouda authored Jul 11, 2024
2 parents 1ee867c + 19b30c1 commit 5eaebb9
Show file tree
Hide file tree
Showing 8 changed files with 905 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/SAI-Proposal-FRR.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Entity.

The switchover from the primary next hop to backup is triggered once a failure
of a particular object is spotted. This object can be a physical port, a tunnel
interface, BFD session etc.
interface, BFD session, ICMP ECHO session etc.

It is preferred that the switchover is triggered by the switching entity without
involving control plane in the process. This way the amount of time it takes to
Expand Down Expand Up @@ -173,7 +173,7 @@ be of one of the types that the hardware is able to monitor.
- SAI\_NEXT\_HOP\_GROUP\_MEMBER\_ATTR\_MONITORED\_OBJECT

This attribute allows the switching entity to monitor a specified object
(BFD session, physical port, tunnel interface etc) and in case of its failure,
(BFD session, ICMP ECHO session, physical port, tunnel interface etc) and in case of its failure,
trigger a switchover.

If the referred object fails, then the switch marks the next hop as FAILED and does not use it for forwarding.
Expand Down
480 changes: 480 additions & 0 deletions doc/SAI-Proposal-ICMP-ECHO.md

Large diffs are not rendered by default.

Binary file added doc/figures/sai_icmp_echo_state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion inc/sai.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
#include "saitwamp.h"
#include "saiversion.h"
#include "saipoe.h"
#include "saiicmpecho.h"

/**
* @defgroup SAI SAI - Entry point specific API definitions.
Expand Down Expand Up @@ -148,7 +149,8 @@ typedef enum _sai_api_t
SAI_API_ARS_PROFILE = 49, /**<sai_ars_api_profile_t */
SAI_API_TWAMP = 50, /**< sai_twamp_api_t */
SAI_API_POE = 51, /**< sai_poe_api_t */
SAI_API_PREFIX_COMPRESSION = 52, /**< sai_prefix_compression_api_t */
SAI_API_ICMP_ECHO = 52, /**< sai_icmp_echo_api_t */
SAI_API_PREFIX_COMPRESSION = 53, /**< sai_prefix_compression_api_t */
SAI_API_MAX, /**< total number of APIs */

/** Custom range base value */
Expand Down
Loading

0 comments on commit 5eaebb9

Please sign in to comment.