Lines Matching refs:ipaddr
59 def ipaddr_exists(cls, ipaddr, ifname=None):
65 return ipaddr in stdout
83 def create_address(self, ipaddr, addrobjname=None, temp=True,
91 elif addrcheck and self.ipaddr_exists(ipaddr, self._ifname):
96 if netaddr.IPNetwork(ipaddr).version == 6:
114 ipaddr, self._ifname]
139 def delete_address(self, ipaddr, addrcheck=True):
140 if addrcheck and not self.ipaddr_exists(ipaddr, self._ifname):
148 if ipaddr not in aobj_addr:
155 isV6 = netaddr.IPNetwork(ipaddr).version == 6