Package Ganga :: Package Lib :: Package LCG :: Module LCGRequirements :: Class LCGRequirements
[hide private]
[frames] | no frames]

Class LCGRequirements

source code

                 object --+        
                          |        
   GPIDev.Base.Objects.Node --+    
                              |    
GPIDev.Base.Objects.GangaObject --+
                                  |
                                 LCGRequirements

Helper class to group LCG requirements.

See also: JDL Attributes Specification at http://cern.ch/glite/documentation

Nested Classes [hide private]

Inherited from GPIDev.Base.Objects.GangaObject: __metaclass__

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
merge(self, other)
Merge requirements objects
source code
 
convert(self)
Convert the condition in a JDL specification
source code

Inherited from GPIDev.Base.Objects.GangaObject: __construct__, __deepcopy__, __getstate__, __setstate__, _attribute_filter__set__, _auto__init__, accept, getJobObject

Inherited from GPIDev.Base.Objects.Node: __copy__, __eq__, __ne__, clone, copyFrom, printSummaryTree, printTree

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
Class Variables [hide private]
  _schema = Schema(Version(1, 1), {'software': SimpleItem(defval...
  _category = 'LCGRequirements'
  _name = 'LCGRequirements'
  _GUIPrefs = [{'attribute': 'software', 'widget': 'String_List'...

Inherited from GPIDev.Base.Objects.Node (private): _index_cache, _parent

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

_schema

Value:
Schema(Version(1, 1), {'software': SimpleItem(defvalue= [], typelist= \
['str'], sequence= 1, doc= 'Software Installations'), 'nodenumber': Si\
mpleItem(defvalue= 1, doc= 'Number of Nodes for MPICH jobs'), 'memory'\
: SimpleItem(defvalue= 0, doc= 'Mininum available memory (MB)'), 'cput\
ime': SimpleItem(defvalue= 0, doc= 'Minimum available CPU time (min)')\
, 'walltime': SimpleItem(defvalue= 0, doc= 'Mimimum available total ti\
me (min)'), 'ipconnectivity': SimpleItem(defvalue= False, doc= 'Extern\
al connectivity'), 'other': SimpleItem(defvalue= [], typelist= ['str']\
...

_GUIPrefs

Value:
[{'attribute': 'software', 'widget': 'String_List'}, {'attribute': 'no\
denumber', 'widget': 'Int'}, {'attribute': 'memory', 'widget': 'Int'},\
 {'attribute': 'cputime', 'widget': 'Int'}, {'attribute': 'walltime', \
'widget': 'Int'}, {'attribute': 'ipconnectivity', 'widget': 'Bool'}, {\
'attribute': 'other', 'widget': 'String_List'}]