Deprecated version should be an explicit version number (#44593)
This commit is contained in:
parent
1fd6821db0
commit
2787bda0fa
6 changed files with 6 additions and 6 deletions
|
@ -235,7 +235,7 @@ def main():
|
|||
config_object = None
|
||||
if is_cliconf(module):
|
||||
module.deprecate(msg="cli support for 'iosxr_banner' is deprecated. Use transport netconf instead",
|
||||
version="4 releases from v2.5")
|
||||
version="2.9")
|
||||
config_object = CliConfiguration(module)
|
||||
elif is_netconf(module):
|
||||
config_object = NCConfiguration(module)
|
||||
|
|
|
@ -634,7 +634,7 @@ def main():
|
|||
config_object = None
|
||||
if is_cliconf(module):
|
||||
module.deprecate("cli support for 'iosxr_interface' is deprecated. Use transport netconf instead",
|
||||
version='4 releases from v2.5')
|
||||
version='2.9')
|
||||
config_object = CliConfiguration(module)
|
||||
elif is_netconf(module):
|
||||
if module.params['active'] == 'preconfigure':
|
||||
|
|
|
@ -712,7 +712,7 @@ def main():
|
|||
config_object = None
|
||||
if is_cliconf(module):
|
||||
module.deprecate(msg="cli support for 'iosxr_logging' is deprecated. Use transport netconf instead",
|
||||
version="4 releases from v2.5")
|
||||
version="2.9")
|
||||
config_object = CliConfiguration(module)
|
||||
elif is_netconf(module):
|
||||
config_object = NCConfiguration(module)
|
||||
|
|
|
@ -574,7 +574,7 @@ def main():
|
|||
config_object = None
|
||||
if is_cliconf(module):
|
||||
module.deprecate(msg="cli support for 'iosxr_system' is deprecated. Use transport netconf instead",
|
||||
version="4 releases from v2.5")
|
||||
version="2.9")
|
||||
config_object = CliConfiguration(module)
|
||||
elif is_netconf(module):
|
||||
config_object = NCConfiguration(module)
|
||||
|
|
|
@ -689,7 +689,7 @@ def main():
|
|||
config_object = None
|
||||
if is_cliconf(module):
|
||||
module.deprecate(msg="cli support for 'iosxr_user' is deprecated. Use transport netconf instead",
|
||||
version="4 releases from v2.5")
|
||||
version="2.9")
|
||||
config_object = CliConfiguration(module, result)
|
||||
elif is_netconf(module):
|
||||
config_object = NCConfiguration(module, result)
|
||||
|
|
|
@ -263,7 +263,7 @@ def main():
|
|||
|
||||
if module.params['src']:
|
||||
module.deprecate(msg="argument 'src' has been deprecated. Use file lookup plugin instead to read file contents.",
|
||||
version="4 releases from v2.7")
|
||||
version="2.11")
|
||||
|
||||
config = module.params['content'] or module.params['src']
|
||||
target = module.params['target']
|
||||
|
|
Loading…
Reference in a new issue