Associating network traffic and QOS mapid - nbonnand/ovs-toolbox GitHub Wiki
7.4 Associating network traffic and QOS mapid
This operation is usually done manually by setting OpenFlow rules. Here the flow button will generate a simple openFlow rule for you. If you want something more complex, edit this rule in OpenFlow Editor.
7.4.1 Mapping traffic ingressing port PA with first queue

- a Press this button to undock the Port widget. ( It will be more comfortable to have it in a popup. )
- b Select port PA
- Under QOS c Select mapid 123 ( d)
- e Press flow button to generate an openFlow rule.
7.4.2 Mapping traffic ingressing port PB with second queue
- f Select port PB
- Select mapid 234 ( d)
- h Press flow button to generate an openFlow rule.

7.4.3 Display Openflow newly created rules
Let's have a look at OpenFlow rules that were just created.

- m Select Openflow tab
- n Hit refresh
- o This rule tells that traffic that enters OpenFlow port 5 ( aka PA port ) will be sent to queue mapid 123
- p This rule tells that traffic that enters OpenFlow port 6 ( aka PB port) will be sent to queue mapid 234
If you want to do something more complex, feel free to edit these rules via this OpenFlow editor !
Finally read next chapter to see how to apply this QOS to an egress port "Applying-QOS-to-egress-port"