Hi, rest_router.py maintains the rules in itself for each siwtch, and returns them through REST API. But if DPSET (unregister) event received, rest_router.py will assume a switch are disconnected from Ryu and will discard the rules for that switch. Because rest_router.py observes DPSET events in order to maintain connection/disconnection of a switch.
If DPSET events occurred after installing the rules through REST API of rest_router.py, please confirm if a switch was disconnecting or not. Thanks, Iwase On 2016年01月04日 17:40, HITESH PATEL wrote: > Hi Iwase, > > only switch with name router is connected to controller and due to DPSET > event after connection reset all rule are vanish from router. So can you > please suggest how to handle DPSET event for register and unregister router > to application. > > Thanks, > Hitesh > > On Mon, Jan 4, 2016 at 1:10 PM, Yusuke Iwase <[email protected] > <mailto:[email protected]>> wrote: > > Hi, > > On 2015年12月30日 02:23, HITESH PATEL wrote: > > Hi Team, > > > > i want to run ryu rest_router application with real network with > controller running at remote machine.my topology is as below > > > > Inline image 1 > > > > i have set up rules as per rest_router application but not > working.There is also DPSET event for disconnect occurs > > and all flow vanish from router. > > First, which switch in your topology is connecting to Ryu? > The rest_router application installs the flow entries for the router into > all switches which connecting to Ryu. > If "switch" in your topology is NOT a router, but is just a L2 switch, > "switch" should not be connecting to the same Ryu with the rest_router. > > And Which switch sends DPSET event? > If DPSET event is from "router", "router" may be continuing to reboot or > reconnect again and again. > > Thanks, > Iwase > > > > > please suggest any special setup require. > > > > Thanks, > > Hitesh Patel > > > > > > On Fri, Dec 25, 2015 at 3:17 PM, HITESH PATEL <[email protected] > <mailto:[email protected]> <mailto:[email protected] > <mailto:[email protected]>>> wrote: > > > > Hi Team, > > > > Merry Christmas to all Team member. > > > > I want to create RYU application for following topology which > should able to create VxLAN tunnel between two VTEP. i have knowledge of how > to develop RYU SDN application and i have go through Rest_firewall and > Rest_router application. > > > > Please suggest me how to write Vxlan tunnel application in > perspective of how to encapsulate packet in tunnel and how to de-capsulate > tunnel packet. > > > > Inline image 1 > > > > > > > > Thanks > > Hitesh Patel > > > > On Thu, Dec 24, 2015 at 1:33 PM, Yusuke Iwase > <[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > > > Hi, > > > > What does "de-capsulate VxLAN tunnel packet" mean? > > Analysing packets like the packet library or a kind of the > OpenFlow action like "pop tag actions"? > > http://osrg.github.io/ryu-book/en/html/packet_lib.html > > > > If it means analysing packets, currently, the packet library of > Ryu does not support VxLAN packets. > > OTOH, if it means the OpenFlow action, "pop tag actions" does > not support VxLAN tags. > > Maybe, the switch implemented action like NXActions may support > removing VxLAN header, > > but I don't know it further. > > > > Thanks, > > Iwase > > > > On 2015年12月24日 14:27, HITESH PATEL wrote: > > > Hi Team, > > > > > > Thanks for reply. > > > > > > I have created VxLAN tunnel using Ovs-vsctl and Ovs-ofctl > command but i want to implement that using RYU Application. My problem is > that i don't know how to de-capsulate VxLAN tunnel packet, Please anyone > suggest me for VxLAN tunnel packet decapsulation. > > > > > > Thanks, > > > Hitesh > > > > > > > > > > > > On Thu, Dec 24, 2015 at 5:19 AM, Yusuke Iwase > <[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>> > <mailto:[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>>> wrote: > > > > > > Hi, > > > > > > How about using the Tunnel ID match field? > > > > > > Though the settings of the VxLAN is depending on your > switch, > > > Ryu can specify the VxLAN logical port as the Tunnel ID > field in match. > > > > > > For more details of the Tunnel ID match field, > > > please refer to the "7.2.3.9 Pipeline Match Fields" in > OpenFlow Spec 1.3.5. > > > > > > Thanks, > > > Iwase > > > > > > On 2015年12月24日 02:02, HITESH PATEL wrote: > > > > Hi Team > > > > > > > > Can any suggest how to de-capsulate VxLAN tunnel packet > in RYU Application. > > > > > > > > Thanks, > > > > Hitesh Patel > > > > > > > > On Sat, Dec 12, 2015 at 12:06 PM, HITESH PATEL > <[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>> > <mailto:[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>> > <mailto:[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>> > <mailto:[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>>>> wrote: > > > > > > > > Hi Team, > > > > > > > > I have some basic idea of how to develop RYU > application for Learning switch,rest Router but i don't know how to write > VxLAN tunnel application in RYU. please provide some hint for VxLAN tunnel > implement using RYU. > > > > > > > > > > > > Thanks, > > > > Hitesh Patel > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > > > > > > > _______________________________________________ > > > > Ryu-devel mailing list > > > > [email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > <mailto:[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> > > > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > > > _______________________________________________ > > > Ryu-devel mailing list > > > [email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > Ryu-devel mailing list > > [email protected] <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
