(self)
| 58 | return self.iface.XMLDesc(flags) |
| 59 | |
| 60 | def get_start_mode(self): |
| 61 | try: |
| 62 | xml = self._XMLDesc(VIR_INTERFACE_XML_INACTIVE) |
| 63 | return util.get_xml_path(xml, "/interface/start/@mode") |
| 64 | except: |
| 65 | return None |
| 66 | |
| 67 | def is_active(self): |
| 68 | return self.iface.isActive() |