Issue 1:
ISSUE TYPE

Bug Report

Documentation Report

COMPONENT NAME

eos_config

(any of the eos_ modules)

ANSIBLE VERSION

ansible-playbook 2.3.1.0
config file =
configured module search path = Default w/o overrides
python version = 2.7.13 (default, Dec 18 2016, 07:03:34) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]

CONFIGURATION

(default)

OS / ENVIRONMENT

Mac OS

SUMMARY

using any of the eos_ modules gives various deprecation warnings, but there's no solution or mention in the docs

STEPS TO REPRODUCE

See https://gist.github.com/halberom/d15181e6403ea3d9a4296a3fa6c0df7b

EXPECTED RESULTS

A comment in the docs at a minimum.

ACTUAL RESULTS

TASK [run show inventory] ******************************************************************************************************************************************************************************************************************************************************
[WARNING]: argument transport has been deprecated and will be removed in a future version

But there's nothing in the docs mentioning what it will be replaced with.

Issue 2:
ISSUE TYPE

Bug Report

COMPONENT NAME

networking

eos-config

ANSIBLE VERSION

ansible 2.3.1.0
config file = /Users/sean/src/ansibledemos/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

STEPS TO REPRODUCE

Ran a playbook and wasn't expecting to receive the deprecated messages as per the post below from Peter that states the provider argument is not deprecated:

https://www.ansible.com/blog/network-device-authentication-with-ansible-2-3

---
- hosts: switches
gather_facts: 'no'
# Run Anisble on the local server using CLI or eAPI to the node
connection: local
vars:
model_name: '{{ version_data.stdout[0].modelName }}'
eos_version: '{{ version_data.stdout[0].internalVersion }}'

tasks:
- name: Get Version
eos_command:
commands: 'show version'
provider: '{{ eos_connection }}'
register: version_data

# - debug: msg="{{version_data}}"

- name: Print report
template:
src: version_report.j2
dest: ./version_report-{{ inventory_hostname }}.txt

- name: Configure vlans
eos_config:
backup: yes
src: vlans.j2
provider: '{{ eos_connection }}'

- name: Configure interfaces
eos_config:
src: intf.j2
provider: '{{ eos_connection }}'

---
# make ansible play nice in a virtualenv
ansible_python_interpreter: python

eos_connection:
host: "{{ inventory_hostname }}"
transport: eapi
use_ssl: yes
validate_certs: no

EXPECTED RESULTS

No deprecated messages as using the provider argument

ACTUAL RESULTS

PLAY [switches] ******************************************************************************************************************************************************************************************************************************

TASK [Get Version] ***************************************************************************************************************************************************************************************************************************
[WARNING]: argument username has been deprecated and will be removed in a future version

[WARNING]: argument password has been deprecated and will be removed in a future version

[WARNING]: argument transport has been deprecated and will be removed in a future version

ok: [spine1]

TASK [Print report] **************************************************************************************************************************************************************************************************************************
ok: [spine1]

TASK [Configure vlans] ***********************************************************************************************************************************************************************************************************************
ok: [spine1]

TASK [Configure interfaces] ******************************************************************************************************************************************************************************************************************
ok: [spine1]

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
spine1 : ok=4 changed=0 unreachable=0 failed=0