Add configuration file for DBus access
[platform/upstream/connman.git] / test / show-introspection
1 #!/usr/bin/python
2
3 import dbus
4
5 bus = dbus.SystemBus()
6
7 object = dbus.Interface(bus.get_object("net.connman", '/'),
8                                 "org.freedesktop.DBus.Introspectable")
9
10 print object.Introspect()
11
12 manager = dbus.Interface(bus.get_object("net.connman", "/"),
13                                         "net.connman.Manager")
14
15 technologies = manager.GetTechnologies()
16
17 for path, properties in technologies:
18         object = dbus.Interface(bus.get_object("net.connman", path),
19                                         "org.freedesktop.DBus.Introspectable")
20
21         print object.Introspect()