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

Method __init__

systemvm/debian/opt/cloud/bin/cs/CsAddress.py:318–328  ·  view source on GitHub ↗
(self, dev, config)

Source from the content-addressed store, hash-verified

316 DEFAULT_MTU = '1500'
317
318 def __init__(self, dev, config):
319 self.dev = dev
320 self.dnum = hex(100 + int(dev[3:]))
321 self.iplist = {}
322 self.address = {}
323 self.list()
324 self.fw = config.get_fw()
325 self.cl = config.cmdline()
326 self.config = config
327 self.nft_ipv4_fw = config.get_nft_ipv4_fw()
328 self.nft_ipv4_acl = config.get_nft_ipv4_acl()
329
330 def setAddress(self, address):
331 self.address = address

Callers

nothing calls this directly

Calls 6

listMethod · 0.95
intFunction · 0.85
get_fwMethod · 0.80
cmdlineMethod · 0.80
get_nft_ipv4_fwMethod · 0.80
get_nft_ipv4_aclMethod · 0.80

Tested by

no test coverage detected