Provided by: octopussy_1.0.6-0ubuntu1_all
NAME
Octopussy::Service - Octopussy Service module
FUNCTIONS
New(\%conf) Create a new Service with configuration '$conf' Parameters: \%conf - hashref of the new Service configuration field 'name' only accepts [-_a-z0-9] characters and 'Incoming' and 'Unknown' are rejected Clone($service_orig, $service_clone) Remove($service) Removes the Service '$service' Parameters: $service - Name of the Service to remove List() Returns List of Services List_Used() Returns List of Services used Unknowns(@services) Returns list of Unknown Services in @services list Filename($service) Returns the XML filename for the service '$service' Configuration($service) Returns the configuration for the Service '$service' Configurations($sort) Returns the configuration for all Services sorted by '$sort' (default: 'name') Msg_ID($service) Returns the next available message id for Service '$service' Msg_ID_unique($service, $msgid) Checks if $msgid is valid & unique for Service $service Add_Message($service, $mconf) Adds Message '$mconf' to Service '$service' Remove_Message($service, $msgid) Removes Message with id '$msgid' from Service '$service' Modify_Message($service, $msgid, $conf_modified) Modifies Message with id '$msgid' from Service '$service' Move_Message($service, $msgid, $direction) Moves Message '$msgid' up/down ('$direction') inside Service '$service' Messages(@services) Get messages from Service list '@services' sorted by 'rank' Messages_Configurations($service, $sort) Get the configuration for all messages from '$service' sorted by '$sort' Messages_Statistics($service) Returns Messages statistics for Service $service Tables($service) Get tables from service '$service' Parse_Restart($service) Restart Device parsing for device with service '$service' Parse_Restart_Required($service) Set 'reload_required' for device with service '$service' Updates() Gets Services Updates from Internet Updates_Installation(@services) Installs Services Updates Update_Get_Messages($service) Returns Service Updates Messages Updates_Diff($service) Returns Service Updates differences Valid_Name($name) Checks that '$name' is valid for a Service name
AUTHOR
Sebastien Thebert <octo.devel@gmail.com>