mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 06:13:02 +02:00
Specify deviations for optional features (ietf-systems.yang)
Declaring deviations for optional features for clarity regaring extent of support. New revision and file of infix-systems created, as earlier version was included in infix-2023.06 release. Please see infix-systems@2023-04-11 for history. Support and deviations has not been checked for the included 'sub-yang-module' infix-systems-software, thus there may be more updates to come.
This commit is contained in:
committed by
Joachim Wiberg
parent
b0d3976ae0
commit
5c4982e388
@@ -78,7 +78,7 @@ sysrepoctl -s $SEARCH \
|
||||
-i infix-if-type@2023-06-09.yang -g wheel -p 0660 \
|
||||
-i infix-interfaces@2023-06-05.yang -g wheel -p 0660 \
|
||||
-e vlan-filtering \
|
||||
-i infix-system@2023-04-11.yang -g wheel -p 0660 \
|
||||
-i infix-system@2023-07-04.yang -g wheel -p 0660 \
|
||||
-I "${INIT_DATA}"
|
||||
rc=$?
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
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-07-04 {
|
||||
description "Updating/adding deviation specifications:
|
||||
- timezone-utc-offset (updated)
|
||||
- radius (added)
|
||||
- dns-resolver port (added)";
|
||||
reference "internal";
|
||||
}
|
||||
|
||||
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" {
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user