forked from ytti/oxidized
-
Notifications
You must be signed in to change notification settings - Fork 0
/
garderos_R7709_003_006_068.yaml
101 lines (101 loc) · 4.26 KB
/
garderos_R7709_003_006_068.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
---
# Trailing white spaces are coded as \x20 because some editors automatically remove trailing white spaces
init_prompt: |-
\e[4m\rLAB-R1234_Garderos#\e[m\x20
commands:
show system version: |-
show system version
grs-gwuz-armel/003_005_068 (Garderos; 2021-04-30 16:19:35)
\e[4m\rLAB-R1234_Garderos#\e[m\x20
show system serial: |-
show system serial
Serial : R77079012345
Hardware: Model R-7700, Board GWUZ, Ethernet
\e[4m\rLAB-R1234_Garderos#\e[m\x20
show hardware wwan wwan0 sim: |-
show hardware wwan wwan0 sim
Unknown command 'wwan'.
\e[4m\rLAB-R1234_Garderos#\e[m\x20
# This is a not working configuration - but it shows everything we need to make unit tests
show configuration running: |-
show configuration running
acl.ipv4.input.1.action=ACCEPT
acl.ipv4.input.1.description=allow ssh from management
acl.ipv4.input.1.dest-ports=22
acl.ipv4.input.1.protocol=tcp
acl.ipv4.input.1.source-network=10.42.0.0/24
acl.ipv4.input.999.action=DROP
hardware.rs-232.1.enable=true
hardware.rs-232.1.name=ttyS0
interface.eth.1.description=WAN
interface.eth.1.ip-assignment=static
interface.eth.1.ipv4=10.42.101.5/24
interface.eth.1.name=eth1
route.ipv4.1.gateway=10.42.101.1
route.ipv4.1.network=10.0.0.0/8
service.console.0.authenticate.0.client-ref=TACACS-1
service.console.0.authenticate.0.type=tacacs+
service.console.0.authenticate.1.client-ref=TACACS-2
service.console.0.authenticate.1.type=tacacs+
service.console.0.authenticate.2.type=local
service.console.0.hardware-ref=ttyS0
service.snmp.query-agent.enable=true
service.snmp.query-agent.server.0.community.0.name=SECRET
service.tacacs.client.0.name=TACACS-1
service.tacacs.client.0.server.1.key={enc2}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDD
service.tacacs.client.0.server.1.name=10.42.0.42
service.tacacs.client.1.name=TACACS-2
service.tacacs.client.1.server.1.key={enc2}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDD
service.tacacs.client.1.server.1.name=10.42.0.43
system.name=LAB-R1234_Garderos
system.secret={enc2}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDD
system.timezone=Europe/Berlin
tunnel.ipsec.2.auth.psk.psk={enc2}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDD
user.account.0.level=15
user.account.0.name=oxidized
user.account.0.password={sha256}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDD
user.enable.0.password={sha256}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDD
\e[4m\rLAB-R1234_Garderos#\e[m\x20
exit: ""
oxidized_output: |-
# grs-gwuz-armel/003_005_068 (Garderos; 2021-04-30 16:19:35)
#\x20
# Serial : R77079012345
# Hardware: Model R-7700, Board GWUZ, Ethernet
#\x20
acl.ipv4.input.1.action=ACCEPT
acl.ipv4.input.1.description=allow ssh from management
acl.ipv4.input.1.dest-ports=22
acl.ipv4.input.1.protocol=tcp
acl.ipv4.input.1.source-network=10.42.0.0/24
acl.ipv4.input.999.action=DROP
hardware.rs-232.1.enable=true
hardware.rs-232.1.name=ttyS0
interface.eth.1.description=WAN
interface.eth.1.ip-assignment=static
interface.eth.1.ipv4=10.42.101.5/24
interface.eth.1.name=eth1
route.ipv4.1.gateway=10.42.101.1
route.ipv4.1.network=10.0.0.0/8
service.console.0.authenticate.0.client-ref=TACACS-1
service.console.0.authenticate.0.type=tacacs+
service.console.0.authenticate.1.client-ref=TACACS-2
service.console.0.authenticate.1.type=tacacs+
service.console.0.authenticate.2.type=local
service.console.0.hardware-ref=ttyS0
service.snmp.query-agent.enable=true
service.snmp.query-agent.server.0.community.0.name=SECRET
service.tacacs.client.0.name=TACACS-1
service.tacacs.client.0.server.1.key={enc2}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDD
service.tacacs.client.0.server.1.name=10.42.0.42
service.tacacs.client.1.name=TACACS-2
service.tacacs.client.1.server.1.key={enc2}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDD
service.tacacs.client.1.server.1.name=10.42.0.43
system.name=LAB-R1234_Garderos
system.secret={enc2}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDD
system.timezone=Europe/Berlin
tunnel.ipsec.2.auth.psk.psk={enc2}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDD
user.account.0.level=15
user.account.0.name=oxidized
user.account.0.password={sha256}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDD
user.enable.0.password={sha256}AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDD\n