On Mon, 21 Aug 2017 16:19:33 +0900 IWASE Yusuke <iwase.yusu...@gmail.com> wrote:
> Currently, rest_qos discards the Queues info stored on its dictionary > for each "Set queue" request. > So rest_qos always reply only last Queue setting. > > This patch fixes to avoid discarding the Queues info and enable to reply > all configured Queues settings. > > Note: In order to store all Queues settings, "port name" field for each > Queue will be inserted on the reply of "Get queue configuration" API. > - Before: > [ > { > "command_result": { > "result": "success", > "details": { > "0": { > "config": { > "max-rate": "500000" > } > }, > "1": { > "config": { > "min-rate": "800000" > } > } > } > }, > "switch_id": "0000000000000001" > } > ] > - After: > [ > { > "command_result": { > "result": "success", > "details": { > "s1-eth1": { # <-- Inserted > "0": { > "config": { > "max-rate": "500000" > } > }, > "1": { > "config": { > "min-rate": "800000" > } > } > } > } > }, > "switch_id": "0000000000000001" > } > ] > > Reported-by: Fahmy Sherif Alaa Salaheldin <sherif.fa...@epfl.ch> > Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com> > --- > ryu/app/rest_qos.py | 41 +++++++++++++++++++++++++++++------------ > 1 file changed, 29 insertions(+), 12 deletions(-) Applied, thanks. ------------------------------------------------------------------------------ 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