summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/network
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11meta-ibm: prep for new override syntaxAdriana Kobylak1-12/+12
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-05-18meta-ibm: phosphor-networkd: Remove autotools specific configWilliam A. Kennington III1-1/+1
We want to use packageconfig options instead of build system specific ones. Change-Id: I587d33e3dae82c4c9d85f59f4ee34618443f1dcb Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-01ibm: network: Replace rainier with p10bmcAdriana Kobylak3-2/+2
The IBM rainier machine name is being replaced with the generic p10bmc. Change-Id: Ic76f6202f9ae43440e5e6a793ca835a45d6ab088 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2020-06-22Change the ibm-config flag to sync-macManojkiran Eda1-1/+1
- As per the commit merged in phosphor-networkd, the ibm-config flag is now changed to sync-mac. (From meta-ibm rev: 7bd9b4a226207205adf0093b7c64bc69f20ad1dc) Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Ia02e350ffa3ca42e56f3cac4b0dbc14980fab3b7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-18Enable IBM Config Flag Recipe Support for NetworkdManojkiran Eda1-0/+2
- This commit enables the ibm-config flag for phosphor-networkd service while compiling for IBM machines. - ibm-config compilation flag would enable the configurable Inventory-Interface Mapping JSON for setting the corresponding MAC Address that are obtanined from the Inventory on to the respective ethernet interface(s) during the first boot. (From meta-ibm rev: 4b0db6e07d3207e256f01f2f34d144aa93950224) Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Fixed minor typo in commit message Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I31d284839969ea55f13165f5957c164b9b1f6ce8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-18Remove first-boot-set-mac service for IBM machinesmanojkiran.eda@gmail.com1-2/+0
- This commit removes the first-boot-set-mac service as the similar and a better functionaly is now implemented in phosphor-networkd service. - Here are the few disadvantages of the first-boot-set-mac service 1. The first-boot-set-mac is a script is not scalable with the increase in the number of ethernet interfaces. 2. Why do we need a new service just for setting the MAC Address when the network service alone can do it , and it makes sense to tie up this feature with Network as setting MAC address functionality is implemented and owned by networkd. 3. With first-boot-set MAC, we need to make sure the VPD is populated before , if for any reason the VPD is not generated the first-boot service cannot help set the MAC. (From meta-ibm rev: 8638c6eb8d54507b632088b329c104e859cd8d19) Signed-off-by: manojkiran.eda@gmail.com <manojeda@in.ibm.com> Change-Id: I955834b56c28f9a311563dd40607c8f2ba305d40 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-18Enable JSON to Map Inventory Object with Network InterfaceManojkiran Eda9-7/+73
- 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. (From meta-ibm rev: 0e69c800da414c88d24e4fa5fe8d9bf560b87637) Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I9e0ab9d8368efae226334086f7b1c5b6fa821770 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-27meta-ibm: move all meta-witherspoon metadataBrad Bishop3-0/+29
The metadata common to all IBM systems is confusingly split between meta-ibm and meta-witherspoon. Move everything to meta-ibm. The meta-ibm README is re-written to more accurately reflect the scope of the layer. Allow the configuration samples (bblayers.conf.sample, local.conf.sample) to be sourced from either meta-ibm or meta-witherspoon until such a time that any workflows and tooling have had the opportunity to move to meta-ibm. (From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442) Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>