forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arista: Fix device directories for Wolverine SKUs (sonic-net#21277)
Each 7800R3A SKU has a different name which must be present in the platform.json file. Previously each SKU directory was symlinked together causing sonic-mgmt platform API tests to fail. By instead symlinking the common files in each directory, we can have the platform.json file be different per SKU as required.
- Loading branch information
1 parent
9588a40
commit d28b734
Showing
107 changed files
with
847 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"chassis": { | ||
"name": "7800R3A-36DM2-LC", | ||
"name": "7800R3A-36D2-LC", | ||
"components": [ | ||
{ | ||
"name": "Aboot()" | ||
|
2 changes: 1 addition & 1 deletion
2
device/arista/x86_64-arista_7800r3a_36d2_lc/platform_components.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36d_lc/Arista-7800R3A-36D-C36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D-C36 |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36d_lc/Arista-7800R3A-36D-C72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D-C72 |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36d_lc/Arista-7800R3A-36D-D36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36D-D36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/asic.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/chassisdb.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Arista-7800R3A-36D-C72 t1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/media_settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/pcie.yaml |
140 changes: 140 additions & 0 deletions
140
device/arista/x86_64-arista_7800r3a_36d_lc/platform.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
"chassis": { | ||
"name": "7800R3A-36D-LC", | ||
"components": [ | ||
{ | ||
"name": "Aboot()" | ||
}, | ||
{ | ||
"name": "Scd(addr=0000:00:18.7)" | ||
}, | ||
{ | ||
"name": "Scd(addr=0000:08:00.0)" | ||
} | ||
], | ||
"fans": [], | ||
"fan_drawers": [], | ||
"psus": [], | ||
"thermals": [ | ||
{ | ||
"name": "Cpu temp sensor", | ||
"controllable": false | ||
}, | ||
{ | ||
"name": "Cpu SBTSI", | ||
"controllable": false | ||
} | ||
], | ||
"sfps": [ | ||
{ | ||
"name": "osfp1" | ||
}, | ||
{ | ||
"name": "osfp2" | ||
}, | ||
{ | ||
"name": "osfp3" | ||
}, | ||
{ | ||
"name": "osfp4" | ||
}, | ||
{ | ||
"name": "osfp5" | ||
}, | ||
{ | ||
"name": "osfp6" | ||
}, | ||
{ | ||
"name": "osfp7" | ||
}, | ||
{ | ||
"name": "osfp8" | ||
}, | ||
{ | ||
"name": "osfp9" | ||
}, | ||
{ | ||
"name": "osfp10" | ||
}, | ||
{ | ||
"name": "osfp11" | ||
}, | ||
{ | ||
"name": "osfp12" | ||
}, | ||
{ | ||
"name": "osfp13" | ||
}, | ||
{ | ||
"name": "osfp14" | ||
}, | ||
{ | ||
"name": "osfp15" | ||
}, | ||
{ | ||
"name": "osfp16" | ||
}, | ||
{ | ||
"name": "osfp17" | ||
}, | ||
{ | ||
"name": "osfp18" | ||
}, | ||
{ | ||
"name": "osfp19" | ||
}, | ||
{ | ||
"name": "osfp20" | ||
}, | ||
{ | ||
"name": "osfp21" | ||
}, | ||
{ | ||
"name": "osfp22" | ||
}, | ||
{ | ||
"name": "osfp23" | ||
}, | ||
{ | ||
"name": "osfp24" | ||
}, | ||
{ | ||
"name": "osfp25" | ||
}, | ||
{ | ||
"name": "osfp26" | ||
}, | ||
{ | ||
"name": "osfp27" | ||
}, | ||
{ | ||
"name": "osfp28" | ||
}, | ||
{ | ||
"name": "osfp29" | ||
}, | ||
{ | ||
"name": "osfp30" | ||
}, | ||
{ | ||
"name": "osfp31" | ||
}, | ||
{ | ||
"name": "osfp32" | ||
}, | ||
{ | ||
"name": "osfp33" | ||
}, | ||
{ | ||
"name": "osfp34" | ||
}, | ||
{ | ||
"name": "osfp35" | ||
}, | ||
{ | ||
"name": "osfp36" | ||
} | ||
] | ||
}, | ||
"interfaces": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/platform_asic |
11 changes: 11 additions & 0 deletions
11
device/arista/x86_64-arista_7800r3a_36d_lc/platform_components.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"chassis": { | ||
"7800R3A-36D-LC": { | ||
"component": { | ||
"Aboot()": {}, | ||
"Scd(addr=0000:00:18.7)": {}, | ||
"Scd(addr=0000:08:00.0)": {} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/platform_env.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_common/plugins |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36d_lc/pmon_daemon_control.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_common/pmon_daemon_control.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/sensors.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/services.conf |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36d_lc/startup-tsa-tsb.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/startup-tsa-tsb.conf |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36d_lc/system_health_monitoring_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_common/system_health_monitoring_config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_common/thermal_policy.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/use_pci_id_chassis |
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36dm2_lc/Arista-7800R3A-36DM2-C36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36DM2-C36 |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36dm2_lc/Arista-7800R3A-36DM2-C72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36DM2-C72 |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36dm2_lc/Arista-7800R3A-36DM2-D36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/Arista-7800R3A-36DM2-D36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/asic.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/chassisdb.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Arista-7800R3A-36DM2-C72 t1 |
1 change: 1 addition & 0 deletions
1
device/arista/x86_64-arista_7800r3a_36dm2_lc/media_settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/media_settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/pcie.yaml |
140 changes: 140 additions & 0 deletions
140
device/arista/x86_64-arista_7800r3a_36dm2_lc/platform.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
"chassis": { | ||
"name": "7800R3A-36DM2-LC", | ||
"components": [ | ||
{ | ||
"name": "Aboot()" | ||
}, | ||
{ | ||
"name": "Scd(addr=0000:00:18.7)" | ||
}, | ||
{ | ||
"name": "Scd(addr=0000:08:00.0)" | ||
} | ||
], | ||
"fans": [], | ||
"fan_drawers": [], | ||
"psus": [], | ||
"thermals": [ | ||
{ | ||
"name": "Cpu temp sensor", | ||
"controllable": false | ||
}, | ||
{ | ||
"name": "Cpu SBTSI", | ||
"controllable": false | ||
} | ||
], | ||
"sfps": [ | ||
{ | ||
"name": "osfp1" | ||
}, | ||
{ | ||
"name": "osfp2" | ||
}, | ||
{ | ||
"name": "osfp3" | ||
}, | ||
{ | ||
"name": "osfp4" | ||
}, | ||
{ | ||
"name": "osfp5" | ||
}, | ||
{ | ||
"name": "osfp6" | ||
}, | ||
{ | ||
"name": "osfp7" | ||
}, | ||
{ | ||
"name": "osfp8" | ||
}, | ||
{ | ||
"name": "osfp9" | ||
}, | ||
{ | ||
"name": "osfp10" | ||
}, | ||
{ | ||
"name": "osfp11" | ||
}, | ||
{ | ||
"name": "osfp12" | ||
}, | ||
{ | ||
"name": "osfp13" | ||
}, | ||
{ | ||
"name": "osfp14" | ||
}, | ||
{ | ||
"name": "osfp15" | ||
}, | ||
{ | ||
"name": "osfp16" | ||
}, | ||
{ | ||
"name": "osfp17" | ||
}, | ||
{ | ||
"name": "osfp18" | ||
}, | ||
{ | ||
"name": "osfp19" | ||
}, | ||
{ | ||
"name": "osfp20" | ||
}, | ||
{ | ||
"name": "osfp21" | ||
}, | ||
{ | ||
"name": "osfp22" | ||
}, | ||
{ | ||
"name": "osfp23" | ||
}, | ||
{ | ||
"name": "osfp24" | ||
}, | ||
{ | ||
"name": "osfp25" | ||
}, | ||
{ | ||
"name": "osfp26" | ||
}, | ||
{ | ||
"name": "osfp27" | ||
}, | ||
{ | ||
"name": "osfp28" | ||
}, | ||
{ | ||
"name": "osfp29" | ||
}, | ||
{ | ||
"name": "osfp30" | ||
}, | ||
{ | ||
"name": "osfp31" | ||
}, | ||
{ | ||
"name": "osfp32" | ||
}, | ||
{ | ||
"name": "osfp33" | ||
}, | ||
{ | ||
"name": "osfp34" | ||
}, | ||
{ | ||
"name": "osfp35" | ||
}, | ||
{ | ||
"name": "osfp36" | ||
} | ||
] | ||
}, | ||
"interfaces": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-arista_7800r3a_36d2_lc/platform_asic |
Oops, something went wrong.