summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelogs/fragments/netcommon_ref_update.yaml4
-rw-r--r--galaxy.yml2
-rw-r--r--plugins/cliconf/vyos.py4
-rw-r--r--plugins/terminal/vyos.py4
4 files changed, 11 insertions, 3 deletions
diff --git a/changelogs/fragments/netcommon_ref_update.yaml b/changelogs/fragments/netcommon_ref_update.yaml
new file mode 100644
index 00000000..f28c6e18
--- /dev/null
+++ b/changelogs/fragments/netcommon_ref_update.yaml
@@ -0,0 +1,4 @@
+---
+major_changes:
+ - "Minimum required ansible.netcommon version is 2.5.1."
+ - "Updated base plugin references to ansible.netcommon."
diff --git a/galaxy.yml b/galaxy.yml
index ceaed7a3..a51c0db2 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -2,7 +2,7 @@
authors:
- Ansible Network Community (ansible-network)
dependencies:
- "ansible.netcommon": ">=2.0.1"
+ "ansible.netcommon": ">=2.5.1"
license_file: LICENSE
name: vyos
description: Ansible Network Collection for VYOS devices.
diff --git a/plugins/cliconf/vyos.py b/plugins/cliconf/vyos.py
index b1a55b1c..f2064d7c 100644
--- a/plugins/cliconf/vyos.py
+++ b/plugins/cliconf/vyos.py
@@ -54,7 +54,9 @@ from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.c
from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import (
to_list,
)
-from ansible.plugins.cliconf import CliconfBase
+from ansible_collections.ansible.netcommon.plugins.plugin_utils.cliconf_base import (
+ CliconfBase,
+)
class Cliconf(CliconfBase):
diff --git a/plugins/terminal/vyos.py b/plugins/terminal/vyos.py
index 850e5283..ef036ac8 100644
--- a/plugins/terminal/vyos.py
+++ b/plugins/terminal/vyos.py
@@ -23,8 +23,10 @@ __metaclass__ = type
import os
import re
-from ansible.plugins.terminal import TerminalBase
from ansible.errors import AnsibleConnectionFailure
+from ansible_collections.ansible.netcommon.plugins.plugin_utils.terminal_base import (
+ TerminalBase,
+)
class TerminalModule(TerminalBase):