commit | cb0591457e1af5e79e8ac63770897ec1f25a1d51 | [log] [tgz] |
---|---|---|
author | asmithakarun <asmithkr@in.ibm.com> | Wed Jun 26 02:31:07 2019 -0500 |
committer | asmithakarun <asmithkr@in.ibm.com> | Wed Jun 26 03:06:54 2019 -0500 |
tree | 5d32ac8536b492f757782786f923225ec32c10d1 | |
parent | 3ba5cd5ddaa2536ed583ee5ad47732d82577623f [diff] |
Avahi: Adding Asset interface in the script to generate unique hostname xyz.openbmc_project.Inventory.Item.Bmc is a null interface where the SerialNumber is not present. xyz.openbmc_project.Inventory.Decorator.Asset interface contains the SerialNumber and is replaced in place of the former interface. Tested by: 1. Finding SerialNumber in Inventory interface - busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/boxelder/bmc output: [[0;1;39mxyz.openbmc_project.Inventory.Decorator.Asset [[0m interface - - - .BuildDate property s "" emits-change writable .Manufacturer property s "IPS " emits-change writable .Model property s "" emits-change writable .PartNumber property s "01DH137 " emits-change writable .SerialNumber property s "YL10UF76W015 " emits-change writable 2. Finding hostname - hostname output: witherspoon Signed-off-by: asmithakarun <asmithkr@in.ibm.com> Change-Id: I28d8ee4844654bbb3f0b90ffd5d71b7147726516
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.