| |
- cdb_channel_config_exists(channel_name)
- Simple function which returns 1 if the given channel has an entry in
$ACS_CDB/CDB/MACI/EventChannels/ section of the ACS configuration database.
Params:
- channel_name is a string referring to the name of a Notification Channel
registered in the CORBA Naming Service.
Returns: 1 if $ACS_CDB/CDB/MACI/EventChannels/channel_name/channel_name.xml
exists and is a valid XML. 0 otherwise.
Raises: Nothing.
- getEventHandlerTimeoutDict(channel_name)
- The following returns a dict where each key is the
name of an event and the value is the maximum amount of time
an event handler has to process the event before a warning
message is logged.
Params: channelName - name of the channel
Return: a dictionary mapping event types to the maximum amount of time a
handler has to process the event.
Raises: ???
- get_cdb_access()
- This function is only around to fix some problems with pydoc documentation
issues. That is, CDBaccess() cannot be called globally or everything NC-related
breaks.
- get_channel_admin_props(channel_name)
- Given a channel name that exists in the ACS CDB
($ACS_CDB/CDB/MACI/EventChannels/channel_name/channel_name.xml), this
function returns the channels administrative properties in their CORBA
format.
- get_channel_dict(channel_name)
- Function which retrieves event channel config data from the CDB.
Params:
- channel_name is a string referring to the name of a Notification Channel
registered in the CORBA Naming Service.
Returns: a Python dictionary consisting of all the data associated with an
event channel from the ACS CDB. Assumes the CDB entry for the channel
exists ($ACS_CDB/CDB/MACI/EventChannels/channel_name/channel_name.xml).
- get_channel_qofs_props(channel_name)
- Given a channel name that exists in the ACS CDB
($ACS_CDB/CDB/MACI/EventChannels/channel_name/channel_name.xml), this
function returns the channels quality of service properties in their CORBA
format.
DWF - check q of s and admin properties implemented with each
new version of TAO and uncomment properties accordingly.
- get_integration_logs(channel_name)
- Requested by HLA/ITS. Should be removed at some later date.
- get_notification_service_mapping(maptype)
- Retrieves the Notification Service mapping information for the given type
from the CDB.
Params:
- maptype is a string indicating which kind of mapping information should
be returned. One of: Channel, Domain or Default
Returns: list containing all the data for the requested mapping.
Raises: Nothing.
- isSequenceType(...)
- isSequenceType(a) -- Return True if a has a sequence type, False otherwise.
|