Changes between Version 5 and Version 6 of TorqueUsage/Functions/Pbs_manager
- Timestamp:
- 09/11/06 08:34:49 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TorqueUsage/Functions/Pbs_manager
v5 v6 29 29 30 30 [wiki:TorqueUsage/DataTypes/Attropl attropl]:: 31 31 32 33 extend:: 34 The parameter, extend, is reserved for implementation defined extensions. For now ''extend="NULL"'' 32 35 36 == Example == 33 37 38 Add the property gigabit to node named ''gb-r1n1'': 39 {{{ 40 #!python 41 42 attropl = pbs.new_attropl(1) 43 attropl[0].name = 'properties' 44 attropl[0].value = 'gigabit' 45 attropl[0].op = pbs.INCR 46 47 r = pbs.pbs_manager(con, pbs.MGR_CMD_SET, pbs.MGR_OBJ_NODE, 'gb-r1n1', attropl, 'NULL') 48 49 }}}