Hi, As far as I know, rest_qos.py supposes the Flow Table pipeline processing. At first table (Table 0), rest_qos.py sets output Queue or does traffic shaping using Meter Table, then rest_qos.py pass packets to the next table (Table 1). Becuase rest_qos.py does not take care of routing algorithm, so in the Ryu-book, 'the per-flow QoS' section uses qos_simple_switch_13.py for routing packets.
If you want to use rest_qos.py with your own RyuApps which provides routing algorithm, I think you need to install flow entries into Table 1 (or later one) in your RyuApps. Thanks, Iwase On 2015年10月30日 08:11, Ezzat Zar wrote: > To clarify what I want to do overall, > I want to set some QoS parameters in switches identified by these > applications. For example I want to create queues on ports with minimum load > among multiple paths there might exist from source to destination. > > network_aware.py discovers the protocol fine, network_monitor.py does well > identifying port stats and shortest_route.py does just fine identifying paths > from source to destination, now I want to set queues along one of these paths > and I thought rest_qos could help me do that according to this document > <https://osrg.github.io/ryu-book/en/html/rest_qos.html>. > > But as I said, when my apps run without loading rest_qos& conf_switch, they > just work fine... As soon as I load rest_qos and rest_conf_switch with them > in order to set queues on switches, forwarding mechanism stops and packets > become unreachable ( tested with ping and iperf on a topology) > > I appreciate your help, > > --Ezzar > > On Wed, Oct 28, 2015 at 6:05 PM, Ezzat Zar <[email protected] > <mailto:[email protected]>> wrote: > > Dear All, > I have a shortest_route ryu application which does shortest path routing > along with topology discovery and network monitoring. > I actually need to run shortest_route.py app with rest_qos and > rest_conf_switch apps to do some quality of service experiments, but when I > run: >> ryu-manager shortest_route.py qos_rest rest_conf_switch > --observe-links << forwarding behavior just stops and pings become > unreachable and there is no route using iperf. This runs fine when ran in > standalone mode with ryu-manager shortest_route.py --observe-links. > I've attached necessary files. > any idea how to solve this problem? I need QoS rest API along with > network_aware app. > > Thanks in advance > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > 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
