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

Method __init__

systemvm/debian/opt/cloud/bin/cs/CsApp.py:24–30  ·  view source on GitHub ↗
(self, ip)

Source from the content-addressed store, hash-verified

22
23class CsApp:
24 def __init__(self, ip):
25 self.dev = ip.getDevice()
26 self.ip = ip.get_ip_address()
27 self.gateway = ip.get_gateway()
28 self.type = ip.get_type()
29 self.fw = ip.fw
30 self.config = ip.config
31
32
33class CsApache(CsApp):

Callers

nothing calls this directly

Calls 4

get_ip_addressMethod · 0.80
getDeviceMethod · 0.45
get_gatewayMethod · 0.45
get_typeMethod · 0.45

Tested by

no test coverage detected