hi, Fujimoto
how can i use OpenFlow channel in Mininet?
what do you mean about "But the controller should receive packets in your
application" ?
can i make a change in RYU code for including port number which is connected to
the controller in OFPActionOutput()?
if the answer is yes, how can i do this?
thank you,
Mehran shetabi
________________________________
From: Fujimoto Satoshi <satoshi.fujimo...@gmail.com>
Sent: Monday, July 10, 2017 5:35 AM
To: mehran shetabi; ryu-devel@lists.sourceforge.net; satoshi.fujimo...@gmail.com
Subject: Re: [Ryu-devel] how can i distinguish controllers for packet in to
them?
Hi, Mehran
Unfortunately, you cannot use the port number which is connected to the
controller in OFPActionOutput().
However, if you can set roles(Master/Slave) to the controllers,
you can use OFPSetAsync to control whether the switch sends Packet-In to Master
or Slave controller:
http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPSetAsync
Or, this is not a beautiful method, you can connect controllers and the switch
by another connection, like:
c1 ??of???sw ??of???c2
????????????????
???????????????? ("of" means an OpenFlow channel)
Then, you can specify the port number which is connected to the controller.
But the controller should receive packets in your application,
and the packets are "raw" packets, so the informations in the Packet-in header
will be lost.
Thanks,
Fujimoto
On 2017?07?10? 07:52, mehran shetabi wrote:
Hi,
In Mininet, I created a topology with one switch, two host, and two inband RYU
controller.
In OFPActionOutput() function, instead of using ofproto.OFPP_CONTROLLER for
output port may I use port number (e.g. 3) that connected to the controller?
If the answer is no, is there any way to distinguish controllers for packet in
to them?
Thank you,
Mehran shetabi
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net<mailto:Ryu-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel