Hi folk, I am very newbie to Pox and I need to develope a framework that implements the monitoring of SDN networks. To do this job I've integrated a monitoring application in my framework which send to Pox controller the alert of any suspected flow on the fly and suppose the controller can manage this alerts in terms of installing appropriate rules in the openflow switch.
To handle this tasks, I thought to define different events in Pox such as AlertDDoS event and AlertDNSPoisioning event etc,... On the other hand, I need to have ConnectionUp event that trigger when the switch connect to openflow and start sending the alerts on suspected flow to the controller. Therefore in _handle_ConnectionUp function I run a tcp server that receives the xml msg and parse them to find the alert on the flow if there is any alert I would like to raise AlertDDoS event in order to compute and install the new rule. My question is that when pox is in _handle_ConnectionUp function is it possible to raise another event and force pox to execute _handle_AlertDDoS function?? Is defining the events to manage this situation is a good idea? Thank you in advance. Hanieh