(self, dev, config)
| 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 |
nothing calls this directly
no test coverage detected