From 7307439bf6b1e956625f133be9aa9c3e69e80a50 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 15 Aug 2023 13:25:40 +0200 Subject: [PATCH] confd: drop old versions of internal yang models Signed-off-by: Joachim Wiberg --- src/confd/yang/infix-system@2023-04-11.yang | 32 ---------- src/confd/yang/infix-system@2023-07-04.yang | 71 --------------------- 2 files changed, 103 deletions(-) delete mode 100644 src/confd/yang/infix-system@2023-04-11.yang delete mode 100644 src/confd/yang/infix-system@2023-07-04.yang diff --git a/src/confd/yang/infix-system@2023-04-11.yang b/src/confd/yang/infix-system@2023-04-11.yang deleted file mode 100644 index 25f517b2..00000000 --- a/src/confd/yang/infix-system@2023-04-11.yang +++ /dev/null @@ -1,32 +0,0 @@ -module infix-system { - yang-version 1.1; - namespace "urn:infix:system:ns:yang:1.0"; - prefix infix-sys; - - import ietf-system { - prefix sys; - } - - include infix-system-software; - - organization "KernelKit"; - contact "kernelkit@googlegroups.com"; - description "Infix augments and deviations to ietf-system."; - - revision 2023-04-11 { - description "Initial revision."; - reference "internal"; - } - - augment "/sys:system" { - description "Augments to ietf-system not found in any other model."; - leaf motd { - type string; - description "Set the MotD (Message of the Day), shown after login"; - } - } - - deviation "/sys:system/sys:clock/sys:timezone/sys:timezone-utc-offset/sys:timezone-utc-offset" { - deviate not-supported; - } -} diff --git a/src/confd/yang/infix-system@2023-07-04.yang b/src/confd/yang/infix-system@2023-07-04.yang deleted file mode 100644 index 1eb6dcc9..00000000 --- a/src/confd/yang/infix-system@2023-07-04.yang +++ /dev/null @@ -1,71 +0,0 @@ -module infix-system { - yang-version 1.1; - namespace "urn:infix:system:ns:yang:1.0"; - prefix infix-sys; - - import ietf-system { - prefix sys; - } - import iana-timezones { - prefix iana-tz; - } - include infix-system-software; - - organization "KernelKit"; - contact "kernelkit@googlegroups.com"; - description "Infix augments and deviations to ietf-system."; - - revision 2023-07-04 { - description "Updating/adding deviation specifications: - - timezone-name (use tz defs from iana-timezone.yang) - - timezone-utc-offset (updated path for 'not-supported') - - radius ('not-supported') - - dns-resolver port ('not-supported') - - authentication username (limit length and pattern)"; - reference "internal"; - } - - revision 2023-04-11 { - description "Initial revision."; - reference "internal"; - } - - typedef username { - type string { - length "1..256"; - pattern "[_a-zA-Z0-9][-._a-zA-Z0-9]*$?"; - } - } - - augment "/sys:system" { - description "Augments to ietf-system not found in any other model."; - leaf motd { - type string; - description "Set the MotD (Message of the Day), shown after login"; - } - } - - deviation "/sys:system/sys:clock/sys:timezone/sys:timezone-name/sys:timezone-name" { - deviate replace { - type iana-tz:iana-timezone; - } - } - - deviation "/sys:system/sys:clock/sys:timezone/sys:timezone-utc-offset" { - deviate not-supported; - } - - deviation "/sys:system/sys:radius" { - deviate not-supported; - } - - deviation "/sys:system/sys:dns-resolver/sys:server/sys:transport/sys:udp-and-tcp/sys:udp-and-tcp/sys:port" { - deviate not-supported; - } - - deviation "/sys:system/sys:authentication/sys:user/sys:name" { - deviate replace { - type infix-sys:username; - } - } -}