commit bffa642b351f7fc3bb5cfb7a1bb2a3499c4b4506
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 8 09:08:33 2023 +0100
[OVN] Method ``get_port_qos`` should always return 2 values
The method ``neutron.agent.ovn.agent.ovsdb.get_port_qos`` should
always return 2 values, even when the LSP is not present. This
patch:
* fixes the output, returning 2 values
* catches the exception raised when the LSP is not present in the
OVN NB database
* returns the default max_kbps and min_kbps values (0, 0).
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/876945 /opendev. org/openstack/ neutron/ commit/ bffa642b351f7fc 3bb5cfb7a1bb2a3 499c4b4506
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit bffa642b351f7fc 3bb5cfb7a1bb2a3 499c4b4506
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Mar 8 09:08:33 2023 +0100
[OVN] Method ``get_port_qos`` should always return 2 values
The method ``neutron. agent.ovn. agent.ovsdb. get_port_ qos`` should
always return 2 values, even when the LSP is not present. This
patch:
* fixes the output, returning 2 values
* catches the exception raised when the LSP is not present in the
OVN NB database
* returns the default max_kbps and min_kbps values (0, 0).
Closes-Bug: #2009804 35c07dda1aa7907 69aa918dd8a
Change-Id: I03ea78fcc5825e