Remove support of nova-network

Since nova network feature is deprecated long time ago and was used
when neutron service is not enabled then nova lists the network and
set the compute.fixed_network_name in tempest.conf.

Since now networking is taken care by neutron, so it is no longer
needed.

nova network related client code is also removed.

Change-Id: I47c791e9257e262f6ac17fffaa2b4af6273a168e
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah)
2020-01-16 18:08:35 +05:30
parent 4410537ebe
commit b4c1b01855
5 changed files with 11 additions and 50 deletions

View File

@@ -544,13 +544,9 @@ def config_tempest(**kwargs):
False))
image.create_tempest_images(conf)
# FIXME(chkumar246): Remove dead code of nova_network
# as it is deprecated long time ago.
has_neutron = services.is_service(**{"type": "network"})
if has_neutron:
if services.is_service(**{"type": "network"}):
network = services.get_service("network")
network.create_tempest_networks(has_neutron, conf,
kwargs.get('network_id'))
network.create_tempest_networks(conf, kwargs.get('network_id'))
services.post_configuration()
services.set_supported_api_versions()