server: Fix missing Association interface
Prior to this patch org.openbmc.Association is not included
in the introspection result. This prevents clients using
D-Bus language bindings that actually validate the interface
prior to attempt to read a property.
The custom org.freedesktop.Dbus.Properties implementation on
the Association class used the wrong signature for the Get
and GetAll methods, violating the D-Bus specification.
Fix this by using the implementation in the pyphosphor
dbus binding add-ons module.
The association interface does not have any methods or signals.
Without help, dbus-python won't find these interfaces when
using the Introspect implementation from dbus-python. Use the
new add_interfaces decorator in the pyphosphor dbus bindings
to help dbus-python find it and include it in the introspection
result.
Change-Id: I21fcd651e762c727a8d442ab6075ac7fa7e552d2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
1 file changed