mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
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:
@@ -0,0 +1,7 @@
|
||||
hostname switch01
|
||||
!
|
||||
interface Ethernet1
|
||||
description test interface
|
||||
no shutdown
|
||||
!
|
||||
ip routing
|
||||
@@ -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
|
||||
!
|
||||
Reference in New Issue
Block a user