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