meta: add darwin configuration
Darwin is a top-of-rack switch platform that's present in more
than 25K racks in our fleet. It is currently running a non-LFOpenBMC
software stack. We're migrating to LFOpenBMC.
- Add chassis config which enables fetching the x86 Serial Number
Change-Id: I3dea53e2a4e815ed141a2afd2863680d2beece20
Signed-off-by: Robert Ercean Dima <robert3@meta.com>
diff --git a/configurations/meson.build b/configurations/meson.build
index 52717fe..fd2ae05 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -82,6 +82,7 @@
'meta/clemente_osfp.json',
'meta/clemente_pdb.json',
'meta/clemente_scm.json',
+ 'meta/darwin_chassis.json',
'meta/fbtp.json',
'meta/fbyv2.json',
'meta/fbyv35.json',
diff --git a/configurations/meta/darwin_chassis.json b/configurations/meta/darwin_chassis.json
new file mode 100644
index 0000000..84c9d02
--- /dev/null
+++ b/configurations/meta/darwin_chassis.json
@@ -0,0 +1,13 @@
+{
+ "Exposes": [],
+ "Name": "Darwin Chassis",
+ "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'Darwin', 'PRODUCT_MANUFACTURER': 'Meta'})",
+ "Type": "Chassis",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "N/A",
+ "Model": "N/A",
+ "PartNumber": "N/A",
+ "SerialNumber": "$SerialNumber",
+ "SparePartNumber": "N/A"
+ }
+}