mirror of https://github.com/ansible/ansible.git
Add collection support with local for supported network platforms (#66302)
* Add collection support with local for supported network platforms * The legacy behavior of network action plugins using persistent the framework is to override the connection=local with the actual connection type (network_cli/netconf/httpapi) based on the value of transport option in provider. * After the actual connection plugin is identified try to load it from `ansible.netcommon` collection, if it fails load it from ansible core. This is done to work with Ansible 2.10 and also maintain backward compatibility for Ansible 2.9 version to ensure it works with network collections. * To support this need to pass collection_list value to connection plugins. As in case of connection=local it loads `persistent` connection within action plugin which in turn invokes `network_cli` or `netconf` connection. Similarly `network_cli` connection plugin invokes `terminal` and `cliconf plugins and `netconf` connection plugin invokes `netconf` `plugins` based on value on `ansible_network_os`. * Add deprecation warning for connection=local support and provider support for applicable platforms * Fix CI failurespull/66400/head
parent
5c04f25245
commit
654b9e2754
@ -0,0 +1,5 @@
|
||||
bugfixes:
|
||||
- Add support for network connection=local with collections for network supported platforms
|
||||
|
||||
deprecated_features:
|
||||
- Deprecate connection=local support for network platforms using persistent framework
|
Loading…
Reference in New Issue