This patch implements in the OVN backend the existing floating
IP QoS extension.
The OVN client, using the existing QoS extension, will retrieve
the QoS rules attached to each floating IP, the router where the
floating IP lives and the router gateway port. The QoS rules
will be applied on the router gateway port.
The OVN NB QoS rules for floating IP addresses have a "match"
field containing a tuple of parameters:
- The direction of the flow:
'inport == "src"' or
'outport == "dst"'
- The IP address to match:
'ip4.src == 1.2.3.4' or
'ip4.dst == 1.2.3.4'
- The chassis where the port is located: 'is_chassis_resident("chassis")'
Reviewed: https:/ /review. opendev. org/722415 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e7e71b2ca67 169e6de4cdad71f 2c82059132325d
Committed: https:/
Submitter: Zuul
Branch: master
commit e7e71b2ca67169e 6de4cdad71f2c82 059132325d
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Apr 21 14:53:34 2020 +0000
[OVN] Implement floating IP QoS in OVN backend
This patch implements in the OVN backend the existing floating
IP QoS extension.
The OVN client, using the existing QoS extension, will retrieve
the QoS rules attached to each floating IP, the router where the
floating IP lives and the router gateway port. The QoS rules
will be applied on the router gateway port.
The OVN NB QoS rules for floating IP addresses have a "match"
'is_chassis_ resident( "chassis" )'
field containing a tuple of parameters:
- The direction of the flow:
'inport == "src"' or
'outport == "dst"'
- The IP address to match:
'ip4.src == 1.2.3.4' or
'ip4.dst == 1.2.3.4'
- The chassis where the port is located:
Closes-Bug: #1877408 /review. opendev. org/#/c/ 727847/
Related-Bug: #1596611
Depends-On: https:/
Change-Id: Ib65d8edcb0a415 f6d698c952334d3 b4bb0d9fff6