Files
infix/src/confd/yang/infix-lldp@2023-08-23.yang
T
Joachim WibergandTobias Waldekranz 50a550b83f confd: add support for enabling LLDP agent using ieee802-dot1ab-lldp
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>
2023-08-30 10:37:43 +02:00

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;
}
}