Deprecate usage of neutron-client in kuryr-kubernetes.
Recently, we switched almost all drivers and handlers within kuryr-kubernetes to use OpenStackSDK client instead of neutron client. In this change we propose to deprecate further usage of neutron client in favor od openstacksdk-client. Change-Id: Iea6c4c8a9181f3e2987fc28718c52fe1b230b931
This commit is contained in:
parent
911d65fea7
commit
6714f214b1
|
@ -16,6 +16,7 @@
|
|||
from functools import partial
|
||||
import os
|
||||
|
||||
from debtcollector import removals
|
||||
from kuryr.lib import utils
|
||||
from openstack import connection
|
||||
from openstack import exceptions as os_exc
|
||||
|
@ -38,6 +39,7 @@ def get_network_client():
|
|||
return _clients[_OPENSTACKSDK].network
|
||||
|
||||
|
||||
@removals.remove
|
||||
def get_neutron_client():
|
||||
return _clients[_NEUTRON_CLIENT]
|
||||
|
||||
|
|
Loading…
Reference in New Issue