def ModifyDeviceGroupNamePy( deviceGroupHandle, deviceGroupName): # deviceGroupHandle example: ::ixNet::OBJ-/topology:1/deviceGroup:1 print '\nModifyDeviceGroupName: %s : %s' % (deviceGroupHandle, deviceGroupName) ixNet.setAttribute(deviceGroupHandle, '-name', deviceGroupName) ixNet.commit()