MCPcopy Create free account
hub / github.com/apache/cloudstack / is_control

Method is_control

systemvm/debian/opt/cloud/bin/cs/CsAddress.py:235–238  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

233 return False
234
235 def is_control(self):
236 if "nw_type" in self.address and self.address['nw_type'] in ['control']:
237 return True
238 return False
239
240 def is_guest(self):
241 if "nw_type" in self.address and self.address['nw_type'] in ['guest']:

Callers 1

get_control_ifMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected