Home
last modified time | relevance | path

Searched full:policy (Results 1 – 25 of 1339) sorted by relevance

12345678910>>...54

/openbmc/openbmc-test-automation/redfish/extended/
H A Dtest_power_restore.robot2 Documentation This suite verifies the power restore policy supported by
25 Test Restore Policy ALWAYS_POWER_OFF With Host Off
26 [Documentation] Validate ALWAYS_POWER_OFF restore policy functionality.
27 ... Policy:
28 ... System policy set to ALWAYS_POWER_OFF.
36 [Template] Verify Restore Policy
38 # Policy Initial Host State Expected Host State
43 Test Restore Policy ALWAYS_POWER_OFF With Host Running
44 … [Documentation] Verify that the BMC restore policy is ALWAYS_POWER_OFF while the Host is running.
46 [Template] Verify Restore Policy
[all …]
/openbmc/ibm-logging/test/
H A Dtest_policy.cpp211 jsonFile = jsonDir / "policy.json"; in SetUp()
227 * Test finding entries in the policy table
231 policy::Table policy{jsonFile}; in TEST_F() local
232 ASSERT_EQ(policy.isLoaded(), true); in TEST_F()
239 auto details = policy.find(err, mod); in TEST_F()
250 details = policy.find(err, mod); in TEST_F()
258 details = policy.find(err, mod); in TEST_F()
268 * Test policy::find() that uses the data from a property
269 * map to find entries in the policy table.
275 policy::Table policy{jsonFile}; in TEST_F() local
[all …]
/openbmc/openbmc/meta-security/recipes-ids/tripwire/files/
H A Dtripwire.txt2 …ou through the processes of setting passphrases and signing the Tripwire policy and configuration …
7 5. Edit the policy file (twpol.txt) with a text editor, if desired.
9 …If you plan to modify the policy file, we recommend you do so before running the configuration scr…
11 Modifying the Policy File
12policy file (twpol.txt). A default policy file is included in the Tripwire software installation. …
14policy file at /etc/tripwire/twpol.txt. An example policy file (located at /usr/doc/tripwire-VE…
16policy file, follow the Post-Installation Instructions (run the configuration script). This script…
22 … the site key, which is used to sign Tripwire software configuration and policy files. Assign a un…
27 …ftware builds a database of filesystem objects based on the rules in the policy file. This databas…
43 Updating the Policy File
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Drpolicy.hpp17 * @brief Redundancy policy interface.
23 * The redundancy policy encapsulates the logic to aggregate those
36 * @brief Construct a new Redundancy Policy.
38 * @param[in] fan - The fan associated with this policy.
51 * the inventory and execute their policy logic.
79 * @brief Policy association.
81 * PolicyAccess can be used to associate a redundancy policy
84 * Wrap the type to be associated with a policy with PolicyAccess.
86 * @tparam T - The type to associate with a redundancy policy.
87 * @tparam Policy - An array type where the policy is stored.
[all …]
H A Dfallback.hpp20 * @brief Fallback redundancy policy.
22 * The fallback redundancy policy falls back to
38 * @brief Construct a fallback policy.
40 * @param[in] fan - The fan associated with the policy.
41 * @param[in] s - The set of sensors associated with the policy.
53 * @brief Construct a fallback policy.
55 * @param[in] fan - The fan associated with the policy.
56 * @param[in] s - The set of sensors associated with the policy.
67 * policy.
/openbmc/qemu/tests/unit/
H A Dptimer-test.c68 const uint8_t *policy = arg; in check_set_count() local
69 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_set_count()
83 const uint8_t *policy = arg; in check_set_limit() local
84 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_set_limit()
106 const uint8_t *policy = arg; in check_oneshot() local
107 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_oneshot()
108 bool no_round_down = (*policy & PTIMER_POLICY_NO_COUNTER_ROUND_DOWN); in check_oneshot()
224 const uint8_t *policy = arg; in check_periodic() local
225 ptimer_state *ptimer = ptimer_init(ptimer_trigger, NULL, *policy); in check_periodic()
226 bool wrap_policy = (*policy & PTIMER_POLICY_WRAP_AFTER_ONE_PERIOD); in check_periodic()
[all …]
/openbmc/openbmc-test-automation/redfish/update_service/
H A Dtest_firmware_tftp_upload_image.robot33 TFTP Download Install With ApplyTime OnReset Policy
34 [Documentation] Download image to BMC using TFTP with OnReset policy and verify installation.
38 # policy
42 TFTP Download Install With ApplyTime Immediate Policy
43 [Documentation] Download image to BMC using TFTP with Immediate policy and verify installation.
47 # policy
51 ImageURI Download Install With ApplyTime OnReset Policy
52 … [Documentation] Download image to BMC using ImageURI with OnReset policy and verify installation.
56 # policy
60 ImageURI Download Install With ApplyTime Immediate Policy
[all …]
/openbmc/ibm-logging/
H A Dpolicy_table.cpp28 namespace policy namespace
42 log<level::INFO>("Policy table JSON file does not exist", in Table()
55 for (const auto& policy : json) in load() local
59 for (const auto& details : policy["dtls"]) in load()
67 policies.emplace(policy["err"], std::move(detailsList)); in load()
74 log<level::ERR>("Failed loading policy table json file", in load()
87 auto policy = policies.find(error); in find() local
89 if (policy != policies.end()) in find()
94 policy->second.begin(), policy->second.end(), in find()
97 if ((details == policy->second.end()) && !modifier.empty()) in find()
[all …]
H A Dpolicy_find.hpp12 namespace policy namespace
20 * Finds the policy table details based on the properties
23 * @param[in] policy - the policy table object
27 * @return PolicyProps - a tuple of policy details.
29 PolicyProps find(const Table& policy,
31 } // namespace policy
H A Dcreate_error_reports.py19 2) Crosschecks this generated JSON with the IBM error policy table,
133 def crosscheck(errors, policy, outfile): argument
135 policy file, and vice versa.
138 policy_errors = [x["err"] for x in policy]
142 out.write("YAML errors not in policy table:\n\n")
149 out.write("Policy errors not in YAML:\n\n")
156 for e in policy:
162 "policy table\n\n" % (len(policy_errors), num_details)
167 parser = argparse.ArgumentParser(description="Error log policy reports")
185 "--policy",
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dservice_indicators.hpp10 * @class Policy
14 class Policy class
17 Policy() = delete;
18 virtual ~Policy() = default;
19 Policy(const Policy&) = default;
20 Policy& operator=(const Policy&) = delete;
21 Policy(Policy&&) = delete;
22 Policy& operator=(Policy&&) = delete;
29 explicit Policy(const DataInterfaceBase& dataIface) : _dataIface(dataIface) in Policy() function in openpower::pels::service_indicators::Policy
50 * This class implements the 'LightPath' IBM policy for
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/
H A Dphosphor-dbus-monitor-config.bbappend1 PHOSPHOR_DBUS_MONITOR_CONFIGS:append:ibm-ac-server = " fan-policy"
2 PHOSPHOR_DBUS_MONITOR_CONFIGS:append:ibm-ac-server = " thermal-policy"
3 PHOSPHOR_DBUS_MONITOR_CONFIGS:append:ibm-ac-server = " power-supply-policy"
4 PHOSPHOR_DBUS_MONITOR_CONFIGS:append:ibm-ac-server = " events-policy"
5 PHOSPHOR_DBUS_MONITOR_CONFIGS:append:ibm-ac-server = " snmp-policy"
6 PHOSPHOR_DBUS_MONITOR_CONFIGS:append:p10bmc = " snmp-policy"
7 PHOSPHOR_DBUS_MONITOR_CONFIGS:append:sbp1 = " bios-policy"
H A Dbios-policy.bb1 SUMMARY = "Bios policy configurations for sbp1 machine"
11 SRC_URI:append:sbp1 = " file://bios-policy.yaml"
14 install -D ${WORKDIR}/bios-policy.yaml ${D}${config_dir}/bios-policy.yaml
17 FILES:${PN} += "${config_dir}/bios-policy.yaml"
H A Dpower-supply-policy.bb1 SUMMARY = "Power supply policy configuration for meta-witherspoon machines"
11 SRC_URI += "file://power-supply-policy.yaml"
14 install -D ${UNPACKDIR}/power-supply-policy.yaml ${D}${config_dir}/power-supply-policy.yaml
17 FILES:${PN} += "${config_dir}/power-supply-policy.yaml"
/openbmc/qemu/include/authz/
H A Dlist.h40 * list of globs. Each match rule has an associated policy
41 * and a catch all policy applies if no rule matches
52 * { "match": "fred", "policy": "allow", "format": "exact" },
53 * { "match": "bob", "policy": "allow", "format": "exact" },
54 * { "match": "danb", "policy": "deny", "format": "exact" },
55 * { "match": "dan*", "policy": "allow", "format": "glob" }
57 * "policy": "deny"
66 QAuthZListPolicy policy; member
74 QAuthZListPolicy policy,
79 QAuthZListPolicy policy,
[all …]
/openbmc/openbmc/meta-phosphor/recipes-core/systemd/
H A Dphosphor-systemd-policy.bb8 SRC_URI += "file://service-restart-policy.conf"
9 SRC_URI += "file://journald-maxlevel-policy.conf"
15 …l -m 644 -D ${UNPACKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/service-…
16 … 644 -D ${UNPACKDIR}/journald-maxlevel-policy.conf ${D}${systemd_unitdir}/journald.conf.d/journald…
19 FILES:${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf"
20 FILES:${PN} += "${systemd_unitdir}/journald.conf.d/journald-maxlevel-policy.conf"
/openbmc/openbmc/meta-ibm/recipes-core/systemd/
H A Dsystemd_%.bbappend2 SRC_URI:append:ibm-ac-server = " file://journald-storage-policy.conf"
4 SRC_URI:append:ibm-ac-server = " file://journald-size-policy-2MB.conf"
6 SRC_URI:append:p10bmc = " file://journald-storage-policy.conf"
8 SRC_URI:append:p10bmc = " file://journald-size-policy-16MB.conf"
18 SRC_URI:append:system1 = " file://journald-storage-policy.conf"
19 SRC_URI:append:system1 = " file://journald-size-policy-16MB.conf"
22 FILES:${PN}:append:ibm-ac-server = " ${systemd_unitdir}/journald.conf.d/journald-storage-policy.con…
24 FILES:${PN}:append:ibm-ac-server = " ${systemd_unitdir}/journald.conf.d/journald-size-policy.conf"
26 FILES:${PN}:append:p10bmc = " ${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf"
28 FILES:${PN}:append:p10bmc = " ${systemd_unitdir}/journald.conf.d/journald-size-policy.conf"
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_chassis.robot95 Verify Chassis Power Policy
96 [Documentation] Verify setting chassis power policy via IPMI command.
100 ... Run External IPMI Standard Command chassis policy ${initial_power_policy}
101 [Template] Set Chassis Power Policy Via IPMI And Verify
114 ... Run External IPMI Standard Command chassis policy ${initial_power_policy}
156 Set Chassis Power Policy Via IPMI And Verify
157 [Documentation] Set chasiss power policy via IPMI and verify.
161 # power_policy Chassis power policy to be set(e.g. "always-off", "always-on").
163 Run External IPMI Standard Command chassis policy ${power_policy}
173 # power_policy Chassis power policy to be set(e.g. "always-off", "always-on").
[all …]
/openbmc/qemu/authz/
H A Dlist.c41 format, rule->policy); in qauthz_list_is_allowed()
45 return rule->policy == QAUTHZ_LIST_POLICY_ALLOW; in qauthz_list_is_allowed()
50 return rule->policy == QAUTHZ_LIST_POLICY_ALLOW; in qauthz_list_is_allowed()
60 trace_qauthz_list_default_policy(authz, identity, lauthz->policy); in qauthz_list_is_allowed()
61 return lauthz->policy == QAUTHZ_LIST_POLICY_ALLOW; in qauthz_list_is_allowed()
72 lauthz->policy = value; in qauthz_list_prop_set_policy()
82 return lauthz->policy; in qauthz_list_prop_get_policy()
123 object_class_property_add_enum(oc, "policy", in qauthz_list_class_init()
139 QAuthZListPolicy policy, in qauthz_list_new() argument
146 "policy", QAuthZListPolicy_str(policy), in qauthz_list_new()
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/
H A Dtest_power_restore_policy_sub_menu.robot3 Documentation Test OpenBMC GUI "Power restore policy" sub-menu of "Settings" menu.
15 ${xpath_power_restore_policy_heading} //h1[text()="Power restore policy"]
23 Verify Navigation To Power Restore Policy Page
24 [Documentation] Verify navigation to Power Restore Policy page.
30 Verify Existence Of All Sections In Power Restore Policy Page
31 [Documentation] Verify existence of all sections in Power Restore Policy page.
37 Verify Existence Of All Buttons In Power Restore Policy Page
54 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain power-restore-policy
/openbmc/openbmc/meta-amd/meta-common/recipes-core/systemd/
H A Dsystemd_%.bbappend4 file://journald-size-policy.conf \
5 file://journald-storage-policy.conf \
11 ${UNPACKDIR}/journald-size-policy.conf \
12 ${D}${systemd_unitdir}/journald.conf.d/journald-size-policy.conf
15 ${UNPACKDIR}/journald-storage-policy.conf \
16 ${D}/${systemd_unitdir}/journald.conf.d/journald-storage-policy.conf
/openbmc/openbmc/meta-security/meta-integrity/recipes-core/initrdscripts/initramfs-framework-ima/
H A Dima3 # Loads IMA policy into the kernel.
52 # ("[Linux-ima-user] IMA policy loading via cat") and we get better error reporting when
53 # checking the write of each line. To minimize the risk of policy loading going wrong we
55policy: $i"; else debug "Writing IMA policy: $i"; if echo $i; then sleep ${bootparam_ima_delay:-0}…
56 fatal "Could not load IMA policy."
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Network/Experimental/
H A DBond.interface.yaml24 Selects the transmit hash policy to use for target selection in
45 policy is a simple source+destination MAC address algorithm.
63 Possible policy types.
67 This policy uses XOR of hardware MAC addresses and packet type
71 This policy uses a combination of layer2 and layer3 protocol
75 This policy uses upper layer protocol information, when
79 This policy uses the same formula as layer2+3 but it relies on
85 This policy uses the same formula as layer3+4 but it relies on
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/
H A Dtest_policies_sub_menu.robot23 ${xpath_host_tpm_toggle} //input[@id='host-tpm-policy']
49 Page Should Contain USB firmware update policy
73 Set Policy Via GUI SSH Enabled
84 Set Policy Via GUI SSH Disabled
98 Set Policy Via GUI IPMI Disabled
113 Set Policy Via GUI IPMI Enabled
123 Set Policy Via GUI SSH Enabled
135 Set Policy Via GUI IPMI Enabled
149 Set Policy Via GUI SSH Disabled
167 Set Policy Via GUI IPMI Disabled
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/com/intel/Control/
H A DOCOTShutdownPolicy.interface.yaml2 An interface for node shutdown policy on multi-node products. It is used by
6 type: enum[self.Policy]
8 Node shutdown policy on a power supply over current(OC) or over
14 - name: Policy
16 The type of shutdown policy.

12345678910>>...54