diff options
| author | Kaifeng Wang <kaifeng.w@gmail.com> | 2020-01-06 19:15:58 +0800 |
|---|---|---|
| committer | Kaifeng Wang <kaifeng.w@gmail.com> | 2021-01-15 16:13:52 +0800 |
| commit | 6072e2d65a45a0633d64f6ec9d39ec19b7e066ad (patch) | |
| tree | 56d57a2731a9265d037668d1ccd642936b4f3af3 /ironic_python_agent/utils.py | |
| parent | 8d5862d8b2ea9123807042e44e4263a5196b68e7 (diff) | |
| download | ironic-python-agent-6072e2d65a45a0633d64f6ec9d39ec19b7e066ad.tar.gz | |
Remove lldp-timeout support
The kernel parameter lldp-timeout was deprecated removed in this patch.
Change-Id: I98da49e61d9ed3236cc495d1ab351eba0931473b
Diffstat (limited to 'ironic_python_agent/utils.py')
| -rw-r--r-- | ironic_python_agent/utils.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ironic_python_agent/utils.py b/ironic_python_agent/utils.py index a897210e..a8712a6a 100644 --- a/ironic_python_agent/utils.py +++ b/ironic_python_agent/utils.py @@ -302,13 +302,6 @@ def get_agent_params(): # Cache the parameters so that it can be used later on. _set_cached_params(params) - # Check to see if any deprecated parameters have been used - deprecated_params = {'lldp-timeout': 'ipa-lldp-timeout'} - for old_param, new_param in deprecated_params.items(): - if params.get(old_param) is not None: - LOG.warning("The parameter '%s' has been deprecated. Please " - "use %s instead.", old_param, new_param) - return copy.deepcopy(params) |
