MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / can_pxe

Method can_pxe

vrtManager/network.py:161–166  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

get_ipv4_forwardMethod · 0.95

Tested by

no test coverage detected