New in version 2.3.
- pan-python can be obtained from PyPi https://pypi.python.org/pypi/pan-python
parameter | required | default | choices | comments |
---|---|---|---|---|
address |
yes | None | IP address with or without mask, range, or FQDN. | |
address_name |
yes | None | Human readable name of the address. | |
commit |
no | True | Commit configuration to the Firewall if it is changed. | |
description |
no | None | Description of the address object. | |
ip_address |
yes | IP address (or hostname) of PAN-OS device being configured. | ||
password |
yes | Password credentials to use for authentication. | ||
tag |
no | None | Tag of the address object. | |
type |
no | ip-nemask |
|
This is the type of the object created. |
username |
no | admin | Username credentials to use for authentication. |
- name: create IP-Netmask Object panos_address: ip_address: "192.168.1.1" password: 'admin' address_name: 'google_dns' address: '8.8.8.8/32' description: 'Google DNS' tag: 'Outbound' commit: False - name: create IP-Range Object panos_address: ip_address: "192.168.1.1" password: 'admin' type: 'ip-range' address_name: 'apple-range' address: '17.0.0.0-17.255.255.255' commit: False - name: create FQDN Object panos_address: ip_address: "192.168.1.1" password: 'admin' type: 'fqdn' address_name: 'google.com' address: 'www.google.com'
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.