summaryrefslogtreecommitdiffstats
path: root/pyinventorymgr/sync_inventory_items.py
Commit message (Collapse)AuthorAgeFilesLines
* pep8 fixesAdriana Kobylak2018-02-121-1/+3
| | | | | | | | Also ignore the configs/ directory since it only contains system configuration files named <system>.py. Change-Id: I0416239c4030ce5bc39473e65e560016cd4ffc75 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* SyncInventory: Move to the xyz namespace for property macRatan Gupta2017-08-301-12/+36
| | | | | Change-Id: I1db7b44d8fdff7876af83c8fb24fc77b5c7c61b7 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* U-boot script update with new inventory objectDinesh Chinari2017-08-281-59/+72
| | | | | | | Updated new inventory objects in u-boot fw_env scripts. Change-Id: I9545f29f603e2fc46424d44df45ca82379df5ecb Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
* skeleton: Read mac from u-boot instead of net settingsAdriana Kobylak2016-11-211-5/+12
| | | | | | | | | | | | | The system mac should be read from u-boot, not from the network settings, since the network settings one can be the random mac set by the system, and if the random mac happens to have the locally managed bit turned on, it'll prevent the mac from vpd from being written into the system. Fixes openbmc/openbmc#627 Change-Id: I70ffaeb165881a2b83455f2953a4143cb471d688 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* sync: add missing os module importBrad Bishop2016-10-051-0/+1
| | | | | | | fixes: openbmc/openbmc#641 Change-Id: I88dbcfb6d731bff66d7edf4866b61ede06f4c6f8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* inventory: Move INVENTORY_ROOT to inventory moduleBrad Bishop2016-09-231-1/+2
| | | | | Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* python: add vim modelinesBrad Bishop2016-09-231-0/+2
| | | | | Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* palmetto: remove frusBrad Bishop2016-09-231-2/+17
| | | | | | | These are now provided in a json file. Change-Id: Ib0491399df797a728c7a71118f7d54a07eb3a466 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add logic to sync/preserve MAC and UUIDAdriana Kobylak2016-08-081-0/+130
The MAC and UUID values are written in the VPD eeprom by the manufacturer. These values are mirrored to u-boot. During BMC boot, check that the values in the VPD eeprom and u-boot are the same. If they are different, use the VPD eeprom value to update u-boot. Exception is the MAC when it's been set by the admin to have a locally administered address. In this case the MAC is not updated. Updating the MAC takes effect immediately, updating the UUID requires a BMC reboot. Change-Id: Ied0f308ed06cd6a45bd618bbb307b2483c6b5b61 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
OpenPOWER on IntegriCloud