from o2ims.service.auditor import ocloud_handler, dms_handler, \
resourcepool_handler, pserver_handler, pserver_cpu_handler, \
pserver_mem_handler, pserver_port_handler, pserver_if_handler,\
from o2ims.service.auditor import ocloud_handler, dms_handler, \
resourcepool_handler, pserver_handler, pserver_cpu_handler, \
pserver_mem_handler, pserver_port_handler, pserver_if_handler,\
- pserver_eth_handler
-from o2ims.service.command import notify_handler, registration_handler
+ pserver_eth_handler, pserver_acc_handler, alarm_handler, \
+ pserver_dev_handler
+from o2ims.service.command import notify_handler, registration_handler,\
+ notify_alarm_handler
events.ResourceChanged: [resource_event.notify_resource_change],
events.ResourcePoolChanged: [resource_pool_event.\
notify_resourcepool_change],
events.ResourceChanged: [resource_event.notify_resource_change],
events.ResourcePoolChanged: [resource_pool_event.\
notify_resourcepool_change],
- events.ConfigurationChanged: [configuration_event.\
- notify_configuration_change],
+ events.AlarmEventChanged: [alarm_event.\
+ notify_alarm_event_change],
} # type: Dict[Type[events.Event], Callable]
COMMAND_HANDLERS = {
commands.UpdateOCloud: ocloud_handler.update_ocloud,
commands.UpdateDms: dms_handler.update_dms,
} # type: Dict[Type[events.Event], Callable]
COMMAND_HANDLERS = {
commands.UpdateOCloud: ocloud_handler.update_ocloud,
commands.UpdateDms: dms_handler.update_dms,
commands.UpdateResourcePool: resourcepool_handler.update_resourcepool,
commands.UpdatePserver: pserver_handler.update_pserver,
commands.UpdatePserverCpu: pserver_cpu_handler.update_pserver_cpu,
commands.UpdateResourcePool: resourcepool_handler.update_resourcepool,
commands.UpdatePserver: pserver_handler.update_pserver,
commands.UpdatePserverCpu: pserver_cpu_handler.update_pserver_cpu,
commands.UpdatePserverIf: pserver_if_handler.update_pserver_if,
commands.UpdatePserverIfPort: pserver_port_handler.update_pserver_port,
commands.UpdatePserverEth: pserver_eth_handler.update_pserver_eth,
commands.UpdatePserverIf: pserver_if_handler.update_pserver_if,
commands.UpdatePserverIfPort: pserver_port_handler.update_pserver_port,
commands.UpdatePserverEth: pserver_eth_handler.update_pserver_eth,
o2dms_cmmands.HandleNfDeploymentStateChanged:
nfdeployment_handler.handle_nfdeployment_statechanged,
o2dms_cmmands.InstallNfDeployment:
o2dms_cmmands.HandleNfDeploymentStateChanged:
nfdeployment_handler.handle_nfdeployment_statechanged,
o2dms_cmmands.InstallNfDeployment:
o2dms_cmmands.DeleteNfDeployment:
nfdeployment_handler.delete_nfdeployment,
commands.PubMessage2SMO: notify_handler.notify_change_to_smo,
o2dms_cmmands.DeleteNfDeployment:
nfdeployment_handler.delete_nfdeployment,
commands.PubMessage2SMO: notify_handler.notify_change_to_smo,
commands.Register2SMO: registration_handler.registry_to_smo,
} # type: Dict[Type[commands.Command], Callable]
commands.Register2SMO: registration_handler.registry_to_smo,
} # type: Dict[Type[commands.Command], Callable]