Package LICOS.lib.FMX


Classes

class  FMX_command
class  FmxInterfaceTestCase

Functions

def fmx_delete
 Interface to fmx delete <blatz>.
def fmx_commit
 Interface to fmx commit <blatz>.
def fmx_upload
def __fmx_code_command
def __fmx_fof_command
def __fmx_config_command
def defaultInstrument
 helper functions
def physPath
def fmxPathSplit
def checkDevice
def checkNode
def suite

Variables

string __facility__ = "Online"
string __abstract__ = "FMX interface library"
string __author__ = "J. Panetta <panetta@SLAC.Stanford.edu> SLAC - GLAST LAT I&T/Online"
string __date__ = "2006/03/31 00:00:00"
string __updated__ = "$Date: 2006/04/13 02:20:15 $"
string __version__ = "$Revision: 1.4 $"
string __release__ = "$Name: HEAD $"
string __credits__ = "SLAC"
string FMX_DB_ENV = "FMX_C_FDB"
 FMX database location environment variable.
list FMX_TYPES = ['cdm', 'fof', 'hsk', 'latc', 'lci', 'pbc', 'rel', 'sbm', 'sbs', 'vxw']
 FMX file types.
list FMX_DEVICES = ['ee0', 'ee1', 'mm0', 'mm1', 'ram', 'rom', 'mem']
 FMX devices.
list FMX_ARCHS = ['rad-750', 'mv2304', 'mcp750', 'linux-gcc', 'sun-gcc']
 FMX allowed architectures.
list FMX_NODES = ['siu0', 'siu1', 'epu0', 'epu1', 'epu2']
 FMX allowed node names ** Note: Distinct from FSW_UNIT_NAMES in LATconstants.
tuple FMX_BASE = os.path.expandvars("$%s" % FMX_DB_ENV)
 FMX base location, fully justified.
string FMX_LAT_NAME = 'mordor'
 FMX logical name for the LAT.
string FMX_PATH_REGEXP = ' *(?P<filetype>.*)/(?P<package>.*)/(?P<version>.*)/(?P<constituent>.*)'
 FMX path parsing regexp.
string FMX_UPGOOD_REGEXP = 'FMX: Upload physical=(?P<physical>.*) file=(?P<path>.*)$'
 FMX upload success regexp.


Function Documentation

def LICOS.lib.FMX.__fmx_code_command   command,
  filetype,
  package,
  version,
  constituent,
  instrument,
  node,
  device
 

Definition at line 420 of file FMX.py.

def LICOS.lib.FMX.__fmx_config_command   command,
  filetype,
  relname,
  instrument,
  node,
  device
 

Definition at line 454 of file FMX.py.

def LICOS.lib.FMX.__fmx_fof_command   command,
  filetype,
  relname,
  instrument,
  node,
  device
 

Definition at line 439 of file FMX.py.

def LICOS.lib.FMX.checkDevice   device  ) 
 

Definition at line 498 of file FMX.py.

def LICOS.lib.FMX.checkNode   node  ) 
 

Definition at line 505 of file FMX.py.

def LICOS.lib.FMX.defaultInstrument   argv  ) 
 

helper functions

Definition at line 473 of file FMX.py.

def LICOS.lib.FMX.fmx_commit   filetype,
  argv
 

Interface to fmx commit <blatz>.

Parameters:
filetype Type of package you are working with
filetype is broken into three main types: CODE: cdm, rel, sbm, vxw -- Code (compiled) modules CONFIG: hsk, latc, lci -- Configuration files FOF: fof, sbs -- files of Files

Required arguments, all keyword required: node = Destination of file (siu0, epu2, etc.) device = Storage location of file (ee0, ee1, ram, etc) Partially optional arguments, all keyword required: package = source package. Required for CODE filetypes constituent = package constituent. Required for CODE filetypes version = package version. Required for CODE filetypes relname = relative upload path. Required for CONFIG and FOF filetypes instrument = Instrument name. Optional. If not set, instrument name for LAT is used. (mordor)

Definition at line 174 of file FMX.py.

def LICOS.lib.FMX.fmx_delete   filetype,
  argv
 

Interface to fmx delete <blatz>.

Parameters:
filetype Type of package you are working with
filetype is broken into three main types: CODE: cdm, rel, sbm, vxw -- Code (compiled) modules CONFIG: hsk, latc, lci -- Configuration files FOF: fof, sbs -- files of Files

