Support `terminus_name` option in `dbus_to_terminus_effecter`
Support `terminus_name` configuration option in
`dbus_to_terminus_effecter` to allow setting the destination terminus
beside `mctp_eid`. This is helpful when the mctp endpoint Eid is not
static.
Change-Id: I8b1ed15741807086254146017c99c13ae667dac1
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
diff --git a/fw-update/manager.hpp b/fw-update/manager.hpp
index 14ac450..db5cb64 100644
--- a/fw-update/manager.hpp
+++ b/fw-update/manager.hpp
@@ -98,6 +98,16 @@
return updateManager.handleRequest(eid, command, request, reqMsgLen);
}
+ /** @brief Get Active EIDs.
+ *
+ * @param[in] addr - MCTP address of terminus
+ * @param[in] terminiNames - MCTP terminus name
+ */
+ std::optional<mctp_eid_t> getActiveEidByName(const std::string&)
+ {
+ return std::nullopt;
+ }
+
private:
/** Descriptor information of all the discovered MCTP endpoints */
DescriptorMap descriptorMap;