Hi Sherif,

Thank you for your confirmation and sharing the information.

Okay, I understood this problem is on Mininet.

Thanks,
Iwase


On 2017年08月22日 15:23, Fahmy Sherif Alaa Salaheldin wrote:
Thank you Iwase

I realized it was a mininet issue when the link is set as a TCLink it uses 
linux tc already to do some setups therefore when you set up the queues/qos 
after that with RUY rest_qos it wouldn't work!

Best,
Sherif
________________________________________
De : Iwase Yusuke <iwase.yusu...@gmail.com>
Envoyé : mardi 22 août 2017 06:52
À : Fahmy Sherif Alaa Salaheldin
Cc : ryu-devel@lists.sourceforge.net
Objet : Re: [SORRY TO BOTHER AGAIN] Traffic NOT passing through queues

Hi Sherif,

Sorry for the delay, but please keep Ryu-devel mailing list.


On 2017年08月19日 07:52, Fahmy Sherif Alaa Salaheldin wrote:
Hey Iawse,


I verified everything the flow rules are written i can verify with ovs-vctl AND 
rest_qos even though
I write the rules using ofctl_rest..


BUT when I get the queue stats with rest_qos they are empty the packets are 
going to the port but
NOT the queue!! Is that normal? Do you know a fix?

What does "queue stats with rest_qos" mean?
rest_qos does not provide the API for "stats" of Queue.

If it is typo of "Get queues stats" API of rest,
    http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#get-queues-stats
response with an empty list means no Queue is configured.

On my environment, I could get Queue stats as following.
$ curl -X GET http://localhost:8080/stats/queue/1 | jq .
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                   Dload  Upload   Total   Spent    Left  Speed
100   281  100   281    0     0  38477      0 --:--:-- --:--:-- --:--:-- 40142
{
    "1": [
      {
        "queue_id": 0,
        "tx_packets": 2,
        "port_no": 1,
        "duration_sec": 2781601235,
        "duration_nsec": 3746967296,
        "tx_bytes": 252,
        "tx_errors": 0
      },
      {
        "queue_id": 1,
        "tx_packets": 0,
        "port_no": 1,
        "duration_sec": 2781601235,
        "duration_nsec": 3746967296,
        "tx_bytes": 0,
        "tx_errors": 0
      }
    ]
}

Thanks,
Iwase



The packets go to the correct port but not the queues even though in the flow 
rules I have:


actions=set_queue:0,output:5​


For example


Best,

Sherif


------------------------------------------------------------------------------
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

Reply via email to