Home
last modified time | relevance | path

Searched +full:send +full:- +full:not +full:- +full:empty (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/openbmc/docs/designs/
H A Dsol-sysrq.md12 low-level commands. BMC usually provides SysRq support in KVM and SOL functions,
13 but this is not available in OpenBMC. This doc is to provide the SysRq support
19 another key, which controls the command issued. This is not typical key code and
31 - The ipmitool SOL.
32 - The SOL in WebUI.
33 - The console with SSH (default) 2200 port.
37 In OpenBMC, the service `obmc-console-server` provides the host console and
41 sequence `\n~B` is used to send the "break signal" between clients and
42 console-server. In `obmc-console`, a state machine shall handle the sequence.
43 Once the sequence is detected, it could invoke `tcsendbreak()` to send the
[all …]
/openbmc/openbmc-test-automation/network/
H A Dtest_network_nping.robot17 ${bmc_packet_loss} ${EMPTY}
25 # Send packets to BMC and check packet loss.
26 ${bmc_packet_loss}= Send Network Packets
36 Should Not Be Empty ${OPENBMC_HOST} msg=BMC IP address not provided.
38 Should Not Be Empty ${output} msg="nping" tool not installed.
40 Send Network Packets
41 [Documentation] Send TCP, UDP or ICMP packets to the target.
45 # ${host}- Target system to which network packets to be sent.
46 # ${packet_type}- type of packets to be sent viz tcp, udp or icmp.
47 # ${port}- Network port.
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dserial.py2 # SPDX-License-Identifier: MIT
17 if not logger:
21 fileHandler = logging.FileHandler(filePath, 'w', 'utf-8')
38 if not serialcontrol_cmd:
77 calls will re-use the same connection to send new commands.
118 b32 = base64.b32encode(data).decode('utf-8')
120 # To avoid shell line limits, send a chunk at a time
130 # Create or empty out the temp file
131 conn.run_command(f'echo -n "" > {TEMP}')
134 conn.run_command(f'echo -n {line} >> {TEMP}')
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_sol.robot20 @{setinprogress} set-complete set-in-progress commit-write
67 Set SOL Setting privilege-level ${item}
79 ... sol set privilege-level ${value}
91 ... sol set retry-count ${value}
103 ... sol set retry-interval ${value}
115 ... sol set character-accumulate-leve
[all...]
/openbmc/openbmc-test-automation/docs/
H A Dredfish_request_via_mTLS.md8 - **MTLS_ENABLED** indicates whether mTLS is enabled in BMC. False by default:
14 - **VALID_CERT** indicates valid mTLS certificate for authentication. When a
18 ${VALID_CERT} ${EMPTY}
21 - **CERT_DIR_PATH** indicates path of mTLS certificates directory:
24 ${CERT_DIR_PATH} ${EMPTY}
27 ## How to send a redfish request with certificate
29 - When a redfish request is executed, it will be executed through the python
41 headers={"Cache-Control": "no-cache"})
44 - Original robot code of redfish request doesn’t need to modify. It will send
47 - The example provides Redfish request to use other certificate in the Robot
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dhost_notifier.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2019 IBM Corporation
6 #include <phosphor-logging/lg2.hpp>
17 _retryTimer(_hostIface->getEvent(), in HostNotifier()
20 _hostIface->getEvent(), in HostNotifier()
22 _hostUpTimer(_hostIface->getEvent(), in HostNotifier()
37 // Add any existing PELs to the queue to send them if necessary. in HostNotifier()
47 _hostIface->setResponseFunction( in HostNotifier()
52 if (!_pelQueue.empty() && _dataIface.isHostUp()) in HostNotifier()
55 _hostUpTimer.restartOnce(_hostIface->getHostUpDelay()); in HostNotifier()
[all …]
/openbmc/openpower-occ-control/
H A Docc_status.hpp52 const std::string sysfsName = "occ-hwmon";
76 * @param[in] event - sd_event unique pointer reference
77 * @param[in] path - DBus object path
78 * @param[in] manager - OCC manager instance
79 * @param[in] callBack - Callback handler to invoke during
81 * @param[in] resetCallBack - callback handler to invoke for resetting the
116 this->emit_object_added(); in Status()
119 /** @brief Since we are overriding the setter-occActive but not the
120 * getter-occActive, we need to have this using in order to
121 * allow passthrough usage of the getter-occActive
[all …]
H A Dpldm.cpp3 #include "libpldm/instance-id.h"
12 #include <libpldm/transport/af-mctp.h>
13 #include <libpldm/transport/mctp-demux.h>
16 #include <phosphor-logging/lg2.hpp>
66 if (pdrs.empty()) in fetchSensorInfo()
70 lg2::error("fetchSensorInfo: state sensor PDRs ({ID}) not present", in fetchSensorInfo()
87 auto possibleStatesPtr = stateSensorPDR->possible_states; in fetchSensorInfo()
88 for (auto offset = 0; offset < stateSensorPDR->composite_sensor_count; in fetchSensorInfo()
95 if (possibleStates->state_set_id == stateSetId) in fetchSensorInfo()
101 possibleStatesPtr += sizeof(possibleStates->state_set_id) + in fetchSensorInfo()
[all …]
H A Docc_command.cpp10 #include <phosphor-logging/lg2.hpp>
46 if ((i % 16 == 15) || (i == (dump_length - 1))) in dump_hex()
56 devicePath(OCC_DEV_PATH + std::to_string((this->path.back() - '0') + 1)), in OccCommand()
64 "PATH", this->path, "DEVICE", devicePath); in OccCommand()
95 fd = -1; in closeDevice()
99 CmdStatus OccCommand::send(const std::vector<uint8_t>& command, in send() function in open_power::occ::OccCommand
107 lg2::debug("OccCommand::send: calling openDevice()"); in send()
112 // OCC is inactive; empty response in send()
123 lg2::debug("OccCommand::send: calling write()"); in send()
134 … "OccCommand::send: write(OCC{INST}, command:{CMD}) failed with errno={ERR} (retries={RETRIES})", in send()
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DEventDestination.v1_15_1.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
49 …"RetryForever": "The subscription is not suspended or terminated, and attempts at delivery of futu…
50not suspended or terminated, and attempts at delivery of future events continues regardless of the…
55 …"RetryForever": "This value shall indicate the subscription is not suspended or terminated, and at…
56not suspended or terminated, and attempts at delivery of future events shall continue regardless o…
70 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DEventDestination.v1_15_1.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
49 …"RetryForever": "The subscription is not suspended or terminated, and attempts at delivery of futu…
50not suspended or terminated, and attempts at delivery of future events continues regardless of the…
55 …"RetryForever": "This value shall indicate the subscription is not suspended or terminated, and at…
56not suspended or terminated, and attempts at delivery of future events shall continue regardless o…
70 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
[all …]
H A DOutboundConnection.v1_0_2.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
28 "description": "The available OEM-specific actions for this resource.",
29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
45 "OEM": "OEM-specific."
48 …"JWT": "This value shall indicate an RFC7519-defined JSON Web Token (JWT) is specified in one of t…
50 …"None": "This value shall indicate the service does not provide any authentication information to …
51 "OEM": "This value shall indicate an OEM-specific authentication mechanism."
60 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Devent_matches_filter.hpp39 // If resourceTypes list is empty, assume all in eventMatchesFilter()
40 if (!userSub.resourceTypes.empty()) in eventMatchesFilter()
49 BMCWEB_LOG_DEBUG("Not subscribed to this resource"); in eventMatchesFilter()
56 // If registryPrefixes list is empty, don't filter events in eventMatchesFilter()
57 // send everything. in eventMatchesFilter()
58 if (!userSub.registryPrefixes.empty()) in eventMatchesFilter()
67 eventJson->second.get_ptr<const std::string*>(); in eventMatchesFilter()
85 if (!userSub.originResources.empty()) in eventMatchesFilter()
94 eventJson->second.get_ptr<const std::string*>(); in eventMatchesFilter()
110 // If registryMsgIds list is empty, assume all in eventMatchesFilter()
[all …]
/openbmc/bios-bmc-smm-error-logger/test/
H A Dexternal_storer_file_test.cpp7 #include <gmock/gmock-matchers.h>
59 EXPECT_TRUE(fileWriter->createFolder("valid_folder")); in TEST_F()
65 EXPECT_FALSE(fileWriter->createFolder("../invalid_folder")); in TEST_F()
72 EXPECT_TRUE(fileWriter->createFile("valid_file", testJson)); in TEST_F()
79 EXPECT_FALSE(fileWriter->createFile("../invalid_file", testJson)); in TEST_F()
87 fileWriter->createFile("file_to_remove", testJson); in TEST_F()
88 EXPECT_TRUE(fileWriter->removeAll("file_to_remove")); in TEST_F()
94 EXPECT_FALSE(fileWriter->removeAll("../some_other_file")); in TEST_F()
99 EXPECT_TRUE(fileWriter->createFolder("/valid_folder_leading_slash"));
102 EXPECT_TRUE(fileWriter->createFolde in ExternalStorerFileTest()
[all...]
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/oem/ibm/
H A Dpldm_oem_cmds.cpp5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include "host-transport-extensions/pldm/common/pldm_utils.hpp"
27 #include <phosphor-logging/elog-errors.hpp>
28 #include <phosphor-logging/lg2.hpp>
42 * @param[in] id - The Dump Source ID.
76 lg2::error("Could not open host EID file"); in readEID()
77 elog<NotAllowed>(Reason("Required host dump action via pldm is not " in readEID()
84 if (!eidStr.empty()) in readEID()
90 lg2::error("EID file was empty"); in readEID()
[all …]
/openbmc/qemu/python/qemu/qmp/
H A Dlegacy.py14 # Copyright (C) 2009-2022 Red Hat Inc.
21 # the COPYING file in the top-level directory.
55 # 'command-returns-exceptions', it can actually be anything.
63 Unable to parse socket address: Port was non-numerical.
76 Not applicable when passing a socket directly.
98 assert not isinstance(self._address, socket.socket)
105 ) -> _T:
110 def _get_greeting(self) -> Optional[QMPMessage]:
111 if self._qmp.greeting is not None:
112 # pylint: disable=protected-access
[all …]
/openbmc/openbmc/poky/scripts/
H A Dsend-error-report3 # Sends an error report (if the report-error class was enabled) to a
11 # SPDX-License-Identifier: GPL-2.0-only
28 log = logging.getLogger("send-error-report")
37 log.error("Could not contact server: " + url)
50 …print("Please enter your name and your email (optionally), they'll be saved in the file you send.")
52 email = input("E-mail (not required): ")
71 if not os.path.isfile(args.error_file):
76 userfile = os.path.join(home, ".oe-send-error")
83 #use empty readline to increment the fp
92 log.error("Name needs to be provided either via "+userfile+" or as an argument (-n).")
[all …]
/openbmc/u-boot/board/freescale/mpc837xemds/
H A DREADME2 -----------------------------------------
4 1.0 There are four Dual-In-Line Packages(DIP) Switches on MPC837xEMDS board
11 and some of those signals may be high-bit-number-0 too. Heed
12 well the names and labels and do not get confused.
26 SW3[1-8]= 0011_0000 (BOOTSEQ, ROMLOC setting)
27 SW4[1-8]= 0000_0110 (core PLL setting)
28 SW5[1-8]= 1001_1000 (system PLL, boot up from low end of flash)
29 SW6[1-8]= 0000_1000 (HRCW is read from NOR FLASH)
30 SW7[1-8]= 0110_1101 (TSEC1/2 interface setting - RGMII)
31 J3 2-3, TSEC1 LVDD1 with 2.5V
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dmv_i2c.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
6 * (C) Copyright 2000 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
16 * Murray.Jensen@cmst.csiro.au, 27-Jan-01.
65 * i2c_reset: - reset the host controller
73 icr_mode = readl(&base->icr) & ICR_MODE_MASK; in i2c_reset()
74 writel(readl(&base->icr) & ~ICR_IUE, &base->icr); /* disable unit */ in i2c_reset()
75 writel(readl(&base->icr) | ICR_UR, &base->icr); /* reset the unit */ in i2c_reset()
77 writel(readl(&base->icr) & ~ICR_IUE, &base->icr); /* disable unit */ in i2c_reset()
81 writel(CONFIG_SYS_I2C_SLAVE, &base->isar); /* set our slave address */ in i2c_reset()
[all …]
/openbmc/openbmc-test-automation/openpower/ext_interfaces/
H A Dtest_vmicert_management.robot41 # Send CSR request from operator user.
44 # Send CSR request from ReadOnly user.
47 # Send CSR request from NoAccess user.
70 Send CSR Request When VMI Is Off And Verify
71 [Documentation] Send CSR signing request to VMI when it is off and expect an error.
81 # Send CSR request from operator user.
84 # Send CSR request from ReadOnly user.
87 # Send CSR request from NoAccess user.
92 [Documentation] Send corrupted CSR for signing and expect an error.
99 # Send CSR request from operator user.
[all …]
/openbmc/qemu/docs/
H A Drdma.txt31 data copies by bypassing the host networking stack. In particular, a TCP-based
32 migration, under certain types of memory-bound workloads, may take a more
38 over Converged Ethernet) as well as Infiniband-based. This implementation of
55 If this is not acceptable for your application or product, then the use
56 of RDMA migration may in fact be harmful to co-located VMs or other
57 software on the machine if there is not sufficient memory available to
65 bulk-phase round of the migration and can be enabled for extremely
66 high-performance RDMA hardware using the following command:
69 $ migrate_set_capability rdma-pin-all on # disabled by default
72 not what you want, then please ignore this step altogether.
[all …]
/openbmc/google-misc/subprojects/ncsid/doc/
H A Dncsid_internals.md1 # NC-SId Internals
3 **NOTE**: This documents describes the internal architecture of NC-SId daemon.
4 However, it is meant to be used as a guide for understanding the code, not on
11 - **NC-SId Core**. These are new components implemented in NC-SId.
13 - **Hardware**. External hardware components, in this case, the NIC.
15 - **EC**. This is the code borrowed from EC. The three state machines are pretty
18 - **External Components**. These are external services/daemons NC-SIs interacts
25 In the NIC — NC-SId interactions, NIC acts as a server, replying to NC-SId
26 requests and NC-SId itself acts as a client, sending those requests. Thus, there
27 is no state in NIC (server), but there is a state in NC-SId (client).
[all …]
/openbmc/phosphor-bmc-code-mgmt/cpld/lattice/
H A Dlattice_base_cpld.cpp111 "Error: JED file is empty or not found. Please check the file."); in jedFileParser()
140 if (!line.empty() && line.back() == '\r') in jedFileParser()
144 if (line.empty()) in jedFileParser()
151 ssize_t numberSize = static_cast<ssize_t>(line.find('*')) - in jedFileParser()
152 static_cast<ssize_t>(line.find('F')) - 1; in jedFileParser()
192 lg2::debug("STOP UPDATING: The image does not match the chip."); in jedFileParser()
193 return -1; in jedFileParser()
213 static_cast<ssize_t>(line.find('*')) - in jedFileParser()
214 static_cast<ssize_t>(line.find('C')) - 1; in jedFileParser()
218 return -1; in jedFileParser()
[all …]
/openbmc/bmcweb/include/
H A Dforward_unauthorized.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
28 // If it's a browser connecting, don't send the HTTP authenticate in sendUnauthorized()
53 // XHR requests from a browser will set the X-Requested-With header when in sendUnauthorized()
54 // doing their requests, even though they might not be requesting html. in sendUnauthorized()
55 if (!xRequestedWith.empty()) in sendUnauthorized()
/openbmc/qemu/qapi/
H A Dcontrol.json1 # -*- Mode: Python -*-
17 # client must not enable any capability that is not mentioned in
18 # the QMP greeting message. If the field is not provided, it
21 # .. qmp-example::
23 # -> { "execute": "qmp_capabilities",
25 # <- { "return": {} }
30 # :doc:`/interop/qmp-spec`)
40 'allow-preconfig': true }
48 # @oob: QMP ability to support out-of-band requests. (Please refer to
49 # qmp-spec.rst for more information on OOB)
[all …]

12345678910>>...15