Thanks a lot Fujita.

Should i put the code you gave into a python file and run it along with
ryu-manager as an app? In that case how can i get the "dp"?
       OR
Do i modify any existing python scripts in ryu to include this (If so,
could you please point out which file i need to modify?)

I just want to make sure that this message can be generated post the
initial TCP/Openflow handshake is complete and the connection is
established.
Kindly help.

Thank you



On Thu, Apr 4, 2013 at 8:09 PM, FUJITA Tomonori <
[email protected]> wrote:

> Hi,
>
> On Thu, 4 Apr 2013 16:22:42 +0530
> nitish nagesh <[email protected]> wrote:
>
> >     I am new to using the Ryu controller. I am still figuring out the
> > basics of how to configure and run the controller. I need some help in
> > configuring the controller in a way that i should be able to generate the
> > OFPT_ROLE_REQUEST message with the role being set to either
> > EQUAL/MASTER/SLAVE.
>
> You can do something like:
>
> r = dp.ofproto_parser.OFPRoleRequest(dp, 0, ofproto_v1_2.OFPCR_ROLE_EQUAL)
> dp.send_msg(r)
>
> > I saw there is a config file located here
> > (ryu/ryu/lib/of_config/of-config-1.1.1.xsd) which has some
> > configuration related to this but could not really get any
> > further. Any help is really appreciated.
>
> You can ignore the file. It is for OF-config protocol.
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to