Skip to content

Expose Interface Name As D-Bus Property? #60

@santoshpuranik

Description

@santoshpuranik

Is it reasonable for mctpd to expose the MCTP interface name (Ex: mctpi2c14) as a D-Bus property (say "Name") under the interface D-Bus object, interface au.com.CodeConstruct.MCTP.Interface1 D-Bus interface?

Our use case here is that we need to write an EM configuration to setup an MCTP interface, but we have nothing to Probe on (No FRU EEPROMs/device tree "eeprom"). I was thinking we could use the MCTP interface itself to probe on, something like:

"Probe": "au.com.CodeConstruct.MCTP.Interface1({'Role': 'BusOwner'})"

And then expose the interface name directly:

    "Exposes": [
        {
            "Address": "0x1d",
            "Interface": $Name,
            "Name": "Blah",
            "Type": "MCTPDevice"
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions