/openbmc/phosphor-objmgr/src/ |
H A D | associations.hpp | 6 "xyz.openbmc_project.Association"; 11 /** @brief Remove input association 19 * @param[in,out] assocMaps - The association maps 28 /** @brief Remove input paths from endpoints of an association 31 * association object, otherwise just set the property 38 * @param[in,out] assocMaps - The association maps 52 * paths in the xyz.openbmc_project.Association.endpoints D-Bus property 53 * for that association need to be removed. If the last path is removed 54 * from the endpoints property, remove that whole association object from 64 * @param[in,out] assocMaps - The association maps [all …]
|
H A D | handler.hpp | 32 * @param associationMaps Map of association between objects 54 * @param associationMaps Map of association between objects 76 * @param associationMaps Map of association between objects 80 * @param association The endpoint association 81 * @param endpointInterfaces Interface filter for the endpoint association 85 * endpoint association. 93 const std::string& association, 100 * @param associationMaps Map of association between objects 104 * @param association The endpoint association 105 * @param endpointInterfaces Interface filter for the endpoint association [all …]
|
H A D | types.hpp | 47 * associations, so that when a org.openbmc.Association interface is 49 * association objects can be correctly handled. It is a map of the 50 * object path of the org.openbmc.Association owner to a map of the 51 * service the path is owned by, to a map of the association objects to 75 using Association = std::tuple<std::string, std::string, std::string>; typedef 79 * the endpoint (the last element of the Association tuple) doesn't exist. 80 * When that endpoint shows up on D-Bus, both association paths can then 81 * be created. Also, if a valid association has an endpoint removed from 84 * association. 88 using ExistingEndpoint = std::tuple<std::string, Association>; [all …]
|
H A D | associations.cpp | 92 // Use associationOwners to find the association paths and endpoints in removeAssociation() 94 // these endpoints from the actual association D-Bus objects, and if in removeAssociation() 95 // the endpoints property is then empty, the whole association object in removeAssociation() 97 // association, and also that sourcePath is the path of the object in removeAssociation() 99 // association path itself. in removeAssociation() 108 // Find the association paths and endpoints owned by this object in removeAssociation() 129 // If we were still waiting on the other side of this association to in removeAssociation() 186 // Check if this source even still has each association that in checkAssociationEndpointRemoves() 189 // association path to be removed if no endpoints remain. in checkAssociationEndpointRemoves() 198 // The association is still there. Check if the endpoints in checkAssociationEndpointRemoves() [all …]
|
H A D | processing.cpp | 76 // association that needs to be moved to pending, only check when in processNameChangeDelete() 78 // association. in processNameChangeDelete() 83 // Remove the 2 association D-Bus paths and move the in processNameChangeDelete() 84 // association to pending. in processNameChangeDelete() 114 const std::variant<std::vector<Association>>* variantAssociations = in processInterfaceAdded() 125 std::cerr << "Illegal association found on " << wellKnown in processInterfaceAdded() 129 std::vector<Association> associations = in processInterfaceAdded() 130 std::get<std::vector<Association>>(*variantAssociations); in processInterfaceAdded() 173 // The new interface might have an association pending in processInterfaceAdded()
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/ |
H A D | Item.interface.yaml | 23 implement the 'containing' association to provide one or more links to 31 association to provide a link to exactly one Item (usually a Board or 39 association to provide a link to one or more fans. 46 'fault_identified_by' association to provide a link to one or more LED 54 'identified_by' association to provide a link to one or more LED 62 association to provide a link to one or more metrics. 69 implement the 'monitored_by' association to provide a link to the 72 the 'monitored_by' association to provide links to one or more 81 association to provide a link to one or more power supplies. 88 'throttled_by' association to provide a link to throttle. [all …]
|
/openbmc/s2600wf-misc/subprojects/callback-manager/include/ |
H A D | callback_manager.hpp | 9 using Association = std::tuple<std::string, std::string, std::string>; typedef 17 "xyz.openbmc_project.Association.Definitions"; 30 association(objectServer.add_interface(rootPath, associationIface)), in AssociationManager() 34 association->register_property("Associations", std::set<Association>()); in AssociationManager() 36 std::set<Association>()); in AssociationManager() 37 association->initialize(); in AssociationManager() 42 objectServer.remove_interface(association); in ~AssociationManager() 50 std::set<Association> result; in setLocalAssociations() 66 association->set_property("Associations", result); in setLocalAssociations() 72 std::set<Association> result; in setSensorAssociations() [all …]
|
/openbmc/s2600wf-misc/callback-manager/include/ |
H A D | callback_manager.hpp | 9 using Association = std::tuple<std::string, std::string, std::string>; typedef 17 "xyz.openbmc_project.Association.Definitions"; 30 association(objectServer.add_interface(rootPath, associationIface)), in AssociationManager() 34 association->register_property("Associations", std::set<Association>()); in AssociationManager() 36 std::set<Association>()); in AssociationManager() 37 association->initialize(); in AssociationManager() 42 objectServer.remove_interface(association); in ~AssociationManager() 50 std::set<Association> result; in setLocalAssociations() 66 association->set_property("Associations", result); in setLocalAssociations() 72 std::set<Association> result; in setSensorAssociations() [all …]
|
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | association_interface.hpp | 16 /** @brief Create an active association to the 19 * @param[in] path - The path to create the association to. 23 /** @brief Add the functional association to the 26 * @param[in] path - The path to add the association to. 30 /** @brief Add the updateable association to the 33 * @param[in] path - The path to create the association. 39 * @param[in] path - The path to remove the association from.
|
/openbmc/phosphor-dbus-interfaces/ |
H A D | requirements.md | 72 `/.../bar/entity`. The association is what links the `foo` and `bar` aspects of 73 the entity in the dbus path hierarchy. Accordingly, the association should be 76 A made-up example of a peer association might be a `Inventory.Processor`, 78 processor, located under the `.../control` hierarchy. The peer association 84 The end-point names of an association should not codify the types of the 85 interfaces pointed to by the association. 96 The association end-points should be named in a way that the following sentences 99 - The `{primary element}` is `{primary association}` the `{secondary element}`. 100 - The `{secondary element}` is `{secondary association}` the 104 `{primary element}/{primary association}` with an endpoints property value of [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/ |
H A D | Association.interface.yaml | 5 An object implementing Association describes a one way, one to many 6 association where the parent object is associated to the objects in the 7 Endpoints property, with the association type defined as the name of the 8 object implementing Association. 13 An array of association endpoints.
|
H A D | ObjectMapper.interface.yaml | 101 association endpoint on associatedPath 130 association endpoint on associatedPath 160 association with specified endpoint interfaces. 166 2. Create an association path by concatenating the subtree path with 167 "/" and "association" 168 associationPath = subtreePath + "/" + "association" 188 - name: association 191 The endpoint association. 206 identifier, filtering based on their association with specified 213 2. Create an association path by concatenating the subtree path with [all …]
|
/openbmc/docs/architecture/ |
H A D | object-mapper.md | 130 - param: associationPath - the path to look for the association endpoints. 179 # All output must be in the association endpoints 182 xyz.openbmc_project.Association endpoints 208 - param: association - The endpoint association. 219 ASSOCIATION="powered_by" 226 string:"${ASSOCIATION}" \ 261 # All output must be in the association endpoints that ends with the given `id` 264 /xyz/openbmc_project/inventory/system/chassis/${ASSOCIATION} \ 265 xyz.openbmc_project.Association endpoints 316 - param: associationPath - the path to look for the association endpoints. [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | association_manager.hpp | 8 #include <xyz/openbmc_project/Association/Definitions/server.hpp> 34 sdbusplus::xyz::openbmc_project::Association::server::Definitions>; 91 * @brief Creates any association D-Bus interfaces required based on 104 * @brief Returned the association configuration. 107 * @return AssociationMap& - the association config 171 * @brief Loads the association JSON into the _associations data 182 * @param[in] forwardPath - the path of the forward association 183 * @param[in] forwardType - the type of the forward association 184 * @param[in] reversePath - the path of the reverse association 185 * @param[in] reverseType - the type of the reverse association [all …]
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Association/ |
H A D | meson.build | 4 sdbusplus_current_path = 'xyz/openbmc_project/Association' 8 input: ['../../../../yaml/xyz/openbmc_project/Association.interface.yaml'], 27 'xyz/openbmc_project/Association', 41 'xyz/openbmc_project/Association/Definitions__markdown'.underscorify(), 43 '../../../../yaml/xyz/openbmc_project/Association/Definitions.interface.yaml', 57 'xyz/openbmc_project/Association/Definitions',
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Association/ |
H A D | Definitions.interface.yaml | 3 xyz.openbmc_project.Association interfaces on <this path>/forward and 10 forward - The type of the association. 11 reverse - The type of the association to create for the endpoint. 12 endpoint - The association endpoint.
|
/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/phosphor-objmgr/src/test/ |
H A D | associations.cpp | 28 std::string sourcePath = "/xyz/openbmc_project/no/association"; in TEST_F() 69 // Verify owner association was deleted in TEST_F() 72 // Verify endpoint was deleted from interface association in TEST_F() 95 // Verify owner association was deleted in TEST_F() 173 std::vector<Association> associations = { in TEST_F() 195 // Add a new association with endpoint 198 std::vector<Association> associations = { in TEST_F() 228 // Add a new association to empty objects 233 std::vector<Association> associations = { in TEST_F() 238 // changed association and interface in TEST_F() [all …]
|
H A D | interfaces_added.cpp | 21 std::vector<Association> associations = { in createInterfacesAdded() 24 std::variant<std::vector<Association>> sdbVecAssoc = {associations}; in createInterfacesAdded() 25 std::vector<std::pair<std::string, std::variant<std::vector<Association>>>> in createInterfacesAdded() 52 // New association owner created so ensure it now contains a single entry in TEST_F() 56 // Ensure the 2 association interfaces were created in TEST_F()
|
/openbmc/libpldm/include/libpldm/ |
H A D | pdr.h | 324 /* Entity Association PDR APIs */ 339 * opaque structure that represents the entity association hierarchy 344 * opaque structure that represents a node in the entity association hierarchy 348 /** @brief Make a new entity association tree 355 /** @brief Add a local entity into the entity association tree 375 /** @brief Add an entity into the entity association tree based on remote field 404 /** @brief Visit and note each entity in the entity association tree 440 /** @brief Destroy entity association tree 476 /** @brief Convert entity association tree to PDR, or return an error 482 * @param[in] tree - opaque pointer to entity association tree [all …]
|
/openbmc/entity-manager/src/entity_manager/ |
H A D | topology.hpp | 8 using Association = std::tuple<std::string, std::string, std::string>; typedef 24 // The type (e.g. Chassis, Board, Valve, ...) on which the association is 29 // association is allowed 48 std::unordered_map<std::string, std::set<Association>> getAssocs( 63 std::unordered_map<std::string, std::set<Association>>& result, 68 std::unordered_map<std::string, std::set<Association>>& result, 79 // each path also has their role(s) in the association.
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Association/Definitions/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Association/Definitions' 6 'xyz/openbmc_project/Association/Definitions__cpp'.underscorify(), 8 '../../../../../yaml/xyz/openbmc_project/Association/Definitions.interface.yaml', 28 'xyz/openbmc_project/Association/Definitions',
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | README.md | 9 objects. A graph consisting of Inventory objects as vertices and Association as 13 ## Inventory Association 16 might be associated with other inventory objects. Such association can be 19 Document ObjectMapper association forward and reverse names as follows:
|
/openbmc/phosphor-event/test/ |
H A D | utest.cpp | 11 const char* association, in build_event_record() argument 19 const_cast<char*> (association), in build_event_record() 96 "Association", "Test", p, 4); in prepareEventLog1() 101 "Association", "Test", p, 4); in prepareEventLog2() 186 "Association", "Test", p, 4); in TEST_F() 200 "Association", "Test", p, 4); in TEST_F() 205 "Association", "Test", p, 4); in TEST_F() 212 "Association", "Test", p, 4); in TEST_F() 220 "Association", "Test", p, 4); in TEST_F() 229 "Association", "Test", p, 4); in TEST_F() [all …]
|