File tree Expand file tree Collapse file tree
ansible/files/exporter/labgrid-bryan Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ labgrid-bryan-buffalo_wsr-1166dhp :
3+ location : labgrid-bryan
4+ USBSerialPort :
5+ port : ' /dev/ttyUSB0'
6+ speed : 57600
7+ PDUDaemonPort :
8+ host : localhost:16421
9+ pdu : tasmota
10+ index : 1
11+ TFTPProvider :
12+ internal : " /srv/tftp/buffalo_wsr-1166dhp"
13+ external : " buffalo_wsr-1166dhp"
14+ NetworkService :
15+ address : " 192.168.1.1%vlan101"
16+ username : " root"
17+
18+ labgrid-hsn-youku_yk-l1 :
19+ location : labgrid-bryan
20+ USBSerialPort :
21+ port : ' /dev/ttyUSB0'
22+ speed : 115200
23+ PDUDaemonPort :
24+ host : localhost:16421
25+ pdu : tasmota
26+ index : 2
27+ TFTPProvider :
28+ internal : " /srv/tftp/youku_yk-l1"
29+ external : " youku_yk-l1"
30+ NetworkService :
31+ address : " 192.168.1.1%vlan102"
32+ username : " root"
Original file line number Diff line number Diff line change 1+ {
2+ "daemon": {
3+ "hostname": "localhost",
4+ "port": 16421,
5+ "logging_level": "DEBUG",
6+ "listener": "http"
7+ },
8+ "pdus": {
9+ "tasmota": {
10+ "driver": "tasmota",
11+ "ip": 10.35.35.91
12+ },
13+ "192.168.128.2": {
14+ "driver": "ubus"
15+ }
16+ }
17+
18+ }
Original file line number Diff line number Diff line change 1+ openwrt :
2+ name : Buffalo
3+ target : ramips-mt7621
4+ profile : buffalo_wsr-1166dhp
5+ snapshots_only : false
6+ targets :
7+ main :
8+ resources :
9+ RemotePlace :
10+ name : !template "$LG_PLACE"
11+ drivers :
12+ PDUDaemonDriver : {}
13+ TFTPProviderDriver : {}
14+ SerialDriver :
15+ txdelay : 0.05
16+ UBootDriver :
17+ interrupt : " 4"
18+ prompt : " MT7621 #"
19+ init_commands :
20+ - setenv bootargs 'earlyprintk console=ttyS0,115200'
21+ - tftp $ramdisk_addr_r
22+ boot_command : bootm $ramdisk_addr_r
23+ ShellDriver :
24+ prompt : ' root@[\w()]+:[^ ]+ '
25+ login_prompt : Please press Enter to activate this console.
26+ await_login_timeout : 15
27+ login_timeout : 120
28+ post_login_settle_time : 5
29+ username : root
30+ UBootTFTPStrategy : {}
31+ SSHDriver :
32+ connection_timeout : 120.0
33+ explicit_scp_mode : True
34+ images :
35+ root : !template $LG_IMAGE
36+ imports :
37+ - ../strategies/tftpstrategy.py
You can’t perform that action at this time.
0 commit comments