Thanks for the reply Alexis.. I will look at them..
On Thu, Mar 20, 2014 at 5:06 PM, Alexis Saito <alexis.sa...@gmail.com>wrote: > Hi Windhya, > > I used ryu/topology/switches.py to run topology discovery and keep > it in memory. It offers switch iteration on elements present in network. > Use get_all_switch function. > I suggest you to subscribe to ryu-devel list in sourceforge, you > can find usefull info there: > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/ryu-devel > or, via email, send a message with subject or body 'help' to > ryu-devel-requ...@lists.sourceforge.net > > Good luck! > -- > Alexis Saito > Master student @ UFSCar-Sorocaba/Brazil > http://www.linkedin.com/in/alexissaito > > > Date: Thu, 20 Mar 2014 12:41:16 +0000 >> From: Zolt?n Lajos Kis <zoltan.lajos....@ericsson.com> >> To: Windhya Rankothge <windys...@gmail.com> >> Cc: "openflow-discuss@lists.stanford.edu" >> >> <openflow-discuss@lists.stanford.edu> >> Subject: Re: [openflow-discuss] Sending a OFPFlowMod to a specific >> switch from the controller >> Message-ID: >> <31933b4dc7aa83429608c10a9b1310751a38f...@esessmb105.ericsson.se> >> Content-Type: text/plain; charset="iso-8859-1" >> >> Hi, >> >> I'm sure there is a way in the controller to at least iterate through >> active connections. That way you can get the datapath id of the switch with >> a given IP address. Hopefully there will be only one... >> >> >> Regards, >> Zoltan >> >> From: Windhya Rankothge [mailto:windys...@gmail.com] >> Sent: Thursday, March 20, 2014 10:07 AM >> To: Zolt?n Lajos Kis >> >> Cc: openflow-discuss@lists.stanford.edu >> Subject: Re: [openflow-discuss] Sending a OFPFlowMod to a specific switch >> from the controller >> >> Hi Zoltan, >> Thanks for the reply.. Yes I am trying to implement a controller module.. >> >> My requirement is, I want to send a flow-mod message to a specific >> switch, where I know only the IP address of the switch.. >> >> For an example >> >> h1 ---- s1 ---- s2 ---- s3 ---- h2 >> >> For this topology, >> >> I want to install following flow-rules in s1,s2 and s3.. I have the IP >> addresses of the switches.. >> >> In s1 : If packet comes from h1, forward it through port1 >> In s2 : If packet comes from h1, forward it through port2 >> In s3 : If packet comes from h1, forward it through port3 >> Highly appreciate your comments on this.. >> >> >> >> On Thu, Mar 20, 2014 at 8:11 AM, Zolt?n Lajos Kis < >> zoltan.lajos....@ericsson.com<mailto:zoltan.lajos....@ericsson.com>> >> wrote: >> Hi, >> >> I suspect you are asking about a specific controller implementation, and >> not the OpenFlow protocol. I'm guessing this is Ryu, and so I'd suggest you >> to have a look at this for examples: >> http://osrg.github.io/ryu-book/en/Ryubook.pdf. If my guess is wrong, >> please give more details on what you are trying to use. >> >> Regards, >> Zoltan >> >> From: openflow-discuss [mailto: >> openflow-discuss-boun...@lists.stanford.edu<mailto: >> openflow-discuss-boun...@lists.stanford.edu>] On Behalf Of Windhya >> Rankothge >> >> Sent: Thursday, March 20, 2014 7:58 AM >> To: openflow-discuss@lists.stanford.edu<mailto: >> openflow-discuss@lists.stanford.edu>; openflow-supp...@lists.stanford.edu >> <mailto:openflow-supp...@lists.stanford.edu> >> >> Subject: [openflow-discuss] Sending a OFPFlowMod to a specific switch >> from the controller >> >> Hi all, >> I want to send OFPFlowMod message to a specific switch from the >> controller.. I have read about OFPFlowMod message structure and saw that we >> can specify the datapath.. But I am not sure how I can use this datapath to >> specify the switch I want to send the message.. Also I want to install >> rules on this specific switch before data packet transmission happen in the >> network.. >> Highly appreciate your comments on this.. >> >> -- >> Best Regards, >> >> Windhya Rankothge, >> Universitat Pompeu Fabra, >> Barcelona. >> >> >> >> -- >> Best Regards, >> >> Windhya Rankothge, >> Universitat Pompeu Fabra, >> Barcelona. >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: < >> http://mailman.stanford.edu/pipermail/openflow-discuss/attachments/20140320/01606287/attachment.html >> > >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> openflow-discuss mailing list >> openflow-discuss@lists.stanford.edu >> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >> >> >> ------------------------------ >> >> End of openflow-discuss Digest, Vol 65, Issue 12 >> ************************************************ >> > > > > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > > -- Best Regards, Windhya Rankothge, Universitat Pompeu Fabra, Barcelona.
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss