From 73c054bc73eaabc66fd5d4054ba036f65b110dda Mon Sep 17 00:00:00 2001 From: omnom62 <75066712+omnom62@users.noreply.github.com> Date: Tue, 13 Oct 2026 07:45:34 +1000 Subject: T9331: AAP certification pre-requisites (#506) * T9331: AAP certification pre-requisites * T9331: CI build-import.result added to all-green --- .ansible-lint | 14 ++++++- .coderabbit.yaml | 2 +- .github/workflows/certification.yml | 51 +++++++++++++++++++++++++ .github/workflows/tests.yml | 5 ++- README.md | 38 +++++++++++++++--- changelogs/fragments/T9331_ah_certification.yml | 7 ++++ meta/runtime.yml | 2 +- plugins/action/banner.py | 12 +++++- plugins/action/bgp_address_family.py | 12 +++++- plugins/action/bgp_global.py | 12 +++++- plugins/action/command.py | 12 +++++- plugins/action/config.py | 12 +++++- plugins/action/facts.py | 12 +++++- plugins/action/file.py | 12 +++++- plugins/action/firewall_global.py | 12 +++++- plugins/action/firewall_interfaces.py | 12 +++++- plugins/action/firewall_rules.py | 12 +++++- plugins/action/ha.py | 12 +++++- plugins/action/hostname.py | 12 +++++- plugins/action/interface.py | 12 +++++- plugins/action/interfaces.py | 12 +++++- plugins/action/l3_interface.py | 12 +++++- plugins/action/l3_interfaces.py | 12 +++++- plugins/action/lag_interfaces.py | 12 +++++- plugins/action/linkagg.py | 12 +++++- plugins/action/lldp.py | 12 +++++- plugins/action/lldp_global.py | 12 +++++- plugins/action/lldp_interface.py | 12 +++++- plugins/action/lldp_interfaces.py | 12 +++++- plugins/action/logging_global.py | 12 +++++- plugins/action/nat.py | 12 +++++- plugins/action/ntp_global.py | 12 +++++- plugins/action/ospf_interfaces.py | 12 +++++- plugins/action/ospfv2.py | 12 +++++- plugins/action/ospfv3.py | 12 +++++- plugins/action/ping.py | 12 +++++- plugins/action/prefix_lists.py | 12 +++++- plugins/action/route_maps.py | 12 +++++- plugins/action/snmp_server.py | 12 +++++- plugins/action/static_route.py | 12 +++++- plugins/action/static_routes.py | 12 +++++- plugins/action/system.py | 12 +++++- plugins/action/user.py | 12 +++++- plugins/action/vlan.py | 12 +++++- plugins/action/vrf.py | 12 +++++- tests/sanity/ignore-2.15.txt | 39 ------------------- 46 files changed, 527 insertions(+), 87 deletions(-) create mode 100644 .github/workflows/certification.yml create mode 100644 changelogs/fragments/T9331_ah_certification.yml mode change 120000 => 100644 plugins/action/banner.py mode change 120000 => 100644 plugins/action/bgp_address_family.py mode change 120000 => 100644 plugins/action/bgp_global.py mode change 120000 => 100644 plugins/action/command.py mode change 120000 => 100644 plugins/action/config.py mode change 120000 => 100644 plugins/action/facts.py mode change 120000 => 100644 plugins/action/file.py mode change 120000 => 100644 plugins/action/firewall_global.py mode change 120000 => 100644 plugins/action/firewall_interfaces.py mode change 120000 => 100644 plugins/action/firewall_rules.py mode change 120000 => 100644 plugins/action/ha.py mode change 120000 => 100644 plugins/action/hostname.py mode change 120000 => 100644 plugins/action/interface.py mode change 120000 => 100644 plugins/action/interfaces.py mode change 120000 => 100644 plugins/action/l3_interface.py mode change 120000 => 100644 plugins/action/l3_interfaces.py mode change 120000 => 100644 plugins/action/lag_interfaces.py mode change 120000 => 100644 plugins/action/linkagg.py mode change 120000 => 100644 plugins/action/lldp.py mode change 120000 => 100644 plugins/action/lldp_global.py mode change 120000 => 100644 plugins/action/lldp_interface.py mode change 120000 => 100644 plugins/action/lldp_interfaces.py mode change 120000 => 100644 plugins/action/logging_global.py mode change 120000 => 100644 plugins/action/nat.py mode change 120000 => 100644 plugins/action/ntp_global.py mode change 120000 => 100644 plugins/action/ospf_interfaces.py mode change 120000 => 100644 plugins/action/ospfv2.py mode change 120000 => 100644 plugins/action/ospfv3.py mode change 120000 => 100644 plugins/action/ping.py mode change 120000 => 100644 plugins/action/prefix_lists.py mode change 120000 => 100644 plugins/action/route_maps.py mode change 120000 => 100644 plugins/action/snmp_server.py mode change 120000 => 100644 plugins/action/static_route.py mode change 120000 => 100644 plugins/action/static_routes.py mode change 120000 => 100644 plugins/action/system.py mode change 120000 => 100644 plugins/action/user.py mode change 120000 => 100644 plugins/action/vlan.py mode change 120000 => 100644 plugins/action/vrf.py delete mode 100644 tests/sanity/ignore-2.15.txt diff --git a/.ansible-lint b/.ansible-lint index 8d9bb70b..48e86f6c 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,5 +1,17 @@ --- +# Red Hat Ansible Collection Certification .ansible-lint file +# Taken from: +# https://github.com/ansible-collections/partner-certification-requirements profile: production exclude_paths: - - changelogs/changelog.yaml + - tests/integration + - tests/unit + - extensions/molecule + - changelogs + - docs + - .ansible + - .github + +warn_list: + - no-log-password diff --git a/.coderabbit.yaml b/.coderabbit.yaml index c7c465d6..454af0f9 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -191,7 +191,7 @@ reviews: instructions: | Module redirects and tombstones. Adding a new module requires a redirect entry (short name → FQCN). Tombstoned modules (logging, vyos_logging) must - not be un-tombstoned. requires_ansible must stay >=2.15.0 unless explicitly + not be un-tombstoned. requires_ansible must stay >=2.16.0 unless explicitly bumping minimum version. knowledge_base: diff --git a/.github/workflows/certification.yml b/.github/workflows/certification.yml new file mode 100644 index 00000000..cd699aea --- /dev/null +++ b/.github/workflows/certification.yml @@ -0,0 +1,51 @@ +--- +# This workflow calls a pinned version of the +# reusable workflow. Copy this file into your +# repository to check against pinned versions +# of Automation Hub tests. +# The version is pinned to an exact release tag +# (e.g. @v1.2.0) for supply chain security. +# Use Dependabot to receive automatic PRs when +# new versions are released. +name: Run collection certification checks + +permissions: + contents: read + +on: + pull_request: + branches: [main] + workflow_dispatch: + schedule: + - cron: "0 6 * * *" + +concurrency: + group: cert-ver-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +# Files that are not related to the core functionality +# of your collection can cause Ansible Lint to fail. +# If this happens, add an .ansible-lint file that includes +# those files and directories to the root of your +# repository; for example: +# https://github.com/ansible-collections/partner-certification-checker/blob/main/.ansible-lint + +# If there are sanity test failures that cannot be fixed and are allowed to ignore +# https://docs.ansible.com/projects/lint/rules/sanity/, create a sanity ignore file +# https://docs.ansible.com/projects/ansible/devel/dev_guide/testing/sanity/ignores.html#ignore-file-location +# for each affected version of ansible-core (for example, `tests/sanity/ignore-2.18.txt`) and add corresponding entries. +jobs: + call: + uses: ansible-collections/partner-certification-checker/.github/workflows/certification-reusable.yml@v6.0.0 # zizmor: ignore[unpinned-uses] + # For details on tested ansible-core branches and Python versions, + # see: https://github.com/ansible-collections/partner-certification-checker#tested-ansible-core-branches-and-python-versions + with: + # ansible-core-version: '2.18.0' + # skip-sanity-versions: 'stable-2.16' + # collection-root: 'ansible_collections/junipernetworks/junos' + collection-deps: 'ansible.netcommon' + # automation-hub: true + # Uncomment the lines below if you have 'automation-hub: true' and need to install collections from Red Hat Ansible Automation Hub. + # This requires setting a repository secret called 'AH_TOKEN' which value contains a Red Hat Ansible Automation Hub token. + # secrets: + # AH_TOKEN: ${{ secrets.AH_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dedbc9e5..6086077c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,8 @@ jobs: set([ '${{ needs.changelog.result }}', '${{ needs.sanity.result }}', - '${{ needs.unit-galaxy.result }}' - '${{ needs.ansible-lint.result }}' + '${{ needs.unit-galaxy.result }}', + '${{ needs.ansible-lint.result }}', + '${{ needs.build-import.result }}', '${{ needs.unit-source.result }}' ])" diff --git a/README.md b/README.md index 5e7fbc82..93852a2b 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,7 @@ The Ansible VyOS collection includes a variety of Ansible content to help automate the management of VyOS network appliances. -This collection has been tested against VyOS 1.3.8, 1.4.1 and the current rolling release for 1.5. Where possible, -compatibility with older versions of VyOS are maintained but not guaranteed. +This collection has been tested against VyOS 1.3.8, 1.4.1 and the current rolling release for 1.5. Where possible, compatibility with older versions of VyOS are maintained but not guaranteed. ## Communication @@ -20,7 +19,7 @@ compatibility with older versions of VyOS are maintained but not guaranteed. ## Ansible version compatibility -This collection has been tested against the following Ansible versions: **>=2.15.0**. +This collection has been tested against the following Ansible versions: **>=2.16.0**. Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. @@ -31,6 +30,14 @@ PEP440 is the schema used to describe the versions of Ansible. ### Supported connections The VyOS collection supports ``network_cli`` connections. +## Requirements + +- ansible-core >=2.16.0, see [Ansible version compatibility](#ansible-version-compatibility). +- Python >=3.10 on the Ansible controller, as required by ansible-core 2.16. +- [ansible.netcommon](https://galaxy.ansible.com/ui/repo/published/ansible/netcommon/) >=2.5.1, installed automatically as a dependency of this collection. +- Python packages `paramiko` and `scp`, listed in [requirements.txt](https://github.com/vyos/vyos.vyos/blob/main/requirements.txt). `ansible-builder` picks these up when you build an execution environment that includes this collection. +- VyOS devices reachable over SSH with the `ansible.netcommon.network_cli` connection. + ## Included content @@ -87,6 +94,20 @@ You can install the VyOS collection with the Ansible Galaxy CLI: ansible-galaxy collection install vyos.vyos +Red Hat customers should install this collection from +[Red Hat Ansible Automation Hub](https://console.redhat.com/ansible/automation-hub/repo/published/vyos/vyos/). +Configure Automation Hub as a Galaxy server in `ansible.cfg` as described in +[Configuring Ansible Automation Hub](https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/), +then use the same commands as below. Red Hat does not support installing collections from GitHub. + +To install a specific version, for example 6.2.0: + + ansible-galaxy collection install vyos.vyos:==6.2.0 + +To upgrade to the latest version: + + ansible-galaxy collection install vyos.vyos --upgrade + You can also include it in a `requirements.yml` file and install it with `ansible-galaxy collection install -r requirements.yml`, using the format: ```yaml @@ -261,10 +282,17 @@ Ansible Resources - [Ansible Developer guide](https://docs.ansible.com/ansible/latest/dev_guide/index.html) - [Ansible Community code of conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html) +## Support + +As Red Hat Ansible Certified Content, this collection is entitled to support through Ansible Automation Platform (AAP) using the **Create issue** button in the top right corner +of the collection page on Automation Hub. + +The collection is maintained by the VyOS team. +If the collection was obtained from Galaxy or GitHub, community help is available through [GitHub issues](https://github.com/vyos/vyos.vyos/issues), the [VyOS forum](https://forum.vyos.io/) +and the [Ansible Forum](https://forum.ansible.com/). + ## Licensing GNU General Public License v3.0 or later. See [LICENSE](https://www.gnu.org/licenses/gpl-3.0.txt) to see the full text. - - diff --git a/changelogs/fragments/T9331_ah_certification.yml b/changelogs/fragments/T9331_ah_certification.yml new file mode 100644 index 00000000..c1a08d13 --- /dev/null +++ b/changelogs/fragments/T9331_ah_certification.yml @@ -0,0 +1,7 @@ +--- +removed_features: + - vyos.vyos - support for ansible-core 2.15 has been dropped; the minimum supported ansible-core version is now 2.16.0. +trivial: + - action plugins - replace symlinks with import shims so sanity results are consistent across ansible-test and ADE. + - README - add Requirements and Support sections and Automation Hub installation instructions. + - CI - fix missing commas in the all_green gate so failures of unit, lint and build-import jobs fail the workflow. diff --git a/meta/runtime.yml b/meta/runtime.yml index 093e129d..7517c7c1 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,5 +1,5 @@ --- -requires_ansible: ">=2.15.0" +requires_ansible: ">=2.16.0" plugin_routing: modules: banner: diff --git a/plugins/action/banner.py b/plugins/action/banner.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/banner.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/banner.py b/plugins/action/banner.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/banner.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/bgp_address_family.py b/plugins/action/bgp_address_family.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/bgp_address_family.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/bgp_address_family.py b/plugins/action/bgp_address_family.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/bgp_address_family.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/bgp_global.py b/plugins/action/bgp_global.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/bgp_global.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/bgp_global.py b/plugins/action/bgp_global.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/bgp_global.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/command.py b/plugins/action/command.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/command.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/command.py b/plugins/action/command.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/command.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/config.py b/plugins/action/config.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/config.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/config.py b/plugins/action/config.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/config.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/facts.py b/plugins/action/facts.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/facts.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/facts.py b/plugins/action/facts.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/facts.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/file.py b/plugins/action/file.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/file.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/file.py b/plugins/action/file.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/file.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/firewall_global.py b/plugins/action/firewall_global.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/firewall_global.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/firewall_global.py b/plugins/action/firewall_global.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/firewall_global.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/firewall_interfaces.py b/plugins/action/firewall_interfaces.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/firewall_interfaces.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/firewall_interfaces.py b/plugins/action/firewall_interfaces.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/firewall_interfaces.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/firewall_rules.py b/plugins/action/firewall_rules.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/firewall_rules.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/firewall_rules.py b/plugins/action/firewall_rules.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/firewall_rules.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/ha.py b/plugins/action/ha.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/ha.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/ha.py b/plugins/action/ha.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/ha.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/hostname.py b/plugins/action/hostname.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/hostname.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/hostname.py b/plugins/action/hostname.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/hostname.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/interface.py b/plugins/action/interface.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/interface.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/interface.py b/plugins/action/interface.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/interface.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/interfaces.py b/plugins/action/interfaces.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/interfaces.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/interfaces.py b/plugins/action/interfaces.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/interfaces.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/l3_interface.py b/plugins/action/l3_interface.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/l3_interface.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/l3_interface.py b/plugins/action/l3_interface.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/l3_interface.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/l3_interfaces.py b/plugins/action/l3_interfaces.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/l3_interfaces.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/l3_interfaces.py b/plugins/action/l3_interfaces.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/l3_interfaces.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/lag_interfaces.py b/plugins/action/lag_interfaces.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/lag_interfaces.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/lag_interfaces.py b/plugins/action/lag_interfaces.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/lag_interfaces.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/linkagg.py b/plugins/action/linkagg.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/linkagg.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/linkagg.py b/plugins/action/linkagg.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/linkagg.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/lldp.py b/plugins/action/lldp.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/lldp.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/lldp.py b/plugins/action/lldp.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/lldp.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/lldp_global.py b/plugins/action/lldp_global.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/lldp_global.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/lldp_global.py b/plugins/action/lldp_global.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/lldp_global.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/lldp_interface.py b/plugins/action/lldp_interface.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/lldp_interface.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/lldp_interface.py b/plugins/action/lldp_interface.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/lldp_interface.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/lldp_interfaces.py b/plugins/action/lldp_interfaces.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/lldp_interfaces.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/lldp_interfaces.py b/plugins/action/lldp_interfaces.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/lldp_interfaces.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/logging_global.py b/plugins/action/logging_global.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/logging_global.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/logging_global.py b/plugins/action/logging_global.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/logging_global.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/nat.py b/plugins/action/nat.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/nat.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/nat.py b/plugins/action/nat.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/nat.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/ntp_global.py b/plugins/action/ntp_global.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/ntp_global.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/ntp_global.py b/plugins/action/ntp_global.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/ntp_global.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/ospf_interfaces.py b/plugins/action/ospf_interfaces.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/ospf_interfaces.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/ospf_interfaces.py b/plugins/action/ospf_interfaces.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/ospf_interfaces.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/ospfv2.py b/plugins/action/ospfv2.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/ospfv2.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/ospfv2.py b/plugins/action/ospfv2.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/ospfv2.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/ospfv3.py b/plugins/action/ospfv3.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/ospfv3.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/ospfv3.py b/plugins/action/ospfv3.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/ospfv3.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/ping.py b/plugins/action/ping.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/ping.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/ping.py b/plugins/action/ping.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/ping.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/prefix_lists.py b/plugins/action/prefix_lists.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/prefix_lists.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/prefix_lists.py b/plugins/action/prefix_lists.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/prefix_lists.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/route_maps.py b/plugins/action/route_maps.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/route_maps.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/route_maps.py b/plugins/action/route_maps.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/route_maps.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/snmp_server.py b/plugins/action/snmp_server.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/snmp_server.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/snmp_server.py b/plugins/action/snmp_server.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/snmp_server.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/static_route.py b/plugins/action/static_route.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/static_route.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/static_route.py b/plugins/action/static_route.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/static_route.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/static_routes.py b/plugins/action/static_routes.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/static_routes.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/static_routes.py b/plugins/action/static_routes.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/static_routes.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/system.py b/plugins/action/system.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/system.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/system.py b/plugins/action/system.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/system.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/user.py b/plugins/action/user.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/user.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/user.py b/plugins/action/user.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/user.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/vlan.py b/plugins/action/vlan.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/vlan.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/vlan.py b/plugins/action/vlan.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/vlan.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/plugins/action/vrf.py b/plugins/action/vrf.py deleted file mode 120000 index 331a791f..00000000 --- a/plugins/action/vrf.py +++ /dev/null @@ -1 +0,0 @@ -vyos.py \ No newline at end of file diff --git a/plugins/action/vrf.py b/plugins/action/vrf.py new file mode 100644 index 00000000..24195be9 --- /dev/null +++ b/plugins/action/vrf.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +from __future__ import absolute_import, division, print_function + + +__metaclass__ = type + +from ansible_collections.vyos.vyos.plugins.action.vyos import ActionModule + + +__all__ = ["ActionModule"] diff --git a/tests/sanity/ignore-2.15.txt b/tests/sanity/ignore-2.15.txt deleted file mode 100644 index ee3d2aac..00000000 --- a/tests/sanity/ignore-2.15.txt +++ /dev/null @@ -1,39 +0,0 @@ -plugins/action/vyos.py action-plugin-docs # base class for deprecated network platform modules using `connection: local` -plugins/action/banner.py action-plugin-docs -plugins/action/bgp_address_family.py action-plugin-docs -plugins/action/bgp_global.py action-plugin-docs -plugins/action/command.py action-plugin-docs -plugins/action/config.py action-plugin-docs -plugins/action/facts.py action-plugin-docs -plugins/action/firewall_global.py action-plugin-docs -plugins/action/firewall_interfaces.py action-plugin-docs -plugins/action/firewall_rules.py action-plugin-docs -plugins/action/ha.py action-plugin-docs -plugins/action/hostname.py action-plugin-docs -plugins/action/interface.py action-plugin-docs -plugins/action/interfaces.py action-plugin-docs -plugins/action/l3_interface.py action-plugin-docs -plugins/action/l3_interfaces.py action-plugin-docs -plugins/action/lag_interfaces.py action-plugin-docs -plugins/action/linkagg.py action-plugin-docs -plugins/action/lldp.py action-plugin-docs -plugins/action/lldp_global.py action-plugin-docs -plugins/action/lldp_interface.py action-plugin-docs -plugins/action/lldp_interfaces.py action-plugin-docs -plugins/action/logging_global.py action-plugin-docs -plugins/action/nat.py action-plugin-docs -plugins/action/ntp_global.py action-plugin-docs -plugins/action/ospf_interfaces.py action-plugin-docs -plugins/action/ospfv2.py action-plugin-docs -plugins/action/ospfv3.py action-plugin-docs -plugins/action/ping.py action-plugin-docs -plugins/action/prefix_lists.py action-plugin-docs -plugins/action/route_maps.py action-plugin-docs -plugins/action/snmp_server.py action-plugin-docs -plugins/action/static_route.py action-plugin-docs -plugins/action/static_routes.py action-plugin-docs -plugins/action/system.py action-plugin-docs -plugins/action/user.py action-plugin-docs -plugins/action/vlan.py action-plugin-docs -plugins/action/vrf.py action-plugin-docs -plugins/action/file.py action-plugin-docs -- cgit v1.2.3