File tree 6 files changed +132
-2
lines changed
x86_64-nokia_ixr7250e_36x400g-r0
x86_64-nokia_ixr7250e_sup-r0
6 files changed +132
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "module": {
3
+ "LINE-CARD": {
4
+ "component": {}
5
+ },
6
+ "SUPERVISOR0": {
7
+ "component": {}
8
+ }
9
+ },
10
+ "chassis": {
11
+ "Nokia-IXR7250E-36x400G": {
12
+ "component": {
13
+ "FPGA2": {},
14
+ "FPGA1": {},
15
+ "BIOS": {}
16
+ }
17
+ }
18
+ }
19
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"options" : [
3
3
{
4
- "key" : " sfp_init_tx_en " ,
5
- "stringval" : " yes "
4
+ "key" : " module_direct_ipc_ue " ,
5
+ "stringval" : " no "
6
6
},
7
7
{
8
8
"key" : " midplane_subnet" ,
39
39
{
40
40
"key" : " enable_firmware_update" ,
41
41
"intval" : 0
42
+ },
43
+ {
44
+ "key" : " sonic_log_level" ,
45
+ "stringval" : " error"
42
46
}
43
47
]
44
48
}
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ update_reboot_cause_for_supervisor_reboot ()
4
+ {
5
+ DEVICE_MGR_REBOOT_FILE=/tmp/device_mgr_reboot
6
+ REBOOT_CAUSE_FILE=/host/reboot-cause/reboot-cause.txt
7
+ TMP_REBOOT_CAUSE_FILE=/tmp/tmp-reboot-cause.txt
8
+ if [ -f $DEVICE_MGR_REBOOT_FILE ]; then
9
+ if [ -f $REBOOT_CAUSE_FILE ]; then
10
+ t1=` sudo grep " User: ," $REBOOT_CAUSE_FILE `
11
+ if [ ! -z " $t1 " ]; then
12
+ echo $t1 | sed ' s/reboot/reboot from Supervisor/g' | sed ' s/User: /User: admin/g' > $TMP_REBOOT_CAUSE_FILE
13
+ cp $TMP_REBOOT_CAUSE_FILE $REBOOT_CAUSE_FILE
14
+ fi
15
+ fi
16
+ fi
17
+ }
18
+
19
+ # update the reboot_cuase file when reboot is trigger by device-mgr
20
+ update_reboot_cause_for_supervisor_reboot
21
+
3
22
systemctl stop nokia-watchdog.service
4
23
sleep 2
5
24
echo " w" > /dev/watchdog
Original file line number Diff line number Diff line change 7
7
},
8
8
{
9
9
"name" : " FPGA1"
10
+ },
11
+ {
12
+ "name" : " SFM-FPGA"
10
13
}
11
14
],
12
15
"watchdog" : {
Original file line number Diff line number Diff line change
1
+ {
2
+ "chassis" : {
3
+ "Nokia-IXR7250E-SUP-10" : {
4
+ "component" : {
5
+ "BIOS" : { },
6
+ "FPGA1" : { },
7
+ "SFM-FPGA" : { }
8
+ }
9
+ }
10
+ },
11
+ "module" : {
12
+ "SUPERVISOR0" : {
13
+ "component" : {
14
+ }
15
+ },
16
+ "LINE-CARD0" : {
17
+ "component" : {
18
+ }
19
+ },
20
+ "LINE-CARD1" : {
21
+ "component" : {
22
+ }
23
+ },
24
+ "LINE-CARD2" : {
25
+ "component" : {
26
+ }
27
+ },
28
+ "LINE-CARD3" : {
29
+ "component" : {
30
+ }
31
+ },
32
+ "LINE-CARD4" : {
33
+ "component" : {
34
+ }
35
+ },
36
+ "LINE-CARD5" : {
37
+ "component" : {
38
+ }
39
+ },
40
+ "LINE-CARD6" : {
41
+ "component" : {
42
+ }
43
+ },
44
+ "LINE-CARD7" : {
45
+ "component" : {
46
+ }
47
+ },
48
+ "FABRIC-CARD0" : {
49
+ "component" : {
50
+ }
51
+ },
52
+ "FABRIC-CARD1" : {
53
+ "component" : {
54
+ }
55
+ },
56
+ "FABRIC-CARD2" : {
57
+ "component" : {
58
+ }
59
+ },
60
+ "FABRIC-CARD3" : {
61
+ "component" : {
62
+ }
63
+ },
64
+ "FABRIC-CARD4" : {
65
+ "component" : {
66
+ }
67
+ },
68
+ "FABRIC-CARD5" : {
69
+ "component" : {
70
+ }
71
+ },
72
+ "FABRIC-CARD6" : {
73
+ "component" : {
74
+ }
75
+ },
76
+ "FABRIC-CARD7" : {
77
+ "component" : {
78
+ }
79
+ }
80
+ }
81
+ }
Original file line number Diff line number Diff line change 27
27
{
28
28
"key" : " enable_firmware_update" ,
29
29
"intval" : 0
30
+ },
31
+ {
32
+ "key" : " sonic_log_level" ,
33
+ "stringval" : " error"
30
34
}
31
35
]
32
36
}
You can’t perform that action at this time.
0 commit comments