(self)
| 144 | |
| 145 | |
| 146 | def FetchAllDevices(self): |
| 147 | self.__ping() |
| 148 | |
| 149 | try: |
| 150 | ret = [] |
| 151 | for path in self.__manager_intf.FetchInterfaceList(): |
| 152 | ret.append(NetCfgDevice(self.__dbuscon, path)) |
| 153 | |
| 154 | return ret |
| 155 | |
| 156 | except dbus.exceptions.DBusException as excp: |
| 157 | err = str(excp) |
| 158 | if err.find("org.freedesktop.DBus.Error.AccessDenied:") >= 0: |
| 159 | raise RuntimeError("Access denied to the " |
| 160 | "NetCfg Manager (FetchInterfaceList)") |
| 161 | |
| 162 | |
| 163 | def Retrieve(self, object_path): |
nothing calls this directly
no test coverage detected