Package Ganga :: Package Lib :: Package Condor :: Module CondorRequirements' :: Class CondorRequirements :: Class _proxyClass
[hide private]
[frames] | no frames]

Class _proxyClass

source code

    object --+    
             |    
GPIProxyObject --+
                 |
                Lib.Condor.CondorRequirements'.CondorRequirements._proxyClass

Helper class to group Condor requirements.

   See also: http://www.cs.wisc.edu/condor/manual
   

Properties:

     opsys            Operating system. (simple property,
                      default='LINUX',comparable)

     machine           Requested execution hosts, given as a string of space-
                      separated names: 'machine1 machine2 machine3'; or as a
                      list of names: [ 'machine1', 'machine2', 'machine3' ] .
                      (simple property, default='',comparable)

     other             Other requirements, given as a list of strings, for
                      example: [ 'OSTYPE == "SLC4"', '(POOL == "GENERAL" || POOL
                      == "GEN_FARM")' ]; the final requirement is the AND of all
                      elements in the list . (simple property, list,
                      default=[],comparable)

     excluded_machine  Excluded execution hosts, given as a string of space-
                      separated names: 'machine1 machine2 machine3'; or as a
                      list of names: [ 'machine1', 'machine2', 'machine3' ] .
                      (simple property, default='',comparable)

     memory           Mininum physical memory. (simple property,
                      default=400,comparable)

     virtual_memory   Minimum virtual memory. (simple property,
                      default=400,comparable)

     arch             System architecture. (simple property,
                      default='INTEL',comparable)

Nested Classes [hide private]
  _impl
This is a Ganga.GPI.CondorRequirements implementation class.
Instance Methods [hide private]
 
__eq__(self, x)
Equality operator (==), compare the CondorRequirements properties which are declared as [comparable].
source code
 
__init__(self, *args, **kwds)
GPI CondorRequirements object constructor: CondorRequirements() : create condorrequirements with default settings; CondorRequirements(c) : make a copy of c; CondorRequirements(c,x=a,...): make a copy of c and set property 'x' to a, etc..
source code
 
__ne__(self, x)
Non-equality operator (!=).
source code
 
__repr__(self)
Return an short representation of CondorRequirements object.
source code
 
__setattr__(self, x, v)
Set a property of CondorRequirements with consistency and safety checks.
source code
 
__str__(self)
Return a printable string representing CondorRequirements object as a tree of properties.
source code
 
copy(self)
Make an identical copy of self.
source code

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

Class Variables [hide private]
  arch = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at ...
  excluded_machine = <Ganga.GPIDev.Base.Proxy.ProxyDataDescripto...
  machine = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object ...
  memory = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object a...
  opsys = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at...
  other = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at...
  virtual_memory = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor ...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwds)
(Constructor)

source code 

GPI CondorRequirements object constructor: CondorRequirements() : create condorrequirements with default settings; CondorRequirements(c) : make a copy of c; CondorRequirements(c,x=a,...): make a copy of c and set property 'x' to a, etc..

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

Return an short representation of CondorRequirements object.

Overrides: object.__repr__

__setattr__(self, x, v)

source code 

Set a property of CondorRequirements with consistency and safety checks. Setting a [protected] or a unexisting property raises AttributeError.

Overrides: object.__setattr__

__str__(self)
(Informal representation operator)

source code 

Return a printable string representing CondorRequirements object as a tree of properties.

Overrides: object.__str__

Class Variable Details [hide private]

arch

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x3379150>

excluded_machine

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x336ff90>

machine

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x336fe90>

memory

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x3379050>

opsys

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x336fe10>

other

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x336ff10>

virtual_memory

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x33790d0>