neutron-dynamic-routing/neutron_dynamic_routing/tests/unit/services/bgp
Aggelos Kolaitis 43f50d5d9b
Fix TypeError when formatting BGP IP address.
floating_ip_address may be a netaddr.IPAddress, and using '+'
to append the /32 suffix raises a TypeError. Explicitly convert to
string before appending the suffix.

Additionally, introduce a unit test case for floatingip_update_callback
to test that the error does not re-appear.

Closes-Bug: #1924237
Signed-off-by: Aggelos Kolaitis <akolaitis@admin.grnet.gr>
Change-Id: I98d266fb986649f1d14969c968baa2f93b469f73
2021-04-15 21:02:15 +03:00
..
agent Use unittest.mock instead of third party mock 2020-05-13 07:02:49 -05:00
driver Remove usage of six 2020-05-27 06:58:27 -04:00
scheduler Use unittest.mock instead of third party mock 2020-05-13 07:02:49 -05:00
__init__.py Move BGP service plugin, agent, and tests out of Neutron repo 2016-05-16 12:22:24 +00:00
test_bgp_plugin.py Fix TypeError when formatting BGP IP address. 2021-04-15 21:02:15 +03:00