in reply to initializer method called from object constructor, overwriting the another object's variables
If the partner_ip depends on the device_ip, why is it not another attribute of the object? If you have several objects, each can have a different IP, so each needs its own partner.