topology creation through interaction python script