AFS Manage Class This class manage the openafs param for celldbserv, cache param, group creation, get and release token
More...
Public Member Functions |
(id) | - init |
| (brief description) (comprehensive description)
|
(id) | - initWithAfsPath: |
| initWithAfsPath (description) (description)
|
(void) | - dealloc |
| (brief description) (comprehensive description)
|
(NSMutableArray *) | - getCellList |
| (brief description) (comprehensive description)
|
(NSArray *) | - getAllCellsName |
| (brief description) (comprehensive description)
|
(NSArray *) | - getUserDefaultForTokenCells |
| (brief description) (comprehensive description)
|
(NSArray *) | - getDefaultForTokenCellsName |
| (brief description) (comprehensive description)
|
(NSString *) | - getDefaultCellName |
| (brief description) (comprehensive description)
|
(void) | - setDefaultCellByName: |
| setDefaultCellByName set the cell named "name" to be se user default first clean the last one selected as default and then set the cell named "name" as default user cell
|
(void) | - setCellName: |
| (brief description) (comprehensive description)
|
(void) | - setPath: |
| setPath Imposta Path Imposta il path dove e' installato afs, in modo da leggere e scrivere le configurazioni
|
(NSString *) | - path |
| path Return the afs base Return the Afs base installation path
|
(int) | - statCacheEntry |
| statCacheEntry get the afs number of state cache entry
|
(void) | - setStatCacheEntry: |
| setStatCacheEntry Set the afs number of state cache entry
|
(int) | - dCacheDim |
| dCacheDim return the dCacheDim param value for cache manager
|
(void) | - setDCacheDim: |
| setDCacheDim set the setDCacheDim value for cache manager param <#(description)#>
|
(int) | - cacheDimension |
| cacheDimension return the max size of the cache
|
(void) | - setCacheDimension: |
| setCacheDimension Set the max cache dimension
|
(int) | - daemonNumber |
| daemonNumber Return the number of daemon for the cache manager
|
(void) | - setDaemonNumber: |
| setDaemonNumber Set the daemon numbero for the cache manager
|
(NSString *) | - afsRootMountPoint |
| afsRootMountPoint Return the path where afs root volume will be mounted
|
(void) | - setAfsRootMountPoint: |
| setAfsRootMountPoint Set the AFS mount point
|
(int) | - nVolEntry |
| nVolEntry Return the nVolEntry for cache manager
|
(void) | - setNVolEntry: |
| setNVolEntry Set the nVolEntry parameter for cache manager
|
(bool) | - dynRoot |
| dynRoot Return the DynRoot parametr for cache manager
|
(void) | - setDynRoot: |
| setDynRoot Set the DynRoot flag value for cache manager
|
(bool) | - afsDB |
| afsDB Get the afsdb flag value for cache manager
|
(void) | - setAfsDB: |
| setAfsDB Set the flag value for afsdb cache manager
|
(bool) | - verbose |
| verbose
|
(void) | - setVerbose: |
| setVerbose
|
(int) | - readCacheInfo: |
| readCacheInfo Read the cache info The cache info is read from the file pointed by filePath param
|
(int) | - writeCacheInfo: |
| writeCacheInfo Write the cache info down the file
|
(void) | - readAfsdOption: |
| readAfsdOption Read the afs option Read the afs option checking firt the afs version so it can read the old afsd.option or afs.conf file.
|
(int) | - readOldAfsdOption: |
| readOldAfsdOption Read the afsd.option file Read the old afsd.option style afsd option file.
|
(int) | - readAFSDParamLineContent: |
| readAFSDParamLineContent Try to decode one line of afsd.option or afs.conf
|
(int) | - readNewAfsdOption: |
| readNewAfsdOption Read the new afs.conf file format Scann every line f the afs.conf file ad for each one call the readAFSDParamLineContent with it's content
|
(int) | - writeAfsdOption: |
| writeAfsdOption <#(description)#> <#(description)#>
|
(int) | - writeOldAfsdOption: |
| writeOldAfsdOption Write the cache manager parameter to file First chech the version of afs installed then choice to save old o new file version(afsd.option or afs.conf)
|
(int) | - writeNewAfsdOption: |
| writeNewAfsdOption Write the cache parameter to a file with the new format
|
(NSString *) | - getAfsVersion |
| getAfsVersion Return the string representing the afs version
|
(int) | - getAfsMajorVersionVersion |
| getAfsMajorVersionVersion Return the major version of afs Major.x.x
|
(int) | - getAfsMinorVersionVersion |
| getAfsMinorVersionVersion Return the major version of afs x.Minor.x
|
(int) | - getAfsPatchVersionVersion |
| getAfsPatchVersionVersion Return the major version of afs x.x.Patch
|
(void) | - clearConfiguration |
| clearConfiguration Clear all structure or array that contain value for afs client setting(cells cache param etch)
|
(void) | - exceptionOnInvalidPath |
| exceptionOnInvalidPath Check the validity of afs path If the installationPath variable don't point to a valid path, will be fired an NSException
|
(void) | - loadConfiguration |
| loadConfiguration load the all afs configuration (ThisCell & CellServDB & cache parameter)
|
(void) | - readCellInfo: |
| readCellInfo Read the Main Cell Name
|
(void) | - readCellDB: |
| readCellDB Read the CellServDB File Read the file of all cellservbd ad make the NSArray containing a DBCellElement for aech cell found
|
(NSArray *) | - readTheseCell: |
| readTheseCell Read the "These Cell" Read the "These Cell" file that contains all the cell from which the user want to get the token
|
(void) | - shutdown |
| shutdown Stop The AFS
|
(void) | - startup |
(void) | - scanIpForCell:allIP: |
(void) | - backupConfigurationFiles |
(void) | - backupFile: |
(void) | - saveConfigurationFiles: |
(void) | - saveCacheConfigurationFiles: |
(void) | - installConfigurationFile:destPath: |
(NSArray *) | - getTokenList |
(BOOL) | - checkAfsStatus |
(BOOL) | - checkAfsStatusForStartup |
(void) | - klog:uPwd:cell: |
(void) | - aklog:noKerberosCall: |
(void) | - getTokens:usr:pwd: |
(void) | - unlog: |
(NSString *) | - makeChaceParamString |
(BOOL) | - useAfsdConfConfigFile |
Protected Attributes |
NSString * | installationPath |
NSString * | cellName |
NSMutableArray * | cellList |
NSArray * | userDefaultCellArray |
NSString * | afsRootMountPoint |
int | statCacheEntry |
int | dCacheDim |
int | cacheDimension |
int | daemonNumber |
int | nVolEntry |
bool | dynRoot |
bool | afsDB |
bool | verbose |
FileUtil * | futil |
BOOL | useAfsdConfVersion |
AFS Manage Class This class manage the openafs param for celldbserv, cache param, group creation, get and release token