| /openbmc/phosphor-host-ipmid/scripts/ |
| H A D | entity-example.md | 1 # Entity-example 3 If your platform requires the entity container map, you can provide a json file 30 # Container Entity Id and Container Entity Instance = (0x13, 0x81) 31 # Contained Entity Id and Contained Entity Instance = (0x0A, 0x1), 33 # Entity Record id is the key 35 # Container entity contains other entities 36 # Entity Id and entity Instance for the container entity 40 # two ranges of entity instances; this record has contained entities 44 # entities within a container entity; this record is not linked 56 # Container Entity Id and Container Entity Instance = (0x18, 0x2) [all …]
|
| /openbmc/libpldm/include/libpldm/ |
| H A D | pdr.h | 216 /** @brief find the container ID of the contained entity which is not in the 220 * @param[in] entity_type - entity type 221 * @param[in] entity_instance - instance of the entity 222 * @param[in] child_index - index of the child entity whose container id needs to be found 227 * @param[out] container_id - container id of the contained entity 271 * @param[in] entity_type - entity type of FRU 272 * @param[in] entity_instance_num - entity instance number of FRU 294 * @param[in] entity_type - *entity_type will be FRU entity type of found PDR, 296 * @param[in] entity_instance_num - *entity_instance_num will be FRU entity 324 /* Entity Association PDR APIs */ [all …]
|
| /openbmc/entity-manager/ |
| H A D | README.md | 1 # Entity Manager 3 Entity manager is a design for managing physical system components, and mapping 10 ### Entity subsection 15 is referred to as an entity. 20 entity encompasses. 24 A particular feature of an Entity. An Entity generally will have multiple 30 A set of rules for detecting a given entity. Said rules generally take the form 35 Entity manager has the following goals (unless you can think of better ones): 45 A full BMC setup using Entity Manager consists of a few parts: 49 the Entity-Manager repo, and scans all available I2C buses for IPMI FRU [all …]
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
| H A D | Endpoint.v1_8_2.json | 55 "description": "The link to the associated entity.", 56 …"longDescription": "This property shall contain a link to an entity of the type specified by the d… 61 "description": "The PCI ID of the connected entity.", 62 … "longDescription": "This property shall contain the PCI ID of the connected PCIe entity." 73 "description": "The role of the connected entity.", 74 …"longDescription": "This property shall indicate if the specified entity is an initiator, target, … 86 "description": "The type of the connected entity.", 87 "longDescription": "This property shall indicate if type of connected entity.", 92 "description": "The Gen-Z related properties for the entity.", 93 … "longDescription": "This property shall contain the Gen-Z related properties for the entity.", [all …]
|
| /openbmc/entity-manager/docs/ |
| H A D | entity_manager_dbus_api.md | 1 # Entity Manager DBus API 3 The Entity Manager is in charge of inventory management by scanning JSON files 5 the internal structure of the Entity Manager, please refer to the README of the 6 Entity Manager. This file documents a consumers usage of the entity manager, and 13 #### Entities: `/xyz/openbmc_project/Inventory/Item/{Entity Type}/{Entity Name}` 19 #### Devices: `/xyz/openbmc_project/Inventory/Item/{Entity Type}/{Entity Name}/{Configuration}` 21 Configurations are components that are exposed when an entity is added to the 46 Entity objects describe pieces of physical hardware. 50 `unsigned int num_children`: Number of configurations under this entity. 56 Configuration objects describe components owned by the Entity.
|
| /openbmc/libpldm/src/dsp/ |
| H A D | pdr.c | 654 pldm_entity entity; member 667 return node->entity; in pldm_entity_extract() 672 pldm_entity_node_get_remote_container_id(const pldm_entity_node *entity) in pldm_entity_node_get_remote_container_id() argument 674 assert(entity != NULL); in pldm_entity_node_get_remote_container_id() 676 return entity->remote_container_id; in pldm_entity_node_get_remote_container_id() 697 /* Insert after the the last node that matches the input entity type, or in find_insertion_at() 701 uint16_t this_type = start->entity.entity_type; in find_insertion_at() 704 (this_type != next->entity.entity_type)) { in find_insertion_at() 715 pldm_entity_association_tree *tree, pldm_entity *entity, in pldm_entity_association_tree_add() argument 719 return pldm_entity_association_tree_add_entity(tree, entity, in pldm_entity_association_tree_add() [all …]
|
| /openbmc/pldm/host-bmc/ |
| H A D | utils.cpp | 3 #include <libpldm/entity.h> 60 const EntityAssociations& entityAssoc, pldm_entity_node* entity, in addObjectPathEntityAssociations() argument 64 if (entity == nullptr) in addObjectPathEntityAssociations() 70 pldm_entity node_entity = pldm_entity_extract(entity); in addObjectPathEntityAssociations() 73 // entityMaps doesn't contain entity type which are not required to in addObjectPathEntityAssociations() 74 // build entity object path, so returning from here because this is a in addObjectPathEntityAssociations() 89 pldm_entity_node_get_remote_container_id(entity); in addObjectPathEntityAssociations() 109 // If the entity obtained from the remote PLDM terminal is not in addObjectPathEntityAssociations() 112 // entity_path exists, and overwrite the entity if it does not in addObjectPathEntityAssociations() 116 objPathMap[entity_path] = entity; in addObjectPathEntityAssociations() [all …]
|
| H A D | utils.hpp | 24 /** @brief Vector a entity name to pldm_entity from entity association tree 26 * @param[in] entityTree - entity association tree 28 * BMC's entity association tree 37 /** @brief Parsing entity to DBus string mapping from json file 41 * @return returns the entity to DBus string mapping object
|
| H A D | host_pdr_handler.hpp | 61 * Adjustments are made to entity association PDRs received from the host, 62 * because they need to be assimilated into the BMC's entity association 63 * tree. A PLDM event containing the record handles of the updated entity 86 * @param[in] entityTree - Pointer to BMC and Host entity association tree 87 * @param[in] bmcEntityTree - pointer to BMC's entity association tree 208 /** @brief Merge host firmware's entity association PDRs into BMC's 211 * @param[in] pdr - entity association pdr 265 /** @brief Create Dbus objects by remote PLDM entity Fru PDRs 290 * @param[in] entity - PLDM entity informatio [all...] |
| /openbmc/openbmc-tools/reboot-ping-pong/ |
| H A D | rpp | 12 Entity = namedtuple("Entity", "console, ssh") variable 73 def __init__(self, entity): argument 76 self.entity = entity 77 fargs = (entity.console.endpoint.host, entity.console.endpoint.port) 88 self.entity.console.credentials.username.encode() 92 self.entity.console.credentials.password.encode() 125 def __init__(self, entity, bmc): argument 129 self.entity = entity 135 self.entity.console.endpoint.port, 136 self.entity.console.credentials.username, [all …]
|
| /openbmc/entity-manager/schemas/ |
| H A D | README.md | 1 # Entity manager configuration file schema 3 Entity manager configuration files are JSON documents and can be validated with 5 of an entity manager configuration file. 7 An entity manager configuration file consists of one or more entity manager 14 entity manager configuration file and schema file names must be 17 ## A single entity manager configuration 19 At its core entity manager simply exports objects onto DBus when a specific 20 event occurs. As such, an entity manager configuration provides a syntax for 42 The probe property describes the event which will cause entity manager to export 52 since entity manager will construct the Dbus interface name and object path
|
| /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Configuration/ |
| H A D | README.md | 4 [entity-manager][entity-manager]. Entity-manager currently creates these style 10 It is hoped that in the future entity-manager will be refactored to closer align 13 [entity-manager]: https://github.com/openbmc/entity-manager
|
| /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Source/PLDM/ |
| H A D | Entity.interface.yaml | 2 Implement to represent a PLDM Entity (see chapter 9 of 6 represents a PLDM Entity. For example, if an app is creating D-Bus objects 19 Represents the type of the entity. See 9.2 in DSP0248 v1.2.0. 23 Represents the instance number of the entity. See 9.3 in DSP0248 28 Represents the ID of the containing entity of this entity. See 9.4 in
|
| /openbmc/google-ipmi-sys/ |
| H A D | entity_name.hpp | 36 // Handle the "entity id:entity instance" to entity name mapping command. 37 // Sys can query the entity name for a particular "entity id:entity instance".
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | collect_slot_vpd.hpp | 62 * @param[in] fruAssociationMap - the dbus path to pldm entity stored while 89 * @return - pldm entity ID for the given effecter ID 95 * @param[in] entity - the current slot pldm entity under operation 99 const pldm_entity& entity, 122 * @param[in] entity - the current slot pldm entity under operation 125 const pldm_entity& entity, 132 * @param[in] entity - the current slot pldm entity under operation 135 bool presentValue, uint8_t stateFieldvalue, const pldm_entity& entity); 168 /** @brief variable to store the current slot entity under operation */
|
| /openbmc/libpldm/tests/dsp/ |
| H A D | pdr.cpp | 42 inline bool operator==(pldm_entity_test entity) const in operator ==() 44 return (entity_type == entity.entity_type) && in operator ==() 45 (entity_instance_num == entity.entity_instance_num) && in operator ==() 46 (entity_container_id == entity.entity_container_id); in operator ==() 50 static void getEntity(struct pldm_msgbuf_ro* buf, pldm_entity_test& entity) in getEntity() argument 52 pldm_msgbuf_extract_uint16(buf, entity.entity_type); in getEntity() 53 pldm_msgbuf_extract_uint16(buf, entity.entity_instance_num); in getEntity() 54 pldm_msgbuf_extract_uint16(buf, entity.entity_container_id); in getEntity() 1251 pldm_entity entity{}; in TEST() local 1252 entity.entity_type = 135; in TEST() [all …]
|
| /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Source/ |
| H A D | DevicePresence.interface.yaml | 9 Used by entity-manager to identify which hw was detected. For internal 10 use by entity-manager. 14 Used by entity-manager to identify which hw was detected. For internal 15 use by entity-manager. Can be empty.
|
| /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/PLDM/ |
| H A D | PDR.interface.yaml | 19 Obtain the state effecter PDR, for the input TID, entity ID and state 20 set id. If multiple PLDM entity instances(in state effecter PDRs) 25 When the PDR for the given input TID, entity id and state set id is 38 A numeric value that represents an entity that can be associated 70 Obtain the state sensor PDR, for the input TID, entity ID and state 71 set id. If multiple PLDM entity instances (in state sensor PDRs) match 76 When the PDR for the given input TID, entity id and state set id is 89 A numeric value that represents an entity that can be associated
|
| /openbmc/pldm/configurations/ |
| H A D | entityMap.json | 4 … "This JSON file defines the entity type and entity name required for generating D-Bus paths.", 5 … the file, a lookup table is created. This lookup table efficiently maps entity types to their res… 9 "PDRType : Entity Association PDR", 15 …'/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0' for above Entity Association PDR."
|
| /openbmc/pldm/oem/ibm/configurations/ |
| H A D | entityMap.json | 4 … "This JSON file defines the entity type and entity name required for generating D-Bus paths.", 5 … the file, a lookup table is created. This lookup table efficiently maps entity types to their res… 9 "PDRType : Entity Association PDR", 15 …'/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0' for above Entity Association PDR."
|
| /openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-ipmi-entity-association-map/ |
| H A D | gbs-ipmi-entity-association-map.bb | 1 SUMMARY = "GBS IPMI Entity association mapping." 9 ${datadir}/ipmi-entity-association/entity_association_map.json \ 13 install -d ${D}${datadir}/ipmi-entity-association 15 ${D}${datadir}/ipmi-entity-association/entity_association_map.json
|
| /openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/kudo-system/ |
| H A D | kudo-entity-association-map.bb | 1 UMMARY = "Kudo IPMI Entity association mapping." 9 ${datadir}/ipmi-entity-association/entity_association_map.json \ 13 install -d ${D}${datadir}/ipmi-entity-association 15 ${D}${datadir}/ipmi-entity-association/entity_association_map.json
|
| /openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ |
| H A D | entity-manager_%.bbappend | 6 rm -f ${D}${datadir}/entity-manager/configurations/*.json 7 install -d ${D}${datadir}/entity-manager/configurations 8 … install -m 0444 ${UNPACKDIR}/ethanolx-baseboard.json ${D}${datadir}/entity-manager/configurations 9 install -m 0444 ${UNPACKDIR}/ethanolx-chassis.json ${D}${datadir}/entity-manager/configurations
|
| /openbmc/docs/designs/ |
| H A D | entity-manager-hw-id-vpd-discover-via-device-tree.md | 1 # Entity-Manager HW ID: VPD Discovery via Device-Tree Properties 13 Entity-Manager's 'fru-device' daemon that most platforms rely on. 16 gathered from device tree file paths for Entity-Manager consumption. 23 [As described in Entity-Manager documentation](https://github.com/openbmc/entity-manager/blob/maste… 26 by Entity-Manager's fru-device daemon. The current FRU-device daemon is able to 37 Once VPD is made available on D-Bus, it can be referenced by the Entity-Manager 97 way for Entity-Manager to reference it during the probe evaluations used in 99 being made available on D-Bus will be enough to enable basic Entity-Manager 110 Entity-Manager to enable BMC detection and handling of HPE Gen 11 hardware (and 121 - Vital product data properties should be referenced in Entity-Manager config [all …]
|
| /openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/ |
| H A D | entity-manager_%.bbappend | 7 rm -f ${D}${datadir}/entity-manager/configurations/*.json 8 install -d ${D}${datadir}/entity-manager/configurations 9 … install -m 0444 ${UNPACKDIR}/daytonax-baseboard.json ${D}${datadir}/entity-manager/configurations 10 install -m 0444 ${UNPACKDIR}/daytonax-chassis.json ${D}${datadir}/entity-manager/configurations
|