def METHOD_NAME(self, type: NodeRole) -> Assigner:
    """!
    @brief Get IP offset assigner for a type of node.
    @todo Handle pure-internal routers.
    @param type type of the node.
    @returns An int assigner that generates IP address offset.
    @throws ValueError if try to get assigner of IX interface.
    """
    if type == NodeRole.Host: return Assigner(self.__hostStart, self.__hostEnd, self.__hostStep)
    if type == NodeRole.Router: return Assigner(self.__routerStart, self.__routerEnd, self.__routerStep)
    raise ValueError("IX IP assignment must done with mapIxAddress().")