summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/__init__.py
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-06-06 13:56:25 +0530
committerGitHub <noreply@github.com>2017-06-06 13:56:25 +0530
commit6215922889c11b57eaa5bbd6f46c50d7a9d742a3 (patch)
treeb6a0aaebc4c108668fbfac0149a463b85cba75c1 /lib/ansible/plugins/__init__.py
parentc20285782d1e483bc9bea071cf78f1c8a3e89048 (diff)
downloadansible-6215922889c11b57eaa5bbd6f46c50d7a9d742a3.tar.gz
Add support for cliconf and netconf plugin (#25093)
* ansible-connection refactor and action plugin changes * Add cliconf plugin for eos, ios, iosxr, junos, nxos, vyos * Add netconf plugin for junos * Add jsonrpc support * Modify network_cli and netconf connection plugin * Fix py3 unit test failure * Fix review comment * Minor fixes * Fix ansible-connection review comments * Fix CI issue * platform_agnostic related changes
Diffstat (limited to 'lib/ansible/plugins/__init__.py')
-rw-r--r--lib/ansible/plugins/__init__.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/ansible/plugins/__init__.py b/lib/ansible/plugins/__init__.py
index 2a4110eaae..d9ab31c072 100644
--- a/lib/ansible/plugins/__init__.py
+++ b/lib/ansible/plugins/__init__.py
@@ -550,3 +550,19 @@ vars_loader = PluginLoader(
C.DEFAULT_VARS_PLUGIN_PATH,
'vars_plugins',
)
+
+cliconf_loader = PluginLoader(
+ 'Cliconf',
+ 'ansible.plugins.cliconf',
+ 'cliconf_plugins',
+ 'cliconf_plugins',
+ required_base_class='CliconfBase'
+)
+
+netconf_loader = PluginLoader(
+ 'Netconf',
+ 'ansible.plugins.netconf',
+ 'netconf_plugins',
+ 'netconf_plugins',
+ required_base_class='NetconfBase'
+)