def AddIxiaChassisPy( ixChassisIp ): print '\nAdding chassis: ', ixChassisIp ixChassisObj = ixNet.add(ixNet.getRoot()+'availableHardware', 'chassis', '-hostname', ixChassisIp) ixNet.commit() #::ixNet::OBJ-/availableHardware/chassis:"10.205.4.35" ixChassisObj = ixNet.remapIds(ixChassisObj)[0] return ixChassisObj