Home
last modified time | relevance | path

Searched refs:associations (Results 1 – 25 of 109) sorted by relevance

12345

/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp120 AssociationList associations; in onVersionInterfacesAdded() local
123 associations.emplace_back(std::make_tuple( in onVersionInterfacesAdded()
134 activationState, associations, filePath); in onVersionInterfacesAdded()
176 associations(assocs); in createActiveAssociation()
183 associations(assocs); in addFunctionalAssociation()
190 associations(assocs); in addUpdateableAssociation()
200 associations(assocs); in removeAssociation()
216 utils::isAssociated(psuInventoryPath, it->second->associations())) in onUpdateDone()
255 auto associations = it->second->associations(); in createPsuObject() local
256 associations.emplace_back( in createPsuObject()
[all …]
/openbmc/phosphor-logging/
H A Delog_serialize.cpp35 e.associations(), e.resolved(), e.version(), e.updateTimestamp(), in save()
57 AssociationList associations{}; in load() local
66 a(id, severity, timestamp, message, additionalData_old, associations, in load()
74 a(id, severity, timestamp, message, additionalData_old, associations, in load()
82 a(id, severity, timestamp, message, additionalData_old, associations, in load()
89 a(id, severity, timestamp, message, additionalData_old, associations, in load()
97 a(id, severity, timestamp, message, additionalData_old, associations, in load()
103 a(id, severity, timestamp, message, additionalData, associations, in load()
115 e.associations(associations, true); in load()
/openbmc/entity-manager/docs/
H A Dassociations.md3 Entity Manager will create [associations][1] between entities in certain cases.
10 contained_by upstream' associations for the connected entities.
44 'Subchassis contained_by Superchassis` associations, putting the associations
49 In addition to the `containing` associations, entity-manager will add
50 `powering`/`powered_by` associations between a power supply and its parent when
89 https://github.com/openbmc/docs/blob/master/architecture/object-mapper.md#associations
/openbmc/phosphor-logging/test/
H A Delog_quiesce_test.cpp46 phosphor::logging::AssociationList associations{}; in TEST_F() local
55 std::move(associations), in TEST_F()
74 phosphor::logging::AssociationList associations{}; in TEST_F() local
83 std::move(associations), in TEST_F()
102 phosphor::logging::AssociationList associations{}; in TEST_F() local
122 std::move(associations), in TEST_F()
159 phosphor::logging::AssociationList associations{}; in TEST_F() local
179 std::move(associations), in TEST_F()
218 phosphor::logging::AssociationList associations{}; in TEST_F() local
238 std::move(associations), in TEST_F()
H A Delog_update_ts_test.cpp65 phosphor::logging::AssociationList associations{}; in TEST() local
74 std::move(associations), in TEST()
136 phosphor::logging::AssociationList associations{}; in TEST() local
145 std::move(associations), in TEST()
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/inventory/
H A Dphosphor-inventory-manager_%.bbappend2 PACKAGECONFIG:append:gbs = " associations"
3 SRC_URI:append:gbs = " file://associations.json"
8 install -m 0755 ${UNPACKDIR}/associations.json ${D}${base_datadir}/associations.json
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/inventory/
H A Dphosphor-inventory-manager_%.bbappend2 PACKAGECONFIG:append:olympus-nuvoton = " associations"
3 SRC_URI:append:olympus-nuvoton = " file://associations.json"
9 install -m 0755 ${UNPACKDIR}/associations.json ${D}${base_datadir}/associations.json
/openbmc/phosphor-power/phosphor-power-supply/
H A Dutil.hpp140 AssociationsProperty associations; in handleChassisHealthRollup() local
143 associations); in handleChassisHealthRollup()
148 auto assocIt = std::find(associations.begin(), associations.end(), in handleChassisHealthRollup()
152 if (assocIt != associations.end()) in handleChassisHealthRollup()
158 associations.push_back(critAssociation); in handleChassisHealthRollup()
162 if (assocIt == associations.end()) in handleChassisHealthRollup()
180 associations.erase(assocIt); in handleChassisHealthRollup()
185 associations); in handleChassisHealthRollup()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_activation.cpp84 AssociationList associations; member in TestActivation
90 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
98 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
111 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
121 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
142 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
171 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
223 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
255 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
271 mockedBus, dBusPath, versionId, extVersion, status, associations, in TEST_F()
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/inventory/
H A Dphosphor-inventory-manager_%.bbappend2 PACKAGECONFIG:append:ibm-ac-server = " associations"
3 SRC_URI:append:ibm-ac-server = " file://associations.json"
6 PACKAGECONFIG:append:p10bmc = " associations"
19 install -m 0755 ${UNPACKDIR}/associations.json ${D}${base_datadir}/associations.json
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpel_manager_test.cpp160 std::vector<std::string> associations; in TEST_F() local
164 associations); in TEST_F()
206 std::vector<std::string> associations; in TEST_F() local
210 associations); in TEST_F()
295 std::vector<std::string> associations; in TEST_F() local
300 associations); in TEST_F()
333 associations); in TEST_F()
413 std::vector<std::string> associations; in TEST_F() local
417 associations); in TEST_F()
628 std::vector<std::string> associations; in TEST_F() local
[all …]
/openbmc/phosphor-dbus-interfaces/
H A Drequirements.md53 There are typically two types of associations we use:
55 - Peer associations.
56 - Directed associations.
58 Peer associations are rare, but are used to link a single entity that is
62 Directed associations are more common and are used to show a relationship
64 associations should be considered to have a "primary" and "secondary" end, which
69 ### Peer associations should be named with hierarchy names
82 ### Directed associations should not codify type
90 ### Directed associations should be named with participle verbs
111 Additional information on associations is in the [mapper documentation][].
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddbus_sensor.cpp82 std::vector<AssocationTuple> associations = local
104 dbusObject->associations(std::move(associations), skipSignal);
159 std::vector<AssocationTuple> associations{}; in getAssociations() local
163 associations.emplace_back( in getAssociations()
169 associations.emplace_back( in getAssociations()
172 return associations; in getAssociations()
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/inventory/
H A Dphosphor-inventory-manager_%.bbappend2 PACKAGECONFIG:append = " associations"
3 SRC_URI:append = " file://associations.json"
7 install -m 0755 ${UNPACKDIR}/associations.json ${D}${base_datadir}
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/inventory/
H A Dphosphor-inventory-manager_%.bbappend3 PACKAGECONFIG:append = " associations"
4 SRC_URI:append = " file://associations.json"
8 install -m 0755 ${UNPACKDIR}/associations.json ${D}${base_datadir}
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/inventory/
H A Dphosphor-inventory-manager_%.bbappend2 PACKAGECONFIG:append = " associations"
3 SRC_URI:append = " file://associations.json"
7 install -m 0755 ${UNPACKDIR}/associations.json ${D}${base_datadir}
/openbmc/openpower-pnor-code-mgmt/
H A Ditem_updater.cpp94 AssociationList associations = {}; in createActivation() local
99 associations.emplace_back(std::make_tuple( in createActivation()
114 path, versionId, extendedVersion, activationState, associations); in createActivation()
128 associations(assocs); in createActiveAssociation()
135 associations(assocs); in createUpdateableAssociation()
155 associations(assocs); in updateFunctionalAssociation()
165 associations(assocs); in removeAssociation()
/openbmc/phosphor-inventory-manager/
H A DREADME.md135 PIM can create [associations][1] between inventory items and other D-Bus
139 `--enable-associations` configure option. It defaults to disabled.
141 To use this, the associations to create should be defined in a JSON file which
143 to `/usr/share/phosphor-inventory-manager/associations.json`. This file is
206 In the case where different systems that require different associations reside
208 in the same directory as the default associations file would go, but it does not
212 list of values, then the condition is met and those associations are activated.
214 If a file with a conditions section is found, then the default associations file
215 is ignored. The end result is that associations are only ever loaded from one
229 "associations": [
[all …]
H A Dmeson.options4 'associations',
7 description: 'Enable creating D-Bus associations from a JSON definition',
/openbmc/phosphor-objmgr/src/test/
H A Dassociations.cpp173 std::vector<Association> associations = { in TEST_F() local
182 associationChanged(io, *server, associations, defaultSourcePath, in TEST_F()
198 std::vector<Association> associations = { in TEST_F() local
210 associationChanged(io, *server, associations, "/new/source/path", in TEST_F()
233 std::vector<Association> associations = { in TEST_F() local
244 associationChanged(io, *server, associations, defaultSourcePath, in TEST_F()
269 std::vector<Association> associations = { in TEST_F() local
280 associationChanged(io, *server, associations, defaultSourcePath, newOwner, in TEST_F()
303 std::vector<Association> associations = { in TEST_F() local
313 associationChanged(io, *server, associations, defaultSourcePath, in TEST_F()
[all …]
H A Dmeson.build2 associations_cpp_dep = declare_dependency(sources: '../associations.cpp')
8 ['associations', [associations_cpp_dep]],
H A Dinterfaces_added.cpp21 std::vector<Association> associations = { in createInterfacesAdded() local
24 std::variant<std::vector<Association>> sdbVecAssoc = {associations}; in createInterfacesAdded()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Ditem_updater.cpp146 AssociationList associations = {}; in createActivationWithApplyTime() local
148 associations.emplace_back( in createActivationWithApplyTime()
154 associations))); in createActivationWithApplyTime()
175 AssociationList associations = {}; in verifyAndCreateObjects() local
181 associations.emplace_back( in verifyAndCreateObjects()
199 activationState, associations))); in verifyAndCreateObjects()
366 AssociationList associations; in processBMCImage() local
371 associations.emplace_back(std::make_tuple( in processBMCImage()
400 bus, path, *this, id, activationState, associations))); in processBMCImage()
762 associations(assocs); in createActiveAssociation()
[all …]
/openbmc/phosphor-logging/tools/phosphor-logging/templates/
H A Delog-process-metadata.mako.cpp17 std::function<metadata::associations::Type>> meta = {
30 {"${key}", metadata::associations::build<${type}>},
/openbmc/phosphor-health-monitor/
H A Dhealth_metric.cpp254 std::vector<association_t> associations; in create() local
263 associations.push_back( in create()
266 AssociationIntf::associations(associations); in create()

12345