| /openbmc/openbmc-test-automation/lib/ |
| H A D | gen_robot_ssh.py | 29 def sprint_connection(connection, indent=0): argument 41 buffer += gp.sprint_varx("index", connection.index, 0, indent) 42 buffer += gp.sprint_varx("host", connection.host, 0, indent) 43 buffer += gp.sprint_varx("alias", connection.alias, 0, indent) 44 buffer += gp.sprint_varx("port", connection.port, 0, indent) 45 buffer += gp.sprint_varx("timeout", connection.timeout, 0, indent) 46 buffer += gp.sprint_varx("newline", connection.newline, 0, indent) 47 buffer += gp.sprint_varx("prompt", connection.prompt, 0, indent) 48 buffer += gp.sprint_varx("term_type", connection.term_type, 0, indent) 49 buffer += gp.sprint_varx("width", connection.width, 0, indent) [all …]
|
| H A D | connection_client.robot | 2 Documentation This module is for SSH connection override to QEMU 13 [Documentation] Opens a connection with the given arguments, and logs in. 18 # username The username to log into the connection with. 19 # password The password to log into the connection with. 46 # to the dictionary and open the connection. Otherwise, open the connection 51 ... SSHLibrary.Open connection &{connection_args} 52 ... ELSE Run Keyword SSHLibrary.Open connection &{connection_args} 57 [Documentation] Open a connection for SCP. 59 Run Keyword If '${SSH_PORT}' == '${EMPTY}' scp.Open connection ${OPENBMC_HOST} 61 ... ELSE Run Keyword scp.Open connection ${OPENBMC_HOST} port=${SSH_PORT} [all …]
|
| /openbmc/dbus-sensors/src/mctp/ |
| H A D | MCTPEndpoint.hpp | 205 const std::shared_ptr<sdbusplus::asio::connection>& connection, in MCTPDEndpoint() argument 207 dev(dev), connection(connection), objpath(std::move(objpath)), in MCTPDEndpoint() 236 std::shared_ptr<sdbusplus::asio::connection> connection; member in MCTPDEndpoint 267 MCTPDDevice(const std::shared_ptr<sdbusplus::asio::connection>& connection, 285 std::shared_ptr<sdbusplus::asio::connection> connection; member in MCTPDDevice 313 const std::shared_ptr<sdbusplus::asio::connection>& connection, 318 const std::shared_ptr<sdbusplus::asio::connection>& connection, int bus, in I2CMCTPDDevice() argument 320 MCTPDDevice(connection, interfaceFromBus(bus), {physaddr}) in I2CMCTPDDevice() 336 const std::shared_ptr<sdbusplus::asio::connection>& connection, 341 const std::shared_ptr<sdbusplus::asio::connection>& connection, int bus, in I3CMCTPDDevice() argument [all …]
|
| H A D | MCTPReactorMain.cpp | 37 const std::shared_ptr<sdbusplus::asio::connection>& connection) : in DBusAssociationServer() argument 38 server(connection) in DBusAssociationServer() 70 std::shared_ptr<sdbusplus::asio::connection> connection; member in DBusAssociationServer 77 const std::shared_ptr<sdbusplus::asio::connection>& connection, in deviceFromConfig() argument 87 return I2CMCTPDDevice::from(connection, *iface); in deviceFromConfig() 94 return I3CMCTPDDevice::from(connection, *iface); in deviceFromConfig() 106 const std::shared_ptr<sdbusplus::asio::connection>& connection, in addInventory() argument 113 reactor->manageMCTPDevice(path, deviceFromConfig(connection, exposed)); in addInventory() 156 const std::shared_ptr<sdbusplus::asio::connection>& connection, in manageMCTPEntity() argument 164 deviceFromConfig(connection, config)); in manageMCTPEntity() [all …]
|
| H A D | MCTPEndpoint.cpp | 45 const std::shared_ptr<sdbusplus::asio::connection>& connection, in MCTPDDevice() argument 47 connection(connection), interface(interface), physaddr(physaddr) in MCTPDDevice() 83 *connection, matchSpec, in finaliseEndpoint() 86 endpoint = std::make_shared<MCTPDEndpoint>(shared_from_this(), connection, in finaliseEndpoint() 119 connection->async_method_call( in setup() 235 static_cast<sdbusplus::bus_t&>(*connection), matchSpec, in subscribe() 249 connection->async_method_call( in subscribe() 290 connection->async_method_call( in remove() 354 const std::shared_ptr<sdbusplus::asio::connection>& connection, in from() argument 399 return std::make_shared<I2CMCTPDDevice>(connection, bus, address); in from() [all …]
|
| /openbmc/smbios-mdr/src/ |
| H A D | mdrv2_main.cpp | 28 auto connection = std::make_shared<sdbusplus::asio::connection>(*io); in main() local 30 std::make_shared<sdbusplus::asio::object_server>(connection); in main() 32 sdbusplus::server::manager_t objManager(*connection, in main() 35 connection->request_name("xyz.openbmc_project.Smbios.MDR_V2"); in main() 38 io, connection, objServer, mdrDefaultFile, in main()
|
| /openbmc/phosphor-objmgr/src/test/ |
| H A D | handler.cpp | 200 ConnectionNames connection = getObject(interfaceMap, path, interfaces); in TEST_F() local 201 auto object = connection.find("test_object_connection_0"); in TEST_F() 202 ASSERT_NE(object, connection.end()); in TEST_F() 206 connection = getObject(interfaceMap, path, interfaces); in TEST_F() 207 object = connection.find("test_object_connection_1"); in TEST_F() 208 ASSERT_NE(object, connection.end()); in TEST_F() 229 ConnectionNames connection = subtree[0].second; in verifySubtree() local 230 auto object = connection.find("test_object_connection_1"); in verifySubtree() 231 ASSERT_NE(object, connection.end()); in verifySubtree() 234 connection = subtree[1].second; in verifySubtree() [all …]
|
| /openbmc/boost-dbus/include/dbus/impl/ |
| H A D | connection.ipp | 17 class connection { 25 connection() : is_paused(true), conn(NULL) {} 27 connection(const connection& other) = delete; // non construction-copyable 28 connection& operator=(const connection&) = delete; // non copyable 29 connection(connection&&) = delete; 30 connection& operator=(connection&&) = delete; 70 ~connection() { 116 // If two threads call connection::async_send() 117 // simultaneously on a paused connection, then
|
| /openbmc/openbmc/poky/meta/recipes-core/glib-networking/glib-networking/ |
| H A D | eagain.patch | 7 GLib-Net:ERROR:/usr/src/debug/glib-networking/2.74.0-r0/tls/tests/connection.c:1944:simul_read_thre… 8 Bail out! GLib-Net:ERROR:/usr/src/debug/glib-networking/2.74.0-r0/tls/tests/connection.c:1944:simul… 9 FAIL: glib-networking/connection-openssl.test (Child process killed by signal 6) 11 FAIL: glib-networking/connection-openssl.test (Child process killed by signal 6) 19 tls/tests/connection.c | 4 ++++ 22 diff --git a/tls/tests/connection.c b/tls/tests/connection.c 24 --- a/tls/tests/connection.c 25 +++ b/tls/tests/connection.c
|
| /openbmc/openpower-vpd-parser/vpd-manager/src/ |
| H A D | manager_main.cpp | 24 auto connection = in main() local 25 std::make_shared<sdbusplus::asio::connection>(*io_con); in main() 26 auto server = sdbusplus::asio::object_server(connection); in main() 36 io_con, interface, progressInf, connection); in main() 41 connection, vpdManager); in main() 50 connection->request_name(BUSNAME); in main()
|
| /openbmc/openbmc/poky/bitbake/lib/bb/server/ |
| H A D | xmlrpcclient.py | 68 self.connection, self.transport = _create_server(host, port) 76 self.events = uievent.BBUIEventQueue(self.connection, self.clientinfo) 78 _, error = self.connection.runCommand(["setFeatures", self.featureset]) 81 self.connection.removeClient() 90 token = self.connection.addClient() 100 self.connection.removeClient() 110 self.connection.removeClient() 134 connection = BitBakeXMLRPCServerConnection(host, port, (ip, 0), observer_only, featureset) 135 return connection.connect(token)
|
| /openbmc/openbmc-test-automation/security/ |
| H A D | test_ssl.robot | 2 Documentation This testsuite is for testing SSL connection to OpenBMC. 15 [Documentation] This testcase is for testing the SSL connection to the 22 ... http connection at port 80 and would expect a connection error. 30 ... http connection at port ${HTTPS_PORT} and would expect a connection error.
|
| /openbmc/phosphor-power/cold-redundancy/ |
| H A D | cold_redundancy.hpp | 36 std::shared_ptr<sdbusplus::asio::connection>& dbusConnection); 45 std::shared_ptr<sdbusplus::asio::connection>& dbusConnection); 67 [[maybe_unused]] std::shared_ptr<sdbusplus::asio::connection>& systemBus; 98 const std::shared_ptr<sdbusplus::asio::connection>& dbusConnection);
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libsoup/libsoup-2.4/ |
| H A D | CVE-2024-52532-1.patch | 16 libsoup/soup-websocket-connection.c | 5 ++--- 19 diff --git a/libsoup/soup-websocket-connection.c b/libsoup/soup-websocket-connection.c 21 --- a/libsoup/soup-websocket-connection.c 22 +++ b/libsoup/soup-websocket-connection.c
|
| H A D | 0001-Fix-possibly-uninitialized-warnings.patch | 10 libsoup/soup-websocket-connection.c | 2 +- 14 diff --git a/libsoup/soup-websocket-connection.c b/libsoup/soup-websocket-connection.c 16 --- a/libsoup/soup-websocket-connection.c 17 +++ b/libsoup/soup-websocket-connection.c
|
| /openbmc/phosphor-host-ipmid/libipmid/ |
| H A D | systemintf-sdbus.cpp | 9 std::unique_ptr<sdbusplus::asio::connection> sdbusp; 19 std::unique_ptr<sdbusplus::asio::connection>& ipmid_get_sdbus_plus_handler() in ipmid_get_sdbus_plus_handler() 28 sdbusp = std::make_unique<sdbusplus::asio::connection>( in ipmid_get_sdbus_plus_handler()
|
| H A D | sdbus-asio.cpp | 10 std::shared_ptr<sdbusplus::asio::connection> sdbusp; 24 void setSdBus(std::shared_ptr<sdbusplus::asio::connection>& newBus) in setSdBus() 29 std::shared_ptr<sdbusplus::asio::connection> getSdBus() in getSdBus()
|
| /openbmc/estoraged/include/ |
| H A D | getConfig.hpp | 40 std::shared_ptr<sdbusplus::asio::connection> connection, in GetStorageConfiguration() argument 42 dbusConnection(std::move(connection)), callback(std::move(callbackFunc)) in GetStorageConfiguration() 71 std::shared_ptr<sdbusplus::asio::connection> dbusConnection;
|
| /openbmc/openbmc-tools/openbmctool/ |
| H A D | README.md | 30 openbmctool <connection options> local_users queryenabled 36 openbmctool <connection options> local_users disableall 42 openbmctool <connection options> local_users enableall 61 openbmctool <connection options> logging remote_logging_config -a <IP address> -p <port> 74 openbmctool <connection options> logging remote_logging disable 84 openbmctool <connection options> logging remote_logging view 100 openbmctool <connection options> certificate update server https -f <File> 109 openbmctool <connection options> certificate update client ldap -f <File> 117 openbmctool <connection options> certificate update authority ldap -f <File> 125 openbmctool <connection options> certificate delete server https [all …]
|
| /openbmc/skeleton/fanctl/ |
| H A D | fan_control.c | 41 int get_connection(sd_bus *bus, char *connection, const char *obj_path) in get_connection() argument 66 strncpy(connection, temp_buf, DBUS_MAX_NAME_LEN); in get_connection() 79 char connection[DBUS_MAX_NAME_LEN]; in set_dbus_sensor() local 87 rc = get_connection(bus, connection, obj_path); in set_dbus_sensor() 95 connection, in set_dbus_sensor() 118 char connection[DBUS_MAX_NAME_LEN]; in read_dbus_sensor() local 127 rc = get_connection(bus, connection, obj_path); in read_dbus_sensor() 136 connection, in read_dbus_sensor() 240 char connection[DBUS_MAX_NAME_LEN]; in fan_set_present() local 246 rc = get_connection(bus, connection, obj_path); in fan_set_present() [all …]
|
| /openbmc/google-misc/subprojects/bare-metal-host-monitor/ |
| H A D | host_gpio_monitor.cpp | 32 void setUnitStatus(sdbusplus::asio::connection& bus, bool status, in setUnitStatus() 44 void checkPostComplete(sdbusplus::asio::connection& bus, in checkPostComplete() 77 void checkPostCompleteStartup(sdbusplus::asio::connection& bus, in checkPostCompleteStartup() 85 void checkPostCompleteEvent(sdbusplus::asio::connection& bus, in checkPostCompleteEvent() 101 auto conn = sdbusplus::asio::connection(io); in main()
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/ |
| H A D | bbcontroller.py | 25 self.connection = bb.server.xmlrpcclient._create_server(be.bbaddress, 29 result, error = self.connection.runCommand(command) 35 return self.connection.removeClient() 98 self.connection = None
|
| /openbmc/openbmc/poky/bitbake/lib/prserv/ |
| H A D | db.py | 275 self.connection=sqlite3.connect(uri, uri=True) 276 self.connection.row_factory=sqlite3.Row 277 self.connection.execute("PRAGMA synchronous = OFF;") 278 self.connection.execute("PRAGMA journal_mode = WAL;") 279 self.connection.commit() 283 self.connection.commit() 284 self.connection.close() 293 tableobj = self._tables[tblname] = PRTable(self.connection, tblname, self.read_only) 300 self.connection.execute("DROP TABLE IF EXISTS %s;" % tblname) 301 self.connection.commit()
|
| /openbmc/openbmc-tools/dbus_sensor_tester/ |
| H A D | main.cpp | 73 std::shared_ptr<sdbusplus::asio::connection> connection = in main() local 74 std::make_shared<sdbusplus::asio::connection>(io); in main() 75 sdbusplus::asio::object_server objectServer(connection); in main() 107 static_cast<sdbusplus::bus_t &>(*connection), expr, in main()
|
| /openbmc/sdbusplus/include/sdbusplus/asio/ |
| H A D | connection.hpp | 54 class connection : public sdbusplus::bus_t class 58 explicit connection( in connection() function in sdbusplus::asio::connection 66 connection(boost::asio::io_context& io, sd_bus* bus) : in connection() function in sdbusplus::asio::connection 72 ~connection() in ~connection() 358 std::bind_front(&connection::on_fd_event, this)); in read_wait() 363 std::bind_front(&connection::on_fd_event, this)); in read_wait() 368 std::bind_front(&connection::on_fd_event, this)); in read_wait() 391 timer.async_wait(std::bind_front(&connection::on_timer_event, this)); in read_wait() 395 boost::asio::post(io_, std::bind_front(&connection::process, this)); in read_immediate()
|