Skip to content

Concatenating RDE-dictionaries #50

@kasunathg

Description

@kasunathg

I have a basic question about using RDE-dictionaries (Hopefully this is the right place to ask this question. If not, I apologize.)

Let's say my RDE device is capable of receiving BEJ of two redfish schemas, ProcessorMetrics and MemoryMetrics. Right now I can generate dictionaries for each schema individually. Then I can use ProcessorMetrics schema dictionary for decoding ProcessorMetrics BEJ blocks and MemoryMetrics schema dictionary for decoding MemoryMetrics BEJ blocks.

So I need to know the original schema type of a BEJ block before hand to use the correct dictionary.

But if I can have one concatenated dictionary for both ProcessorMetrics and MemoryMetrics, then I do not need to know the original schema type of a BEJ block. I can simply feed either a ProcessorMetrics BEJ block or a MemoryMetrics BEJ block to the same dictionary for decoding.

Is there a way to generate a concatenated RDE-dictionary for both ProcessorMetrics and MemoryMetrics using rde_schema_dictionary_gen.py?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions