Remove org.openbmc.Object.Enumerate interface
Everyone should be using the freedesktop ObjectManager for this.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/obmc/dbuslib/bindings.py b/obmc/dbuslib/bindings.py
index c7da8b8..3dec5af 100644
--- a/obmc/dbuslib/bindings.py
+++ b/obmc/dbuslib/bindings.py
@@ -144,29 +144,9 @@
@dbus.service.signal(
"org.freedesktop.DBus.ObjectManager", signature='oa{sa{sv}}')
def InterfacesAdded(self, object_path, properties):
- self.ObjectAdded(object_path, "")
+ pass
@dbus.service.signal(
"org.freedesktop.DBus.ObjectManager", signature='oas')
def InterfacesRemoved(self, object_path, interfaces):
pass
-
- ## Legacy support, need to eventually refactor out
- @dbus.service.signal(
- "org.openbmc.Object.ObjectMapper", signature='ss')
- def ObjectAdded(self, object_path, interface_name):
- pass
-
- ## flattens interfaces
- @dbus.service.method(
- 'org.openbmc.Object.Enumerate', in_signature='',
- out_signature='a{sa{sv}}')
- def enumerate(self):
- data = {}
- for objpath in self.objects.keys():
- props = self.objects[objpath].properties
- data[objpath] = {}
- for iface in props.keys():
- data[objpath].update(props[iface])
-
- return data