def __init__(self, nbname, nametype, ip):
    self.__nbname = nbname
    self.__nametype = nametype
    self.__ip = ip
def __init__(self, nbname, nametype, ip):
    self.__nbname = nbname
    self.__nametype = nametype
    self.__ip = ip