refactors eos_config module to use network_cli (#20741)

* update eos_config to use eapi exclusively and remove cli transport
* add unit test cases for eos_config
* updates action plugin to handle both eapi and network_cli connections
This commit is contained in:
Peter Sprygada
2017-01-27 16:23:18 -05:00
committed by GitHub
parent a60c051952
commit 6c89c587cc
6 changed files with 352 additions and 69 deletions

View File

@@ -0,0 +1,7 @@
hostname switch01
!
interface Ethernet1
description test interface
no shutdown
!
ip routing

View File

@@ -0,0 +1,26 @@
!
hostname localhost
ip domain-name eng.ansible.com
!
vrf definition mgmt
!
vrf definition test
!
interface Management1
ip address 192.168.1.1/24
!
interface Ethernet1
shutdown
!
interface Ethernet2
shutdown
!
interface Ethernet3
shutdown
!
interface Ethernet4
shutdown
!
interface Ethernet5
shutdown
!