Merge pull request #995 from kernelkit/yang-warning

confd: drop unused must expression from infix-if-lag.yang
This commit is contained in:
Mattias Walström
2025-03-30 21:39:44 +02:00
committed by GitHub
2 changed files with 7 additions and 10 deletions
+2
View File
@@ -13,6 +13,8 @@ All notable changes to the project are documented in this file.
- Upgrade Buildroot to 2025.02.0 (LTS)
### Fixes
- Fix #964: YANG schema warning in syslog: missing 'monitor' node for lag
[v25.02.0][] - 2025-03-04
-------------------------
+5 -10
View File
@@ -21,6 +21,11 @@ submodule infix-if-lag {
contact "kernelkit@googlegroups.com";
description "Linux link aggregates (lag) for ietf-interfaces.";
revision 2025-03-28 {
description "Drop unused must expressions for link and arp monitor.";
reference "internal";
}
revision 2025-01-09 {
description "Initial revision.";
reference "internal";
@@ -265,16 +270,6 @@ submodule infix-if-lag {
}
}
}
must "not(./mode = 'lacp' and ./monitor/arp-monitor/interval > 0)" {
error-message "ARP monitor cannot be enabled in LACP mode.";
description "The Linux bond driver disables miimon when arpmon != 0.";
}
must "not(./mode = 'lacp' and ./monitor/link-monitor/interval = 0)" {
error-message "Link monitor must be enabled in LACP mode.";
description "The Linux bond driver requires miimon in 802.3ad mode.";
}
}
}