HWRF  trunk@4391
Public Member Functions | Public Attributes | List of all members
produtil.cluster.Cluster Class Reference

Stores information about a computer cluster. More...

Detailed Description

Stores information about a computer cluster.

Definition at line 15 of file cluster.py.

Inheritance diagram for produtil.cluster.Cluster:
produtil.cluster.NOAAGAEA produtil.cluster.NOAAJet produtil.cluster.NOAATheia produtil.cluster.NOAAWCOSS produtil.cluster.NOAAZeus produtil.cluster.UCARYellowstone produtil.cluster.WisconsinS4 produtil.cluster.WCOSSCray

Public Member Functions

def __init__
 Sets all public member variables. More...
 

Public Attributes

 group_quotas
 True if group membership is used to manage disk quotas. More...
 
 acl_support
 True if the system uses Access Control Lists (ACLs) to control access to files. More...
 
 production
 True if this system is production (real-time forecasting) environment, and False otherwise. More...
 
 name
 a short name of this cluster. More...
 
 longname
 a long name of this cluster. More...
 
 use_acl_for_rstdata
 True if the scripts should use ACLs to protect restricted access data. More...
 

Constructor & Destructor Documentation

def produtil.cluster.Cluster.__init__ (   self,
  group_quotas,
  acl_support,
  production,
  name,
  longname,
  use_acl_for_rstdata = None 
)

Sets all public member variables.

All are mandatory except use_acl_for_rstdata. The default for use_acl_for_Rstdata is the logical AND of group_quotas and acl_support.

Definition at line 18 of file cluster.py.

Member Data Documentation

produtil.cluster.Cluster.acl_support

True if the system uses Access Control Lists (ACLs) to control access to files.

Definition at line 23 of file cluster.py.

produtil.cluster.Cluster.group_quotas

True if group membership is used to manage disk quotas.

If this is True, then the scripts should never copy the group ID when copying files.

Definition at line 22 of file cluster.py.

produtil.cluster.Cluster.longname

a long name of this cluster.

Definition at line 27 of file cluster.py.

produtil.cluster.Cluster.name

a short name of this cluster.

Must be a valid Python identifier string.

Definition at line 26 of file cluster.py.

Referenced by produtil.cluster.NOAAWCOSS.production().

produtil.cluster.Cluster.production

True if this system is production (real-time forecasting) environment, and False otherwise.

Most systems should set this to False.

Definition at line 25 of file cluster.py.

produtil.cluster.Cluster.use_acl_for_rstdata

True if the scripts should use ACLs to protect restricted access data.

If this is True, the scripts should copy ACLs when copying files. The produtil.acl supplies a way to do that on some Linux machines.

Definition at line 30 of file cluster.py.


The documentation for this class was generated from the following file: