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
This commit is contained in:
Ganesh Nalawade 2017-06-06 13:56:25 +05:30 committed by GitHub
parent c20285782d
commit 6215922889
32 changed files with 1542 additions and 585 deletions

View file

@ -1,4 +1,4 @@
# (c) 2016 Red Hat Inc.
# (c) 2017 Red Hat Inc.
#
# This file is part of Ansible
#
@ -41,7 +41,6 @@ class Connection(ConnectionBase):
has_pipelining = False
def _connect(self):
self._connected = True
return self
@ -83,3 +82,7 @@ class Connection(ConnectionBase):
def close(self):
self._connected = False
def run(self):
rc, out, err = self._do_it('RUN:')
return out