inventory.decorator: define extended manufacturing fields

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iaf65461133bfdd335922191fda01f84d999cc8ed
diff --git a/gen/xyz/openbmc_project/Inventory/Decorator/ManufacturerExt/meson.build b/gen/xyz/openbmc_project/Inventory/Decorator/ManufacturerExt/meson.build
new file mode 100644
index 0000000..5cd135d
--- /dev/null
+++ b/gen/xyz/openbmc_project/Inventory/Decorator/ManufacturerExt/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+    'xyz/openbmc_project/Inventory/Decorator/ManufacturerExt__cpp'.underscorify(),
+    input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Decorator/ManufacturerExt.interface.yaml',  ],
+    output: [ 'server.cpp', 'server.hpp', 'client.hpp',  ],
+    command: [
+        sdbuspp_gen_meson_prog, '--command', 'cpp',
+        '--output', meson.current_build_dir(),
+        '--tool', sdbusplusplus_prog,
+        '--directory', meson.source_root(),
+        'xyz/openbmc_project/Inventory/Decorator/ManufacturerExt',
+    ],
+)
+
diff --git a/gen/xyz/openbmc_project/Inventory/Decorator/meson.build b/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
index 68ae7bf..3ad9f4e 100644
--- a/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
+++ b/gen/xyz/openbmc_project/Inventory/Decorator/meson.build
@@ -89,6 +89,21 @@
     build_by_default: true,
 )
 
+subdir('ManufacturerExt')
+generated_others += custom_target(
+    'xyz/openbmc_project/Inventory/Decorator/ManufacturerExt__markdown'.underscorify(),
+    input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Decorator/ManufacturerExt.interface.yaml',  ],
+    output: [ 'ManufacturerExt.md' ],
+    command: [
+        sdbuspp_gen_meson_prog, '--command', 'markdown',
+        '--output', meson.current_build_dir(),
+        '--tool', sdbusplusplus_prog,
+        '--directory', meson.source_root(),
+        'xyz/openbmc_project/Inventory/Decorator/ManufacturerExt',
+    ],
+    build_by_default: true,
+)
+
 subdir('MeetsMinimumShipLevel')
 generated_others += custom_target(
     'xyz/openbmc_project/Inventory/Decorator/MeetsMinimumShipLevel__markdown'.underscorify(),
diff --git a/xyz/openbmc_project/Inventory/Decorator/ManufacturerExt.interface.yaml b/xyz/openbmc_project/Inventory/Decorator/ManufacturerExt.interface.yaml
new file mode 100644
index 0000000..42a42f2
--- /dev/null
+++ b/xyz/openbmc_project/Inventory/Decorator/ManufacturerExt.interface.yaml
@@ -0,0 +1,15 @@
+description: >
+    Implement to define extended manufacturing data for inventory items.
+
+properties:
+    - name: ExtendedMFGData
+      type: dict[string, string]
+      description: >
+          A dictionary of manufacturer-specific extended data fields, which
+          may contain fields such as manufacturing plant, lot number, etc.
+
+          These fields must not be used for programatic interrogation of
+          an inventory object but may be useful for various human-oriented
+          tasks, such as part failure analysis.  Any field needed for
+          programmatic interrogation should be promoted to a first-class
+          property in another Item or Decorator interface.