proc EnableDeviceGroupNgpf { deviceGroupName } { foreach topology [ixNet getList [ixNet getRoot] topology] { foreach deviceGroup [ixNet getList $topology deviceGroup] { set currentDgName [ixNet getAttribute $deviceGroup -name] if {[regexp -nocase $deviceGroupName $currentDgName]} { puts "\nEnableDeviceGroup: $currentDgName" set multiValue [ixNet getAttribute $deviceGroup -enabled] ixNet setAttribute $multiValue/singleValue -value true ixNet commit } } } }