/openbmc/phosphor-certificate-manager/dist/ |
H A D | meson.build | 2 busconfig_dir = get_option('datadir') / 'dbus-1' / 'system.d' 3 cert_manager_dir = get_option('datadir') / 'phosphor-certificate-manager' 7 service_files = ['phosphor-certificate-manager@.service'] 10 if get_option('ca-cert-extension').allowed() 11 busconfig += 'busconfig/bmc-vmi-ca.conf' 12 service_files += 'bmc-vmi-ca-manager.service' 15 if get_option('config-bmcweb').allowed() 16 busconfig += 'busconfig/phosphor-bmcweb-cert-config.conf' 20 '../phosphor-certificate-manager@.service', 21 'multi-user.target.wants/phosphor-certificate-manager@bmcweb.service', [all …]
|
/openbmc/phosphor-user-manager/test/ |
H A D | ldap_config_test.cpp | 1 #include "config.h" 3 #include "phosphor-ldap-config/ldap_config.hpp" 4 #include "phosphor-ldap-config/ldap_config_mgr.hpp" 28 using Config = phosphor::ldap::Config; typedef 79 MOCK_METHOD1(restartService, void(const std::string& service)); 80 MOCK_METHOD1(stopService, void(const std::string& service)); 81 std::unique_ptr<Config>& getOpenLdapConfigPtr() in getOpenLdapConfigPtr() 88 return getADConfigPtr()->ldapBindPassword; in configBindPassword() 91 std::unique_ptr<Config>& getADConfigPtr() in getADConfigPtr() 108 return ADConfigPtr->secureLDAP; in secureLDAP() [all …]
|
/openbmc/phosphor-user-manager/ |
H A D | meson.build | 2 'phosphor-user-manager', 15 add_project_arguments('-DENABLE_ROOT_USER_MGMT', language: 'cpp') 22 'xyz.openbmc_project.User.Manager', 58 '/xyz/openbmc_project/user/ldap/config', 59 description: 'D-Bus path of LDAP config object.', 64 'xyz.openbmc_project.Ldap.Config', 65 description: 'D-Bus busname of LDAP config service.', 70 '/var/lib/phosphor-ldap-conf', 80 conf_header = configure_file(output: 'config.h', configuration: conf_data) 87 phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces') [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/srvcfg-manager/ |
H A D | srvcfg-manager_git.bb | 1 SUMMARY = "Service configuration manager daemon to control the service" 2 DESCRIPTION = "Applications must use service manager daemon to configure \ 3 phosphor-ipmi-net, bmcweb, obmc-console etc in the system, \ 6 HOMEPAGE = "https://github.com/openbmc/service-config-manager" 7 LICENSE = "Apache-2.0" 11 phosphor-logging \ 19 SRC_URI = "git://github.com/openbmc/service-config-manager;branch=master;protocol=https" 21 PACKAGECONFIG[persist-settings-to-file] = "-Dpersist-settings-to-file=enabled,-Dpersist-settings-to… 24 SYSTEMD_SERVICE:${PN} = "srvcfg-manager.service"
|
/openbmc/service-config-manager/ |
H A D | README.md | 1 # Service config manager 3 The service config manager provides a D-Bus interface to manage BMC services as 4 described by the [service management D-Bus interfaces][]. 8 An example use case for this service is [BMCWeb's 9 implementation][bmcweb-implementation] of the Redfish NetworkProtocol schema. 11 [service management d-bus interfaces]: 12 …https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/yaml/xyz/openbmc_project/Control/S… 13 [bmcweb-implementation]: 14 https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/network_protocol.hpp 18 Implementation details are described in the [D-Bus interface README]. [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | manager.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "manager.hpp" 43 constexpr auto managerObjPath = "/xyz/openbmc_project/power/regulators/manager"; 54 * implement the D-Bus compatible interface. 56 constexpr auto defaultConfigFileName = "config.json"; 60 * firmware install image. It contains the standard version of the config file. 62 const fs::path standardConfigFileDir{"/usr/share/phosphor-regulators"}; 66 * of the config file. The test version will override the standard version. 68 const fs::path testConfigFileDir{"/etc/phosphor-regulators"}; 70 Manager::Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event) : in Manager() function in phosphor::power::regulators::Manager [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-host_git.bb | 5 LICENSE = "Apache-2.0" 8 RRECOMMENDS:${PN} += "packagegroup-obmc-ipmid-providers-libs" 9 …${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'transport-null', '', 'virtual-obmc-host-ipmi-hw',… 12 inherit obmc-phosphor-ipmiprovider-symlink 13 inherit obmc-phosphor-sdbus-service 14 inherit obmc-phosphor-systemd 15 inherit phosphor-ipmi-host 23 'VIRTUAL-RUNTIME_phosphor-ipmi-providers', True) or '' 25 whitelists = [ '{}-whitelist-native'.format(x) for x in whitelists ] 29 # Process OBMC_ORG_IPMI_OEM_PROVIDERS to create Meson config options. [all …]
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | manager.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 29 #include <phosphor-logging/lg2.hpp> 31 #include <sdbusplus/server/manager.hpp> 50 /* Application name to be appended to the path for loading a JSON config file */ 92 * particular signal object and stores the results in the manager 95 std::function<bool(sdbusplus::message_t&, const SignalObject&, Manager&)>; 116 * Package of data from a D-Bus call to get managed objects 118 * std::map<Path, // D-Bus Path 119 * std::map<Intf, // D-Bus Interface 120 * std::map<Property, // D-Bus Property [all …]
|
H A D | manager.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 16 #include "config.h" 18 #include "manager.hpp" 32 #include <systemd/sd-bus.h> 36 #include <sdbusplus/server/manager.hpp> 55 std::vector<std::string> Manager::_activeProfiles; 58 Manager::_servTree; 61 Manager::_objects; 62 std::unordered_map<std::string, PropertyVariantType> Manager::_parameters; 63 std::unordered_map<std::string, TriggerActions> Manager::_parameterTriggers; [all …]
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/occ/ |
H A D | openpower-occ-control_git.bb | 2 DESCRIPTION = "Application to control the OpenPOWER On-Chip-Controller" 3 HOMEPAGE = "https://github.com/openbmc/openpower-occ-control" 9 obmc-phosphor-dbus-service \ 11 phosphor-dbus-yaml 15 DBUS_SERVICE:${PN} += "org.open_power.OCC.Control.service" 16 SYSTEMD_SERVICE:${PN} += "op-occ-enable@.service" 17 SYSTEMD_SERVICE:${PN} += "op-occ-disable@.service" 19 DEPENDS += "virtual/${PN}-config-native" 22 ${PYTHON_PN}-sdbus++-native \ 23 phosphor-logging \ [all …]
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/state/ |
H A D | phosphor-state-manager_%.bbappend | 4 PACKAGECONFIG:remove = "only-run-apr-on-power-loss" 5 PACKAGECONFIG:append = " host-gpio" 7 # Chassis Config 10 obmc-chassis-powerreset@{}.target.requires/phosphor-reset-chassis-on@{}.service \ 11 obmc-chassis-powerreset@{}.target.requires/phosphor-reset-chassis-running@{}.service \ 12 obmc-chassis-poweroff@{}.target.requires/obmc-power-stop@{}.service \ 13 obmc-chassis-poweron@{}.target.requires/obmc-power-start@{}.service \ 18 obmc-chassis-poweron@{}.target.wants/chassis-poweron@{}.service \ 19 obmc-chassis-hard-poweroff@{}.target.wants/chassis-poweroff@{}.service \ 20 obmc-chassis-powercycle@{}.target.wants/chassis-powercycle@{}.service \ [all …]
|
/openbmc/openbmc/meta-facebook/meta-santabarbara/recipes-phosphor/state/ |
H A D | phosphor-state-manager_%.bbappend | 4 PACKAGECONFIG:remove = "only-run-apr-on-power-loss" 5 PACKAGECONFIG:append = " host-gpio" 7 # Chassis Config 10 obmc-chassis-powerreset@{}.target.requires/phosphor-reset-chassis-on@{}.service \ 11 obmc-chassis-powerreset@{}.target.requires/phosphor-reset-chassis-running@{}.service \ 12 obmc-chassis-poweroff@{}.target.requires/obmc-power-stop@{}.service \ 13 obmc-chassis-poweron@{}.target.requires/obmc-power-start@{}.service \ 18 obmc-chassis-poweron@{}.target.wants/chassis-poweron@{}.service \ 19 obmc-chassis-hard-poweroff@{}.target.wants/chassis-poweroff@{}.service \ 20 obmc-chassis-powercycle@{}.target.wants/chassis-powercycle@{}.service \ [all …]
|
/openbmc/phosphor-bmc-code-mgmt/common/include/ |
H A D | software_manager.hpp | 7 #include <phosphor-logging/lg2.hpp> 15 using namespace phosphor::software::config; 18 namespace phosphor::software::manager namespace 36 // Map of EM config object path to device. 44 // @param service The dbus name where our configuration is 45 // @param config The common configuration properties which are shared 50 virtual sdbusplus::async::task<bool> initDevice(const std::string& service, 52 SoftwareConfig& config) = 0; 60 const std::string& service, const std::string& path, 78 sdbusplus::server::manager_t manager; member in phosphor::software::manager::SoftwareManager [all …]
|
/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 12 data via non-I2C channels and in a proprietary format that is not covered by 13 Entity-Manager's 'fru-device' daemon that most platforms rely on. 16 gathered from device tree file paths for Entity-Manager consumption. 20 Typical platforms provide HW ID data - often referred to as 'vital product data' 21 (VPD) - for the baseboard as a FRU storage blob held in a physical EEPROM. 23 [As described in Entity-Manager documentation](https://github.com/openbmc/entity-manager/blob/maste… 25 copied to D-Bus as properties of the `xyz.openbmc_project.FruDevice` interface 26 by Entity-Manager's fru-device daemon. The current FRU-device daemon is able to 27 decode IPMI-FRU storage formatted blobs, as well as the Tyan data format. [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/users/ |
H A D | phosphor-user-manager_git.bb | 1 SUMMARY = "Phosphor User Manager Daemon" 3 HOMEPAGE = "http://github.com/openbmc/phosphor-user-manager" 4 LICENSE = "Apache-2.0" 7 DEPENDS += "phosphor-logging" 8 DEPENDS += "phosphor-dbus-interfaces" 14 SRC_URI = "git://github.com/openbmc/phosphor-user-manager;branch=master;protocol=https" 20 inherit obmc-phosphor-dbus-service 23 EXTRA_OEMESON = "-Dtests=disabled" 26 root-user-mgmt\ 29 PACKAGECONFIG[root-user-mgmt] = "-Droot_user_mgmt=enabled, -Droot_user_mgmt=disabled" [all …]
|
/openbmc/phosphor-post-code-manager/ |
H A D | README.md | 1 # phosphor-post-code-manager 3 This phosphor-post-code-manager repository provides an infrastructure to persist 9 To build phosphor-post-code-manager package , do the following steps: 13 ninja -C <build directory> 18 This repository ships `xyz.openbmc_project.State.Boot.PostCode.service` systemd 19 service along with its 20 [template version](https://github.com/openbmc/docs/blob/master/designs/multi-host-postcode.md) 22 [dbus interfaces & methods](https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xy… 28 [phosphor-host-postd](https://github.com/openbmc/phosphor-host-postd) OpenBMC 32 phosphor-post-code-manager is architected to look for the property changed [all …]
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-phosphor/leds/ |
H A D | phosphor-led-manager_%.bbappend | 2 FAN_INSTFMT = "obmc-led-group-start@.service:obmc-led-group-start@fan{0}_good.service" 5 HOST_START_INSTFMT = "obmc-led-group-start@.service:obmc-led-group-start@sled{0}_good.service" 8 HOST_STOP_INSTFMT = "obmc-led-group-stop@.service:obmc-led-group-stop@sled{0}_good.service" 13 SRC_URI:append = " file://led-group-config.json" 16 install -m 0644 ${UNPACKDIR}/led-group-config.json ${D}${datadir}/phosphor-led-manager/
|
/openbmc/phosphor-led-manager/manager/ |
H A D | led-main.cpp | 1 #include "config.h" 6 #include "json-parser.hpp" 8 #include "led-gen.hpp" 10 #include "config-validator.hpp" 11 #include "manager.hpp" 27 CLI::App app("phosphor-led-manager"); in main() 31 app.add_option("-c,--config", configFile, "Path to JSON config"); in main() 39 /** @brief Dbus constructs used by LED Group manager */ in main() 48 /** @brief Group manager object */ in main() 49 phosphor::led::Manager manager(bus, systemLedMap, event); in main() local [all …]
|
/openbmc/openpower-vpd-parser/vpd-tool/include/ |
H A D | vpd_tool.hpp | 31 * - Pretty Name, Location Code, Sub Model 32 * - SN, PN, CC, FN, DR keywords under VINI record. 34 * @param[in] i_objectPath - DBus object path 51 * @param[in] i_inventoryObjPath - FRU inventory path. 52 * @param[in, out] io_fruJsonObject - JSON object. 53 * @param[in] i_interfaceList - list of interfaces implemented by the FRU on 66 * @param[in] i_inventoryObjPath - FRU inventory path. 67 * @param[in] i_infName - interface whose JSON need to be populated. 68 * @param[in] i_propList - List of properties needed in the JSON. 69 * @param[in, out] io_fruJsonObject - JSON object. [all …]
|
/openbmc/phosphor-post-code-manager/service_files/ |
H A D | xyz.openbmc_project.State.Boot.PostCode.service | 2 Description=Post code manager 4 [Service] section 5 ExecStart=/usr/bin/post-code-manager --host 0 --config /usr/share/phosphor-post-code-manager/post-c… 6 SyslogIdentifier=post-code-manager 11 WantedBy=multi-user.target
|
H A D | xyz.openbmc_project.State.Boot.PostCode@.service | 2 Description=Post code manager (host %i) 4 [Service] section 5 ExecStart=/usr/bin/env post-code-manager --host %i --config /usr/share/phosphor-post-code-manager/p… 6 SyslogIdentifier=post-code-manager%i 11 WantedBy=multi-user.target
|
/openbmc/phosphor-time-manager/ |
H A D | manager.hpp | 3 #include "config.h" 19 /** @class Manager 20 * @brief The manager to handle OpenBMC time. 25 class Manager class 30 explicit Manager(sdbusplus::bus_t& bus); 31 Manager(const Manager&) = delete; 32 Manager& operator=(const Manager&) = delete; 33 Manager(Manager&&) = delete; 34 Manager& operator=(Manager&&) = delete; 35 ~Manager() = default; [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libgpiod/libgpiod-2.x/ |
H A D | run-ptest | 3 ptestdir=$(dirname "$(readlink -f "$0")") 6 export GPIODBUS_TEST_DAEMON_PATH="$ptestdir/tests/gpio-manager" 9 # libgpiod v2 uses gpio-sim - a configfs-based testing module. We need to 12 mountpoint /sys/kernel/config > /dev/null || mount -t configfs configfs /sys/kernel/config 15 systemctl stop gpio-manager 2> /dev/null > /dev/null 16 service gpio-manager stop 2> /dev/null > /dev/null 22 if [ $? -ne 0 ]; then 29 run_one_test gpiod-test 30 run_one_test gpio-tools-test.bash 31 run_one_test gpiod-cxx-test [all …]
|
/openbmc/bios-settings-mgr/service_files/ |
H A D | xyz.openbmc_project.biosconfig_manager.service | 2 Description= BIOS Config Manager - For Remote BIOS configuration update 4 [Service] section 6 ExecStart=/usr/bin/biosconfig-manager 7 SyslogIdentifier=biosconfig-manager 12 WantedBy=multi-user.target
|
/openbmc/pldm/libpldmresponder/examples/fru/ |
H A D | FRU_Master.json | 1 // This is the master config file for generating PLDM FRU records from the D-Bus 2 // inventory objects. "service" is the name of D-Bus service hosting the 3 // inventory D-Bus objects, "root_path" is the root path for all the inventory 4 // D-Bus objects and "entities" section specifies the type of FRU's for which 9 // corresponding config JSON's are needed for each record. In the example 10 // directory, Board_General.json is the config to generate the General FRU 11 // record for FRU of type Board and Board_VINI.json is the config to generate 13 // For all instances of the same FRU, the same config JSON will apply. 15 "service": "xyz.openbmc_project.Inventory.Manager", string
|