Drop deprecation warning for OpenDaylight support

ODL support was deprecared since Stein. It was removed in Ussuri and
the removal was backported to Train. Thus we don't expect any users
using that removed service with recent version >=Train.

Change-Id: Id1199f8b6abe852877da722b917f30f770043422
This commit is contained in:
Takashi Kajinami 2021-03-15 17:49:53 +09:00
parent 92b12c7213
commit bb9ba5db2c
2 changed files with 1 additions and 12 deletions

View File

@ -178,14 +178,7 @@ DEPLOY_ANSIBLE_ACTIONS = {
}
# Key-value pair of deprecated service and its warning message
DEPRECATED_SERVICES = {"OS::TripleO::Services::OpenDaylightApi":
"You are using OpenDaylight as your networking"
" driver for OpenStack. OpenDaylight is deprecated"
" starting from Rocky and removed since Stein and "
"there is no upgrade or migration path from "
"OpenDaylight to another networking backend. We "
"recommend you understand other networking "
"alternatives such as OVS or OVN. "}
DEPRECATED_SERVICES = {}
# clouds_yaml related constants
CLOUD_HOME_DIR = os.path.expanduser('~' + os.environ.get('SUDO_USER', ''))

View File

@ -2347,10 +2347,6 @@ def check_file_for_enabled_service(env_file):
enabled, throw a warning about its deprecation and ask the user
whether to proceed with deployment despite deprecation.
For ODL as an example:
If "OS::TripleO::Services::OpenDaylightApi" service is included
in any of the parsed env_files, then check its value.
OS::TripleO::Services::OpenDaylightApi NOT OS::Heat::None
ODL is enabled.
:param env_file: The path of the environment file
:type env_file: String