Required arguments, all keyword required: node = Destination of file (siu0, epu2, etc.) device = Storage location of file (ee0, ee1, ram, etc) Partially optional arguments, all keyword required: package = source package. Required for CODE filetypes constituent = package constituent. Required for CODE filetypes version = package version. Required for CODE filetypes relname = relative upload path. Required for CONFIG and FOF filetypes instrument = Instrument name. Optional. If not set, instrument name for LAT is used. (mordor)

Definition at line 97 of file FMX.py.

def LICOS.lib.FMX.fmx_upload   filetype,
  argv
 

upload a file to the system

\param filetype   Type of file to upload.

filetype is broken into three main types:
  CODE:     cdm, rel, sbm, vxw   --  Code (compiled) modules
  CONFIG:   hsk, latc, lci       --  Configuration files
  FOF:      fof, sbs             --  files of Files

Required arguments, all keyword required:
  node    = Destination of file (siu0, epu2, etc.)
  device  = Storage location of file (ee0, ee1, ram, etc)
Partially optional arguments, all keyword required:
  package      = source package.         Required for CODE filetypes
  constituent  = package constituent.    Required for CODE filetypes 
  version      = package version.        Required for CODE filetypes
  relname      = relative upload path.   Required for CONFIG and FOF filetypes
  instrument   = Instrument name.        Optional.  If not set, instrument name for LAT is used.  (mordor)
  

Definition at line 285 of file FMX.py.

def LICOS.lib.FMX.fmxPathSplit   fmxPath  ) 
 

Definition at line 492 of file FMX.py.

def LICOS.lib.FMX.physPath   line  ) 
 

Definition at line 482 of file FMX.py.

def LICOS.lib.FMX.suite  ) 
 

Definition at line 775 of file FMX.py.


Variable Documentation

string __abstract__ = "FMX interface library" [static]
 

Definition at line 11 of file FMX.py.

string __author__ = "J. Panetta <panetta@SLAC.Stanford.edu> SLAC - GLAST LAT I&T/Online" [static]
 

Definition at line 12 of file FMX.py.

string __credits__ = "SLAC" [static]
 

Definition at line 17 of file FMX.py.

string __date__ = "2006/03/31 00:00:00" [static]
 

Definition at line 13 of file FMX.py.

string __facility__ = "Online" [static]
 

Definition at line 10 of file FMX.py.

string __release__ = "$Name: HEAD $" [static]
 

Definition at line 16 of file FMX.py.

string __updated__ = "$Date: 2006/04/13 02:20:15 $" [static]
 

Definition at line 14 of file FMX.py.

string __version__ = "$Revision: 1.4 $" [static]
 

Definition at line 15 of file FMX.py.

list FMX_ARCHS = ['rad-750', 'mv2304', 'mcp750', 'linux-gcc', 'sun-gcc'] [static]
 

FMX allowed architectures.

Definition at line 66 of file FMX.py.

tuple FMX_BASE = os.path.expandvars("$%s" % FMX_DB_ENV) [static]
 

FMX base location, fully justified.

Definition at line 72 of file FMX.py.

string FMX_DB_ENV = "FMX_C_FDB" [static]
 

FMX database location environment variable.

Definition at line 57 of file FMX.py.

list FMX_DEVICES = ['ee0', 'ee1', 'mm0', 'mm1', 'ram', 'rom', 'mem'] [static]
 

FMX devices.

Definition at line 63 of file FMX.py.

string FMX_LAT_NAME = 'mordor' [static]
 

FMX logical name for the LAT.

Definition at line 75 of file FMX.py.

list FMX_NODES = ['siu0', 'siu1', 'epu0', 'epu1', 'epu2'] [static]
 

FMX allowed node names ** Note: Distinct from FSW_UNIT_NAMES in LATconstants.

There are *two* SIUs in this scheme.

Definition at line 69 of file FMX.py.

string FMX_PATH_REGEXP = ' *(?P<filetype>.*)/(?P<package>.*)/(?P<version>.*)/(?P<constituent>.*)' [static]
 

FMX path parsing regexp.

Definition at line 78 of file FMX.py.

list FMX_TYPES = ['cdm', 'fof', 'hsk', 'latc', 'lci', 'pbc', 'rel', 'sbm', 'sbs', 'vxw'] [static]
 

FMX file types.

Definition at line 60 of file FMX.py.

string FMX_UPGOOD_REGEXP = 'FMX: Upload physical=(?P<physical>.*) file=(?P<path>.*)$' [static]
 

FMX upload success regexp.

Definition at line 81 of file FMX.py.


Generated on Thu Apr 27 20:53:13 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO