def set_ip(self, ip):
        """Change the current IP."""
        self.set(ip=ip, netmask=self._nm)
def set_ip(self, ip):
        
        self.set(ip=ip, netmask=self._nm)
def set_ip ( self , ip ) : self . set ( ip = ip , netmask = self . _nm )
Change the current IP.
Change the current IP .