CodeConstruct / mctp

MCTP userspace tools
GNU General Public License v2.0
33 stars 19 forks source link

dbus rework #43

Closed jk-ozlabs closed 4 months ago

jk-ozlabs commented 4 months ago

This PR implements the dbus rework discussed in #40. From the interface commit:

Essentially: this uses more standard bus, object and path names, and moves away from the xyz.openbmc_project namespace, and use au.com.codeconstruct (all lowercase) there instead, as we're not specificially an OpenBMC project.

We also put collections of things (networks and endpoints) under a specifically-named object path, so we can introduce new collections alongside (interfaces) without compatibility issues

This means:

  • the bus owner name is now au.com.codeconstruct.MCTP1

  • interfaces are namespaced and versioned:

    • au.com.codeconstruct.MCTP.Endpoint1
    • au.com.codeconstruct.MCTP.BusOwner1
  • the top-level entrypoint path is versioned, as /au/com/codeconstruct/mctp1

  • the endpoint object tree is structured as /au/com/codeconstruct/mctp1/networks/<n>/endpoints/<e>

Closes: #40