1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

removed panos_nat_policy (#34432)

* removed panos_nat_policy

* merge

* removed extra line
This commit is contained in:
Ivan Bojer 2018-02-03 03:35:17 -08:00 committed by John R Barker
parent fb545b72c3
commit 196f2f382b
3 changed files with 9 additions and 9 deletions

View file

@ -74,7 +74,7 @@ See [Porting Guide](http://docs.ansible.com/ansible/devel/porting_guides.html) f
* ec2_vpc.
* ec2_ami_search, use ec2_ami_facts instead.
* nxos_mtu, use nxos_system's `system_mtu` option. To specify an interfaces MTU use nxos_interface.
https://github.com/ansible/ansible/issues/29387
* panos_nat_policy: Use panos_nat_rule the old module uses deprecated API calls
### New Plugins

View file

@ -141,6 +141,7 @@ The following modules will be removed in Ansible 2.9. Please update update your
* :ref:`nxos_portchannel <nxos_portchannel>` use :ref:`nxos_linkagg <nxos_linkagg>` instead.
* :ref:`nxos_switchport <nxos_switchport>` use :ref:`nxos_l2_interface <nxos_l2_interface>` instead.
* :ref:`panos_security_policy <panos_security_policy>` use :ref:`panos_security_rule <panos_security_rule>` instead.
* :ref:`panos_nat_policy <panos_nat_policy>` use :ref:`panos_nat_rule <panos_nat_rule>` instead.
* :ref:`vsphere_guest <vsphere_guest>` use :ref:`vmware_guest <vmware_guest>` instead.
Noteworthy module changes

View file

@ -19,6 +19,10 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['deprecated'],
'supported_by': 'community'}
DOCUMENTATION = '''
---
module: panos_nat_policy
@ -31,9 +35,9 @@ version_added: "2.3"
requirements:
- pan-python
deprecated:
removed_in: "2.8"
why: M(panos_nat_rule) uses next generation SDK (PanDevice).
alternative: Use M(panos_nat_rule) instead.
alternative: Use M(panos_nat_rule) instead.
removed_in: '2.9'
why: This module depended on outdated and old SDK, use M(panos_nat_rule) instead.
options:
ip_address:
description:
@ -145,11 +149,6 @@ RETURN = '''
# Default return values
'''
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['deprecated'],
'supported_by': 'community'}
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.basic import get_exception