mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 15:43:02 +02:00
This patch adds support for enabling LLDP using the std IEEE 802.1ab LLDP yang model. An infix-lldp model is as well to reduce the set of available parameters to a bare minimum (enabled), for now. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
56 lines
1.3 KiB
YANG
56 lines
1.3 KiB
YANG
module infix-lldp {
|
|
yang-version 1.1;
|
|
namespace "urn:infix:lldp:ns:yang:1.0";
|
|
prefix infix-lldp;
|
|
|
|
import ieee802-dot1ab-lldp {
|
|
prefix lldp;
|
|
}
|
|
|
|
organization "KernelKit";
|
|
contact "kernelkit@googlegroups.com";
|
|
description "Infix augments and deviations to ieee-dot1ab-lldp.";
|
|
|
|
revision 2023-08-23 {
|
|
description "Initial revision.";
|
|
reference "internal";
|
|
}
|
|
|
|
/*
|
|
* Data nodes
|
|
*/
|
|
|
|
augment "/lldp:lldp" {
|
|
description "Augment of ieee802-dot1ab-lldp with a global enabled flag.";
|
|
leaf enabled {
|
|
type boolean;
|
|
description "Globally enable or disable IEEE 802.1ab LLDP agent.";
|
|
}
|
|
}
|
|
|
|
deviation "/lldp:lldp/lldp:message-fast-tx" {
|
|
deviate not-supported;
|
|
}
|
|
deviation "/lldp:lldp/lldp:message-tx-hold-multiplier" {
|
|
deviate not-supported;
|
|
}
|
|
deviation "/lldp:lldp/lldp:message-tx-interval" {
|
|
deviate not-supported;
|
|
}
|
|
deviation "/lldp:lldp/lldp:notification-interval" {
|
|
deviate not-supported;
|
|
}
|
|
deviation "/lldp:lldp/lldp:port" {
|
|
deviate not-supported;
|
|
}
|
|
deviation "/lldp:lldp/lldp:reinit-delay" {
|
|
deviate not-supported;
|
|
}
|
|
deviation "/lldp:lldp/lldp:tx-credit-max" {
|
|
deviate not-supported;
|
|
}
|
|
deviation "/lldp:lldp/lldp:tx-fast-init" {
|
|
deviate not-supported;
|
|
}
|
|
}
|