AcsutilPy.ACSPorts
index
/diska/alma_tmp/ACS/LGPL/CommonSoftware/acsutilpy/src/AcsutilPy/ACSPorts.py

This module is used to find out which ports ACS is running on
 
TODO:
- nada

 
Functions
       
getBasePort()
Returns the "ACS Base Port". This is just an integer ranging from 0-10. Tries
to determine the value in the following ways:
1. Searches the command-line for --baseport option
2. Searches the command-line for the -b option
3. Looks for the ACS_INSTANCE environment variable
4. Defaults to 0.
 
Parameters: None
 
Return: base port number
 
Raises: Nothing
getCDBPort()
Returns the port the ACS CDB is running on.
 
Parameters: None
 
Return: port the ACS CDB is running on
 
Raises: Nothing
getContainerDaemonPort()
Returns the port the ACS Container Daemon is running on.
 
Parameters: None
 
Return: port the ACS Container Daemon is running on
 
Raises: Nothing
getIP()
Returns the stringified version of the local hosts IP or the fully qualified
domain name if there is an error.
 
Parameters: None
 
Return: stringified version of the local hosts IP
 
Raises: Nothing
getIRPort()
Returns the port the CORBA Interface Repository is running on.
 
Parameters: None
 
Return:  port the CORBA Interface Repository is running on
 
Raises: Nothing
getLogPort()
Returns the port the ACS Logging Service is running on.
 
Parameters: None
 
Return: port the ACS Logging Service is running on
 
Raises: Nothing
getLoggingServicePort()
Returns the port the CORBA Logging Service is running on.
 
Parameters: None
 
Return: port the CORBA Logging Service is running on
 
Raises: Nothing
getManagerPort()
Returns the port manager is running on.
 
Parameters: None
 
Return: manager port
 
Raises: Nothing
getNamingServicePort()
Returns the port the CORBA Naming Service is running on.
 
Parameters: None
 
Return: port the CORBA Naming Service is running on
 
Raises: Nothing
getNotifyServicePort()
Returns the port the CORBA Notification Service is running on.
 
Parameters: None
 
Return: port the CORBA Notification Service is running on
 
Raises: Nothing
getServicesDaemonPort()
Returns the port the ACS Services Daemon is running on.
 
Parameters: None
 
Return: port the ACS Services Daemon is running on
 
Raises: Nothing
gethostbyname(...)
gethostbyname(host) -> address
 
Return the IP address (a string of the form '255.255.255.255') for a host.

 
Data
        __revision__ = '$Id: ACSPorts.py,v 1.7 2007/10/11 17:27:06 nbarriga Exp $'
argv = ['/alma/ACS-8.0/Python/bin/pydoc', '-w', 'AcsutilPy.ACSPorts']
environ = {'VLTINC': '-I/alma/ACS-8.0/TAO/ACE_wrappers/bui...LOG': '/alma/ACS-8.0/ACSSW', 'PY_PACKAGES_L': ''}