mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Adding module enos_config and its UT files (#33081)
* Adding module enos_config and its UT files * Removing trailing line * Removing trailing lines * Editing enos_module.py to fix build errors * Removing blank lines in end * Updating enos_config.py based on review comments * Adding one more blank line * Removing training white space * Removing test_enos_config_force method from UT * Updating documentation * Comments by John, Remove version_added: "2.5"
This commit is contained in:
committed by
John R Barker
parent
fec39ba1f2
commit
bada3afee9
@@ -0,0 +1,47 @@
|
||||
Current configuration:
|
||||
!
|
||||
version "8.4.3.12"
|
||||
switch-type "Lenovo RackSwitch G8272"
|
||||
iscli-new
|
||||
!
|
||||
!
|
||||
access https enable
|
||||
|
||||
snmp-server location "Location:,Room:,Rack:Rack 3,LRU:40"
|
||||
snmp-server read-community "public"
|
||||
snmp-server trap-source 128
|
||||
!
|
||||
!
|
||||
!
|
||||
no system dhcp
|
||||
no system default-ip mgt
|
||||
hostname router
|
||||
!
|
||||
!
|
||||
!
|
||||
!interface ip 1
|
||||
! addr <default>
|
||||
! enable
|
||||
!
|
||||
interface ip 13
|
||||
ip address 1.2.3.4 255.255.255.0
|
||||
enable
|
||||
exit
|
||||
!
|
||||
interface ip 128
|
||||
ip address 10.241.105.24 255.255.255.0
|
||||
enable
|
||||
exit
|
||||
!
|
||||
ip gateway 4 address 10.241.105.1
|
||||
ip gateway 4 enable
|
||||
!
|
||||
!
|
||||
!
|
||||
!
|
||||
router bgp
|
||||
as 100
|
||||
!
|
||||
!
|
||||
end
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
!
|
||||
hostname foo
|
||||
!
|
||||
interface ip 13
|
||||
no ip ospf enable
|
||||
!
|
||||
Reference in New Issue
Block a user