(self)
| 159 | return dhcp[1] |
| 160 | |
| 161 | def can_pxe(self): |
| 162 | xml = self.get_xml() |
| 163 | forward = self.get_ipv4_forward()[0] |
| 164 | if forward and forward != "nat": |
| 165 | return True |
| 166 | return bool(util.get_xml_path(xml, "/network/ip/dhcp/bootp/@file")) |
| 167 | |
| 168 | def get_mac_ipaddr(self): |
| 169 | def network(ctx): |
nothing calls this directly
no test coverage detected