Merge "Remove deprecated network_api_class option"
This commit is contained in:
commit
27db3d412b
@ -1093,10 +1093,7 @@ def is_neutron():
|
|||||||
if _IS_NEUTRON is not None:
|
if _IS_NEUTRON is not None:
|
||||||
return _IS_NEUTRON
|
return _IS_NEUTRON
|
||||||
|
|
||||||
# TODO(sdague): As long as network_api_class is importable
|
_IS_NEUTRON = nova.network.is_neutron()
|
||||||
# is_neutron can return None to mean we have no idea what their
|
|
||||||
# class is.
|
|
||||||
_IS_NEUTRON = (nova.network.is_neutron() is True)
|
|
||||||
return _IS_NEUTRON
|
return _IS_NEUTRON
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user