summaryrefslogtreecommitdiff
path: root/yang
diff options
context:
space:
mode:
authorSiger Yang <siger.yang@outlook.com>2022-11-25 13:52:46 +0800
committerSiger Yang <siger.yang@outlook.com>2022-11-25 16:21:59 +0800
commit9f2379bdd2d832370588d3ace1dde591b68cdcaf (patch)
tree5a2b4f695191d5c699094e5804abd9def438c5a5 /yang
parent89f74214e7d109f7ff48c9666dab65b741636a09 (diff)
vrrpd: add IPv4 pseudoheader option for VRRPv3
This commit adds a new option to control whether a VRRPv3 group accepts / computes its checksum with a prepended IPv4 pseudoheader. This should improve interoperability with other devices. Signed-off-by: Siger Yang <siger.yang@outlook.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-vrrpd.yang7
1 files changed, 7 insertions, 0 deletions
diff --git a/yang/frr-vrrpd.yang b/yang/frr-vrrpd.yang
index 200eaeb0b5..cd04df2670 100644
--- a/yang/frr-vrrpd.yang
+++ b/yang/frr-vrrpd.yang
@@ -110,6 +110,13 @@ module frr-vrrpd {
address is not owned by the router interface";
}
+ leaf checksum-with-ipv4-pseudoheader {
+ type boolean;
+ default "true";
+ description
+ "Enabled if VRRPv3 checksum for IPv4 involves pseudoheader";
+ }
+
leaf advertisement-interval {
type uint16 {
range "1..4095";