From 177dcadbc0c8208746aa1d1707deb904f4b16c6f Mon Sep 17 00:00:00 2001 From: John R Barker Date: Wed, 28 Sep 2016 16:52:48 +0100 Subject: [PATCH] deprecated _template network modules: Rename in modules-core (#5072) --- .../modules/network/eos/{eos_template.py => _eos_template.py} | 1 + .../modules/network/ios/{ios_template.py => _ios_template.py} | 1 + .../network/iosxr/{iosxr_template.py => _iosxr_template.py} | 1 + .../network/junos/{junos_template.py => _junos_template.py} | 1 + .../modules/network/nxos/{nxos_template.py => _nxos_template.py} | 1 + .../network/openswitch/{ops_template.py => _ops_template.py} | 1 + 6 files changed, 6 insertions(+) rename lib/ansible/modules/network/eos/{eos_template.py => _eos_template.py} (99%) rename lib/ansible/modules/network/ios/{ios_template.py => _ios_template.py} (99%) rename lib/ansible/modules/network/iosxr/{iosxr_template.py => _iosxr_template.py} (98%) rename lib/ansible/modules/network/junos/{junos_template.py => _junos_template.py} (98%) rename lib/ansible/modules/network/nxos/{nxos_template.py => _nxos_template.py} (99%) rename lib/ansible/modules/network/openswitch/{ops_template.py => _ops_template.py} (99%) diff --git a/lib/ansible/modules/network/eos/eos_template.py b/lib/ansible/modules/network/eos/_eos_template.py similarity index 99% rename from lib/ansible/modules/network/eos/eos_template.py rename to lib/ansible/modules/network/eos/_eos_template.py index a5d0f38c93c..d546b0c98ff 100644 --- a/lib/ansible/modules/network/eos/eos_template.py +++ b/lib/ansible/modules/network/eos/_eos_template.py @@ -28,6 +28,7 @@ description: by evaluating the current running-config and only pushing configuration commands that are not already configured. The config source can be a set of commands or a template. +deprecated: Deprecated in 2.2. Use eos_config instead extends_documentation_fragment: eos options: src: diff --git a/lib/ansible/modules/network/ios/ios_template.py b/lib/ansible/modules/network/ios/_ios_template.py similarity index 99% rename from lib/ansible/modules/network/ios/ios_template.py rename to lib/ansible/modules/network/ios/_ios_template.py index 90b9554e8a3..5791dfbf170 100644 --- a/lib/ansible/modules/network/ios/ios_template.py +++ b/lib/ansible/modules/network/ios/_ios_template.py @@ -28,6 +28,7 @@ description: by evaluating the current running-config and only pushing configuration commands that are not already configured. The config source can be a set of commands or a template. +deprecated: Deprecated in 2.2. Use eos_config instead extends_documentation_fragment: ios options: src: diff --git a/lib/ansible/modules/network/iosxr/iosxr_template.py b/lib/ansible/modules/network/iosxr/_iosxr_template.py similarity index 98% rename from lib/ansible/modules/network/iosxr/iosxr_template.py rename to lib/ansible/modules/network/iosxr/_iosxr_template.py index 55a98fc2c57..79ddaa42600 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_template.py +++ b/lib/ansible/modules/network/iosxr/_iosxr_template.py @@ -28,6 +28,7 @@ description: by evaluating the current running-config and only pushing configuration commands that are not already configured. The config source can be a set of commands or a template. +deprecated: Deprecated in 2.2. Use eos_config instead extends_documentation_fragment: iosxr options: src: diff --git a/lib/ansible/modules/network/junos/junos_template.py b/lib/ansible/modules/network/junos/_junos_template.py similarity index 98% rename from lib/ansible/modules/network/junos/junos_template.py rename to lib/ansible/modules/network/junos/_junos_template.py index ec242a63d0b..30dac995787 100644 --- a/lib/ansible/modules/network/junos/junos_template.py +++ b/lib/ansible/modules/network/junos/_junos_template.py @@ -27,6 +27,7 @@ description: from a template file onto a remote device running Junos. The module will return the differences in configuration if the diff option is specified on the Ansible command line +deprecated: Deprecated in 2.2. Use eos_config instead extends_documentation_fragment: junos options: src: diff --git a/lib/ansible/modules/network/nxos/nxos_template.py b/lib/ansible/modules/network/nxos/_nxos_template.py similarity index 99% rename from lib/ansible/modules/network/nxos/nxos_template.py rename to lib/ansible/modules/network/nxos/_nxos_template.py index c8cc638f189..d8c8caf974b 100644 --- a/lib/ansible/modules/network/nxos/nxos_template.py +++ b/lib/ansible/modules/network/nxos/_nxos_template.py @@ -28,6 +28,7 @@ description: by evaluating the current running-config and only pushing configuration commands that are not already configured. The config source can be a set of commands or a template. +deprecated: Deprecated in 2.2. Use eos_config instead extends_documentation_fragment: nxos options: src: diff --git a/lib/ansible/modules/network/openswitch/ops_template.py b/lib/ansible/modules/network/openswitch/_ops_template.py similarity index 99% rename from lib/ansible/modules/network/openswitch/ops_template.py rename to lib/ansible/modules/network/openswitch/_ops_template.py index a47abda3a5e..2fb21c263ac 100644 --- a/lib/ansible/modules/network/openswitch/ops_template.py +++ b/lib/ansible/modules/network/openswitch/_ops_template.py @@ -28,6 +28,7 @@ description: against a provided candidate configuration. If there are changes, the candidate configuration is merged with the current configuration and pushed into OpenSwitch +deprecated: Deprecated in 2.2. Use eos_config instead extends_documentation_fragment: openswitch options: src: