Addition of Location code interface.

This commit adds an interface yaml to publish location code of
an inventory item.
It will furnish data to the property ServiceLabel, under
Location->PartLocation on bmcweb, which will be used to publish
location code of any item.

Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I9eaf6b539fe97d1df6d8d992980b96668b88d800
diff --git a/gen/xyz/openbmc_project/Inventory/Decorator/LocationCode/meson.build b/gen/xyz/openbmc_project/Inventory/Decorator/LocationCode/meson.build
new file mode 100644
index 0000000..f1da1fb
--- /dev/null
+++ b/gen/xyz/openbmc_project/Inventory/Decorator/LocationCode/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+    'xyz/openbmc_project/Inventory/Decorator/LocationCode__cpp'.underscorify(),
+    input: [ meson.source_root() / 'xyz/openbmc_project/Inventory/Decorator/LocationCode.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/LocationCode',
+    ],
+)
+
diff --git a/xyz/openbmc_project/Inventory/Decorator/LocationCode.interface.yaml b/xyz/openbmc_project/Inventory/Decorator/LocationCode.interface.yaml
new file mode 100644
index 0000000..a549b68
--- /dev/null
+++ b/xyz/openbmc_project/Inventory/Decorator/LocationCode.interface.yaml
@@ -0,0 +1,12 @@
+description: >
+    Implement to provide location code of an inventory item.
+properties:
+    - name: LocationCode
+      type: string
+      description:
+          A free form, implementation defined string to provide
+          location code of an Inventory Item.
+          Location codes can be used to identify specific parts
+          in a system. Although this field should not be used for
+          programmatic interrogation of an inventory object.
+      default: ""