ovn: Add functional tests for get_network_port_bindings_by_ip
The change I708904b982d243359f2eeda809beae0321f1a7db lacked tests for
unbounds port with the same IP. This patch adds simple test that creates
2 LSPs on the same LS with the same IP and one is unbound. Such setup
should return only the bound port.
Related-bug: #1922934
Change-Id: I71659a1c846852f9cb9bedba23c946438357b079
Signed-off-by: Jakub Libosvar <email address hidden>
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/787586 /opendev. org/openstack/ neutron/ commit/ 1a3fa2206db3c94 85db84ade3d5cc1 79bc1c22ce
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1a3fa2206db3c94 85db84ade3d5cc1 79bc1c22ce
Author: Jakub Libosvar <email address hidden>
Date: Thu Apr 22 15:26:12 2021 +0000
ovn: Add functional tests for get_network_ port_bindings_ by_ip
The change I708904b982d243 359f2eeda809bea e0321f1a7db lacked tests for
unbounds port with the same IP. This patch adds simple test that creates
2 LSPs on the same LS with the same IP and one is unbound. Such setup
should return only the bound port.
Related-bug: #1922934 f9cb9bedba23c94 6438357b079
Change-Id: I71659a1c846852
Signed-off-by: Jakub Libosvar <email address hidden>