Skip to content

Commit f87db50

Browse files
mrevangdplore
andauthored
Added uboot, linuxboot, and systemd-boot types (#1438)
* Added uboot and systemd-boot types * fix whitespace * fix whitespace * Update release/models/platform/openconfig-platform-boot-loader.yang Co-authored-by: Darren Loher <dloher@google.com> * Apply suggestion from @dplore Co-authored-by: Darren Loher <dloher@google.com> * Apply suggestion from @dplore Co-authored-by: Darren Loher <dloher@google.com> * add linuxboot type --------- Co-authored-by: Darren Loher <dloher@google.com>
1 parent 2e6f35d commit f87db50

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

release/models/platform/openconfig-platform-boot-loader.yang

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ module openconfig-platform-boot-loader {
2121
"This module defines data related to BOOT_LOADER components in the
2222
OpenConfig platform model.";
2323

24-
oc-ext:openconfig-version "0.1.0";
24+
oc-ext:openconfig-version "0.2.0";
25+
26+
revision "2026-02-27" {
27+
description
28+
"Added uboot, linuxboot, and systemd-boot types";
29+
reference "0.2.0";
30+
}
2531

2632
revision "2025-07-10" {
2733
description
@@ -45,13 +51,41 @@ module openconfig-platform-boot-loader {
4551
description
4652
"GRUB is a boot-loader and boot manager for Linux and other Unix-based
4753
OSes.";
54+
reference "https://www.gnu.org/software/grub/";
4855
}
4956

5057
identity BOOT_LOADER_ONIE {
5158
base BOOT_LOADER_BASE;
5259
description
5360
"Open Network Install Environment (ONIE) is the combination of a boot
54-
loader and a small operating system for network switches.";
61+
loader and a small operating system for network switches.
62+
63+
https://opencomputeproject.github.io/onie/overview/";
64+
}
65+
66+
identity BOOT_LOADER_UBOOT {
67+
base BOOT_LOADER_BASE;
68+
description
69+
"Das U-Boot, or the Universal Boot Loader.";
70+
reference "https://u-boot.org/about/";
71+
}
72+
73+
identity BOOT_LOADER_LINUXBOOT {
74+
base BOOT_LOADER_BASE;
75+
description
76+
"LinuxBoot is the concept of using a Linux kernel and initramfs as a
77+
bootloader.";
78+
reference "https://www.linuxboot.org/";
79+
}
80+
81+
identity BOOT_LOADER_SYSTEMD_BOOT {
82+
base BOOT_LOADER_BASE;
83+
description
84+
"systemd-boot, previously called gummiboot (German for 'rubber dinghy')
85+
and sometimes referred to as sd-boot, is an easy-to-configure UEFI boot
86+
manager. It provides a textual menu to select the boot entry and an editor
87+
for the kernel command line.";
88+
reference "https://systemd.io/";
5589
}
5690

5791
// typedef statements

0 commit comments

Comments
 (0)