diff --git a/.github/workflows/galaxy-publish.yml b/.github/workflows/galaxy-publish.yml index afb78dee3..ba4e90ca5 100644 --- a/.github/workflows/galaxy-publish.yml +++ b/.github/workflows/galaxy-publish.yml @@ -4,7 +4,6 @@ on: release: types: - published - - created jobs: build: @@ -27,4 +26,4 @@ jobs: env: GALAXY_API_KEY: ${{ secrets.GALAXY_API_KEY }} run: | - ansible-galaxy collection publish --api-key ${GALAXY_API_KEY} Palo* + ansible-galaxy collection publish --api-key ${GALAXY_API_KEY} palo* diff --git a/.github/workflows/syntax-check.yml b/.github/workflows/syntax-check.yml index 4a3229789..70073e1b2 100644 --- a/.github/workflows/syntax-check.yml +++ b/.github/workflows/syntax-check.yml @@ -22,10 +22,17 @@ jobs: run: | pip install ansible ansible-galaxy collection build - ansible-galaxy collection install PaloAltoNetworks* + ansible-galaxy collection install paloaltonetworks* - name: Perform Syntax Check run: | find ./plugins -name \*.py -exec pycodestyle --max-line-length=120 --ignore=E402,E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505 {} + + - name: Verify documentation can be built + run: | + for i in $(ls -1 plugins/modules | grep -v init) + do + echo "Checking $i..." + ansible-doc -M plugins/modules $i > /dev/null + done - name: Run unittests run: | pip install pytest diff --git a/galaxy.yml b/galaxy.yml index 0aac7ad41..ede9f8ea7 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -3,13 +3,13 @@ # The namespace of the collection. This can be a company/brand/organization or product namespace under which all # content lives. May only contain alphanumeric characters and underscores. Additionally namespaces cannot start with # underscores or numbers and cannot contain consecutive underscores -namespace: 'PaloAltoNetworks' +namespace: 'paloaltonetworks' # The name of the collection. Has the same character restrictions as 'namespace' name: 'panos' # The version of the collection. Must be compatible with semantic versioning -version: '1.0.0' +version: '1.0.1' # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: 'README.md' diff --git a/plugins/doc_fragments/panos.py b/plugins/doc_fragments/fragments.py similarity index 96% rename from plugins/doc_fragments/panos.py rename to plugins/doc_fragments/fragments.py index 0ba517034..6e0d74241 100644 --- a/plugins/doc_fragments/panos.py +++ b/plugins/doc_fragments/fragments.py @@ -164,6 +164,20 @@ class ModuleDocFragment(object): - absent ''' + ENABLED_STATE = r''' +options: + state: + description: + - The state. + type: str + default: present + choices: + - present + - absent + - enabled + - disabled +''' + RULEBASE = r''' options: rulebase: diff --git a/plugins/modules/panos_address_group.py b/plugins/modules/panos_address_group.py index 23e346113..5e387e020 100644 --- a/plugins/modules/panos_address_group.py +++ b/plugins/modules/panos_address_group.py @@ -39,10 +39,10 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys - - panos.device_group - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.state options: name: description: @@ -98,7 +98,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_address_object.py b/plugins/modules/panos_address_object.py index f6073078e..686d1d802 100644 --- a/plugins/modules/panos_address_object.py +++ b/plugins/modules/panos_address_object.py @@ -39,10 +39,10 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys - - panos.device_group - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.state options: name: description: @@ -111,7 +111,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.objects import AddressObject diff --git a/plugins/modules/panos_administrator.py b/plugins/modules/panos_administrator.py index 1d37435db..e1ec892bc 100755 --- a/plugins/modules/panos_administrator.py +++ b/plugins/modules/panos_administrator.py @@ -42,9 +42,9 @@ I(state=present) with I(admin_password) specified will always report I(changed=True) in the return value. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: admin_username: description: @@ -135,7 +135,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_aggregate_interface.py b/plugins/modules/panos_aggregate_interface.py index acb8f7d8a..bd4ce41cb 100644 --- a/plugins/modules/panos_aggregate_interface.py +++ b/plugins/modules/panos_aggregate_interface.py @@ -31,10 +31,10 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_import - - panos.template_only - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.template_only + - paloaltonetworks.panos.fragments.state options: if_name: description: @@ -73,11 +73,11 @@ - Netflow profile for aggregate interface. lldp_enabled: description: - - Layer2: Enable LLDP + - (Layer2) Enable LLDP type: bool lldp_profile: description: - - Layer2: Reference to an lldp profile + - (Layer2) Reference to an lldp profile comment: description: - Interface comment. @@ -133,7 +133,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_api_key.py b/plugins/modules/panos_api_key.py index f0a7399ce..810971ff1 100644 --- a/plugins/modules/panos_api_key.py +++ b/plugins/modules/panos_api_key.py @@ -39,7 +39,7 @@ - Panorama is supported. - Checkmode is NOT supported. extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider ''' EXAMPLES = ''' @@ -65,7 +65,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection def main(): diff --git a/plugins/modules/panos_bgp.py b/plugins/modules/panos_bgp.py index 322e8652d..b86ce3d1a 100644 --- a/plugins/modules/panos_bgp.py +++ b/plugins/modules/panos_bgp.py @@ -40,22 +40,14 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.enabled_state options: commit: description: - Commit configuration if changed. default: true - state: - description: - - The state. - choices: - - present - - absent - - enabled - - disabled - default: 'present' enable: description: - Enable BGP. @@ -146,7 +138,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_bgp_aggregate.py b/plugins/modules/panos_bgp_aggregate.py index ed5608d99..617f7483e 100644 --- a/plugins/modules/panos_bgp_aggregate.py +++ b/plugins/modules/panos_bgp_aggregate.py @@ -40,9 +40,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: commit: description: @@ -157,7 +157,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_bgp_auth.py b/plugins/modules/panos_bgp_auth.py index d4f10112d..642517b1b 100644 --- a/plugins/modules/panos_bgp_auth.py +++ b/plugins/modules/panos_bgp_auth.py @@ -43,9 +43,9 @@ if the secret is properly set or not. Invoking this module with I(state=present) will always apply the config to PAN-OS. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: commit: description: @@ -87,7 +87,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_bgp_conditional_advertisement.py b/plugins/modules/panos_bgp_conditional_advertisement.py index 4e3585010..f6f97bbef 100644 --- a/plugins/modules/panos_bgp_conditional_advertisement.py +++ b/plugins/modules/panos_bgp_conditional_advertisement.py @@ -49,9 +49,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.state options: commit: description: @@ -105,7 +105,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_bgp_dampening.py b/plugins/modules/panos_bgp_dampening.py index ef2bf6d1c..6f2d943a9 100644 --- a/plugins/modules/panos_bgp_dampening.py +++ b/plugins/modules/panos_bgp_dampening.py @@ -40,9 +40,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.state options: commit: description: @@ -98,7 +98,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_bgp_peer.py b/plugins/modules/panos_bgp_peer.py index a1231e456..443ea542f 100644 --- a/plugins/modules/panos_bgp_peer.py +++ b/plugins/modules/panos_bgp_peer.py @@ -40,9 +40,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.state options: commit: description: @@ -183,7 +183,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_bgp_peer_group.py b/plugins/modules/panos_bgp_peer_group.py index c61a894cb..57240d9f5 100644 --- a/plugins/modules/panos_bgp_peer_group.py +++ b/plugins/modules/panos_bgp_peer_group.py @@ -40,9 +40,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: commit: description: @@ -115,7 +115,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_bgp_policy_filter.py b/plugins/modules/panos_bgp_policy_filter.py index 84d0f59e8..a807bdb40 100644 --- a/plugins/modules/panos_bgp_policy_filter.py +++ b/plugins/modules/panos_bgp_policy_filter.py @@ -40,8 +40,8 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support options: state: description: @@ -149,7 +149,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection from ansible.module_utils._text import to_text diff --git a/plugins/modules/panos_bgp_policy_rule.py b/plugins/modules/panos_bgp_policy_rule.py index 2c2261293..eb2b60acb 100644 --- a/plugins/modules/panos_bgp_policy_rule.py +++ b/plugins/modules/panos_bgp_policy_rule.py @@ -40,9 +40,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.state options: type: description: @@ -225,7 +225,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection from ansible.module_utils._text import to_text diff --git a/plugins/modules/panos_bgp_redistribute.py b/plugins/modules/panos_bgp_redistribute.py index 7de8f1439..fb8c5edd4 100644 --- a/plugins/modules/panos_bgp_redistribute.py +++ b/plugins/modules/panos_bgp_redistribute.py @@ -40,9 +40,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: commit: description: @@ -129,7 +129,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_check.py b/plugins/modules/panos_check.py index fb9d4fe43..1bbaf46c8 100755 --- a/plugins/modules/panos_check.py +++ b/plugins/modules/panos_check.py @@ -34,7 +34,7 @@ - Panorama is supported. - Checkmode is not supported. extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider options: initial_delay: description: @@ -80,7 +80,7 @@ import time from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_commit.py b/plugins/modules/panos_commit.py index a4e197b4a..208592a19 100644 --- a/plugins/modules/panos_commit.py +++ b/plugins/modules/panos_commit.py @@ -37,8 +37,8 @@ - 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) extends_documentation_fragment: - - panos.transitional_provider - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.device_group options: include_template: description: @@ -78,7 +78,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection def main(): diff --git a/plugins/modules/panos_email_profile.py b/plugins/modules/panos_email_profile.py index b9dedb9a9..6c119bc69 100644 --- a/plugins/modules/panos_email_profile.py +++ b/plugins/modules/panos_email_profile.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: name: description: @@ -117,7 +117,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_email_server.py b/plugins/modules/panos_email_server.py index 30e0004d6..1eeb65d6e 100644 --- a/plugins/modules/panos_email_server.py +++ b/plugins/modules/panos_email_server.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: email_profile: description: @@ -83,7 +83,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_facts.py b/plugins/modules/panos_facts.py index 039fed8dd..a8545690a 100644 --- a/plugins/modules/panos_facts.py +++ b/plugins/modules/panos_facts.py @@ -30,7 +30,7 @@ - pan-python version_added: 2.8 extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider options: host: description: @@ -233,7 +233,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection from ansible.module_utils.six import iteritems diff --git a/plugins/modules/panos_gre_tunnel.py b/plugins/modules/panos_gre_tunnel.py index 4e7410dd0..986d33f49 100644 --- a/plugins/modules/panos_gre_tunnel.py +++ b/plugins/modules/panos_gre_tunnel.py @@ -39,9 +39,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.state options: name: description: @@ -117,7 +117,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.network import GreTunnel diff --git a/plugins/modules/panos_ha.py b/plugins/modules/panos_ha.py index 22e51be76..5c7a33b8a 100644 --- a/plugins/modules/panos_ha.py +++ b/plugins/modules/panos_ha.py @@ -43,10 +43,10 @@ - pandevice can be obtained from PyPI U(https://pypi.python.org/pypi/pandevice) - currently requires specific pandevice release 0.13 extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.full_template_support notes: - Checkmode is supported. - Panorama is supported. @@ -234,7 +234,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_http_profile.py b/plugins/modules/panos_http_profile.py index 32df27b4f..12fad40c9 100644 --- a/plugins/modules/panos_http_profile.py +++ b/plugins/modules/panos_http_profile.py @@ -38,9 +38,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: name: description: @@ -199,7 +199,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_http_profile_header.py b/plugins/modules/panos_http_profile_header.py index be59d5d5f..b068357a1 100644 --- a/plugins/modules/panos_http_profile_header.py +++ b/plugins/modules/panos_http_profile_header.py @@ -38,9 +38,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: http_profile: description: @@ -89,7 +89,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_http_profile_param.py b/plugins/modules/panos_http_profile_param.py index ce4ac7b63..322a03cdf 100644 --- a/plugins/modules/panos_http_profile_param.py +++ b/plugins/modules/panos_http_profile_param.py @@ -38,9 +38,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: http_profile: description: @@ -89,7 +89,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_http_server.py b/plugins/modules/panos_http_server.py index 58a86f56f..cac6af991 100644 --- a/plugins/modules/panos_http_server.py +++ b/plugins/modules/panos_http_server.py @@ -38,9 +38,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: http_profile: description: @@ -107,7 +107,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_ike_crypto_profile.py b/plugins/modules/panos_ike_crypto_profile.py index e3e054808..7782e2cc6 100644 --- a/plugins/modules/panos_ike_crypto_profile.py +++ b/plugins/modules/panos_ike_crypto_profile.py @@ -39,9 +39,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: name: description: @@ -100,7 +100,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.network import IkeCryptoProfile diff --git a/plugins/modules/panos_ike_gateway.py b/plugins/modules/panos_ike_gateway.py index 4ee061ca4..d068ad50a 100644 --- a/plugins/modules/panos_ike_gateway.py +++ b/plugins/modules/panos_ike_gateway.py @@ -40,9 +40,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: name: description: @@ -195,7 +195,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.network import IkeGateway diff --git a/plugins/modules/panos_interface.py b/plugins/modules/panos_interface.py index 6bcfec64d..60771435b 100644 --- a/plugins/modules/panos_interface.py +++ b/plugins/modules/panos_interface.py @@ -35,10 +35,10 @@ - If the PAN-OS device is a firewall and I(vsys) is not specified, then the vsys will default to I(vsys=vsys1). extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.template_only + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.template_only options: if_name: description: @@ -198,7 +198,7 @@ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import get_exception -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_ipsec_ipv4_proxyid.py b/plugins/modules/panos_ipsec_ipv4_proxyid.py index 08e2df531..0e678c876 100644 --- a/plugins/modules/panos_ipsec_ipv4_proxyid.py +++ b/plugins/modules/panos_ipsec_ipv4_proxyid.py @@ -27,6 +27,8 @@ --- module: panos_ipsec_ipv4_proxyid short_description: Configures IPv4 Proxy Id on an IPSec Tunnel +description: + - Configures IPv4 Proxy Id on an IPSec tunnel author: "Heiko Burghardt (@odysseus107)" version_added: "2.8" requirements: @@ -36,9 +38,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: name: description: @@ -63,23 +65,23 @@ type: bool number_proto: description: - - Numbered Protocol: protocol number (1-254) + - Numbered Protocol; protocol number (1-254) type: int tcp_local_port: description: - - Protocol TCP: local port + - (Protocol TCP) local port type: int tcp_remote_port: description: - - Protocol TCP: remote port + - (Protocol TCP) remote port type: int udp_local_port: description: - Protocol UDP: local port + - (Protocol UDP) local port type: int udp_remote_port: description: - - Protocol UDP: remote port + - (Protocol UDP) remote port type: int commit: description: @@ -104,7 +106,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.network import IpsecTunnel diff --git a/plugins/modules/panos_ipsec_profile.py b/plugins/modules/panos_ipsec_profile.py index 7091379bd..f4ef71bfa 100644 --- a/plugins/modules/panos_ipsec_profile.py +++ b/plugins/modules/panos_ipsec_profile.py @@ -39,9 +39,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: name: description: @@ -115,7 +115,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.network import IpsecCryptoProfile diff --git a/plugins/modules/panos_ipsec_tunnel.py b/plugins/modules/panos_ipsec_tunnel.py index 9aade0274..35814bb02 100644 --- a/plugins/modules/panos_ipsec_tunnel.py +++ b/plugins/modules/panos_ipsec_tunnel.py @@ -39,9 +39,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: name: description: @@ -201,7 +201,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.network import IpsecTunnel diff --git a/plugins/modules/panos_l2_subinterface.py b/plugins/modules/panos_l2_subinterface.py index 5e2e3a7c2..dc77990b5 100644 --- a/plugins/modules/panos_l2_subinterface.py +++ b/plugins/modules/panos_l2_subinterface.py @@ -32,10 +32,10 @@ - If the PAN-OS device is a firewall and I(vsys) is not specified, then the vsys will default to I(vsys=vsys1). extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.template_only + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.template_only options: name: description: @@ -89,7 +89,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_l3_subinterface.py b/plugins/modules/panos_l3_subinterface.py index 2697bf7dd..8bfcfabd7 100644 --- a/plugins/modules/panos_l3_subinterface.py +++ b/plugins/modules/panos_l3_subinterface.py @@ -32,10 +32,10 @@ - If the PAN-OS device is a firewall and I(vsys) is not specified, then the vsys will default to I(vsys=vsys1). extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.template_only + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.template_only options: name: description: @@ -132,7 +132,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_lic.py b/plugins/modules/panos_lic.py index 6e99f515f..ab6882d18 100755 --- a/plugins/modules/panos_lic.py +++ b/plugins/modules/panos_lic.py @@ -36,7 +36,7 @@ - Panorama is supported - Checkmode is not supported. extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider options: auth_code: description: @@ -74,7 +74,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_log_forwarding_profile.py b/plugins/modules/panos_log_forwarding_profile.py index 329f03a65..c9ee5e600 100644 --- a/plugins/modules/panos_log_forwarding_profile.py +++ b/plugins/modules/panos_log_forwarding_profile.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: name: description: @@ -69,7 +69,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_log_forwarding_profile_match_list.py b/plugins/modules/panos_log_forwarding_profile_match_list.py index c80abf57f..4e5644b38 100644 --- a/plugins/modules/panos_log_forwarding_profile_match_list.py +++ b/plugins/modules/panos_log_forwarding_profile_match_list.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: log_forwarding_profile: description: @@ -109,7 +109,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_log_forwarding_profile_match_list_action.py b/plugins/modules/panos_log_forwarding_profile_match_list_action.py index fe0f0f6c4..d2f8ea390 100644 --- a/plugins/modules/panos_log_forwarding_profile_match_list_action.py +++ b/plugins/modules/panos_log_forwarding_profile_match_list_action.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: log_forwarding_profile: description: @@ -114,7 +114,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_loopback_interface.py b/plugins/modules/panos_loopback_interface.py index 7eb262142..b7bc741a9 100644 --- a/plugins/modules/panos_loopback_interface.py +++ b/plugins/modules/panos_loopback_interface.py @@ -32,10 +32,10 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_import - - panos.template_only - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.template_only + - paloaltonetworks.panos.fragments.state options: if_name: description: @@ -121,7 +121,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_management_profile.py b/plugins/modules/panos_management_profile.py index 1889cf022..0a23566d3 100644 --- a/plugins/modules/panos_management_profile.py +++ b/plugins/modules/panos_management_profile.py @@ -37,9 +37,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.state options: panorama_template: description: @@ -129,7 +129,7 @@ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import get_exception -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_match_rule.py b/plugins/modules/panos_match_rule.py index 97cbbc1f3..3caa8b061 100644 --- a/plugins/modules/panos_match_rule.py +++ b/plugins/modules/panos_match_rule.py @@ -35,8 +35,8 @@ - Checkmode is not supported. - Panorama NOT is supported. However, specifying Panorama I(provider) info with a target serial number is. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys options: rule_type: description: @@ -176,7 +176,7 @@ import json from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_mgtconfig.py b/plugins/modules/panos_mgtconfig.py index 01c326a8f..8aaf16ed2 100755 --- a/plugins/modules/panos_mgtconfig.py +++ b/plugins/modules/panos_mgtconfig.py @@ -30,7 +30,7 @@ - Checkmode is supported. - Panorama is supported extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider options: dns_server_primary: description: @@ -100,7 +100,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_nat_rule.py b/plugins/modules/panos_nat_rule.py index 4abbbe8f0..0cc12770c 100644 --- a/plugins/modules/panos_nat_rule.py +++ b/plugins/modules/panos_nat_rule.py @@ -36,11 +36,11 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.device_group - - panos.vsys - - panos.rulebase + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.rulebase options: state: description: @@ -210,7 +210,7 @@ from ansible.module_utils.basic import get_exception, AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_nat_rule_facts.py b/plugins/modules/panos_nat_rule_facts.py index 6410902ab..aa11d4a45 100644 --- a/plugins/modules/panos_nat_rule_facts.py +++ b/plugins/modules/panos_nat_rule_facts.py @@ -38,10 +38,10 @@ - Checkmode is not supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.device_group - - panos.vsys - - panos.rulebase + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.rulebase options: listing: description: @@ -158,7 +158,7 @@ import re from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_object_facts.py b/plugins/modules/panos_object_facts.py index 3a3834c6a..20dfc96fe 100644 --- a/plugins/modules/panos_object_facts.py +++ b/plugins/modules/panos_object_facts.py @@ -39,9 +39,9 @@ - Panorama is supported. - Check mode is not supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.device_group options: name: description: @@ -118,7 +118,7 @@ import re from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_op.py b/plugins/modules/panos_op.py index b85713301..75b5b201d 100644 --- a/plugins/modules/panos_op.py +++ b/plugins/modules/panos_op.py @@ -39,7 +39,7 @@ - Checkmode is NOT supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider options: cmd: description: @@ -85,7 +85,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_pbf_rule.py b/plugins/modules/panos_pbf_rule.py index 3566907b5..95ece244e 100644 --- a/plugins/modules/panos_pbf_rule.py +++ b/plugins/modules/panos_pbf_rule.py @@ -39,11 +39,11 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.device_group - - panos.vsys - - panos.rulebase + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.rulebase options: name: description: @@ -192,7 +192,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_pg.py b/plugins/modules/panos_pg.py index 0daf5e9e2..65eff78ee 100755 --- a/plugins/modules/panos_pg.py +++ b/plugins/modules/panos_pg.py @@ -30,10 +30,10 @@ - Panorama is supported. - Checkmode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys - - panos.device_group - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.state options: pg_name: description: @@ -87,7 +87,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_redistribution.py b/plugins/modules/panos_redistribution.py index b59f5dc88..9ae127f4a 100644 --- a/plugins/modules/panos_redistribution.py +++ b/plugins/modules/panos_redistribution.py @@ -40,9 +40,9 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: name: description: @@ -117,7 +117,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_registered_ip.py b/plugins/modules/panos_registered_ip.py index 321ac7589..b00469c36 100644 --- a/plugins/modules/panos_registered_ip.py +++ b/plugins/modules/panos_registered_ip.py @@ -37,9 +37,9 @@ - Check mode is supported. - Panorama is not supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys options: ips: description: @@ -98,7 +98,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.errors import PanDeviceError diff --git a/plugins/modules/panos_registered_ip_facts.py b/plugins/modules/panos_registered_ip_facts.py index 43a6d3ff9..d48c6918f 100644 --- a/plugins/modules/panos_registered_ip_facts.py +++ b/plugins/modules/panos_registered_ip_facts.py @@ -36,8 +36,8 @@ notes: - Panorama is not supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys options: tags: description: @@ -75,7 +75,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.errors import PanDeviceError diff --git a/plugins/modules/panos_restart.py b/plugins/modules/panos_restart.py index 410f29be1..f59a7b9cc 100755 --- a/plugins/modules/panos_restart.py +++ b/plugins/modules/panos_restart.py @@ -33,7 +33,7 @@ - Checkmode is not supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider ''' EXAMPLES = ''' @@ -52,7 +52,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_security_rule.py b/plugins/modules/panos_security_rule.py index 7cf025422..ca38b2500 100644 --- a/plugins/modules/panos_security_rule.py +++ b/plugins/modules/panos_security_rule.py @@ -40,11 +40,11 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.device_group - - panos.vsys - - panos.rulebase + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.rulebase options: rule_name: description: @@ -313,7 +313,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_security_rule_facts.py b/plugins/modules/panos_security_rule_facts.py index 72cb679eb..8e2818ba7 100644 --- a/plugins/modules/panos_security_rule_facts.py +++ b/plugins/modules/panos_security_rule_facts.py @@ -38,10 +38,10 @@ - Checkmode is not supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.device_group - - panos.vsys - - panos.rulebase + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.rulebase options: rule_name: description: @@ -277,7 +277,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_service_group.py b/plugins/modules/panos_service_group.py index 9a9e83d97..28ec95856 100644 --- a/plugins/modules/panos_service_group.py +++ b/plugins/modules/panos_service_group.py @@ -37,10 +37,10 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys - - panos.device_group - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.state options: name: description: @@ -84,7 +84,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.objects import ServiceGroup diff --git a/plugins/modules/panos_service_object.py b/plugins/modules/panos_service_object.py index c80ebaeaa..d048b79d7 100644 --- a/plugins/modules/panos_service_object.py +++ b/plugins/modules/panos_service_object.py @@ -37,10 +37,10 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys - - panos.device_group - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.state options: name: description: @@ -100,7 +100,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.objects import ServiceObject diff --git a/plugins/modules/panos_snmp_profile.py b/plugins/modules/panos_snmp_profile.py index ba87e0dd1..c0481055f 100644 --- a/plugins/modules/panos_snmp_profile.py +++ b/plugins/modules/panos_snmp_profile.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: name: description: @@ -67,7 +67,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_snmp_v2c_server.py b/plugins/modules/panos_snmp_v2c_server.py index 1a6a09805..2d82a0439 100644 --- a/plugins/modules/panos_snmp_v2c_server.py +++ b/plugins/modules/panos_snmp_v2c_server.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: snmp_profile: description: @@ -73,7 +73,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_snmp_v3_server.py b/plugins/modules/panos_snmp_v3_server.py index 281e60529..d3143a777 100644 --- a/plugins/modules/panos_snmp_v3_server.py +++ b/plugins/modules/panos_snmp_v3_server.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: snmp_profile: description: @@ -84,7 +84,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_software.py b/plugins/modules/panos_software.py index 77168e4fa..af97db8f9 100644 --- a/plugins/modules/panos_software.py +++ b/plugins/modules/panos_software.py @@ -34,7 +34,7 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider options: version: description: @@ -95,7 +95,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice import PanOSVersion diff --git a/plugins/modules/panos_static_route.py b/plugins/modules/panos_static_route.py index fabb158ec..475607c60 100644 --- a/plugins/modules/panos_static_route.py +++ b/plugins/modules/panos_static_route.py @@ -37,9 +37,9 @@ - Panorama is supported. - IPv6 is not supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support options: name: description: @@ -126,7 +126,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_syslog_profile.py b/plugins/modules/panos_syslog_profile.py index 45842813a..23d8cf94e 100644 --- a/plugins/modules/panos_syslog_profile.py +++ b/plugins/modules/panos_syslog_profile.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: name: description: @@ -117,7 +117,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_syslog_server.py b/plugins/modules/panos_syslog_server.py index a1816e30a..2b2767011 100644 --- a/plugins/modules/panos_syslog_server.py +++ b/plugins/modules/panos_syslog_server.py @@ -37,9 +37,9 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys_shared - - panos.device_group + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys_shared + - paloaltonetworks.panos.fragments.device_group options: syslog_profile: description: @@ -103,7 +103,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_tag_object.py b/plugins/modules/panos_tag_object.py index 9bc0b77ec..a0c07204f 100644 --- a/plugins/modules/panos_tag_object.py +++ b/plugins/modules/panos_tag_object.py @@ -37,10 +37,10 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.vsys - - panos.device_group - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.vsys + - paloaltonetworks.panos.fragments.device_group + - paloaltonetworks.panos.fragments.state options: name: description: @@ -84,7 +84,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: from pandevice.objects import Tag diff --git a/plugins/modules/panos_tunnel.py b/plugins/modules/panos_tunnel.py index d08e853b0..a6df323bf 100644 --- a/plugins/modules/panos_tunnel.py +++ b/plugins/modules/panos_tunnel.py @@ -30,10 +30,10 @@ - Checkmode is supported. - Panorama is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.template_only + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.template_only options: if_name: description: @@ -106,7 +106,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_type_cmd.py b/plugins/modules/panos_type_cmd.py index e7c79d036..19eca15ff 100644 --- a/plugins/modules/panos_type_cmd.py +++ b/plugins/modules/panos_type_cmd.py @@ -40,7 +40,7 @@ - Panorama is supported. - Check mode is not supported. extends_documentation_fragment: - - panos.transitional_provider + - paloaltonetworks.panos.fragments.transitional_provider options: cmd: description: @@ -136,7 +136,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_userid.py b/plugins/modules/panos_userid.py index 48bd416e1..d38acb35f 100644 --- a/plugins/modules/panos_userid.py +++ b/plugins/modules/panos_userid.py @@ -31,8 +31,8 @@ - Panorama is not supported. - This operation is runtime and does not require explicit commit of the firewall configuration. extends_documentation_fragment: - - panos.transitional_provider - - panos.state + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state options: operation: description: @@ -66,7 +66,7 @@ from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_virtual_router.py b/plugins/modules/panos_virtual_router.py index 509398fc2..e61669c89 100644 --- a/plugins/modules/panos_virtual_router.py +++ b/plugins/modules/panos_virtual_router.py @@ -37,10 +37,10 @@ - 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) extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.full_template_support notes: - Checkmode is supported. - Panorama is supported. @@ -109,7 +109,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_virtual_router_facts.py b/plugins/modules/panos_virtual_router_facts.py index 6cd0cbdb3..37e5fc9ee 100644 --- a/plugins/modules/panos_virtual_router_facts.py +++ b/plugins/modules/panos_virtual_router_facts.py @@ -33,8 +33,8 @@ - Panorama is supported. - Check mode is not supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support options: name: description: @@ -105,7 +105,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_virtual_wire.py b/plugins/modules/panos_virtual_wire.py index e77ec0e87..b73e42717 100644 --- a/plugins/modules/panos_virtual_wire.py +++ b/plugins/modules/panos_virtual_wire.py @@ -35,10 +35,10 @@ - pan-python - pandevice extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.full_template_support notes: - Checkmode is supported. - Panorama is supported. @@ -86,7 +86,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_vlan.py b/plugins/modules/panos_vlan.py index 1f8de3a74..4a79c5798 100644 --- a/plugins/modules/panos_vlan.py +++ b/plugins/modules/panos_vlan.py @@ -35,10 +35,10 @@ - pan-python - pandevice extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.full_template_support + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.full_template_support notes: - Checkmode is supported. - Panorama is supported. @@ -70,7 +70,7 @@ ''' from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_vlan_interface.py b/plugins/modules/panos_vlan_interface.py index d7184cdb5..56073d322 100644 --- a/plugins/modules/panos_vlan_interface.py +++ b/plugins/modules/panos_vlan_interface.py @@ -34,10 +34,10 @@ - If the PAN-OS device is a firewall and I(vsys) is not specified, then the vsys will default to I(vsys=vsys1). extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.vsys_import - - panos.template_only + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.vsys_import + - paloaltonetworks.panos.fragments.template_only options: name: description: @@ -134,7 +134,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_zone.py b/plugins/modules/panos_zone.py index 4a1a040e6..8b30543bb 100644 --- a/plugins/modules/panos_zone.py +++ b/plugins/modules/panos_zone.py @@ -36,10 +36,10 @@ - Panorama is supported. - Check mode is supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.state - - panos.full_template_support - - panos.vsys + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.state + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.vsys options: zone: description: @@ -126,7 +126,7 @@ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import get_exception -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: diff --git a/plugins/modules/panos_zone_facts.py b/plugins/modules/panos_zone_facts.py index 9c6d6229c..55419c37b 100644 --- a/plugins/modules/panos_zone_facts.py +++ b/plugins/modules/panos_zone_facts.py @@ -33,9 +33,9 @@ - Panorama is supported. - Check mode is not supported. extends_documentation_fragment: - - panos.transitional_provider - - panos.full_template_support - - panos.vsys + - paloaltonetworks.panos.fragments.transitional_provider + - paloaltonetworks.panos.fragments.full_template_support + - paloaltonetworks.panos.fragments.vsys options: name: description: @@ -94,7 +94,7 @@ 'supported_by': 'community'} from ansible.module_utils.basic import AnsibleModule -from ansible_collections.PaloAltoNetworks.panos.plugins.module_utils.panos import get_connection +from ansible_collections.paloaltonetworks.panos.plugins.module_utils.panos import get_connection try: