Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIM: Clarification on the leaf dead-timer #1123

Open
raviv-arista opened this issue Jun 7, 2024 · 0 comments
Open

PIM: Clarification on the leaf dead-timer #1123

raviv-arista opened this issue Jun 7, 2024 · 0 comments

Comments

@raviv-arista
Copy link

The OpenConfig leaf, /network-instances/network-instance/protocols/protocol/pim/interfaces/interface/config/dead-timer is of type uint16. By definition, this leaf value is supposed to be multiplied by the hello-interval to give the default hold time to to keep neighbor state alive.
See RFC7761,

+--------------------------+----------------------+--------------------+
| Value Name               |  Value               |  Explanation       |
+--------------------------+----------------------+--------------------+
| Default_Hello_Holdtime   |  3.5 * Hello_Period  |  Default holdtime  |
|                          |                      |  to keep neighbor  |
|                          |                      |  state alive       |
+--------------------------+----------------------+--------------------+
| Hello_Holdtime           |  from message        |  Holdtime from     |
|                          |                      |  Hello message     |
|                          |                      |  Holdtime option.  |
+--------------------------+----------------------+--------------------+

The RFC says this value is 3.5 which cannot be stored in a uint16. The type for this leaf should be updated to store floating point values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant