Priyank, As indicated by Ryan there are multiple ways depending on the type of collection mechanism.
We’ve used yang rpc’s a lot in our solutions so that we have a REST request/response approach to the ODL actions. We’ve also used asynchronous restconf updates (onDataTreeChangeListener) Either can be pre-pended with a Kafka or other bus technology in an asynchronous pub/sub mode if that fits your need. If you just want the controller to react but not necessarily respond to the collector then one of the async methods probably makes the most sense. Brian From: controller-dev-boun...@lists.opendaylight.org [mailto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Ryan Goulding Sent: Sunday, August 21, 2016 5:21 PM To: priyank shah Cc: controller-dev Subject: Re: [controller-dev] odl integration with other software tools Hi Priyank, ODL can be controlled via RESTCONF and NETCONF northbound (probably other ways too that I am forgetting, others please chime in...). I am guessing you will have to write some middle-ware, but you should be able to do some cool things with the aforementioned northbound protocols. For example, a while back I wrote a very basic application that monitored interface utilization and added an OpenFlow flow to redirect traffic over a less utilized link when one link hit a high watermark (I added the flow via RESTCONF, which programmed the flow appropriately through openflowplugin and openflowjava southbound). It really depends what you want to do; I would suggest inspecting the available protocols and figure out what works for your specific use case. RESTCONF includes a very convenient swagger ui to explore some of the available APIs; you can install it through the following: karaf> feature:install odl-mdsal-apidocs Then navigate to the following IP: http://{controller_ip}:8181/apidoc/explorer/index.html<http://%7bcontroller_ip%7d:8181/apidoc/explorer/index.html> Username / password is admin/admin. Hope this helps spur some ideas at least! Thanks, Ryan On Sun, Aug 21, 2016 at 4:53 PM, priyank shah <priyankshah902...@gmail.com<mailto:priyankshah902...@gmail.com>> wrote: Hello everyone, Is there a way I could integrate a software tool with the ODL platfrom, for example collect data using one tool and sending that data to the controller and ask the controller to react to the data send to it? I am trying to integrate an Intrusion Detection System with the ODL controller. What are the different approaches to this problem? Thanks, Priyank _______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org<mailto:controller-dev@lists.opendaylight.org> https://lists.opendaylight.org/mailman/listinfo/controller-dev
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev