-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
confd: Enable config for lldp tx interval
- Loading branch information
Showing
4 changed files
with
56 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ MODULES=( | |
"[email protected]" | ||
"[email protected]" | ||
"[email protected]" | ||
"infix-lldp@2023-08-23.yang" | ||
"infix-lldp@2025-01-08.yang" | ||
"[email protected]" | ||
"[email protected]" | ||
"[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,11 @@ module infix-lldp { | |
|
||
organization "KernelKit"; | ||
contact "[email protected]"; | ||
description "Infix augments and deviations to ieee-dot1ab-lldp."; | ||
description "This module extends and modifies the ieee802-dot1ab-lldp YANG model to add specific configuration options."; | ||
|
||
revision 2025-01-08 { | ||
description "Added support for configuring the regular transmit interval."; | ||
} | ||
|
||
revision 2023-08-23 { | ||
description "Initial revision."; | ||
|
@@ -21,11 +25,20 @@ module infix-lldp { | |
*/ | ||
|
||
augment "/lldp:lldp" { | ||
description "Augment of ieee802-dot1ab-lldp with a global enabled flag."; | ||
description "Extension of the ieee802-dot1ab-lldp model to include a global enable flag and regular transmit interval configuration."; | ||
|
||
leaf enabled { | ||
type boolean; | ||
description "Globally enable or disable IEEE 802.1ab LLDP agent."; | ||
} | ||
|
||
leaf tx-interval { | ||
type uint16 { | ||
range "1..3600"; | ||
} | ||
default "30"; | ||
description "Specifies the regular interval (in seconds) for LLDP message transmissions."; | ||
} | ||
} | ||
|
||
deviation "/lldp:lldp/lldp:message-fast-tx" { | ||
|
File renamed without changes.