Refactor iosxr_config to make use of network_connection plugin

This commit is contained in:
Ricardo Carrillo Cruz 2017-01-23 10:44:13 +01:00
commit a8cfe4a5d7
5 changed files with 257 additions and 49 deletions

View file

@ -0,0 +1,12 @@
!
hostname router
!
interface GigabitEthernet0/0
ip address 1.2.3.4 255.255.255.0
description test string
!
interface GigabitEthernet0/1
ip address 6.7.8.9 255.255.255.0
description test string
shutdown
!

View file

@ -0,0 +1,11 @@
!
hostname foo
!
interface GigabitEthernet0/0
no ip address
!
interface GigabitEthernet0/1
ip address 6.7.8.9 255.255.255.0
description test string
shutdown
!