Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions proto/bootz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,28 @@ message BootConfig {
// Proprietary key-value parameters that are required as part of boot
// configuration (e.g., feature flags, or vendor-specific hardware knobs).
google.protobuf.Struct metadata = 1;

// vendor_config and oc_config specify boot configuration that is considered
// immutable per the specification described in github.com/openconfig/bootz.
//
// Native format vendor configuration.
bytes vendor_config = 2;
// JSON rendered OC configuration.
bytes oc_config = 3;

// dynamic_vendor_config and dynamic_oc_config specify boot configuration
// that is required at boot time, but can be overwritten by dynamic
// configuration such as that applied by a gnmi.Set RPC call.
//
// These fields MUST only be used in the context of a BootstrapDataResponse
// and are not valid when a `BootConfig` is updated after device
// initialisation, for example through `gnoi.bootconfig.SetBootConfig`.
//
// Native format vendor configuration.
bytes dynamic_vendor_config = 5;
// JSON rendered OC configuration.
bytes dynamic_oc_config = 6;

// Bootloader key-value parameters that are required as part of boot
// configuration.
google.protobuf.Struct bootloader_config = 4;
Expand Down