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:
Anil Kumar Muraleedharan
2017-11-29 20:47:04 +05:30
committed by John R Barker
parent fec39ba1f2
commit bada3afee9
5 changed files with 504 additions and 10 deletions

View File

@@ -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

View File

@@ -0,0 +1,6 @@
!
hostname foo
!
interface ip 13
no ip ospf enable
!