(self)
| 139 | return resp |
| 140 | |
| 141 | def GetExternalIPAddress(self): |
| 142 | from xml.dom.minidom import parseString |
| 143 | resp = self.soapRequest(self.upnp_schema + ':1', 'GetExternalIPAddress') |
| 144 | dom = parseString(resp) |
| 145 | return dom.getElementsByTagName('NewExternalIPAddress')[0].childNodes[0].data |
| 146 | |
| 147 | def soapRequest(self, service, action, arguments=None): |
| 148 | from xml.dom.minidom import parseString |
nothing calls this directly
no test coverage detected