From 198be2a9c6240ea42cf63e9d6730af64ea0e266c Mon Sep 17 00:00:00 2001 From: Richard Alpe Date: Mon, 29 Jan 2024 14:15:21 +0100 Subject: [PATCH] confd: add new interface type "etherlike" Needed for devices that share a lot of properties with an ethernet device but doesn't support "ethtool" and such. An example is TAP interfaces. Signed-off-by: Richard Alpe --- src/confd/yang/infix-if-type@2023-08-21.yang | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/confd/yang/infix-if-type@2023-08-21.yang b/src/confd/yang/infix-if-type@2023-08-21.yang index 419a9693..b47b6e49 100644 --- a/src/confd/yang/infix-if-type@2023-08-21.yang +++ b/src/confd/yang/infix-if-type@2023-08-21.yang @@ -40,7 +40,13 @@ module infix-if-type { identity ethernet { base infix-interface-type; base ianaift:ethernetCsmacd; - description "Any Ethernet-like interfaces, regardless of speed, RFC 3635."; + description "Any Ethernet interfaces, regardless of speed, RFC 3635."; + reference "RFC 3635"; + } + identity etherlike { + base infix-interface-type; + base ianaift:ilan; + description "Interface with properties resembling Ethernet"; reference "RFC 3635"; } identity lag {