tag:blogger.com,1999:blog-1978652979840829013.post8491231262891916465..comments2024-02-13T07:05:41.069-08:00Comments on sFlow: Performance aware software defined networkingPeterhttp://www.blogger.com/profile/00856599914190257147noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-1978652979840829013.post-462462566474195342019-09-25T22:58:13.167-07:002019-09-25T22:58:13.167-07:00I haven't tried Floodlight recently, but you c...I haven't tried Floodlight recently, but you could try the <a href="https://blog.sflow.com/2018/04/onos-measurement-based-control.html" rel="nofollow">ONOS measurement based control</a> or <a href="https://blog.sflow.com/2018/10/ryu-measurement-based-control.html" rel="nofollow">Ryu measurement based control</a> examples.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-49034106213919157002019-09-25T22:52:28.348-07:002019-09-25T22:52:28.348-07:00I want to do try this using floodlight Vm can some...I want to do try this using floodlight Vm can someone guide me through the steps??<br />Anonymoushttps://www.blogger.com/profile/08517245693616999894noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-70514605845734645662019-02-19T23:06:20.281-08:002019-02-19T23:06:20.281-08:00There are a number of more recent examples on this...There are a number of more recent examples on this blog, see <a href="https://blog.sflow.com/search/label/DoS" rel="nofollow">DoS</a>Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-66956439812795101192019-02-19T23:01:53.837-08:002019-02-19T23:01:53.837-08:00Have you found a solution to this?if yes can you p...Have you found a solution to this?if yes can you please sharePeterjajuhttps://www.blogger.com/profile/10718477453610450596noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-1921408973173412292017-07-10T06:50:52.010-07:002017-07-10T06:50:52.010-07:00Did you solve this problem?Did you solve this problem?Anonymoushttps://www.blogger.com/profile/11633492238366779041noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-60203165924842957432017-06-20T23:36:22.233-07:002017-06-20T23:36:22.233-07:00Thanks Peter for your reply,
I did the changes in ...Thanks Peter for your reply,<br />I did the changes in flows and request.put as you mentioned but still it didn't mitigate the traffic ,<br />Can you help me out kindy ,<br />I changed the code as :<br />flows = {'keys':'ipsource,ipdestination','value':'frames','filter':'group:ipsource:incoming=external&group:ipdestination:incoming=internal'}<br />and<br />r = requests.put(target + '/group/incoming/json',data=json.dumps(groups))<br /><br />but it didnt work still..<br /><br />Anonymoushttps://www.blogger.com/profile/05994418540853737261noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-5809426800617903462017-06-20T07:16:03.224-07:002017-06-20T07:16:03.224-07:00The ddos.py script need to be modified. Please rea...The ddos.py script need to be modified. Please read the discussion above about the REST API changes regarding specifying and applying address groups. Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-37594638598907232552017-06-19T23:13:52.113-07:002017-06-19T23:13:52.113-07:00running elephant.py shows the result , when there ...running elephant.py shows the result , when there are large flows in the network, but running ddos.py does not perform any action, Can you tell Peter ? ThanksAnonymoushttps://www.blogger.com/profile/05994418540853737261noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-75592105258455682582017-06-12T20:27:22.863-07:002017-06-12T20:27:22.863-07:00running elephant.py shows the result , when there ...running elephant.py shows the result , when there are large flows in the network, but running ddos.py does not perform any action, Can you tell Peter ? ThanksAnonymoushttps://www.blogger.com/profile/05994418540853737261noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-81339422405664351842017-06-12T20:18:43.108-07:002017-06-12T20:18:43.108-07:00have you found the solution Rajeev ?
have you found the solution Rajeev ?<br />Anonymoushttps://www.blogger.com/profile/05994418540853737261noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-37199232955426310092017-06-12T20:18:01.309-07:002017-06-12T20:18:01.309-07:00Hello,
Running following script, python ddos.py, d...Hello,<br />Running following script, python ddos.py, does not generate any results,, even if there are large flows in the network? why is that ?<br />Anonymoushttps://www.blogger.com/profile/05994418540853737261noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-13108372970436367282017-05-15T12:09:29.783-07:002017-05-15T12:09:29.783-07:00The REST API for specifying groups and applying gr...The <a href="http://sflow-rt.com/reference.php#rest" rel="nofollow">REST API</a> for specifying groups and applying groups to addresses has changed. You need to name the group in the PUT command and then sourcegroup in the flow definition is replaced by the function group:ipsource:groupnamePeterhttps://www.blogger.com/profile/03863643292130109658noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-49561609088162520172017-05-15T11:33:10.142-07:002017-05-15T11:33:10.142-07:00i am running the script but nothing is happenning....i am running the script but nothing is happenning.. the traffic is not settling down..Anonymoushttps://www.blogger.com/profile/03285188713228419608noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-32891399620427710222017-05-15T11:15:53.382-07:002017-05-15T11:15:53.382-07:00sir i am also getting the same problem.. what shou...sir i am also getting the same problem.. what should i doAnonymoushttps://www.blogger.com/profile/03285188713228419608noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-72167634829461991592016-03-13T05:37:53.659-07:002016-03-13T05:37:53.659-07:00Thanks Peter :)Thanks Peter :)Anonymoushttps://www.blogger.com/profile/10078429074575709796noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-19900333372773265922016-03-07T23:34:48.271-08:002016-03-07T23:34:48.271-08:00The Fabric View application demonstrates tracking ...The <a href="http://blog.sflow.com/2015/10/fabric-view.html" rel="nofollow">Fabric View</a> application demonstrates tracking of large flows in an ECMP fabric. A modified version of this application was used with <a href="http://blog.sflow.com/2015/08/cord-open-source-spine-leaf-fabric.html" rel="nofollow">ONOS in the CORD: Open-source spine-leaf Fabric</a> demonstration.<br /><br /><a href="http://blog.sflow.com/2014/04/mininet-integrated-hybrid-openflow.html" rel="nofollow">Mininet integrated hybrid OpenFlow testbed</a> demonstrates large flow detection using sFlow-RT with Mininet.Peterhttps://www.blogger.com/profile/03863643292130109658noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-77521998321732237472016-03-07T22:09:18.199-08:002016-03-07T22:09:18.199-08:00Hi, can I use sFlow-rt with ONOS controller to det...Hi, can I use sFlow-rt with ONOS controller to detect large flow? plzAnonymoushttps://www.blogger.com/profile/10078429074575709796noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-3771026483950954202016-03-07T22:08:21.512-08:002016-03-07T22:08:21.512-08:00Hi, I'd like to know if I can use sFlow-rt wit...Hi, I'd like to know if I can use sFlow-rt with ONOS controller to detect large flowAnonymoushttps://www.blogger.com/profile/10078429074575709796noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-20985657151367116152013-12-19T08:42:52.520-08:002013-12-19T08:42:52.520-08:00The /flowkeys/html or /flowkeys/json pages list th...The /flowkeys/html or /flowkeys/json pages list the tokens that are being decoded from the sFlow feed and these tokens can be used to create the filter: and/or keys: arguments in a flow definition. There are a number of examples on this blog, just click on the <a href="http://blog.sflow.com/search/label/sFlow-RT" rel="nofollow">sFlow-RT label</a>.<br /><br />In addition to exporting packet samples, the sFlow protocol pushes the standard set of interface counters that you would get by SNMP polling. The counters that are being received will be listed under the /metrics/html or /metrics/json pages. These can be retrieved using the metric or dump REST calls.<br /><br />Documentation for the API is included with the software, just visit the /html/api.html and /html/script.html pages. Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-34363513665354955962013-12-19T08:02:12.358-08:002013-12-19T08:02:12.358-08:00Can you please tell me where exactly can I find th...Can you please tell me where exactly can I find the options for filter and keys? I've looked through the specifications but it's not that obvious for me where to find them. I am trying to get statistics per switch, like the number of flows passing through the switch, number of packets, etc. If you know an example that can help me with this please let me know. Thanks! Anonymoushttps://www.blogger.com/profile/07824748306772344803noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-831999386276956312013-08-03T22:26:18.665-07:002013-08-03T22:26:18.665-07:00Have you tried the version of the script in the /e...Have you tried the version of the script in the /extras directory of the sFlow-RT distribution?Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-15484074893879242142013-08-03T22:19:12.495-07:002013-08-03T22:19:12.495-07:00I copy and paste the python script and use pip ins...I copy and paste the python script and use pip install requests to install requests module, but when I type python ddos.py it was not work and display message like <br />File "ddos.py", line 16, in <br /> r = requests.get(eventurl + '&eventID=' + str(eventID))<br /> File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 55, in get<br /> return request('get', url, **kwargs)<br /> File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 44, in request<br /><br />...etc<br />what should I do to resolve this problem? rabbid15https://www.blogger.com/profile/15776415657368037504noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-77825597507304868332013-07-11T04:01:56.748-07:002013-07-11T04:01:56.748-07:00Thank you so much :) Thank you so much :) Networks Geekhttps://www.blogger.com/profile/04922268010103578385noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-71511676637429678052013-07-10T10:58:40.248-07:002013-07-10T10:58:40.248-07:00Actually, most of the articles are focused on anal...Actually, most of the articles are focused on analyzing packet samples and identifying packet header attributes. You specify the packet attributes you are interested in monitoring and then sFlow-RT generates additional counters and flow records. The /flowkeys/json page will show you the packet header fields that sFlow-RT is able to decode. You can combine header attributes to define flows (the Python example above defines ipsource,ipdestination flows). If you try the example above and access the URL /dump/ALL/incoming/json, you will see the top flows reported by each switch port.<br /><br />The <a href="http://blog.sflow.com/2013/06/bay-area-network-virtualization-talk.html" rel="nofollow">Bay Areas Network Virtualization talk</a> describes the REST API in more detail (the slides are linked in the article). The talk presented a number of <a href="http://inmon.com/products/sFlow-RT/demo.sh" rel="nofollow">cURL examples</a> showing how to define and monitor flows.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-30822776493271522032013-07-10T10:23:07.337-07:002013-07-10T10:23:07.337-07:00Thanks for your reply.
I actually had a look at ...Thanks for your reply. <br /><br />I actually had a look at those two articles, but I am more interested in looking at packet headers or samples (using sFlow terminology), and then use floodlight or any controller with a northbound APIs to insert flow rules in the network, these articles only handle counters. I don't have much background programming Nodejs so I am planning to do that in python. So, do you have any recommendations. <br /><br /> <br /><br />Networks Geekhttps://www.blogger.com/profile/04922268010103578385noreply@blogger.com