Merge pull request #1333 from kernelkit/reorder-enums

YANG: all values in an enumeration needs to be sorted in ascendning order
This commit is contained in:
Mattias Walström
2025-12-21 17:58:45 +01:00
committed by GitHub
3 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ MODULES=(
"infix-routing@2025-12-02.yang"
"ieee802-dot1ab-lldp@2022-03-15.yang"
"infix-lldp@2025-05-05.yang"
"infix-dhcp-common@2025-11-09.yang"
"infix-dhcp-common@2025-12-21.yang"
"infix-dhcp-client@2025-11-09.yang"
"infix-dhcpv6-client@2025-11-09.yang"
"infix-dhcp-server@2025-10-28.yang"
+14 -10
View File
@@ -7,6 +7,10 @@ module infix-dhcp-common {
contact "kernelkit@googlegroups.com";
description "Shared types between DHCP server and client.";
revision 2025-12-21 {
description "Reorder enum values to ascending order, see https://github.com/CESNET/libyang/issues/2462";
reference "internal";
}
revision 2025-11-09 {
description "Add DHCPv6 options typedef and DHCPv4 vendor-class option.";
reference "internal";
@@ -171,21 +175,21 @@ module infix-dhcp-common {
value 25;
description "Identity Association for Prefix Delegation, RFC 8415.";
}
enum ntp-server {
value 56;
description "NTP time servers, RFC 5908.";
}
enum client-fqdn {
value 39;
description "Client Fully Qualified Domain Name, RFC 4704.";
enum sntp-server {
value 31;
description "Simple Network Time Protocol servers, RFC 4075.";
}
enum information-refresh-time {
value 32;
description "Information refresh time for stateless DHCPv6, RFC 8415.";
}
enum sntp-server {
value 31;
description "Simple Network Time Protocol servers, RFC 4075.";
enum client-fqdn {
value 39;
description "Client Fully Qualified Domain Name, RFC 4704.";
}
enum ntp-server {
value 56;
description "NTP time servers, RFC 5908.";
}
}
}