How to declare the default value of a dict in yaml setting ?

Patrick Williams patrick at stwcx.xyz
Wed Nov 30 08:01:29 AEDT 2022


On Tue, Nov 22, 2022 at 02:19:48PM +0000, Francine Sauvage wrote:
> Hi all,
> 
> I would like to serialize a persistent data in the settings (phosphor-settings-manager) ?
> I need a default value, what could it be ?
> 
> - name: MyData
>           type: dict[int16, array[byte]]
>           description: >
>             A dictionary of DIMM SPD Data.
>             default: ???

Take a look at the phosphor-settings-defaults-native.bb recipe and any
of the .bbappend files that are in the various meta-layers.

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20221129/93774c43/attachment.sig>


More information about the openbmc mailing list