Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 25 of 1157) sorted by relevance

12345678910>>...47

/openbmc/phosphor-networkd/test/
H A Dtest_network_manager.cpp26 TestManager manager; member in phosphor::network::TestNetworkManager
40 EXPECT_TRUE(manager.interfaces.empty()); in TEST_F()
45 manager.addInterface( in TEST_F()
47 manager.handleAdminState("managed", 2); in TEST_F()
57 manager.addInterface( in TEST_F()
59 manager.handleAdminState("managed", 1); in TEST_F()
61 manager.addInterface( in TEST_F()
64 EXPECT_THAT(manager.interfaces, in TEST_F()
74 manager.addInterface( in TEST_F()
80 manager.interfaces, in TEST_F()
[all …]
/openbmc/phosphor-logging/test/
H A Delog_quiesce_test.cpp27 phosphor::logging::internal::Manager manager; member in phosphor::logging::test::TestQuiesceOnError
57 manager}; in TEST_F()
85 manager}; in TEST_F()
124 manager}; in TEST_F()
126 manager.quiesceOnError(id); in TEST_F()
143 manager.checkAndRemoveBlockingError(id); in TEST_F()
181 manager}; in TEST_F()
183 manager.quiesceOnError(id); in TEST_F()
240 manager}; in TEST_F()
242 manager.quiesceOnError(id); in TEST_F()
[all …]
/openbmc/phosphor-certificate-manager/test/
H A Dca_certs_manager_test.cpp64 MockCACertMgr manager(bus, objPath.c_str()); in TEST_F() local
68 EXPECT_TRUE(manager.getNumOfEntries() == 1); in TEST_F()
75 MockCACertMgr manager(bus, objPath.c_str()); in TEST_F() local
86 MockCACertMgr manager(bus, objPath.c_str()); in TEST_F() local
90 objPath = manager.createCSRObject(csrString); in TEST_F()
92 EXPECT_TRUE(manager.getNumOfEntries() == 2); in TEST_F()
93 manager.deleteAll(); in TEST_F()
95 EXPECT_TRUE(manager.getNumOfEntries() == 0); in TEST_F()
101 MockCACertMgr manager(bus, objPath.c_str()); in TEST_F() local
113 manager.erase(std::stoi(id)); in TEST_F()
[all …]
H A Dcerts_manager_test.cpp217 phosphor::certs::CSR* csr = nullptr) : manager(manager), csr_(csr) in MainApp()
221 manager->install(path); in install()
280 MainApp mainApp(&manager); in TEST_F()
303 MainApp mainApp(&manager); in TEST_F()
325 MainApp mainApp(&manager); in TEST_F()
368 MainApp mainApp(&manager); in TEST_F()
409 MainApp mainApp(&manager); in TEST_F()
466 MainApp mainApp(&manager); in TEST_F()
523 MainApp mainApp(&manager); in TEST_F()
600 MainApp mainApp(&manager); in TEST_F()
[all …]
/openbmc/phosphor-user-manager/test/
H A Dldap_config_test.cpp134 manager.createConfig( in TEST_F()
138 manager.getADConfigPtr()->enabled(true); in TEST_F()
191 manager.createDefaultObjects(); in TEST_F()
193 EXPECT_NE(nullptr, manager.getADConfigPtr()); in TEST_F()
222 manager.restore(); in TEST_F()
224 EXPECT_NE(nullptr, manager.getADConfigPtr()); in TEST_F()
659 manager.createDefaultObjects(); in TEST_F()
692 manager.createDefaultObjects(); in TEST_F()
733 manager.createDefaultObjects(); in TEST_F()
737 manager.restore(); in TEST_F()
[all …]
/openbmc/phosphor-snmp/
H A Dsnmp_serialize.cpp34 void save(Archive& archive, const Client& manager, in save() argument
37 archive(manager.address(), manager.port()); in save()
48 void load(Archive& archive, Client& manager, const std::uint32_t /*version*/) in load() argument
55 manager.address(ipaddress); in load()
56 manager.port(port); in load()
59 fs::path serialize(Id id, const Client& manager, const fs::path& dir) in serialize() argument
67 oarchive(manager); in serialize()
71 bool deserialize(const fs::path& path, Client& manager) in deserialize() argument
79 iarchive(manager); in deserialize()
/openbmc/phosphor-snmp/test/
H A Dtest_snmp_serialize.cpp26 ConfManager manager; member in phosphor::network::snmp::TestSerialize
29 manager(bus, "/xyz/openbmc_test/snmp/manager") in TestSerialize()
33 manager.dbusPersistentLocation = confDir; in TestSerialize()
38 fs::remove_all(manager.dbusPersistentLocation, ec); in ~TestSerialize()
49 Client client(bus, objPath.c_str(), manager, "1.1.1.1", 23); in TEST_F()
51 auto path = serialize(1, client, manager.dbusPersistentLocation); in TEST_F()
52 Client restoreClient(bus, objPath2.c_str(), manager); in TEST_F()
65 Client client(bus, objPath.c_str(), manager); in TEST_F()
66 fs::path path = manager.dbusPersistentLocation; in TEST_F()
79 Client restoreClient(bus, objPath.c_str(), manager); in TEST_F()
[all …]
H A Dtest_snmp_conf_manager.cpp23 ConfManager manager; member in phosphor::network::snmp::TestSNMPConfManager
30 bus(sdbusplus::bus::new_default()), manager(bus, managerObjPath) in TestSNMPConfManager()
34 manager.dbusPersistentLocation = confDir; in TestSNMPConfManager()
39 fs::remove_all(manager.dbusPersistentLocation); in ~TestSNMPConfManager()
44 return manager.client(ipaddress, port); in createSNMPClient()
49 return manager.clients; in getSNMPClients()
54 for (const auto& val : manager.clients) in isClientExist()
67 for (const auto& val : manager.clients) in deleteSNMPClient()
77 if (manager.clients.contains(id)) in deleteSNMPClient()
79 manager.clients.at(id)->delete_(); in deleteSNMPClient()
H A Dtest_snmp_client.cpp24 ConfManager manager; member in phosphor::network::snmp::TestSNMPClient
26 bus(sdbusplus::bus::new_default()), manager(bus, mgrObjPath) in TestSNMPClient()
30 manager.dbusPersistentLocation = confDir; in TestSNMPClient()
35 fs::remove_all(manager.dbusPersistentLocation); in ~TestSNMPClient()
43 Client client(bus, objPath.c_str(), manager, "1.1.1.1", 202); in TEST_F()
59 Client client(bus, objPath.c_str(), manager, "1.1.1.1", 202); in TEST_F()
73 Client client(bus, objPath.c_str(), manager, "1.1.1.1", 23); in TEST_F()
76 Client restoreClient(bus, objPath2.c_str(), manager); in TEST_F()
77 auto persistentPath = manager.dbusPersistentLocation; in TEST_F()
/openbmc/phosphor-networkd/test/ibm/hypervisor-network-mgr-test/
H A Dtest_hyp_network_manager.cpp19 HypNetworkMgr manager; member in phosphor::network::TestHypNetworkManager
22 manager(bus, "/xyz/openbmc_test/network/hypervisor") in TestHypNetworkManager()
28 manager.setDefaultBIOSTableAttrsOnIntf("if0"); in TestHypNetworkManager()
29 manager.setDefaultBIOSTableAttrsOnIntf("if1"); in TestHypNetworkManager()
30 manager.setDefaultHostnameInBIOSTableAttrs(); in TestHypNetworkManager()
38 biosTableType biosAttrs = manager.getBIOSTableAttrs(); in TEST_F()
51 manager.setBIOSTableAttr(attribute, value, "String"); in TEST_F()
52 biosTableType biosAttrs = manager.getBIOSTableAttrs(); in TEST_F()
/openbmc/qemu/qga/
H A Dservice-win32.c102 SC_HANDLE manager; in ga_install_service() local
134 manager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS); in ga_install_service()
135 if (manager == NULL) { in ga_install_service()
140 service = CreateService(manager, QGA_SERVICE_NAME, QGA_SERVICE_DISPLAY_NAME, in ga_install_service()
154 CloseServiceHandle(manager); in ga_install_service()
164 SC_HANDLE manager; in ga_uninstall_service() local
167 manager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS); in ga_uninstall_service()
168 if (manager == NULL) { in ga_uninstall_service()
173 service = OpenService(manager, QGA_SERVICE_NAME, DELETE); in ga_uninstall_service()
176 CloseServiceHandle(manager); in ga_uninstall_service()
[all …]
/openbmc/openbmc-test-automation/lib/snmp/
H A Dsnmp_utils.robot14 # "/xyz/openbmc_project/network/snmp/manager/e9767624",
15 # "/xyz/openbmc_project/network/snmp/manager/31f4ce8b"
23 [Documentation] Configure SNMP manager on BMC.
27 # snmp_ip SNMP manager IP.
71 [Documentation] Verify SNMP manager configured on BMC.
75 # snmp_ip SNMP manager IP.
76 # port Network port where SNMP manager is listening.
83 ... msg=Valid SNMP manager is not found on BMC.
92 # ip SNMP manager IP.
107 [Documentation] Delete SNMP manager.
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/packagegroups/
H A Dpackagegroup-obmc-apps.bbappend29 …d:p10bmc = " openpower-fru-vpd openpower-occ-control phosphor-gpio-monitor-presence entity-manager"
30 RDEPENDS:${PN}-inventory:append:witherspoon-tacoma = " entity-manager"
38 …:append:p10bmc = " pldm openpower-hw-diags srvcfg-manager biosconfig-manager phosphor-post-code-ma…
40 …-extras:append:witherspoon-tacoma = " pldm srvcfg-manager biosconfig-manager phosphor-post-code-ma…
44 RDEPENDS:${PN}-software:append:ibm-ac-server = " phosphor-software-manager-sync"
45 RDEPENDS:${PN}-software:append:p10bmc = " phosphor-software-manager-usb"
46 RDEPENDS:${PN}-software:append:p10bmc = " phosphor-software-manager-side-switch"
47 RDEPENDS:${PN}-software:append:system1 = " phosphor-software-manager-side-switch"
51 RDEPENDS:${PN}-leds:remove:witherspoon-tacoma = "phosphor-led-manager-faultmonitor"
/openbmc/s2600wf-misc/hsbp-manager/
H A DCMakeLists.txt7 project (hsbp-manager CXX)
73 add_executable (hsbp-manager src/hsbp_manager.cpp)
75 target_link_libraries (hsbp-manager -lsystemd)
76 target_link_libraries (hsbp-manager i2c)
77 target_link_libraries (hsbp-manager ${Boost_LIBRARIES})
78 target_link_libraries (hsbp-manager sdbusplus)
79 target_link_libraries (hsbp-manager stdc++fs)
80 target_link_libraries (hsbp-manager gpiodcxx)
83 add_dependencies (hsbp-manager sdbusplus-project)
90 set (SERVICE_FILES ${PROJECT_SOURCE_DIR}/service_files/hsbp-manager.service)
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpel_manager_test.cpp172 manager.erase(42); in TEST_F()
324 manager.erase(33); in TEST_F()
396 Manager manager{ in TEST_F() local
458 manager.getPEL(id + 1), in TEST_F()
462 manager.hostAck(id); in TEST_F()
465 manager.hostAck(id + 1), in TEST_F()
814 manager.getPEL(i), in TEST_F()
1228 manager.erase(42); in TEST_F()
1370 manager.erase(42); in TEST_F()
1394 manager.erase(42); in TEST_F()
[all …]
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Doverlay-sysfs.c32 ovl->manager ? ovl->manager->name : "<none>"); in overlay_manager_show()
155 if (ovl->manager) { in overlay_position_store()
156 r = ovl->manager->apply(ovl->manager); in overlay_position_store()
194 if (ovl->manager) { in overlay_output_size_store()
195 r = ovl->manager->apply(ovl->manager); in overlay_output_size_store()
261 if (ovl->manager) { in overlay_global_alpha_store()
262 r = ovl->manager->apply(ovl->manager); in overlay_global_alpha_store()
303 if (ovl->manager) { in overlay_pre_mult_alpha_store()
304 r = ovl->manager->apply(ovl->manager); in overlay_pre_mult_alpha_store()
343 if (ovl->manager) { in overlay_zorder_store()
[all …]
/openbmc/phosphor-user-manager/
H A Dusers.cpp65 userName(sdbusplus::message::object_path(path).filename()), manager(parent) in Users()
80 manager.deleteUser(userName); in delete_()
93 manager.updateGroupsAndPriv(userName, UsersIface::userGroups(), value); in userPrivilege()
126 manager.updateGroupsAndPriv(userName, value, UsersIface::userPrivilege()); in userGroups()
143 return manager.isUserEnabled(userName); in userEnabled()
161 manager.userEnable(userName, value); in userEnabled()
170 return manager.userLockedForFailedAttempt(userName); in userLockedForFailedAttempt()
185 return manager.userLockedForFailedAttempt(userName, value); in userLockedForFailedAttempt()
194 return manager.userPasswordExpired(userName); in userPasswordExpired()
/openbmc/pldm/requester/test/
H A Dmctp_endpoint_discovery_test.cpp14 pldm::MockManager manager; in TEST() local
16 EXPECT_CALL(manager, handleMctpEndpoints(_)).Times(1); in TEST()
19 bus, std::initializer_list<pldm::MctpDiscoveryHandlerIntf*>{&manager}); in TEST()
41 pldm::MockManager manager; in TEST() local
45 bus, std::initializer_list<pldm::MctpDiscoveryHandlerIntf*>{&manager}); in TEST()
53 pldm::MockManager manager; in TEST() local
59 bus, std::initializer_list<pldm::MctpDiscoveryHandlerIntf*>{&manager}); in TEST()
71 pldm::MockManager manager; in TEST() local
76 bus, std::initializer_list<pldm::MctpDiscoveryHandlerIntf*>{&manager}); in TEST()
84 pldm::MockManager manager; in TEST() local
[all …]
/openbmc/openbmc/meta-ibm/meta-genesis3/recipes-phosphor/packagegroups/
H A Dpackagegroup-obmc-apps.bbappend2 phosphor-software-manager \
4 phosphor-post-code-manager \
6 phosphor-state-manager-chassis \
10 entity-manager \
35 phosphor-post-code-manager \
37 phosphor-state-manager-chassis \
42 phosphor-software-manager \
/openbmc/openbmc/meta-phosphor/recipes-phosphor/packagegroups/
H A Dpackagegroup-obmc-apps.bb39 ${VIRTUAL-RUNTIME_obmc-bmc-state-manager} \
46 phosphor-certificate-manager \
119 phosphor-led-manager \
121 phosphor-led-manager-faultmonitor \
143 phosphor-software-manager-updater \
144 phosphor-software-manager-version \
147 phosphor-software-manager-updater-ubi \
150 phosphor-software-manager-updater-mmc \
155 phosphor-debug-collector-manager \
163 phosphor-settings-manager \
[all …]
/openbmc/phosphor-networkd/src/
H A Dethernet_interface.cpp94 Ifaces(bus, objPath.c_str(), Ifaces::action::defer_emit), manager(manager), in EthernetInterface()
292 manager.get().reloadConfigs(); in ip()
345 manager.get().reloadConfigs(); in neighbor()
438 manager.get().reloadConfigs(); in nicEnabled()
470 manager.get().reloadConfigs(); in staticNameServers()
618 manager.get().reloadConfigs(); in createVLAN()
628 manager.get().reloadConfigs(); in staticNTPServers()
843 manager.get().addReloadPreHook([interface, manager = manager]() { in macAddress()
847 manager, in macAddress()
878 manager.get().reloadConfigs(); in deleteAll()
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/conf/machine/include/
H A Dyosemite4-common.inc18 VIRTUAL-RUNTIME_obmc-host-state-manager = "phosphor-state-manager-host"
19 VIRTUAL-RUNTIME_obmc-chassis-state-manager = "phosphor-state-manager-chassis"
21 PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "yosemite4-led-manager-config-nativ…
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Configuration/
H A DREADME.md2 [entity-manager][entity-manager]. Entity-manager currently creates these style
8 It is hoped that in the future entity-manager will be refactored to closer align
11 [entity-manager]: https://github.com/openbmc/entity-manager
/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/packagegroups/
H A Dpackagegroup-obmc-apps.bbappend2 phosphor-software-manager \
4 phosphor-post-code-manager \
6 phosphor-state-manager-chassis \
10 entity-manager \
37 phosphor-post-code-manager \
39 phosphor-state-manager-chassis \
46 phosphor-software-manager \
/openbmc/phosphor-time-manager/test/
H A DTestManager.cpp18 Manager manager; member in phosphor::time::TestManager
20 TestManager() : bus(sdbusplus::bus::new_default()), manager(bus) {} in TestManager()
24 manager.onPropertyChanged(key, value); in notifyPropertyChanged()
33 EXPECT_EQ(Mode::Manual, manager.getTimeMode()); in TEST_F()
38 EXPECT_EQ(Mode::NTP, manager.getTimeMode()); in TEST_F()

12345678910>>...47