def ModifyTopologyNameNgpfPy( topologyHandle, topologyName ): # topologyHandle example:ixNet::OBJ-/topology:1 print '\nModifyTopologyName: %s : %s' % (topologyHandle, topologyName) ixNet.setAttribute(topologyHandle, '-name', topologyName) ixNet.commit()