Changes between Version 5 and Version 6 of TorqueUsage/Functions/Pbs_manager


Ignore:
Timestamp:
09/11/06 08:34:49 (18 years ago)
Author:
bas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TorqueUsage/Functions/Pbs_manager

    v5 v6  
    2929
    3030[wiki:TorqueUsage/DataTypes/Attropl attropl]::
     31 
    3132   
     33extend::
     34 The parameter, extend, is reserved for implementation defined extensions. For now ''extend="NULL"''
    3235
     36== Example ==
    3337
     38Add the property gigabit to node named ''gb-r1n1'':
     39{{{
     40#!python
     41
     42attropl = pbs.new_attropl(1)
     43attropl[0].name  = 'properties'
     44attropl[0].value = 'gigabit'
     45attropl[0].op    = pbs.INCR
     46
     47r =  pbs.pbs_manager(con, pbs.MGR_CMD_SET, pbs.MGR_OBJ_NODE, 'gb-r1n1', attropl, 'NULL')
     48
     49}}}