tag:blogger.com,1999:blog-1978652979840829013.post1537131490954741801..comments2024-02-13T07:05:41.069-08:00Comments on sFlow: Mininet, ONOS, and segment routingPeterhttp://www.blogger.com/profile/00856599914190257147noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-1978652979840829013.post-57123429617294124802022-03-28T07:21:00.312-07:002022-03-28T07:21:00.312-07:00I haven't used ONOS in a while so I don't ...I haven't used ONOS in a while so I don't know if this example works any more. Have you checked to make sure all the ONOS applications needed for segment routing are enabled (the screen capture at the begining of the page shows the list).Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-51849053004518723042022-03-27T10:56:09.829-07:002022-03-27T10:56:09.829-07:00Hi Peter,
Hope you are well.
Thank you for this tu...Hi Peter,<br />Hope you are well.<br />Thank you for this tutorial.<br />I am able to ping only between h1 and h2, however, I am not able to pingall. I mean the communication happens only between h1 and h2 what could be the problem?<br /><br />Much appreciated,<br />M.AAnonymoushttps://www.blogger.com/profile/03024893990007990814noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-82547526449522062202021-11-22T22:29:17.592-08:002021-11-22T22:29:17.592-08:00The iperf tests described in this article involve ...The iperf tests described in this article involve TCP traffic. What code are you referring to? Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-47382288216084043652021-11-22T21:36:22.311-08:002021-11-22T21:36:22.311-08:00Hi Peter,
Is there any way to change the code so t...Hi Peter,<br />Is there any way to change the code so that it would support TCP? Currently it only supports UDP.匿之https://www.blogger.com/profile/14524316648571416226noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-24154037877909410042021-04-02T08:47:31.120-07:002021-04-02T08:47:31.120-07:00Sorry - I don't think I can be of much help. I...Sorry - I don't think I can be of much help. I haven't worked on SRv6 and my current focus is on other applications for sFlow analytics, primarily <a href="https://blog.sflow.com/search/label/DoS" rel="nofollow">DDoS</a> mitigation and <a href="https://blog.sflow.com/search/label/BGP" rel="nofollow">BGP</a> as a control plane.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-2503492688201367032021-04-02T08:13:04.698-07:002021-04-02T08:13:04.698-07:00Hi peter, How I can contact you? I am a master stu...Hi peter, How I can contact you? I am a master student and my dissertation about SRv6. I would like to implement the practical part in my dissertation but I do not know how as I am facing some difficulties. Can you help me and I will pay for your services ?<br /> Anonymoushttps://www.blogger.com/profile/02739628822246795096noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-30974911575428771372020-08-17T10:27:50.372-07:002020-08-17T10:27:50.372-07:00The ONOS segment routing module used to have the a...The ONOS segment routing module used to have the ability to set up tunnels. This feature was used to optimize the paths that elephant flows take across the fabric - see <a href="https://blog.sflow.com/2015/06/leaf-and-spine-traffic-engineering.html" rel="nofollow">Leaf and spine traffic engineering using segment routing and SDN</a>.<br /><br />I don't believe that the latest version of ONOS supports the tunnel API. I don't know what the current plans are for adding path selection.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-47742490295438025032020-08-17T08:31:34.406-07:002020-08-17T08:31:34.406-07:00Hey, is there a way to add a customized path rathe...Hey, is there a way to add a customized path rather than defaulting to ECMP?EhhhKhalehttps://www.blogger.com/profile/13586036808733189299noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-62021248516111453172020-06-19T12:53:29.853-07:002020-06-19T12:53:29.853-07:00I just tried the example using the ONOS 2.5 docker...I just tried the example using the ONOS 2.5 docker image and the examples work. The network topology appears in the ONOS UI. You do need to start the ONOS applications listed above.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-66983450116959013182020-06-18T10:54:51.502-07:002020-06-18T10:54:51.502-07:00Did you enable enable the OpenFlow Provider Suite,...Did you enable enable the OpenFlow Provider Suite, Network Config Host Provider, Network Config Link Provider, and Segment Routing applications shown in the ONOS screen capture? ONOS 1.15 was used in this example.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-12413099814751017982020-06-18T10:04:43.305-07:002020-06-18T10:04:43.305-07:00hi sir, thank you for sharing this. I have tried t...hi sir, thank you for sharing this. I have tried to follow the steps. The devices visible in mininet dashboard but not in onos. Only hosts are registered but not devices. I have enabled all related apps. Have tried on onos 2.5, 2.0, and 1.15. Is there any other setting on onos that I need to enable? Anwarhttps://www.blogger.com/profile/01705074190170651194noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-14962086898310916942019-11-16T10:29:22.323-08:002019-11-16T10:29:22.323-08:00Thank you sir,
Now its working fine.Thank you agai...Thank you sir,<br />Now its working fine.Thank you again for sharing this informative blog.Its highly help my project works.Anju K Mhttps://www.blogger.com/profile/05956968249714584714noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-5544102788633802362019-11-11T06:48:20.026-08:002019-11-11T06:48:20.026-08:00If you are running ONOS on the local machine then ...If you are running ONOS on the local machine then ONOS=localhost is the correct setting.<br /><br />Did you enable the OpenFlow Provider Suite, Network Config Host Provider, Network Config Link Provider, and Segment Routing applications in ONOS?Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-24890813513059758792019-11-11T00:16:25.462-08:002019-11-11T00:16:25.462-08:00Hai sir,
I tried the above sections, but i had a ...Hai sir,<br /><br />I tried the above sections, but i had a problem, when i running this command :<br /><br />sudo env ONOS=10.0.0.73 mn --custom sr.py,sflow-rt/extras/sflow.py \<br />--link tc,bw=10 --topo=sr '--controller=remote,ip=$ONOS,port=6653'<br /><br />Its simply shows the cursor blinking<br />Then i tried to change the onos ip to localhost <br />Then its works,and create toplogy on mininet and those output shows in mininet-dashboard <br />But the onos Gui shows no devices are connected. <br />how to solve this problem??<br /><br />Anju K Mhttps://www.blogger.com/profile/05956968249714584714noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-83307791729643644052019-09-25T10:15:11.541-07:002019-09-25T10:15:11.541-07:00I wouldn't expect replaying a pcap to work. Mi...I wouldn't expect replaying a pcap to work. Mininet is emulating a real network and protocol interactions matter (ARP, tcp connection establishment, etc).<br /><br />A better approach is to automate tests using iperf, etc. to create real traffic patterns that can be replayed as needed.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-77384279098311790902019-09-25T09:41:13.395-07:002019-09-25T09:41:13.395-07:00Hi Peter. I followed your tutorial and catched a p...Hi Peter. I followed your tutorial and catched a problem.<br />I can use Iperf to send the packets between 2 hosts, but I cannot replay the packets in a pcap file between 2 hosts (Using tcpreplay). Do you know why?<br />Thank you in advanceAnonymoushttps://www.blogger.com/profile/07806482967294543964noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-76124683615475927692019-05-20T23:29:35.791-07:002019-05-20T23:29:35.791-07:00Leaf and spine traffic engineering using segment r...<a href="https://blog.sflow.com/2015/06/leaf-and-spine-traffic-engineering.html" rel="nofollow">Leaf and spine traffic engineering using segment routing and SDN</a> used physical, Broadcom based, switches with ONOS and segment routing. The results closely matched Mininet emulations. In this example the switches were running a version of FTOS.<br /><br />Broadcom ASICs supported by OF-DPA include hardware support for sFlow. However, I don't believe OF-DPA includes APIs needed to configure the sFlow instrumentation.<br /><br /><a href="https://www.opencompute.org/wiki/Networking/SAI" rel="nofollow">SAI</a>, <a href="https://blog.sflow.com/2018/04/sdklt.html" rel="nofollow">SDKLT</a>, and <a href="https://blog.sflow.com/2016/05/opennsl.html" rel="nofollow">OpenNSL</a> provide methods to configure sFlow instrumentation in the ASIC. <br /><br />The open source <a href="https://sflow.net/" rel="nofollow">Host sFlow</a> has been ported to a number of network operating systems to export the measurements as standard sFlow.<br /><br />Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-14521329217944361462019-05-20T23:04:36.629-07:002019-05-20T23:04:36.629-07:00Hi Peter,
SFlow-RT seems to work really well wit...Hi Peter, <br /><br />SFlow-RT seems to work really well with software switches in a Mininet environment. Can I also use SFlow-RT on OF-DPA switches? Do you have any experience testing Segment Routing and ONOS with physical switches based on OF-DPA?JR Mendozahttps://www.blogger.com/profile/10969007073912976158noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-36484092666771869222019-03-13T06:58:07.244-07:002019-03-13T06:58:07.244-07:00hello Peter, thank you for your response. Where ca...hello Peter, thank you for your response. Where can I find help or guidance to create a custom topology bench-marking sr.py? Any help would be much appreciated. Thank you in advance<br />AnthonyFhttps://www.blogger.com/profile/00578102414952527685noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-68956023827196186072019-03-12T07:07:25.881-07:002019-03-12T07:07:25.881-07:00ONOS traffic analytics and ONOS measurement based ...<a href="https://blog.sflow.com/2018/04/onos-traffic-analytics.html" rel="nofollow">ONOS traffic analytics</a> and <a href="https://blog.sflow.com/2018/04/onos-measurement-based-control.html" rel="nofollow">ONOS measurement based control</a> provide additional examples of using Mininet with ONOS and sFlow / sFlow-RT.<br /><br />Segment routing requires quite a bit of configuration. You could use the sr.py script as a basis for building your own custom topology. Enabling sFlow is independent of the topology script, just include the sflow-rt/extras/sflow.py script in the list of custom topologies to enable sFlow and push the Mininet topology to sFlow-RT (sFlow-RT must be running before you start Mininet).Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-79111752857003317402019-03-12T05:17:33.087-07:002019-03-12T05:17:33.087-07:00Hello.
Thank you for your post. Can we amend the ...Hello. <br />Thank you for your post. Can we amend the sr.py (to accommodate a custom topology) or use a custom script to work with onos controller and still use sFlow? AnthonyFhttps://www.blogger.com/profile/00578102414952527685noreply@blogger.com