Enable JSON to Map Inventory Object with Network Interface

- This commit would enable a configuration JSON file, through which
  one can map the inventory object paths to the actual ethernet
  interfaces which are managed Network Service.

For Example:

- Lets say the Inventory path for a single ethernet Interface machine
  would look something like below:

  `/xyz/openbmc_project/inventory/system/chassis/motherboard/boxelder/bmc/ethernet`

  Then the corresponding configuration JSON would looks something like below:
  {
            "eth0":"ethernet"
  }

  Note that the key (eth0) in the JSON is the actual ethernet Interface
  managed by the Network Service, and the value (ethernet) is the search
  pattern to be found in the Inventory Path String.

- The above JSON would help the phosphor-network service to look for a
  match on the Interface Added signal under Inventory Path with an object
  path that contains the pattern String ("ethernet"), and there it gets the
  MAC address populated under the respective inventory path and set it as
  the MAC address of the eth0 Interface.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Ic2ca6a18262128172a738f6ddee91e6811994ee7
9 files changed
tree: 06f3474ef4fe45240f074dde790da51bc07746d5
  1. conf/
  2. meta-fsp2/
  3. meta-palmetto/
  4. meta-romulus/
  5. recipes-core/
  6. recipes-kernel/
  7. recipes-phosphor/
  8. COPYING.apache-2.0
  9. COPYING.MIT
  10. LICENSE
  11. MAINTAINERS
  12. README.md
  13. recipes.txt
README.md

OpenEmbedded/Yocto/OpenBMC BSP layer for IBM systems

This layer provides support for the BMC firmware on IBM POWER systems server products.

This layer depends on:

URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
revision: HEAD

URI: https://github.com/openbmc/meta-phosphor
branch: master
revision: HEAD

URI: https://github.com/openbmc/meta-openpower
branch: master
revision: HEAD

URI: https://github.com/openbmc/meta-aspeed
branch: master
revision: HEAD

The following systems are supported.

Witherspoon, or AC922, is an IBM POWER9 two-socket, 2U Accelerated Compute Server with up to 6 NVIDIA Tesla GPUs. More information can be found here.

In addition to witherspoon, this layer contains additional machine configurations such as swift. The default machine target is witherspoon, so in order to build a different configuration, or to build witherspoon after building a different one, set the MACHINE environment to the desired configuration name (see the conf/machine/ subdirectory for available options):

export MACHINE=machine_configuration_name

Then build:

bitbake obmc-phosphor-image

Example:

export MACHINE=swift
bitbake obmc-phosphor-image
bitbake phosphor-logging

export MACHINE=witherspoon
bitbake obmc-phosphor-image

Contributing

meta-ibm patches are reviewed using the Gerrit instance at https://gerrit.openbmc-project.xyz.

Please submit patches to Gerrit. More information on using Gerrit can be found here. https://github.com/openbmc/meta-ibm is a hosting mirror only and GitHub pull requests are not monitored and will not be accepted.

Patch checklist. Please ensure patches adhere to the following guidelines:

For questions or help please come join us on the mailing list or in IRC.