remove panos_security_policy (#34433)

* remove panos_security_policy

* added depreciation notice

* - deprecation notice

* properly document deprecated module

* merge changes

* merge changes

* parser expects srt for deprecations attributes
pull/30005/merge
Ivan Bojer 7 years ago committed by John R Barker
parent e59d3dd524
commit 9ddf8b8ee5

@ -39,6 +39,7 @@ Ansible Changes By Release
* nxos_portchannel module is deprecated in Ansible 2.5. Use nxos_linkagg module instead. * nxos_portchannel module is deprecated in Ansible 2.5. Use nxos_linkagg module instead.
* nxos_switchport module is deprecated in Ansible 2.5. Use nxos_l2_interface module instead. * nxos_switchport module is deprecated in Ansible 2.5. Use nxos_l2_interface module instead.
* ec2_ami_find has been deprecated, use ec2_ami_facts. * ec2_ami_find has been deprecated, use ec2_ami_facts.
* panos_security_policy: Use panos_security_rule - the old module uses deprecated API calls
See [Porting Guide](http://docs.ansible.com/ansible/devel/porting_guides.html) for more information See [Porting Guide](http://docs.ansible.com/ansible/devel/porting_guides.html) for more information
@ -72,6 +73,7 @@ See [Porting Guide](http://docs.ansible.com/ansible/devel/porting_guides.html) f
* ec2_vpc. * ec2_vpc.
* ec2_ami_search, use ec2_ami_facts instead. * 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. * nxos_mtu, use nxos_system's `system_mtu` option. To specify an interfaces MTU use nxos_interface.
https://github.com/ansible/ansible/issues/29387
### New Plugins ### New Plugins

@ -140,6 +140,7 @@ The following modules will be removed in Ansible 2.9. Please update update your
* :ref:`nxos_ip_interface <nxos_ip_interface>` use :ref:`nxos_l3_interface <nxos_l3_interface>` instead. * :ref:`nxos_ip_interface <nxos_ip_interface>` use :ref:`nxos_l3_interface <nxos_l3_interface>` instead.
* :ref:`nxos_portchannel <nxos_portchannel>` use :ref:`nxos_linkagg <nxos_linkagg>` instead. * :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:`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.
Noteworthy module changes Noteworthy module changes
------------------------- -------------------------

@ -36,9 +36,9 @@ description:
author: "Ivan Bojer (@ivanbojer)" author: "Ivan Bojer (@ivanbojer)"
version_added: "2.3" version_added: "2.3"
deprecated: deprecated:
removed_in: "2.8"
why: Renamed to M(panos_security_rule) in order to align with API calls and UI object references, which also has extra support for PanDevice SDK.
alternative: Use M(panos_security_rule) instead. alternative: Use M(panos_security_rule) instead.
removed_in: '2.9'
why: This module depended on outdated and old SDK. In 2.4 use M(panos_security_rule) instead.
requirements: requirements:
- pan-python can be obtained from PyPi U(https://pypi.python.org/pypi/pan-python) - pan-python can be obtained from PyPi U(https://pypi.python.org/pypi/pan-python)
- pandevice can be obtained from PyPi U(https://pypi.python.org/pypi/pandevice) - pandevice can be obtained from PyPi U(https://pypi.python.org/pypi/pandevice)

Loading…
Cancel
Save