Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Module Config :: Class GlobusConfig |
|
GlobusConfig
Method Summary | |
---|---|
This is the constructor, the only argument is used to indicate a desire to intialize the existing environment if it is discovered to be uninitialized. | |
__str__(self)
| |
_repr_(self)
| |
GetDistCACertDir(self)
| |
GetDistCertFileName(self)
| |
GetDistKeyFileName(self)
| |
Getenv(self,
name)
| |
GetHostname(self)
| |
GetLocation(self)
| |
GetProxyFileName(self)
| |
RemoveHostname(self)
| |
RemoveLocation(self)
| |
SetActiveCACertDir(self,
dir)
| |
Setenv(self,
name,
val)
| |
Ensure that we have a valid Globus hostname. | |
SetLocation(self,
location)
| |
Configure globus runtime for using a proxy cert. | |
Configure globus runtime for using a cert and key pair. | |
Unsetenv(self,
name)
|
Instance Variable Summary | |
---|---|
caCertDir : the directory of Certificate Authority Certificates | |
certFile : The filename of the X509 certificate. | |
hostname : the Hostname for the globus configuration | |
keyFile : The filename of the X509 key. | |
location : the location of the globus installation | |
proxyFile : THe filename for the globus proxy |
Method Details |
---|
__init__(self,
initEnvIfNeeded=0)
This is the constructor, the only argument is used to indicate a
desire to intialize the existing environment if it is discovered to be
uninitialized.
|
SetHostname(self)Ensure that we have a valid Globus hostname. If GLOBUS_HOSTNAME is set, we will do nothing further. Otherwise, we will inspect the hostname as returned by the socket.getfqdn() call. If it appears to be valid (where valid means that it maps to an IP address and we can locally bind to that address), we needn't do anythign, since the globus hostname calls will return the right thing. Otherwise, we need to get our IP address using SystemConfig.GetLocalIPAddress() |
SetProxyCert(self, proxyFile)Configure globus runtime for using a proxy cert. |
SetUserCert(self, cert, key)Configure globus runtime for using a cert and key pair. |
Instance Variable Details |
---|
caCertDirthe directory of Certificate Authority Certificates |
certFileThe filename of the X509 certificate. |
hostnamethe Hostname for the globus configuration |
keyFileThe filename of the X509 key. |
locationthe location of the globus installation |
proxyFileTHe filename for the globus proxy |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:27 2005 | http://epydoc.sf.net |