From 9415c0fb6458741bfd0fab72ea5737303f43d299 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 27 Nov 2023 07:58:31 +0100 Subject: [PATCH] src/confd: drop /interfaces/interface/eth:ethernet config deviation Drop this deviation for v23.11 since it clashes with pyang + NETCONFc client. We expect to support configuration of speed+duplex in v23.12. [skip ci] Signed-off-by: Joachim Wiberg --- src/confd/yang/infix-ethernet-interface@2023-11-22.yang | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/confd/yang/infix-ethernet-interface@2023-11-22.yang b/src/confd/yang/infix-ethernet-interface@2023-11-22.yang index 45d1880c..3b8f5073 100644 --- a/src/confd/yang/infix-ethernet-interface@2023-11-22.yang +++ b/src/confd/yang/infix-ethernet-interface@2023-11-22.yang @@ -23,14 +23,20 @@ module infix-ethernet-interface { * Data Nodes */ - /* Deviations for config and status */ +/* The following works with yanglint but is not supported by pyang. + Actually, the same error message is shown also by NETCONFc, so + we drop this for the v23.11 release. Despite not supporting + writing to any of these nodes. + deviation "/if:interfaces/if:interface/eth:ethernet" { deviate add { config false; } } +*/ + deviation "/if:interfaces/if:interface/eth:ethernet/eth:flow-control" { deviate not-supported; }