add a method to manage otn topo in func tests